Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

FormaSL — H1 Semantic Transformation Capability Contract

Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — SEMANTIC TRANSFORMATION CAPABILITY OWNER
Amends/specializes: COMPUTATIONAL-REGIME-BOUNDARIES.md §8 for the H1 productive Transformation envelope
Consumes: LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, QUERY-CAPABILITY-CONTRACT.md, ANALYSIS-CAPABILITY-CONTRACT.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md, SEMANTIC-LIFECYCLE-TRANSITIONS.md
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../TRANSFORMATION-CAPABILITY-TERMINAL-REAUDIT-1.md, W1..W4
Ratified candidate basis: ../TRANSFORMATION-CAPABILITY-HARDENING-2.md + ../TRANSFORMATION-CAPABILITY-HARDENING-3.md
Date: 2026-08-22
Purpose: close a serious H1 source→target semantic transformation capability with declarative structural mapping and reusable graph→ML projection while preserving identity, standing, loss, lineage, source authority and realization boundaries.


1. Owner decision

TRANSFORMATION_CONSTITUTIVE_SEMANTIC_FLOOR             = PASS
TRANSFORMATION_CONTEMPORARY_FUNCTIONAL_BASELINE         = PASS
TRANSFORMATION_FORMASL_NATIVE_CAPABILITY_EXPLOITATION   = PASS
TRANSFORMATION_COMPOSITIONAL_CAPABILITY                 = PASS
TRANSFORMATION_CAPABILITY_ADEQUACY                      = PASS

The original generic TransformationContract remains semantically valid. H1 productive capability is now guaranteed by the reference profiles owned by TRANSFORMATION-H1-REFERENCE-PROFILE-SET.md.


2. Transformation jurisdiction

Semantic Transformation creates an independently meaningful target artifact under an explicit source→target mapping contract.

SemanticTransformation != Query
SemanticTransformation != Analysis
SemanticTransformation != Reasoning
SemanticTransformation != SourceRevision
SemanticTransformation != AuthoritativeSourceEvolution
SemanticTransformation != P3Lowering

Query-local result construction remains Query when it creates only result-local values/views. A mapping that creates a reusable independently meaningful target artifact crosses into Transformation.


3. Standing authority

Every new Transformation output is introduced under:

TransformedArtifact(TransformationContract)

standing.

Transformation alone cannot introduce:

Claim
Truth
Observation
SemanticConsequence
Decision
Authorization
AuthoritativeSourceState

Target payload may encode content resembling those categories, but shape does not confer standing.

ClaimShapedPayload -/-> ClaimStanding

Any later assertion, observation, reasoning, decision, admission or source incorporation is a separate semantic stage.


4. Open Transformation contract architecture

The total TransformationContract catalog is open/versioned/admission-governed.

Distinguish:

TransformationContractDefinitionAvailable
TransformationContractResolved
TransformationContractWellFormed
TransformationContractAdmitted
TransformationContractExecutableAvailable
ContractRegistry != AdmissionAuthority
ContractAdmitted -/-> ProviderAvailable

An admitted contract closes/references as material:

identity/revision
finite named source domain set
exact source semantic bases/revisions
source matcher contracts
finite named target domain/artifact set
target semantic contracts
target identity namespaces/policies
mapping/construction rules
pure value functions
collision/merge policy
material coverage/preservation/loss policy
fine-grained transformation dependence
completion/finalization criterion
provider-independent conformance relation

5. Source domain semantics

A Transformation application has an exact finite:

TransformationSourceDomainSet

of one or more named semantic artifacts/bases.

Every mutable source alias is resolved/sealed to the exact revision used by that application before material source matching.

ProviderReadableData -/-> TransformationSourceDomain
MutableAlias != TransformationSourceRevisionIdentity

Multiple source domains do not imply semantic merge or identity unification.


6. Target artifact semantics

An application produces a finite TransformationTargetDomainSet of one or more independently meaningful TransformedArtifact results/domains.

Each target declares/references:

target semantic schema/type contract
TargetIdentityNamespace where needed
target-local identity policy
target formation/well-typedness requirements
result identity/completion policy

Target creation does not mutate the source.


Part I — T1 StructuralMapping.v1

7. T1 semantic model

StructuralMapping.v1 is a declarative source-driven mapping profile.

Conceptually:

frozen TransformationSourceDomainSet
-> ratified Query source matcher(s)
-> complete SourceMatchWitness / SourceMatchFamily
-> declarative TargetContribution set
-> deterministic target finalization
-> TransformedArtifact

T1 rules do not read partially constructed target state.

RuleOrder != TransformationSemantics
ProviderExecutionOrder != TransformationSemantics

A future operational/imperative profile may explicitly choose other semantics; T1 does not.


8. Source match modes

T1 supports at least:

PER_MATCH
PER_DISTINCT_SOURCE_KEY
PER_GROUP

All source/group keys use exact typed equality/definedness. Group/key components must be definitely bound or governed by an explicit missing-key contract.

For PER_GROUP, complete target construction requires complete source-match groups.

MatchPrefixGroup != CompleteSourceGroup

9. Target contributions

A rule application emits zero or more TargetContributions containing/referencing as material:

target domain
constructor identity
TargetConstructionKey
TargetIdentityStability
contribution content
TargetReferenceKey dependencies
source witness/family refs
rule/guard/value function refs
fine-grained transformation dependence

A contribution is not yet a finalized target element.

T1 supports:

one match -> one target element
one match -> many target elements
many matches/group -> one target element
many matches/group -> many correlated target elements

10. Target identity classes

Keep distinct:

SourceSemanticReferentIdentity
SourceArtifactIdentity
TargetIdentityNamespace
TargetLocalElementIdentity
TransformedArtifactResultIdentity
TargetElementOccurrence/content state
AuthoritativeSourceIdentity

New target elements use target-local identity only.

TargetLocalElementIdentity -/-> AuthoritativeSourceSemanticReferentIdentity

An existing semantic referent may be referenced only through an already-resolved semantic ref/identity-preservation contract.

SourceArtifactIdentity != SourceSemanticReferentIdentity

11. Target identity stability

Identity-bearing constructors declare:

STABLE_BY_SEMANTIC_KEY
BASIS_REVISION_SCOPED
TRANSFORMATION_APPLICATION_SCOPED

with a stable TargetIdentityNamespace.

STABLE_BY_SEMANTIC_KEY permits one target-local identity to recur across different result artifacts while each result has a distinct target-element occurrence/content/dependence state.

A construction-key change normally means a different target-local identity; continuity across key changes requires an explicit TargetIdentityEvolutionContract.


12. Target references and N-ary construction

Target constructors may reference:

existing semantic referent by resolved ref
another target-local element by TargetReferenceKey

Provider object handles are not semantic authority.

Unresolved/ambiguous target references fail finalization.

Target N-ary relation construction explicitly declares relation contract, local identity/construction key, named roles, participant expressions and qualifiers.

SameParticipants -/-> SameTargetRelationInstance

unless the target construction/equivalence contract explicitly says so.


13. Target construction key / coalescence

TargetConstructionKey is representation-independent and target-domain scoped.

When multiple contributions share a key, one policy applies:

COALESCE_EQUIVALENT
REJECT_ANY_COLLISION
REQUIRE_EXPLICIT_MERGE

Equivalent coalescence requires exact content equivalence and unions material dependence.

An explicit TargetMergeContract owns any real merge of complementary/conflicting contributions.

ProviderInsertionOrder != TargetMergeSemantics

14. Target coalescence vs source identity

Many source refs/matches may contribute to one target-local element without establishing source co-reference.

TargetContributionCoalescence
!= SourceSemanticReferentIdentityEquivalence
!= CoReferenceJudgment

Normalized/string-equal target keys can group/fuse target-local content but do not establish source semantic identity equality.

All contributing source refs remain separately reconstructible where material.


15. Value/collection construction

T1 target values may use versioned typed pure functions for copying, renaming/rebinding, literal/default values, finite arithmetic, conditionals, normalization/canonicalization and finite collection construction.

For collections, exact semantics include:

SET
BAG/MULTISET
ORDERED_LIST

plus element equality, multiplicity and ordering where applicable.

ProviderIterationOrder != TargetCollectionOrder

Arbitrary provider callbacks do not define semantic output.


16. Lexical normalization vs identity

Preserve:

IdentifierLexicalValue
IdentifierLexicalNormalization
SemanticIdentifier
SemanticReferentIdentity
IdentifierAuthority
LexicalNormalizationEqual
-/-> SemanticIdentifierEqual
-/-> SemanticReferentIdentityEqual

Normalized values may intentionally define target-local construction keys only under the declared contract.


17. Coverage / preservation / loss

Every material transformation distinguishes:

TransformationInputScope
MaterialCoverageContract
MappingRuleMatchDomain

and chooses one preservation claim mode:

NO_GLOBAL_PRESERVATION_CLAIM
COVERAGE_PRESERVED_DIRECTLY
COVERAGE_PRESERVED_DIRECTLY_OR_BY_REFERENCE
COVERAGE_LOSSY_WITH_EXPLICIT_DISPOSITIONS

Material dispositions include:

PRESERVE_DIRECTLY
PRESERVE_BY_REFERENCE
TRANSFORM
DERIVE
RESTRICT_EXPLICIT
DROP_EXPLICIT
NOT_APPLICABLE

UNKNOWN blocks a preservation claim. ACCIDENTALLY_LOST is a conformance defect.

Lineage alone cannot satisfy a direct/self-contained preservation claim.

Where needed, a CoverageReconstructionRelation defines the promised semantic preservation without implying bidirectional putback.


18. Fine-grained transformation dependence

Every material target element/value preserves or reconstructs direct dependence on, as applicable:

TransformationContract/rule/constructor/merge revisions
source domains/basis revisions
SourceMatchWitness/SourceMatchFamily refs
source artifact/referent refs
pure function/expression revisions
construction/reference keys
all collision/coalescence contributors
coverage/loss dispositions

Keep distinct:

TransformationDependence
!= DomainProvenance
!= ReasoningDerivation
!= EvidentialSupport
!= RuntimeTrace

Ratified Query witness/multiplicity distinctions remain material where required.


19. Composition of dependence/loss

For T1: S->A then T2: A->B, B retains direct dependence on A plus transitive transformation-dependence history back to S where material.

Composition cannot launder earlier loss:

ACCIDENTALLY_LOST -> composed defect
UNKNOWN -> composed UNKNOWN
DROP_EXPLICIT -> remains not preserved from original source
RESTRICT_EXPLICIT -> remains restriction
PRESERVE -> TRANSFORM -> transformed relative to original

Later independent reconstruction from another source is a new derivation/dependence, not retroactive preservation.


20. T1 finalization/completion

A complete T1 result requires:

all material source matcher/group contracts complete
complete TargetContribution family
all target reference keys resolved
all collisions resolved by declared policy
TargetWellFormed / TargetWellTyped
required transformation dependence available
all material coverage dispositions resolved
TransformationComplete
!= TargetConformant(all policies)
!= TargetAdmissible
!= TargetAuthorized

Validation/Conformance/Admission remain separate stages unless explicitly composed.


Part II — T2 GraphMLProjection.v1

21. T2 role

T2 preserves/refines the V1 PROJECT capability as a reusable graph/subgraph→ML-ready semantic TransformedArtifact.

PROJECT capability = PRESERVE + REFINE
PROJECT keyword    = P3L OPEN

T2 is not a physical tensor/storage contract.


22. T2 source and target

T2 consumes an exact semantic graph/subgraph basis such as a ratified QueryGraphView.

The target closes at least:

artifact identity
subject/reference correspondence
SemanticFeatureIdentity / FeatureCoordinateIdentity
feature schema/order/value domains
role/N-ary topology representation semantics
weight/semiring interpretation where used
normalization/window semantics
feature-hash contract where used
missing/unknown/conflict encoding
source/basis revision
fine-grained transformation dependence
explicit coverage/loss policy
MLReadyArtifact != PhysicalTensorBuffer

23. Feature hashing / coordinates

When hashing is used, semantic contract includes:

hash function/revision
dimension
seed/salt where material
source-feature identity encoding
sign function if used
collision reducer
numeric type/overflow behavior

and distinguishes:

SemanticFeatureIdentity
FeatureCoordinateIdentity
PhysicalTensorColumnIndex

Provider physical reordering is allowed only under preserved correspondence.


24. Missing/conflict semantics

T2 explicitly declares how UNBOUND, Unknown, Hidden, conflicting values and NotApplicable are encoded/rejected/preserved per material feature family.

UNBOUND != semantic NULL != Unknown
Unknown != numeric zero

unless the exact feature contract deliberately defines another encoding.


25. N-ary role/topology mapping

When role/N-ary semantics are material, T2 must explicitly encode them through role-specific channels, incidence structure, relation-instance target elements, or another admitted mapping.

No universal clique/star/binary flattening is implicit.

RoleLayoutPosition != SemanticRoleIdentity

26. T2 no-shadowing

A downstream consumer accepting explicit T2 artifact T consumes that exact semantic artifact.

Provider-local lowering may encode it, but cannot ignore T and silently recompute a different source→feature/topology transformation.

P3Lowering != SemanticRetransformation

Part III — catalog/composition boundaries

27. Open contract/provider catalogs

The total TransformationContract catalog remains open. Future profiles may include DPO/SPO graph transformation, bidirectional lenses, incremental/streaming transforms, imperative operational transforms, schema migration or external-model-specific mappings.

Provider catalogs are realization-only.

TransformationProvider != MappingSemanticAuthority
ProviderDefaultMapping != TransformationSemantics

No provider is selected by this owner.


28. Bidirectional/source-update boundary

T1/T2 are forward transformations.

ForwardTransformation -/-> AuthorizedBackwardUpdate

A bidirectional/lens profile must separately close consistency/putback laws and source revision/admission authority.

Transformation output never mutates .fsl merely because a target can be mapped back.


29. Cross-regime composition

Valid routes include:

Query -> T1/T2
T1 -> T1/T2
T1/T2 -> Query
T1/T2 -> Analysis
T1/T2 -> Reasoning under PremiseAdmissible
T1/T2 -> Validation/Conformance
T1/T2 -> explicit later source incorporation/revision

Every boundary preserves exact standing, artifact identity, basis and material transformation dependence.


30. Mandatory reference profile set

Durable reference owner:

TRANSFORMATION-H1-REFERENCE-PROFILE-SET.md

The set contains T1/T2 and W1..W4 reference obligations, preventing an empty generic mapping/provider hook.


31. Reopen triggers

Reopen on material evidence such as:

T1 cannot express a competent forward graph/model mapping floor
target-local identity cannot remain separate from source/domain identity
order-independent target contribution semantics prove insufficient
coverage/loss claims cannot be made falsifiable
composition loses material lineage/loss state
T2 cannot represent native role-incidence graph→ML semantics
Transformation requires foreign standing/source-authority introduction
provider realization requires semantics not owned by the contract

Implementation convenience or preference for QVT/ATL/DPO/another engine is not itself a reopen trigger.


32. Closure state

TRANSFORMATION_CAPABILITY_ADEQUACY             = PASS
T1 STRUCTURAL MAPPING                          = RATIFIED
T2 GRAPH-ML PROJECTION                         = RATIFIED
TRANSFORMATION CONTRACT CATALOG                = OPEN / VERSIONED / ADMISSION-GOVERNED
TRANSFORMATION PROVIDER CATALOG                = OPEN / REALIZATION-ONLY
FOREIGN STANDING INTRODUCTION BY TRANSFORM     = FORBIDDEN
NEW AUTHORITATIVE REFERENT BY TRANSFORM         = FORBIDDEN
BIDIRECTIONAL PUTBACK                          = NOT REQUIRED H1
TRANSFORMATION_BLOCKING_UNKNOWN                = NONE AT THIS HORIZON

P3 TRANSFORMATION CHANGE IMPACT                = REQUIRED / DOWNSTREAM
P3L TRANSFORM / PROJECT SURFACE                = PAUSED
IMPLEMENTATION                                 = NOT AUTHORIZED