Appendix H Finite-Horizon Observers, Prediction Depth, Solenoid Memory, and History Ledgers
Across Chapter 35 (especially generator quotienting, logarithmic-charge conservation Theorem 35.18, and unit-modulus characterization Theorem 35.19 in Section 35.4, together with the golden projective-defect multiplier Theorem 35.26 in Section 35.5), Section 36.6 (the observer escape ledger Theorem 36.29, the readout–permutation update commutator Theorem 36.33, and modular recovery uniqueness for bounded integer power traces Theorem 36.34), and the Coda, three seemingly distinct threads—geometry, arithmetic, and information—repeatedly converge on the same structural tension: When an observer inspects the world only through a coarse readout window, how much internal structure is locked down by finite-horizon future observations, what deeper fiber phases remain invisible beneath identical visible projections, and how does adjoining a history ledger strictly contract the indistinguishable kernel?
This appendix distills that tension into a single transparent algebraic question: Given a carrier state type , a deterministic update map , and a coarse readout , how does the head of the complete future itinerary recover the current readout unconditionally, how does the finite-horizon equivalence kernel stabilize at a precisely defined completion depth on finite state spaces, how does every memory map supporting readout and update factorization map uniquely from its actual range to the minimal predictive completion quotient, how do equal-projection lifts on UniversalSolenoid form an additive hidden-fiber transition cocycle, and how does intersecting a public readout kernel with an additive history-ledger kernel govern hidden-state recovery?
Following the strict three-tier epistemic contract of Appendix E (verification boundaries in Appendix C), all five flagship theorems below correspond directly to kernel-checked Lean 4 theorems at the pinned commit and carry LEAN ✓ in the master audit table. Companion finite-state hand calculations and the five-step unified instantiation on UniversalSolenoid in Section H.6 are explicitly labeled as manual derivations; conceptual bridges across modules are never misrepresented as automatic implications without explicit maps, nor are algebraic kernel inclusions inflated into thermodynamic arrows of time or algorithmic complexity bounds.
H.1 Head of the Complete Future Itinerary and Current-Readout Recovery
Begin at the most elementary step: at step the system occupies an underlying state ; iterating the deterministic update carries through , while the observer records only the coarse output . Before comparing finite prediction horizons, we verify that passing to the complete future itinerary never loses the immediate present readout.
A two-state flip calculation makes both the identity and its exact boundary concrete (manual derivation). Take the binary carrier with bit-flip update and identity readout . The infinite readout sequences from the two initial states are
Evaluating the -th entry (the head of the sequence) immediately recovers and . Suppose instead we replace by the constant readout . Both trajectories collapse to : taking the -th entry still recovers the current readout identically, yet never recovers the underlying state . Recovering the current readout from the complete itinerary is thus an exact functional factorization of , not an injective reconstruction of .
In the frozen formalization, for arbitrary types and , update map , and readout , the complete future itinerary completeItinerary is defined by
while the itinerary head operator itineraryHead on infinite sequences evaluates at :
Theorem recover_current_readout establishes their exact composition identity without any finiteness or topological assumptions:
Let and be arbitrary types, let be an update map, and let be a readout map. Then the functional composition identity holds:
By function extensionality (funext), evaluate the right-hand side at an arbitrary state . Unfolding Function.comp, itineraryHead, and completeItinerary in sequence gives
Since the zero-fold iterate is definitionally the identity map on , this reduces directly to . The full proof is checked by the Lean kernel.
Epistemic boundary: Theorem H.1 holds for completely arbitrary types and and involves neither observational noise nor statistical consistency. It proves that factors through completeItinerary F q via itineraryHead—so the complete-itinerary kernel refines the instantaneous readout kernel, —and must never be inverted into the false claim that the instantaneous readout alone recovers either the future itinerary or the internal state .
H.2 Finite-State Prediction Horizons and Stabilization at Completion Depth
Because a single snapshot at generally merges states whose futures eventually diverge, an observer naturally looks steps ahead. When the state space is finite, must the observer inspect infinitely many future steps to separate every pair of predictively distinguishable states, or does the finite-horizon partition freeze at a finite depth?
A three-state delay chain reveals the exact mechanism by hand (manual derivation). Take with deterministic update and binary readout defined by
Writing out the complete future readout trajectories of the three states gives
Compare the equivalence partitions induced at horizons and :
- Zero-step horizon (, inspecting only, i.e., sample): The readout words are , , and . State is already separated from , whereas states and both output and remain glued together in the ambiguous fiber ;
- One-step horizon (, inspecting , i.e., samples): The readout prefixes become , , and . States and split apart at ( still reads , while reads ), refining the partition into the three singletons —already identical to the infinite-itinerary kernel! Extending the horizon to any produces no further refinement.
To state the general theorem faithfully, we unpack four frozen definitions from the Lean source:
-
Finite-horizon readout word
futureReadoutWord: For arbitrary types , maps and , and horizon index ,Note carefully that the index domain is (integers ), so horizon parameter collects readout samples ( corresponds to the single current readout);
-
Finite-horizon equivalence kernel
finiteHorizonKernel: Defined as the equivalence relation (Setoid Y) induced byfutureReadoutWord: -
Pairwise distinguishing time
distinguishingTime: Classical choice is used on each pair : if holds,distinguishingTimereturns the witness ; otherwise (when the two complete itineraries agree everywhere) it returns . Note that the source definition invokesClassical.chooserather than least-witness searchNat.find; -
Completion depth
completionDepth: Assuming a finite-type instance[Fintype Y],completionDepthtakes the natural-number supremum over the finite universal set of all ordered state pairs:
Theorem finite_horizon_stabilizes_at_completionDepth proves that on any finite state space, the finite-horizon kernel at completionDepth equals the full infinite-itinerary kernel:
Let (in universe ) and (in universe ) be types equipped with a finite-type instance [Fintype Y]. Let be an update map and let be a readout map. Then, as equivalence relations (Setoid Y) on ,
By Setoid extensionality, it suffices to show that any two states are related on the left if and only if they are related on the right. If lies in the complete-itinerary kernel on the right, then holds for every , and in particular for every , so futureReadoutWord agrees on and . Conversely, suppose and have equal futureReadoutWord at horizon , and assume toward a contradiction that holds. Unfolding the positive dite branch of distinguishingTime and applying Classical.choose_spec, the chosen witness satisfies . Because [Fintype Y] places in , Finset.le_sup yields , hence . Packaging as contradicts agreement of futureReadoutWord at horizon . Therefore the complete itineraries agree at all times. The full proof is checked by the Lean kernel.
Finiteness caveat: [Fintype Y] is strictly indispensable. On the countably infinite countdown chain with , , and zero-detector readout , (manual derivation), state first outputs at step ; for any fixed finite horizon , states and share the all-zero word across , so no finite horizon ever stabilizes to the infinite-itinerary kernel. Likewise, completionDepth is defined nonconstructively via Classical.choose and carries neither probabilistic/entropic hypotheses nor any physical clock-time bound.
H.3 Universal Factorization into the Predictive Completion Quotient
Returning to an arbitrary (not necessarily finite) state carrier : whenever two states generate identical infinite readout sequences , distinguishing between and adds zero predictive power for future readouts. Quotienting by complete-itinerary equivalence yields the predictive completion quotient CompletedState together with its canonical projection completionProjection:
What makes an internal memory map predictively valid? Exactly two algebraic closure conditions: (1) readout factorization (readout_factors), requiring a map with ; and (2) update factorization (update_factors), requiring an autonomous memory transition with .
To see why the resulting universal map is defined specifically on the actual range and why it need not be injective when memory is redundant, compare three candidate memories on a four-state carrier (manual derivation). Set with , , , and , . Since and share the complete itinerary , consists of exactly three equivalence classes , , and :
- Faithful minimal memory: Take with , , . Both factorizations hold, and the unique map is a bijection;
- Redundant memory with an unreachable codomain label: Take the five-element codomain with , , , , induced update and , and readout factor and . Both
readout_factorsandupdate_factorshold! Observe two critical subtleties: (i) because is never hit by , places no constraint on , which is why uniqueness holds on rather than all of ; (ii) on , is not injective, because retains the predictively irrelevant split that collapses onto the minimal quotient; - Invalid over-coarsened memory: Take with and . Instantaneous readout still factors (), but violates
update_factors, blocking factorization into .
Writing and for the canonical surjection , theorem predictive_memory_minimal_quotient establishes the universal property of CompletedState:
Let be arbitrary types, let be an update map, let be a readout map, and let be a memory map satisfying:
- Readout factorization (
readout_factors): there exists such that ; - Update factorization (
update_factors): there exists such that .
Then there exists a unique map such that
Choose witnesses and from the two hypotheses. Induction on proves for every (trivial at , and applying at the inductive step). Post-composing with and using yields, for every ,
Consequently, implies , so . Because is surjective with kernel , is constant along every fiber of and descends to a map satisfying the required equation. Surjectivity of guarantees uniqueness: any with the same composite agrees with on every , hence everywhere on . The full proof is checked by the Lean kernel.
Epistemic boundary: Theorem H.3 requires no finiteness on and expresses a quotient universal property rather than a state-minimization complexity bound. Above all, uniqueness of on neither makes injective nor certifies that is already minimal; redundant memories are expressly permitted and collapse uniquely onto CompletedState F q.
H.4 Hidden-Fiber Transition Cocycle for Equal-Projection Lifts on the Universal Solenoid
Whereas Theorems Theorem H.1–Theorem H.3 characterize how predictively indistinguishable states collapse onto a minimal visible quotient, we now step inside the fiber of a projection to ask: what algebraic structure relates distinct underlying lifts that project to the exact same visible phase?
In Section 35.4, nonvanishing complex-power threads of zero logarithmic charge (Theorem 35.18, Theorem 35.19) have unit modulus at every level. Their pure-phase additive counterpart in the frozen dynamics library is the universal solenoid UniversalSolenoid: indexed by positive natural numbers (ℕ+, where each is strictly positive so division by zero never arises) and valued in the unit-period additive circle , it is the subtype of divisibility-compatible phase threads
inheriting coordinatewise addition, negation, and zero from , where denotes natural-number scalar multiplication (nsmul). Two canonical operations accompany this group:
- Visible base-circle projection
UniversalSolenoid.projection: The additive group homomorphism extracting the level- coordinate ; - Real-line flow
UniversalSolenoid.realFlow: For any , assigns to each the residue class of in . Because , the real quotient avoids the total-function fallback, and verifies thread compatibility across all levels.
Inspecting two integer-time flow elements by hand immediately exposes the hidden fiber (manual derivation). Set and , and read off their coordinates in :
At the visible level , : after one full revolution around the base circle, an observer watching only level sees zero net displacement. Yet on the double-cover coordinate , sits half a turn away from the identity! Choosing three constant lifts , , and over any parameter set , all three have visible projection , while their unique pairwise differences in are , , and , closing as .
Theorem three_lift_difference_cocycle establishes unique hidden-fiber differences and the additive transition cocycle law for any three equal-projection lift families over an arbitrary type :
In the commutative additive group , define pointwise , , and (noting by transitivity of equality). Since is an additive group homomorphism preserving subtraction and zero, pointwise equality yields . Group cancellation gives , and any satisfying for all satisfies pointwise, hence by funext. Clauses 2 and 3 follow identically for and . Finally, canceling the intermediate term at each gives , proving Clause 4. The full proof is checked by the Lean kernel.
Epistemic boundary: The parameter type carries no topology or continuity assumption; each hidden difference is a compatible -indexed thread in rather than an arbitrary real angle difference. Crucially, Theorem H.4 underscores that hidden solenoid threads cannot be reconstructed from the visible circle projection alone, nor may one assert that an arbitrary predictive completion quotient automatically forms a solenoid.
H.5 Additive Kernel Criterion for Public Recovery with a History Ledger
Since visible projections alone cannot resolve nontrivial kernel fibers, when does adjoining an additive history ledger allow hidden information to be recovered from public data, and how does the ledger constrain the subgroup of undetectable hidden shifts even when full recovery is not yet achieved?
A planar integer-lattice calculation illustrates both regimes cleanly (manual derivation). Set and , with additive homomorphisms
Here whereas . Because has , the inclusion fails—the hidden image of the public blind spot is —so no map from the public value can recover . Now adjoin an additive ledger homomorphism :
- Choosing the complementary ledger shrinks the joint kernel to , collapsing the undetectable hidden image to and restoring full recovery;
- Choosing a parity ledger , , shrinks the joint kernel from to , reducing the undetectable hidden-shift subgroup from to —strictly smaller, though not yet trivial.
In the frozen agency module, theorem public_recovery_criterion formulates this exact criterion for four general (not necessarily commutative) additive groups AddGroup and additive homomorphisms (→+, AddMonoidHom). Here denotes the range subgroup, the range-restricted surjection, the kernel subgroup, the subgroup image under , subgroup intersection, and the trivial subgroup :
Let be four types equipped with [AddGroup ...] instances, and let
be additive group homomorphisms. Then all four statements below hold:
-
Equivalence between homomorphic recovery from the public range and kernel inclusion:
-
Equivalence between kernel inclusion and triviality of the undetectable hidden subgroup:
-
Equivalence between triviality of the undetectable hidden subgroup and homomorphic recovery:
-
Monotonic contraction of the undetectable hidden subgroup under an added ledger:
For Clause 1, suppose satisfies . If , then , so and homomorphism preservation of zero yields , proving . Conversely, assume . Whenever in the (not necessarily abelian) additive group, places , so and hence . Sending each to for a chosen preimage is therefore independent of the preimage; for and , gives , yielding an additive homomorphism with . For Clause 2, holds if and only if for every , which is literally , i.e., . Clause 3 chains the symmetry of Clause 2 with Clause 1. Clause 4 applies AddSubgroup.map_mono to the infimum inclusion . The full proof is checked by the Lean kernel.
Epistemic boundary: Theorem H.5 operates purely on four AddGroup carriers and additive homomorphisms (with itself restricted to additive homomorphisms on ), carrying no norm, entropy functional, or dynamical clock. Compare Section 36.6: Theorem 36.29 tracks off-diagonal escape pairs across finite set partitions, whereas Theorem 36.34 resolves modular-kernel ambiguity via an external strict amplitude bound with . Clause 4 guarantees monotonic subgroup contraction when adjoining , never that an arbitrary ledger achieves full recovery () or derives thermodynamic irreversibility.
H.6 Unified Solenoid Synthesis and Epistemic Boundary Audit
The five theorems of Sections H.1–H.5 reside in separate modules—trajectory head evaluation, finite-state horizon refinement, minimal predictive quotient universality, universal-solenoid transition cocycles, and additive-group recovery kernels—linked by the shared structural principle of kernel factorization rather than by automatic cross-module implication. To watch all five theorems interlock on one concrete mathematical system while keeping every hypothesis boundary razor-sharp, we carry out the following explicit five-step instantiation on UniversalSolenoid:
Manual derivation (explicit joint instantiation of Theorem H.1–Theorem H.5; not an additional frozen GID). Take the underlying state space to be the uncountable compact abelian group , and write for the visible level- circle phase (). Equip with the following deterministic update and semicircle binary readout:
-
Inversion update : Define . Since group negation is an involution, , i.e., ;
-
Semicircle binary readout : Representing each phase by its unique canonical representative , set
We trace all five stages on this single system:
-
Current-readout head recovery (instantiating Theorem H.1): Because , for every solenoid state the complete future binary itinerary alternates with period dividing :
whose head
itineraryHeadrecovers . -
One-step horizon stabilization on the finite four-state quotient (instantiating Theorem H.2): Define the two-bit memory map by , and equip the finite four-state carrier (
[Fintype Y], ) with coordinate-swap update and first-coordinate readout . Verify first that surjects onto all four binary pairs on :- At : and , giving ;
- At : and , giving ;
- At : while , giving ;
- At : while , giving .
Observe the exact cardinality boundary: what satisfies
[Fintype Y]here is the four-state readout quotient , whereas the underlyingUniversalSolenoidremains infinite! On , zero-step horizon splits only into and ; advancing one step to (two samples ) yields four distinct two-bit words that determine the entire infinite periodic future, stabilizing to the complete-itinerary kernel at . -
Unique factorization through into
CompletedState F q(instantiating Theorem H.3): On , satisfiesreadout_factorsand satisfiesupdate_factors(via ). By Theorem H.3, there exists a unique map with . Since Step 2 established with four pairwise distinct alternating trajectories, identifies bijectively with those predictive classes. -
Hidden-fiber transition cocycle inside a single predictive class (instantiating Theorem H.4): Select the nonzero projection-kernel elements and , and over consider the three lifts
Since and , all three share identical visible phases both before and after inversion: and . Under , , , and therefore produce the exact same infinite binary readout itinerary and merge into a single point of . Inside the underlying solenoid fiber, however, Theorem H.4 locks their unique hidden transition differences , , and , obeying while carrying nontrivial deeper thread phases (, ).
-
Strict kernel contraction—without full recovery—under a level-2 history ledger (instantiating Theorem H.5): Finally, instantiate the four additive groups as
with public homomorphism , target hidden homomorphism (), and level- history-ledger homomorphism :
-
Before adjoining the ledger: has yet (since ), so prevents full solenoid recovery from alone;
-
After adjoining the level- ledger : Because , is expelled from , strictly shrinking the undetectable subgroup: ;
-
Why full recovery still fails: Inspect the doubled shift across levels :
yet at level ,
Hence , so the joint blind spot remains nontrivial ()! More generally, any single fixed-level coordinate ledger vanishes on at both level and level () while leaving a nonzero residue at level . In pure group-theoretic miniature, a finite-level ledger can genuinely contract the indistinguishable kernel, yet a single-level one leaves a residual blind spot in deeper fibers awaiting the next stage of table expansion.
-
The exact hypotheses, verified conclusions, and non-extrapolation guardrails for all five kernel-verified theorems of Appendix H are consolidated in the master audit table below:
Formal Scope and Anti-Overclaiming Ledger.
| Theorem & Kernel Declaration | Exact Type & Algebraic Hypotheses | Verified Mathematical Conclusion | Strict Non-Extrapolation Boundary |
|---|---|---|---|
Theorem H.1 (recover_current_readout, LEAN ✓) | Arbitrary types and maps , (no finiteness assumed) | Functional identity | Never claim that instantaneous readout alone recovers the future itinerary or internal state ; involves neither noise nor statistical estimation |
Theorem H.2 (finite_horizon_stabilizes_at_completionDepth, LEAN ✓) | Arbitrary types with mandatory [Fintype Y]; horizon samples ( readings) | At , finiteHorizonKernel equals | Never drop [Fintype Y] for infinite state spaces, or treat the Classical.choose-based completionDepth as a physical clock bound |
Theorem H.3 (predictive_memory_minimal_quotient, LEAN ✓) | Arbitrary types ; memory satisfying both readout_factors and update_factors | Unique map factoring completionProjection F q | is defined on rather than all of ; never claim must be injective, that is minimal, or that automaton complexity is bounded |
Theorem H.4 (three_lift_difference_cocycle, LEAN ✓) | Arbitrary parameter type ; three lifts with equal base projection | Unique differences in obeying | No continuity hypothesis on ; differences are -indexed threads rather than single real angles; never claim base projection recovers hidden threads or that arbitrary predictive quotients are solenoids |
Theorem H.5 (public_recovery_criterion, LEAN ✓) | Four AddGroup types and three additive homomorphisms (no commutativity, norm, or measure assumed) | Range homomorphic recovery , and | Never claim an arbitrary history ledger achieves full recovery ( still escapes in Example H.6), or that subgroup kernel inclusion alone derives thermodynamic irreversibility |
Stepping back across the five-rung algebraic ladder—from head recovery (Theorem H.1), finite-state horizon stabilization (Theorem H.2), and minimal predictive quotient universality (Theorem H.3) to hidden solenoid cocycles (Theorem H.4) and history-ledger kernel criteria (Theorem H.5)—the exact mathematical skeleton of finite-horizon observation stands plain: on the visible predictive side, quotienting compresses all future-equivalent states losslessly onto a minimal memory kernel; on the hidden-fiber side, each added history ledger squeezes the blind spot inward by subgroup kernel intersection, while deeper unrecorded fiber phases remain honestly registered as transition cocycle differences along the frontier between what is known and what still escapes.