UOR Partitions

IRI
https://uor.foundation/partition/
Prefix
partition:
Space
bridge
Comment
Irreducibility partitions produced by type resolution. A partition divides the ring into four disjoint components: Irreducible, Reducible, Units, and Exterior.

This is a bridge-space namespace in the Resolve stage of the PRISM pipeline. It provides the resolution infrastructure — queries, partitions, observables, proofs, derivations, and traces that transform inputs into certified results.

Learn more: Pipeline Overview · The Partition Decomposition

Class hierarchy
Class hierarchy for UOR Partitions namespace Partition Component IrreducibleSet ReducibleSet UnitGroup Complement SiteIndex FreeRank SiteBinding PartitionProdu PartitionCopro

Imports

Classes

NameSubclass OfDisjoint WithComment
PartitionThingA four-component partition of R_n produced by resolving a type declaration. The four components — Irreducible, Reducible, Units, Exterior — are mutually disjoint and exhaustive over the carrier.
ComponentThingSiteIndex, FreeRankA single component of a partition: a set of datum values belonging to one of the four categories.
IrreducibleSetComponentReducibleSet, UnitGroup, ComplementThe set of irreducible elements under the active type: elements whose only factorizations involve units or themselves. Analogous to prime elements in a ring.
ReducibleSetComponentIrreducibleSet, UnitGroup, ComplementThe set of reducible non-unit elements: elements that can be expressed as a product of two or more non-unit elements.
UnitGroupComponentIrreducibleSet, ReducibleSet, ComplementThe set of invertible elements (units) in the carrier: elements with a multiplicative inverse. In Z/(2^n)Z, the units are the odd integers.
ComplementComponentIrreducibleSet, ReducibleSet, UnitGroupElements of R_n that fall outside the active carrier — i.e., outside the type's domain. These are ring elements that do not participate in the current type resolution.
SiteIndexThingFreeRank, ComponentA single site coordinate in the iterated Z/2Z fibration. Each site represents one binary degree of freedom in the ring's structure. The total number of sites equals the quantum level n.
FreeRankThingSiteIndex, ComponentThe site budget for a partition: an accounting of how many sites are pinned (determined by constraints) versus free (still available for further refinement). A closed budget means all sites are pinned and the type is fully resolved.
SiteBindingThingA record of a single site being pinned by a constraint. Links a specific site coordinate to the constraint that determined its value.
PartitionProductThingPartitionCoproductThe tensor product of two partitions: partition(A × B) = partition(A) ⊗ partition(B). The four-component structure combines component-wise under the product type construction (PT_2a). Carries leftFactor and rightFactor links to the operand partitions.
PartitionCoproductThingPartitionProductThe coproduct (disjoint union) of two partitions: partition(A + B) = partition(A) ⊕ partition(B). The four-component structure combines via disjoint union under the sum type construction (PT_2b). Carries leftSummand and rightSummand links to the operand partitions.

Properties

NameKindFunctionalDomainRangeComment
irreduciblesObjecttruePartitionIrreducibleSetThe irreducible component of this partition.
reduciblesObjecttruePartitionReducibleSetThe reducible component of this partition.
unitsObjecttruePartitionUnitGroupThe units component of this partition.
exteriorObjecttruePartitionComplementThe exterior component of this partition.
memberObjectfalseComponentDatumA datum value belonging to this partition component.
cardinalityDatatypetrueComponentnonNegativeIntegerThe number of elements in this partition component. The cardinalities of the four components must sum to 2^n.
densityDatatypetruePartitiondecimalThe irreducible density of this partition: |Irr| / |A|, where A is the active carrier.
sourceTypeObjecttruePartitionTypeDefinitionThe type declaration that was resolved to produce this partition.
wittLengthDatatypetruePartitionpositiveIntegerThe Witt level n at which this partition was computed. The ring has 2^n elements at this level.
sitePositionDatatypetrueSiteIndexnonNegativeIntegerThe zero-based position of this site coordinate within the iterated fibration. Position 0 is the least significant bit; position n-1 is the most significant.
siteStateDatatypetrueSiteIndexnonNegativeIntegerThe current state of this site coordinate: 'pinned' if determined by a constraint, 'free' if still available for refinement.
siteBudgetObjecttruePartitionFreeRankThe site budget associated with this partition.
totalSitesDatatypetrueFreeRanknonNegativeIntegerThe total number of site coordinates in this budget, equal to the quantum level n.
pinnedCountDatatypetrueFreeRanknonNegativeIntegerThe number of site coordinates currently pinned by constraints.
freeRankDatatypetrueFreeRanknonNegativeIntegerThe number of site coordinates still free (not yet pinned). Equals totalSites - pinnedCount.
isClosedDatatypetrueFreeRankbooleanWhether all sites in this budget are pinned. A closed budget means the type is fully resolved and the partition is complete.
hasSiteObjectfalseFreeRankSiteIndexA site coordinate belonging to this budget.
pinnedByObjecttrueSiteBindingConstraintThe constraint that pins this site coordinate.
pinsCoordinateObjecttrueSiteBindingSiteIndexThe site coordinate that this pinning determines.
hasBindingObjectfalseFreeRankSiteBindingA site pinning record in this budget.
ancillaSiteObjecttrueSiteIndexSiteIndexAn ancilla site coordinate paired with this site for reversible computation (RC_1–RC_4 ancilla model).
reversibleStrategyDatatypetrueFreeRankbooleanTrue when this site budget uses a reversible computation strategy preserving information through ancilla sites.
exteriorCriteriaObjecttrueComplementTermExpressionThe formal membership criterion for this Complement: x ∈ Ext(T) iff x ∉ carrier(T). The Complement is context-dependent on the active type T (FPM_9).
isExhaustiveDatatypetruePartitionbooleanWhether the four components of this partition are exhaustive over R_n: |Irr| + |Red| + |Unit| + |Ext| = 2^n (FPM_8). Set by the kernel after verification.
leftFactorObjecttruePartitionProductPartitionThe left operand partition of this tensor product.
rightFactorObjecttruePartitionProductPartitionThe right operand partition of this tensor product.
leftSummandObjecttruePartitionCoproductPartitionThe left operand partition of this coproduct.
rightSummandObjecttruePartitionCoproductPartitionThe right operand partition of this coproduct.