UOR Euler Reduction

IRI
https://uor.foundation/reduction/
Prefix
reduction:
Space
kernel
Comment
Sequential composition of ψ-maps into a parameterized reduction ψ = ψ_9 ∘ … ∘ ψ_1. Defines stages, phase gates, rollback, and epochs.

This is a kernel-space namespace in the Define stage of the PRISM pipeline. It provides the immutable algebraic substrate — ring structure, schema vocabulary, and operation algebra.

Learn more: Pipeline Overview

Class hierarchy
Class hierarchy for UOR Euler Reduction namespace EulerReduction PhaseRotationS TargetConverge PhaseGateAttes ComplexConjuga ReductionStep ReductionState ReductionRule Epoch EpochBoundary PredicateExpre GuardExpressio TransitionEffe PropertyBind ReductionAdvan ServiceWindow ReductionTrans PipelineSucces PipelineFailur PreflightCheck FeasibilityRes LeaseState ManagedLease LeaseCheckpoin BackPressureSi DeferredQueryS SubleaseTransf ComparisonPred ConjunctionPre DisjunctionPre NegationPredic MembershipPred GroundingPredi SiteCoveragePr EqualsPredicat NonNullPredica QuerySubtypePr CompileUnit

Imports

Classes

NameSubclass OfDisjoint WithComment
EulerReductionThingThe composite endofunctor ψ = ψ_9 ∘ … ∘ ψ_1, parameterized by Ω = e^{iπ/6}.
PhaseRotationSchedulerThingSchedule Ω⁰, Ω¹, …, Ω⁵ assigning a phase angle to each stage of the reduction.
TargetConvergenceAngleThingThe angle at which the reduction terminates (default: π).
PhaseGateAttestationThingValidation at each stage boundary checking that the accumulated phase angle matches the expected Ω^k.
ComplexConjugateRollbackThingRecovery operation when a phase gate fails: z → z̄. Involutory: applying twice yields the original value.
ReductionStepThingA named stage of the reduction. The standard reduction has six stages (Initialization through Convergence).
ReductionStateThingState of reduction execution at a specific point, including the current stage, phase angle, and pinned mask.
ReductionRuleThingGuard-effect pair governing stage transitions in the reduction. The guard must be satisfied before the effect is applied.
EpochThingTemporal segment of reduction execution. Each epoch represents one complete pass through the reduction stages.
EpochBoundaryThingTransition between epochs. Carries metadata about the epoch boundary crossing.
PredicateExpressionThingA Boolean expression over the reduction state. The atomic guard unit.
GuardExpressionThingA conjunction of PredicateExpressions that must hold for a transition to fire.
TransitionEffectThingState changes applied when a transition fires. Contains PropertyBind steps.
PropertyBindThingA single site pinning: target site + value.
ReductionAdvanceThingAdvancement from one ReductionStep to the next.
ServiceWindowThingA sliding window over recent epochs providing BaseContext.
ReductionTransactionThingAn atomic group of state changes within the reduction.
PipelineSuccessThingSuccessful termination (FullGrounding).
PipelineFailureReasonThingTyped failure: DispatchMiss, GroundingFailure, ConvergenceStall, etc.
PreflightCheckThingA pre-execution validation: feasibility, dispatch coverage, coherence.
FeasibilityResultThingResult of a preflight check: feasibility witness or infeasibility witness.
LeaseStateThingLifecycle of a partitioned context lease: Pending → Active → Released/Expired/Suspended.
ManagedLeaseThingA context lease with lifecycle tracking.
LeaseCheckpointThingSnapshot of lease state at a point in time.
BackPressureSignalThingFlow control when reduction produces faster than downstream can consume.
DeferredQuerySetThingQueries postponed to a future epoch.
SubleaseTransferThingTransfer of a lease from one computation to another.
ComparisonPredicatePredicateExpressionPredicate comparing a state field against a value.
ConjunctionPredicatePredicateExpressionConjunction (AND) of multiple predicates.
DisjunctionPredicatePredicateExpressionDisjunction (OR) of multiple predicates.
NegationPredicatePredicateExpressionNegation (NOT) of a single predicate.
MembershipPredicatePredicateExpressionPredicate testing membership of an element in a set.
GroundingPredicatePredicateExpressionPredicate testing whether grounding exceeds a threshold.
SiteCoveragePredicatePredicateExpressionPredicate testing whether a site coverage target is met.
EqualsPredicatePredicateExpressionPredicate testing equality of two expressions.
NonNullPredicatePredicateExpressionPredicate testing that a field is non-null.
QuerySubtypePredicatePredicateExpressionPredicate testing whether a query is a subtype of a given type.
CompileUnitThingThe typed input graph submitted to the reduction pipeline. Packages a root Term, target quantum level, verification domains, and thermodynamic budget. Stage 0 accepts exactly one CompileUnit and initializes the reduction state vector from it.

Properties

NameKindFunctionalDomainRangeComment
phaseParameterDatatypetrueEulerReductiondecimalThe base phase parameter Ω for this reduction (e.g., e^{iπ/6}).
stageCountDatatypetrueEulerReductionnonNegativeIntegerThe number of stages in this reduction.
convergenceAngleDatatypetrueEulerReductiondecimalThe cumulative phase angle at which the reduction converges.
composedOfMapsObjectfalseEulerReductionTermExpressionThe ordered list of ψ-maps that compose this reduction.
rotationScheduleDatatypetruePhaseRotationSchedulerdecimalString representation of the rotation schedule Ω⁰, Ω¹, …, Ω⁵.
baseAngleDatatypetruePhaseRotationSchedulerdecimalThe base angle π/6 from which the schedule is derived.
targetAngleDatatypetrueTargetConvergenceAngledecimalThe target convergence angle (default: π).
gateStageObjecttruePhaseGateAttestationReductionStepThe reduction stage at which this gate is applied.
gateExpectedPhaseDatatypetruePhaseGateAttestationdecimalThe expected phase angle Ω^k at this gate.
gateResultDatatypetruePhaseGateAttestationbooleanWhether the phase gate check passed or failed.
rollbackTargetObjecttrueComplexConjugateRollbackReductionStepThe reduction stage to which execution rolls back on gate failure.
stageIndexDatatypetrueReductionStepnonNegativeIntegerZero-based index of this stage in the reduction.
stageNameDatatypetrueReductionStepstringHuman-readable name of this reduction stage.
expectedPhaseDatatypetrueReductionStepdecimalThe expected phase angle Ω^k at this stage.
entryGuardObjecttrueReductionStepStatePredicateA typed predicate evaluated on the current ReductionState. Must be satisfied to enter this stage.
exitGuardObjecttrueReductionStepStatePredicateA typed predicate that must be satisfied before the reduction advances past this stage.
stageEffectObjecttrueReductionStepEffectThe effect applied by this stage upon successful exit.
currentStageObjecttrueReductionStateReductionStepThe reduction stage at which execution is currently positioned.
phaseAngleDatatypetrueReductionStatedecimalThe accumulated phase angle at the current point.
pinnedMaskDatatypetrueReductionStatenonNegativeIntegerBit mask of sites that are pinned (resolved) at this point.
freeRankDatatypetrueReductionStatenonNegativeIntegerThe number of free (unresolved) sites at this point.
transitionGuardObjecttrueReductionRuleGuardedTransitionA typed GuardedTransition from predicate/ governing the stage transition.
transitionEffectObjecttrueReductionRuleTermExpressionThe effect applied when this transition fires.
transitionAdvanceDatatypetrueReductionRulebooleanWhether this transition advances to the next stage.
epochIndexDatatypetrueEpochnonNegativeIntegerZero-based index of this epoch in the reduction execution.
epochDatumObjecttrueEpochTermExpressionMetadata or summary datum for this epoch.
epochBoundaryTypeObjecttrueEpochBoundaryTermExpressionThe type of epoch boundary crossing (e.g., normal, forced, timeout).
predicateFieldDatatypetruePredicateExpressionstringThe state field this predicate tests.
predicateOperatorDatatypetruePredicateExpressionstringThe comparison operator (e.g., '=', '<', '>=').
predicateValueDatatypetruePredicateExpressionstringThe value against which the field is compared.
guardPredicatesObjectfalseGuardExpressionPredicateExpressionThe predicate expressions that compose this guard.
effectBindingsObjectfalseTransitionEffectPropertyBindThe property bind steps applied by this effect.
bindTargetDatatypetruePropertyBindstringThe target site identifier for this binding.
bindValueDatatypetruePropertyBindstringThe value to pin the target site to.
advanceFromObjecttrueReductionAdvanceReductionStepThe source stage of the advancement.
advanceToObjecttrueReductionAdvanceReductionStepThe target stage of the advancement.
windowSizeDatatypetrueServiceWindownonNegativeIntegerThe number of recent epochs in this service window.
windowOffsetDatatypetrueServiceWindownonNegativeIntegerThe starting epoch offset of this service window.
transactionPolicyDatatypetrueReductionTransactionstringThe execution policy for this transaction (e.g., AllOrNothing, BestEffort).
transactionOutcomeObjecttrueReductionTransactionTermExpressionThe outcome of this transaction (e.g., committed, rolled back).
failureKindDatatypetruePipelineFailureReasonstringThe kind of pipeline failure (e.g., DispatchMiss, ConvergenceStall).
preflightKindDatatypetruePreflightCheckstringThe kind of preflight check (e.g., feasibility, dispatch coverage).
preflightResultObjecttruePreflightCheckTermExpressionThe result of the preflight check (e.g., pass, fail).
groundingReachedDatatypetruePipelineSuccessbooleanWhether full grounding was achieved.
feasibilityKindDatatypetrueFeasibilityResultstringThe kind of feasibility result (e.g., Feasible, Infeasible).
feasibilityWitnessDatatypetrueFeasibilityResultstringThe witness justifying the feasibility or infeasibility result.
leasePhaseDatatypetrueLeaseStatestringThe lifecycle phase of a lease (e.g., Pending, Active, Released).
managedLeaseIdObjecttrueManagedLeaseTermExpressionUnique identifier for this managed lease.
leaseLifecycleObjecttrueManagedLeaseLeaseStateThe current lifecycle state of this managed lease.
checkpointEpochDatatypetrueLeaseCheckpointnonNegativeIntegerThe epoch index at which this checkpoint was taken.
checkpointStateObjecttrueLeaseCheckpointReductionStateThe reduction state captured at this checkpoint.
pressureLevelDatatypetrueBackPressureSignalstringThe current back-pressure level (e.g., Low, Medium, High).
pressureThresholdDatatypetrueBackPressureSignaldecimalThe threshold at which back-pressure activates.
deferredCountDatatypetrueDeferredQuerySetnonNegativeIntegerThe number of queries in this deferred set.
deferralEpochDatatypetrueDeferredQuerySetnonNegativeIntegerThe epoch in which these queries were deferred.
sourceLeaseRefObjecttrueSubleaseTransferTermExpressionThe lease being transferred from.
targetLeaseRefObjecttrueSubleaseTransferTermExpressionThe lease being transferred to.
transferredBudgetDatatypetrueSubleaseTransfernonNegativeIntegerThe site budget transferred between leases.
transferCompletedDatatypetrueSubleaseTransferbooleanWhether the sublease transfer has been completed.
comparisonFieldObjecttrueComparisonPredicateTermExpressionThe state field tested by this comparison predicate.
comparisonOperatorObjecttrueComparisonPredicateTermExpressionThe comparison operator (e.g., '=', '<', '>=').
comparisonValueObjecttrueComparisonPredicateTermExpressionThe value against which the comparison is made.
conjunctsObjectfalseConjunctionPredicateTermExpressionA conjunct predicate in a conjunction.
disjunctsObjectfalseDisjunctionPredicateTermExpressionA disjunct predicate in a disjunction.
negatedPredicateObjecttrueNegationPredicateTermExpressionThe predicate being negated.
membershipSetObjecttrueMembershipPredicateTermExpressionThe set against which membership is tested.
membershipElementObjecttrueMembershipPredicateTermExpressionThe element being tested for set membership.
groundingThresholdDatatypetrueGroundingPredicatenonNegativeIntegerThe grounding threshold above which the predicate holds.
coverageTargetDatatypetrueSiteCoveragePredicatenonNegativeIntegerThe site coverage target expression.
equalityLeftObjecttrueEqualsPredicateTermExpressionThe left-hand side of an equality test.
equalityRightObjecttrueEqualsPredicateTermExpressionThe right-hand side of an equality test.
nonNullFieldDatatypetrueNonNullPredicatenonNegativeIntegerThe field that must be non-null.
queryTypeRefObjecttrueQuerySubtypePredicateTermExpressionThe query type reference for subtype testing.
siteStateObjecttrueReductionStateTermExpressionThe site state descriptor within a reduction state.
transactionScopeObjecttrueReductionTransactionTermExpressionThe scope of sites affected by this transaction.
transactionStatusObjecttrueReductionTransactionTermExpressionCurrent status of this transaction (e.g., pending, committed).
baseContextRefObjecttrueServiceWindowTermExpressionReference to the base context provided by this service window.
leaseRemainingBudgetDatatypetrueLeaseCheckpointnonNegativeIntegerThe remaining site budget at this checkpoint.
expiryEpochDatatypetrueManagedLeasenonNegativeIntegerThe epoch at which this managed lease expires.
leaseBudgetDatatypetrueManagedLeasenonNegativeIntegerThe total site budget allocated to this managed lease.
sourceStageObjecttrueBackPressureSignalTermExpressionThe source stage emitting back-pressure.
targetStageObjecttrueBackPressureSignalTermExpressionThe target stage receiving back-pressure.
deferralReasonObjecttrueDeferredQuerySetTermExpressionThe reason for deferring these queries.
infeasibilityKindObjecttrueFeasibilityResultTermExpressionThe kind of infeasibility detected.
failureStageObjecttruePipelineFailureReasonTermExpressionThe reduction stage at which the pipeline failure occurred.
finalGroundingDatatypetruePipelineSuccessdecimalThe final grounding level achieved on pipeline success.
preservedGroundingDatatypetrueEpochBoundarybooleanWhether grounding was preserved across the epoch boundary.
rootTermObjecttrueCompileUnitTermExpressionThe root term expression of a CompileUnit — the top-level syntactic node from which all sub-expressions descend.
unitWittLevelObjecttrueCompileUnitWittLevelThe quantum level at which this CompileUnit operates.
thermodynamicBudgetDatatypetrueCompileUnitdecimalThe Landauer-bounded energy budget for this CompileUnit's resolution, measured in k_B T ln 2 units.
targetDomainsObjectfalseCompileUnitVerificationDomainThe verification domain(s) targeted by this CompileUnit.
unitAddressObjecttrueCompileUnitElementContent-addressable identifier computed as the u:Element of the root term’s transitive closure. Computed by stage_initialization, not declared by the submitter. Excludes budget, domains, and quantum level to enable memoization.
preflightOrderDatatypetruePreflightChecknonNegativeIntegerZero-based execution order for preflight checks. Lower indices execute first. BudgetSolvencyCheck (order 0) must precede all others.

Named Individuals

NameTypeComment
InitializationReductionStepStage 0: initialize state vector to identity.
  • stageIndex: 0
  • stageName: Initialization
  • expectedPhase: Ω⁰
DeclareReductionStepStage 1: dispatch resolver (δ selects).
  • stageIndex: 1
  • stageName: Declare
  • expectedPhase: Ω¹
FactorizeReductionStepStage 2: produce valid ring address (G grounds).
  • stageIndex: 2
  • stageName: Factorize
  • expectedPhase: Ω²
ResolveReductionStepStage 3: resolve constraints (Π terminates).
  • stageIndex: 3
  • stageName: Resolve
  • expectedPhase: Ω³
AttestReductionStepStage 4: accumulate without contradiction (α consistent).
  • stageIndex: 4
  • stageName: Attest
  • expectedPhase: Ω⁴
ExtractReductionStepStage 5: extract coherent output (P projects).
  • stageIndex: 5
  • stageName: Extract
  • expectedPhase: Ω⁵
ConvergenceReductionStepTerminal stage: reduction has reached the convergence angle π.
  • stageIndex: 6
  • stageName: Convergence
  • expectedPhase: π
gate_initializationPhaseGateAttestationPhase gate at stage 0 boundary: checks Ω⁰ = 1.
  • gateStage: stage_initialization
  • gateExpectedPhase: Ω⁰
  • gateResult: true
gate_declarePhaseGateAttestationPhase gate at stage 1 boundary: checks Ω¹.
  • gateStage: stage_declare
  • gateExpectedPhase: Ω¹
  • gateResult: true
gate_factorizePhaseGateAttestationPhase gate at stage 2 boundary: checks Ω².
  • gateStage: stage_factorize
  • gateExpectedPhase: Ω²
  • gateResult: true
gate_resolvePhaseGateAttestationPhase gate at stage 3 boundary: checks Ω³.
  • gateStage: stage_resolve
  • gateExpectedPhase: Ω³
  • gateResult: true
gate_attestPhaseGateAttestationPhase gate at stage 4 boundary: checks Ω⁴.
  • gateStage: stage_attest
  • gateExpectedPhase: Ω⁴
  • gateResult: true
gate_extractPhaseGateAttestationPhase gate at stage 5 boundary: checks Ω⁵.
  • gateStage: stage_extract
  • gateExpectedPhase: Ω⁵
  • gateResult: true
euler_reduction_instanceEulerReductionThe canonical Euler reduction instance with Ω = e^{iπ/6} and 6 stages.
  • phaseParameter: e^{iπ/6}
  • stageCount: 6
  • convergenceAngle: π
phase_schedulePhaseRotationSchedulerThe canonical phase rotation schedule for the 6-stage reduction.
  • rotationSchedule: Ω⁰, Ω¹, Ω², Ω³, Ω⁴, Ω⁵
  • baseAngle: π/6
convergence_targetTargetConvergenceAngleThe default convergence target angle π.
  • targetAngle: π
conjugate_rollbackComplexConjugateRollbackThe canonical complex conjugate rollback operation: z → z̄.
  • rollbackTarget: stage_initialization
DispatchMissPipelineFailureReasonFailure: no resolver matched the dispatch query.
  • failureKind: DispatchMiss
GroundingFailurePipelineFailureReasonFailure: grounding to a valid ring address failed.
  • failureKind: GroundingFailure
ConvergenceStallPipelineFailureReasonFailure: reduction stalled before reaching convergence angle.
  • failureKind: ConvergenceStall
ContradictionDetectedPipelineFailureReasonFailure: accumulation detected a logical contradiction.
  • failureKind: ContradictionDetected
CoherenceViolationPipelineFailureReasonFailure: coherence constraint violated during extraction.
  • failureKind: CoherenceViolation
FullGroundingSuccessPipelineSuccessSuccessful termination: all sites saturated.
  • groundingReached: true
FeasibilityCheckPreflightCheckPreflight: checks that the reduction can reach convergence.
  • preflightKind: Feasibility
  • preflightOrder: 1
DispatchCoverageCheckPreflightCheckPreflight: checks that every dispatch query has a resolver.
  • preflightKind: DispatchCoverage
  • preflightOrder: 2
PackageCoherenceCheckPreflightCheckPreflight: checks package-level coherence constraints.
  • preflightKind: PackageCoherence
  • preflightOrder: 3
default_service_windowServiceWindowThe default service window: 3 epochs, zero offset.
  • windowSize: 3
  • windowOffset: 0
advance_init_to_declareReductionAdvanceAdvancement from Initialization to Declare.
  • advanceFrom: stage_initialization
  • advanceTo: stage_declare
atomic_transactionReductionTransactionAn all-or-nothing atomic reduction transaction.
  • transactionPolicy: AllOrNothing
empty_guardGuardExpressionA trivially satisfied guard with no predicates.
identity_effectTransitionEffectThe identity effect: no state changes.
true_predicatePredicateExpressionA predicate that always evaluates to true.
  • predicateField: *
  • predicateOperator: true
  • predicateValue: *
noop_bindPropertyBindA no-op property binding that changes nothing.
  • bindTarget: none
  • bindValue: unchanged
PendingLeaseStateLease is pending activation.
  • leasePhase: Pending
ActiveLeaseStateLease is active and resources are allocated.
  • leasePhase: Active
ReleasedLeaseStateLease has been explicitly released.
  • leasePhase: Released
ExpiredLeaseStateLease has expired due to timeout.
  • leasePhase: Expired
SuspendedLeaseStateLease is temporarily suspended.
  • leasePhase: Suspended
FeasibilityWitnessFeasibilityResultPreflight result: reduction is feasible.
  • feasibilityKind: Feasible
InfeasibilityWitnessFeasibilityResultPreflight result: reduction is infeasible.
  • feasibilityKind: Infeasible
  • feasibilityWitness: obstruction detected
PreflightTimingPreflightCheckPreflight: timing feasibility check.
  • preflightKind: Timing
  • preflightOrder: 4
RuntimeTimingPreflightCheckPreflight: runtime timing bounds check.
  • preflightKind: RuntimeTiming
  • preflightOrder: 5
BudgetSolvencyCheckPreflightCheckPreflight: verifies thermodynamicBudget ≥ bitsWidth(unitWittLevel) × ln 2. Rejects the CompileUnit if the budget is absent or insufficient. Must execute before all other preflights (preflightOrder 0). Cost is O(1) per CS_4.
  • preflightKind: BudgetSolvency
  • preflightOrder: 0
BackPressureDefaultBackPressureSignalDefault back-pressure signal with medium threshold.
  • pressureLevel: Medium
  • pressureThreshold: 0.75