UOR Transforms and Morphisms

IRI
https://uor.foundation/morphism/
Prefix
morphism:
Space
user
Comment
Runtime abstractions for maps between UOR objects: transforms, isometries, embeddings, and group actions. The foundation provides the vocabulary; Prism writes the sentences.

This is a user-space namespace in the Apply stage of the PRISM pipeline. It provides the application layer — types, morphisms, and state that parameterize the resolution pipeline.

Learn more: Pipeline Overview · Site Bundle Semantics

Class hierarchy
Class hierarchy for UOR Transforms and Morphisms namespace Transform Isometry Embedding Action Composition Identity CompositionLaw GroundingMap ProjectionMap GroundingCerti TopologicalDel ComputationDat ApplicationMor PartialApplica TransformCompo Witness GroundingWitne ProjectionWitn SymbolSequence SequenceElemen

Imports

Classes

NameSubclass OfDisjoint WithComment
TransformThingCompositionLawA map between UOR objects. The root abstraction: source, target, and optionally what structure (if any) is preserved. This is what cert:TransformCertificate certifies.
IsometryTransformCompositionA transform that preserves metric structure with respect to a specified metric. In UOR, isometry is metric-relative: neg is a ring isometry, bnot is a Hamming isometry. A transform can be an isometry with respect to one metric but not the other. This is what cert:IsometryCertificate certifies.
EmbeddingTransformCompositionAn injective, structure-preserving transform across quantum levels. The canonical instance is the level embedding ι : R_n → R_{n'} (n < n'), which preserves addition, multiplication, and content addressing.
ActionThingThe mechanism by which a group applies transforms systematically to a set. Each group element induces a transform of the set. The dihedral action on type space is an action by isometries — every element of D_{2^n} produces an isometric transform of 𝒯_n.
CompositionTransformIsometry, Embedding, IdentityA transform formed by composing two or more transforms sequentially. The categorical composition operation that turns transforms into a category.
IdentityTransformCompositionThe identity transform on a type: maps every element to itself. The categorical identity morphism.
CompositionLawThingTransformA law governing how operations compose. Records whether the composition is associative, commutative, and what the result operation is. The critical composition law (neg ∘ bnot = succ) is the foundational instance.
GroundingMapTransformProjectionMapA Transform mapping a surface symbol (any schema:Literal) to its ring datum (a schema:Datum) via the content-addressing bijection. Typed, derivation-witnessed, constraint-preserving map from surface to coordinate. Applies identically across NLP tokens, ARC-AGI grid cells, MIDI notes, pixels, sensor readings, and logical propositions.
ProjectionMapTransformGroundingMapA Transform mapping a resolved partition:Partition (address neighbourhood) to an ordered sequence of surface symbols. Output ordering determined by the active state:Frame — the same constraint frame that decomposed the input symbol sequence.
GroundingCertificateCertificateA certificate attesting that a specific grounding round-trip (P∘Π∘G) satisfied the shared-frame condition and landed in the type-equivalent neighbourhood of the source symbol. Witnesses the Surface Symmetry Theorem (op:surfaceSymmetry) for one specific symbol instance.
TopologicalDeltaThingA topological delta: records changes in topological invariants (Betti numbers, Euler characteristic, nerve structure) before and after a morphism.
ComputationDatumDatumA datum whose ring value is the content address of a cert:TransformCertificate. Represents a certified computation as a first-class value within the ring.
ApplicationMorphismTransformA transform that applies a ComputationDatum to an input datum, producing an output datum. The output inherits the certificate of the ComputationDatum.
PartialApplicationComputationDatumA ComputationDatum formed by fixing some but not all inputs of a multi-argument transform.
TransformCompositionComputationDatumA ComputationDatum representing the composition f ∘ g of two ComputationDatums. Certified iff both components are certified and range(g) = domain(f).
WitnessThingAbstract supertype for one specific input/output pair witnessing a Transform.
GroundingWitnessWitnessProjectionWitnessOne specific surface symbol mapped to one specific grounded address by some GroundingMap.
ProjectionWitnessWitnessGroundingWitnessOne specific input partition mapped to one specific surface symbol sequence by some ProjectionMap.
SymbolSequenceThingAn ordered sequence of surface symbols. Elements are reified as SequenceElement individuals with explicit position indices.
SequenceElementThingOne position in a SymbolSequence: a reified (value, index) pair.

Properties

NameKindFunctionalDomainRangeComment
sourceObjecttrueTransformThingThe domain of the transform.
targetObjecttrueTransformThingThe codomain of the transform.
preservesObjectfalseTransformThingThe structure preserved by this transform (if any). E.g., a ring homomorphism preserves addition and multiplication.
preservesMetricObjectfalseIsometryMetricObservableThe specific metric this isometry preserves. Points to observable:RingMetric or observable:HammingMetric. A transform that preserves both is an isometry of the full UOR geometry. A transform that preserves one but not the other has nontrivial curvature — observable:CurvatureObservable measures this gap.
sourceQuantumDatatypetrueEmbeddingpositiveIntegerThe quantum level n of the source ring for an embedding.
targetQuantumDatatypetrueEmbeddingpositiveIntegerThe quantum level n' of the target ring for an embedding. Must satisfy n' > n (embeddings go to larger rings).
groupObjecttrueActionGroupThe group acting in this group action.
actingOnObjecttrueActionThingThe set being acted upon by this group action.
actionIsometryDatatypetrueActionbooleanWhether every transform induced by this action is an isometry. True for the dihedral action on 𝒯_n (Frame Theorem).
traceObjecttrueTransformComputationTraceThe computation trace that realized this transform at runtime. A Transform is an abstraction; a trace is the kernel's record of how it was executed via concrete operations.
composesWithObjectfalseTransformTransformA transform that this transform can be composed with. The target of this transform must match the source of the composed transform.
compositionResultObjecttrueCompositionTransformThe transform that results from this composition.
compositionComponentsObjectfalseCompositionTransformA component transform of this composition.
identityOnObjecttrueIdentityTypeDefinitionThe type on which this identity transform acts.
compositionOrderDatatypetruenonNegativeIntegerThe number of component transforms in a composition.
isAssociativeDatatypetrueCompositionLawbooleanWhether this composition law is associative.
isCommutativeDatatypetrueCompositionLawbooleanWhether this composition law is commutative.
lawComponentsObjectfalseCompositionLawOperationAn operation that is a component of this composition law.
lawResultObjecttrueCompositionLawOperationThe operation that results from this composition law.
preservedInvariantObjecttrueTransformIdentityThe identity preserved by this transform (reference to the op:Identity that the transform commutes with).
addressCoherenceObjecttrueEmbeddingIdentityCertificate that this embedding's addressing diagram commutes: glyph ∘ ι ∘ addresses is well-defined and injective.
bettisBeforeObjecttrueTopologicalDeltaBettiNumberBetti numbers before the morphism.
bettisAfterObjecttrueTopologicalDeltaBettiNumberBetti numbers after the morphism.
eulerBeforeDatatypetrueTopologicalDeltaintegerEuler characteristic before the morphism.
eulerAfterDatatypetrueTopologicalDeltaintegerEuler characteristic after the morphism.
nerveBeforeObjecttrueTopologicalDeltaSimplicialComplexConstraint nerve (simplicial complex) before the morphism.
nerveAfterObjecttrueTopologicalDeltaSimplicialComplexConstraint nerve (simplicial complex) after the morphism.
surfaceSymbolObjecttrueGroundingWitnessSurfaceSymbolThe surface symbol that is the source of this grounding witness.
groundedAddressObjecttrueGroundingWitnessElementThe resolved ring address that is the target of this grounding witness.
groundingDerivationObjecttrueGroundingMapDerivationThe derivation witnessing the content-addressing computation that produced the grounded address from the surface symbol.
symbolConstraintsObjectfalseGroundingMapConstraintA typed attribute preserved by this grounding. Non-functional: one assertion per active constraint axis (vertical, horizontal, diagonal).
projectionFrameObjecttrueProjectionMapFrameThe active frame — shared with the grounding that produced the query. The shared-frame condition (Surface Symmetry Theorem) requires G and P to reference the same frame.
projectionSourceObjecttrueProjectionWitnessPartitionThe resolved partition (address neighbourhood) that this projection witness projects back to surface symbols.
projectionOrderObjecttrueProjectionMapCompositeConstraintOrdering constraint determining the output symbol sequence. Domain-specific: syntactic position (NLP), row-major scan (ARC), temporal sequence (music).
roundTripCoherenceDatatypetrueProjectionMapbooleanCompleteness criterion: does projecting the grounded source address recover a symbol in the same type class as the input? True iff the shared-frame condition holds.
groundingCertMapObjecttrueGroundingCertificateGroundingMapThe GroundingMap used in this certified round-trip.
groundingCertProjectionObjecttrueGroundingCertificateProjectionMapThe ProjectionMap used in this certified round-trip.
groundingCertSourceSymbolObjecttrueGroundingCertificateLiteralThe surface symbol that entered the grounding boundary.
groundingCertAddressObjecttrueGroundingCertificateElementThe ring address the symbol was grounded to.
referencedCertificateObjecttrueComputationDatumTransformCertificateThe certificate this computation datum encodes.
computationAddressObjecttrueComputationDatumElementThe content address of the referenced certificate.
applicationTargetObjecttrueApplicationMorphismComputationDatumThe computation being applied.
applicationInputObjecttrueApplicationMorphismDatumThe input datum to the application.
partialBaseObjecttruePartialApplicationComputationDatumThe base computation being partially applied.
boundArgumentsObjectfalsePartialApplicationDatumThe arguments already bound.
compositionLeftObjecttrueTransformCompositionComputationDatumThe outer function f in f ∘ g.
compositionRightObjecttrueTransformCompositionComputationDatumThe inner function g in f ∘ g.
remainingArityDatatypetruePartialApplicationpositiveIntegerNumber of unbound arguments remaining.
inputClassObjecttrueTransformClassThe OWL class of inputs this transform accepts. Uses OWL2 punning so the value is a class IRI treated as an individual at this position.
outputClassObjecttrueTransformClassThe OWL class of outputs this transform produces. Uses OWL2 punning.
outputElementClassObjecttrueProjectionMapClassWhen outputClass is a sequence type, the OWL class of individual sequence elements. Uses OWL2 punning.
hasWitnessObjectfalseTransformWitnessZero or more witness pairs documenting specific input/output bindings of this transform.
hasElementObjectfalseSymbolSequenceSequenceElementMembership of a SymbolSequence. The sequence is reconstructed by sorting elements by elementIndex.
elementValueObjecttrueSequenceElementSurfaceSymbolThe surface symbol value of this sequence element.
elementIndexDatatypetrueSequenceElementnonNegativeIntegerThe zero-based position of this element in the sequence.
projectionOutputObjecttrueProjectionWitnessSymbolSequenceThe single SymbolSequence produced by this projection witness.

Named Individuals

NameTypeComment
criticalCompositionCompositionLawThe critical composition law: neg ∘ bnot = succ. This is the operational form of the critical identity theorem. The composition of the two involutions (neg, bnot) yields the successor operation. Non-associative and non-commutative.
  • lawComponents: neg
  • lawComponents: bnot
  • lawResult: succ
  • isAssociative: false
  • isCommutative: false
IntegerGroundingMapGroundingMapGrounds integer surface symbols to ring addresses.
  • inputClass: Literal
  • outputClass: Element
Utf8GroundingMapGroundingMapGrounds UTF-8 host strings to ring addresses.
  • inputClass: HostStringLiteral
  • outputClass: Element
JsonGroundingMapGroundingMapGrounds JSON host strings to ring addresses.
  • inputClass: HostStringLiteral
  • outputClass: Element
IntegerProjectionMapProjectionMapProjects partitions to integer symbol sequences.
  • inputClass: Partition
  • outputClass: SymbolSequence
  • outputElementClass: Literal
Utf8ProjectionMapProjectionMapProjects partitions to UTF-8 symbol sequences.
  • inputClass: Partition
  • outputClass: SymbolSequence
  • outputElementClass: HostStringLiteral
JsonProjectionMapProjectionMapProjects partitions to JSON symbol sequences.
  • inputClass: Partition
  • outputClass: SymbolSequence
  • outputElementClass: HostStringLiteral