FormaSL — H1 Analysis / Prediction Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — ANALYSIS / PREDICTION CAPABILITY OWNER
Amends/specializes: COMPUTATIONAL-REGIME-BOUNDARIES.md §6 for the H1 Analysis / Prediction capability envelope
Consumes: LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md, QUERY-CAPABILITY-CONTRACT.md, ARCHITECTURE.md
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../ANALYSIS-CAPABILITY-TERMINAL-REAUDIT-2.md, ../ANALYSIS-CAPABILITY-STRUCTURAL-WITNESS-1.md, ../ANALYSIS-CAPABILITY-GRAPH-ML-WITNESS-1.md, ../ANALYSIS-PROVIDER-REALIZATION-WITNESS-1.md
Ratified candidate: ../ANALYSIS-CAPABILITY-HARDENING-5-PROVIDER-ARCHITECTURE.md
Date: 2026-08-22
Purpose: close a functionally competent, FormaSL-native and extensible H1 Analysis / Prediction capability without making a fixed algorithm catalog, provider, framework, hardware class or physical graph representation semantic authority.
1. Owner decision
The owner ratifies the Analysis / Prediction capability package that survived capability review, provider-architecture hardening, adversarial attack, structural/graph-ML/provider witnesses and Terminal Reaudit 2.
ANALYSIS_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
ANALYSIS_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
ANALYSIS_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
ANALYSIS_COMPOSITIONAL_CAPABILITY = PASS
ANALYSIS_SEMANTIC_CONTINUITY_AT_CAPABILITY_LEVEL = PASS
ANALYSIS_CAPABILITY_ADEQUACY = PASS
This contract supersedes the earlier Analysis minimum/extensibility-only interpretation as a sufficiency boundary. Existing CB-L3 Analysis laws remain valid unless explicitly refined here.
SEMANTIC CLOSURE
!= CAPABILITY ADEQUACY
!= SURFACE CLOSURE
This contract closes capability meaning, contract admission and provider-independence requirements. It does not close final syntax, implementation libraries, provider selection, parser, IR, runtime technology, physical graph representation or deployment hardware.
2. Analysis / Prediction jurisdiction
Analysis introduces analytical standing through an admitted AnalysisContract whose mathematical operator, model or statistical relation is part of what the result means.
Preserve:
AnalysisResult != QueryAnswer
AnalysisResult != SemanticConsequence
Prediction != SemanticConsequence
Prediction != Truth
ModelScore != Truth
Embedding != SemanticIdentity
CommunityAssignment != OntologicalType
Similarity != CoReferenceJudgment
ModelEvaluationResult != Conformance
ModelEvaluationResult != AssuranceArtifact
ModelEvaluationResult != AuthorizationForUse
Provider or execution success cannot introduce Analysis standing by itself.
ProviderExecutionSuccess -/-> AnalysisStanding
3. H1 productive capability floor
H1 Analysis / Prediction must provide first-class semantic capability sufficient for at least:
structural graph measures / statistics
ranking / centrality
components / structural decomposition
community / partition analysis
similarity
higher-order / native semantic structural analysis
embedding / representation
node classification / regression
link / relation prediction
whole-graph classification / regression
model fitting / training
immutable learned-model artifacts
model application / inference
model evaluation
feature / preprocessing semantics
exact / approximate / stochastic guarantees
criterion-relative iterative completion / convergence
cross-regime composition
This is a capability floor, not a closed algorithm list.
CAPABILITY CLOSED
!= CATALOG CLOSED
A language implementation cannot satisfy this floor merely by offering a generic foreign-function/provider hook.
EXTENSIBLE IN PRINCIPLE
!= CAPABLE IN H1
PROVIDER CAN EXECUTE X
-/-> FORMASL SEMANTICALLY SUPPORTS X
4. Open Analysis contract catalog
The Analysis contract catalog is open and versioned.
An Analysis contract may originate from:
FormaSL standard packages
third-party packages
scientific/domain packages
application-local declarations
model/operator libraries
but availability does not imply admission.
H1 distinguishes:
ContractDefinitionAvailable
ContractResolved
ContractWellFormed
ContractAdmittedAsAnalysis
ContractExecutableAvailable
with:
ContractRegistry != AdmissionAuthority
ContractRegistered -/-> ContractAdmittedAsAnalysis
ContractAdmittedAsAnalysis -/-> ProviderAvailable
CB-L1 resolution freezes exact contract identity/revision/basis. An admitted Analysis contract must remain inside Analysis/Prediction standing jurisdiction or make any material composition with another regime explicit.
A contract that attempts to smuggle Claim, Truth, SemanticConsequence, authoritative source mutation, governance transition or other foreign standing through an Analysis label is rejected or decomposed into explicit semantic stages.
5. AnalysisContract completeness
An admitted H1 AnalysisContract closes or references at least, where material:
contract identity / immutable revision
accepted input StandingContract(s)
analytical input interpretation
semantic operator / algorithm / model identity sufficient to define meaning
semantic parameters
specific output StandingContract + PayloadContract
Interpretation Basis dependencies
Dependence roles
exact / approximate / stochastic guarantee
missing / unknown / unresolved / hidden / conflict treatment
completion / convergence criterion
partial-result policy
assurance requirements when promised
AnalysisResultConformanceRelation
If a provider/framework default changes any of those meanings, it is not a free realization choice.
FrameworkDefault != AnalysisSemantics
ProviderPreprocessingDefault != AnalysisSemantics
Material defaults such as self-loops, normalization, sampling, role aggregation, negative sampling, loss reduction, optimizer semantics, precision behavior or missing/conflict treatment must be semantic subcontracts, explicit admitted equivalence freedom, explicit Transformation, or proven semantically irrelevant.
6. Analytical input interpretation
Analysis may consume semantic structures directly or through an explicit analytical interpretation.
SemanticStructure
-> AnalyticalInputInterpretationContract
-> analytical carrier/view
-> AnalysisContract
AnalyticalInputInterpretationContract must preserve or explicitly account for every semantic distinction material to the Analysis denotation.
AnalyticalAdjacencyBasis != PhysicalPropertyGraph
AnalyticalInputInterpretation != automatically SemanticTransformation
For conventional binary-style graph algorithms, the interpretation may define role-pair orientation, weighting, multiplicity, symmetrization, self-loop and qualifier rules.
For native higher-order algorithms, Analysis may operate directly on typed role-incidence / higher-order semantic patterns without binary flattening.
N-ARY / ROLE SEMANTICS
-/-> IMPLICIT BINARY FLATTENING
A provider representation that drops a material role, qualifier, context, temporal or standing dimension is non-conformant for that invocation.
7. Analysis result conformance
Every AnalysisContract defines or references an AnalysisResultConformanceRelation appropriate to its promised result.
Conformance may be based on:
exact result relation
approximation / tolerance / residual relation
stochastic / distributional / reproducibility relation
plus required standing, basis, dependence, correspondence and completion obligations.
Therefore:
SameProviderFunctionName -/-> Conformance
SameOutputBytes -/-> RequiredConformanceByDefault
DifferentFloatingPointBits may still conform
DifferentPromisedSemanticResult = NON-CONFORMANT
An exact contract cannot silently be realized by an approximation outside its admitted equivalence/tolerance bridge.
8. Learning, supervision and visibility
8.1 Learning target admission
Model fitting/evaluation uses an explicit judgment equivalent to:
LearningTargetAdmissible(
candidate,
LearningOrEvaluationContract,
targetRole,
basis
)
Target roles include at least:
TRAIN_SUPERVISION
VALIDATION_TARGET
TEST_OR_EVALUATION_TARGET
PSEUDO_LABEL
Preserve:
InputAccepts(x) -/-> LearningTargetAdmissible(x)
LearningTargetAdmissible(x) -/-> Truth(x)
Claims, Observations, prior Predictions and other standings may be admitted under declared learning policies without laundering their standing.
8.2 Learning visibility
A LearningVisibilityContract independently closes material visibility across fit/evaluation partitions, including at least as applicable:
target / label visibility
topology / incidence visibility
feature visibility
held-out relation visibility
message-passing neighborhood visibility
negative-candidate universe
temporal / future-information cutoff
external-source visibility
ProviderCanAccess(x) -/-> LearningBasisMayUse(x)
Named transductive/inductive profiles are conveniences over these dimensions, not substitutes for their semantics.
9. Model specification, training occurrence and learned artifact
Preserve:
ModelSpecificationIdentity
!= LearnedModelArtifactIdentity
!= LearnedParameterContentEquivalence
!= ModelBehaviorEquivalence
!= TrainingOccurrenceIdentity
!= ModelRepresentationIdentity
A successful Fit produces an immutable/reconstructible LearnedModelArtifact result with exact model/training/basis dependence.
ModelParameterUpdateDuringFit != SourceMutation
A later Apply consumes the exact learned artifact by default. Substitution by a content/behavior-equivalent artifact requires the consuming contract to admit that equivalence relation.
Mutable provider aliases cannot retroactively retarget a historical model basis.
10. Embedding contract
Every reusable embedding preserves or references, where material:
EmbeddingArtifactIdentity
EmbeddingSpaceContract
subject -> vector correspondence
dimension
metric / similarity semantics
normalization
model / source / basis revision
alignment / cross-artifact comparability
Preserve:
SameDimension -/-> ComparableCoordinates
VectorSimilarity -/-> SemanticIdentity
A provider tensor row/index is representation, not semantic subject identity.
11. Model evaluation
Evaluation is Analysis, not governance.
EvaluationResult -/-> ModelDeploymentAuthorization
EvaluationResult -/-> ModelAdoption
EvaluationResult -/-> Conformance
Standard evaluation contracts must declare expected-example coverage. For strict evaluation:
missing / unresolved prediction
-/-> silently removed from denominator
A later policy/decision may consume evaluation evidence through explicit governance contracts.
12. Completion, approximation and stochasticity
Analysis completion is criterion-relative:
CompleteUnder(AnalysisCriterion, Basis)
Keep distinct:
AlgorithmConverged
!= FixedIterationCompletion
!= EarlyStoppedUnderDeclaredPolicy
!= MaxIterationsReachedWithoutRequiredConvergence
!= BudgetExhausted
!= ProviderFailure
!= ReasoningFixpoint
A result can be semantically complete while approximate/stochastic when that is exactly what the contract promises.
Stochastic contracts close as material:
sampling distribution / procedure
randomness source / equivalence class
seed / replay semantics when promised
run/sample count
aggregation across runs
error / confidence semantics
SameSeed -/-> SameResult absent explicit replay guarantee
13. Provider architecture
Providers are P3 realization, never semantic authority.
AnalysisContract
!= AnalysisProvider
!= ProviderAlgorithm
!= ProviderFramework
!= ExecutionDevice
!= PhysicalGraphRepresentation
The provider catalog is open.
A provider is eligible for a concrete invocation only if its versioned RealizationCapability satisfies the frozen invocation’s semantic and realization requirements, carrier/adapter correspondence, assurance/currentness requirements and AnalysisResultConformanceRelation.
ProviderSupports("pagerank")
-/-> Supports(Std.Analysis.PageRank.v1 invocation)
Named technologies such as Rust graph libraries, GraphBLAS/LAGraph, GPU graph analytics, heterogeneous graph-ML frameworks or Rust tensor runtimes are provider evidence/candidates only. They are not FormaSL semantic dependencies.
ThirdPartyLibrary != FormaSLSemanticDependency
14. Device neutrality and realization profiles
Analysis semantic meaning is device-neutral.
ExecutionDevice != SemanticKind
FORMASL ANALYSIS SEMANTICS = DEVICE-NEUTRAL
The owner requirement that FormaSL be usable without GPU belongs to P3/P5 realization profiles, not this semantic plane.
The same admitted .fsl Analysis application may have CPU, accelerator or distributed realizations when every path conforms to the same frozen semantic contract and applicable guarantee envelope.
SAME .fsl SEMANTIC APPLICATION
+ DIFFERENT CONFORMING REALIZATIONS
= SAME DECLARED ANALYSIS MEANING
15. Provider substitution, retry and migration
Before an execution attempt begins, any provider satisfying the same frozen requirements may be selected.
After execution begins:
PRE-EXECUTION PROVIDER SUBSTITUTION
!= ATTEMPT-LEVEL RETRY
!= MID-EXECUTION STATE MIGRATION
A failed attempt followed by another provider is a new ExecutionAttempt.
For learning:
TrainingOccurrence_1 != TrainingOccurrence_2
Stateful mid-run continuation requires explicit correspondence for every material state component, including as applicable model parameters, optimizer state, randomness/sampling state, progress and numeric/state encoding.
Absent that contract, fallback means restart/new attempt, not silent resume.
16. H1 reference contract set
H1 owns a mandatory Analysis Reference Contract Set as capability/conformance evidence.
MANDATORY REFERENCE CONTRACT SET
!= TOTAL ANALYSIS CONTRACT CATALOG
!= ANALYSIS PROVIDER CATALOG
The reference set must include enough exact provider-independent contracts to demonstrate every mandatory H1 Analysis family, a non-trivial native typed role-incidence/higher-order analysis, and a complete graph-ML lifecycle from model specification through training, learned artifact, application and evaluation.
Its durable owner is:
ANALYSIS-H1-REFERENCE-CONTRACT-SET.md
The existence of this set prevents the open provider architecture from degenerating into an empty provider hook.
17. FormaSL-native analytical floor
H1 Analysis must demonstrate that the richer semantic model is analytically usable, not merely storable.
At least one required reference contract has denotation materially dependent on native typed role-incidence / higher-order semantic structure. The current reference witness is Std.Analysis.SemanticMotifConductance.v1.
Native dimensions may include, when mathematically material:
N-ary relations / roles
higher-order referents
standing
issuer / authority
context / frame / scope
time
conflict / plurality
provenance / derivation / support / causation
hypothetical dependence
source revision / basis
This does not require every algorithm to consume every semantic dimension.
NECESSARY DISTINGUISHABILITY
!= MANDATORY UNIVERSAL FEATURE VECTOR
18. Cross-regime composition
Analysis composes through CB-L2/CB-L5 contracts rather than by type coincidence.
Important routes include:
Query -> Analysis
Query -> Transformation -> Analysis
Analysis -> Query
Analysis -> Reasoning only under PremiseAdmissible
AnalysisResult / LearnedRuleCandidate
-> explicit adoption/source-authoring
-> TheoryRule
-> Reasoning
Preserve:
AnalysisResult != SemanticConsequence
LearnedCandidateRelation != ExistingRelationInstance
LearnedRuleCandidate != TheoryRule
Prediction != Claim
Material nested Query/Transformation/Reasoning substages remain typed dependencies when they affect Analysis output meaning/basis.
19. Deliberate non-requirements
H1 capability adequacy does not require:
all graph algorithms as core contracts
all GNN architectures as core contracts
one implementation library
one provider framework
GPU as a semantic requirement
one GPU vendor
byte-identical CPU/GPU results
online/continuous retraining
automatic hyperparameter optimization
causal inference by default
graph generation as Analysis
universal explainability/attribution
one fixed distributed runtime
Additional capabilities may be added through admitted Analysis contracts without reopening the core unless they require a new constitutive semantic mechanism or violate an existing regime boundary.
20. Reopen triggers
Reopen this contract only on material evidence such as:
mandatory Analysis family lacks a provider-independent semantic contract
open contract admission permits regime/standing smuggling
native typed role-incidence analysis necessarily loses required semantics
learning supervision/visibility cannot be represented without provider-defined meaning
provider plurality cannot preserve contracted result semantics
AnalysisResultConformanceRelation is insufficient for a required result class
required graph-ML lifecycle needs new semantic standing/boundary
P3 cannot preserve provider-domain matching/retry/migration without semantic invention
portable CPU H1 profile cannot discharge the mandatory reference capability slice
Provider preference, implementation convenience, a new framework or a faster algorithm is not itself a semantic reopen trigger.
21. Closure state
ANALYSIS_CAPABILITY_ADEQUACY = PASS
ANALYSIS_CONTRACT_CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
ANALYSIS_PROVIDER_CATALOG = OPEN / REALIZATION-ONLY
FIXED_ALGORITHM_CATALOG_AS_CEILING = REJECTED
EMPTY_PROVIDER_HOOK = REJECTED
DEVICE_NEUTRAL_ANALYSIS_SEMANTICS = PASS
ANALYSIS_BLOCKING_UNKNOWN = NONE AT THIS HORIZON
ANALYSIS_SURFACE = P3L OPEN / PAUSED
P3_ANALYSIS_CHANGE_IMPACT = REQUIRED / DOWNSTREAM
IMPLEMENTATION = NOT AUTHORIZED
AMENDMENT A1 (2026-10-15) — Authorable incidence interpretation (R3-α=B) and §2.1 material-coordinate remediation
Provenance / authority: owner dispatch “FORMA GRAPH — IMPLEMENTAÇÃO E CONFORMIDADE V1” (2026-10-15), ratifying synthesis package research/forma-graph-architectural-synthesis-v0.1 v0.1.2, docket §3.1 (R3-α). This amendment is additive: no prior section is reinterpreted. The trailing IMPLEMENTATION = NOT AUTHORIZED status refers to the pre-amendment horizon and is superseded FOR THE SCOPE BELOW by the ratifying dispatch (R2 ceiling).
A1.1 Ratified decision (R3-α = B)
- The incidence interpretation of an N-ary relation for analytical adjacency MUST be semantically explicit: the admitted interpretation contract carries the exact role pair and its selection authority.
- The role pair MUST be authorable through the existing analyzed-contract fields (no new language syntax):
role_pair: "<role>,<role>". - The previously shipped default (first-two declared roles) remains authorized for compatibility ONLY as an explicit default rule of the interpretation contract (
RuntimeDefaultFirstTwo, authorized by the contract’s identity/revision). A post-hoc runtime registration of an implicit choice does not substitute this authorization. - Invalid selections (unknown role names, malformed or duplicated pairs) and unknown material contract fields MUST produce typed refusals naming the exact field/coordinate — never silent acceptance.
- A legitimately authorized binary projection is not the integral representation of the N-ary relation; the derivation attestation records it as a projection under the admitted interpretation.
- The information necessary to reconstruct the original incidences MUST remain preserved directly (typed incidence carrier) or through guaranteed references to the source claims.
- No physical representation, provider, or ordering convention may redefine the semantic interpretation; the admitted interpretation contract is the sole authority over the projection.
A1.2 §2.1 material coordinates (ordered remediation)
The analytical derivation contract declares, for every admitted interpretation, the honest disposition of the Std-Lib §2.1 material coordinates: relation and role pattern, direction/symmetrization, qualifiers/weights, parallel aggregation, multiplicity, self-loops, and visibility/context/frame/time. Realized coordinates carry their declared content; not-yet-realizable coordinates are NotRealizableFailClosed — any authored attempt is typed-refused, never filled by an invented default.
A1.3 Realization envelope of this amendment (macro-WP V1)
role_pair, direction (directed | symmetrized_or), self_loops (excluded | included + declared self_loop_weight), and parallel (sum | max | count) are authorable and honored by the productive bridge (derive_incidence_basis) through the typed incidence carrier (formasl_analysis::incidence). Unknown-field refusal is enforced on the bundled structural family (Std.Analysis.PageRank.v1, Std.Analysis.WeakComponents.v1, Std.Analysis.LocalClusteringCoefficient.v1); the structured H1 families honor the interpretation fields, with unknown-field refusal roll-out registered as the next obligation of the same campaign.