Persistence capacity IV: worlds, towers and the robustness margin ([Persistence] §2, §10) #
Part four of the PersistenceCapacity development (umbrella and map:
ReflectiveSubsystems.PersistenceCapacity). The counting of
ReflectiveSubsystems.Persistence.Counting lives over a fixed permutation world; this module
carries the capacity theory to general endofunction worlds and world constructions, stacks
sub-systems into towers, and prices what survives a perturbation.
Main results #
- World constructions: disjoint unions (
unionWorld— the kind regime is closed under composition), basins as worlds of their own, Cartesian products (a habitat beside an environment), and time dilation atO (log τ)(KE_iterate_le— a slower reading is not a cheaper one). CbHe/CbHue/CbHe_le_core_factorial/CbHe_perm/CbHue_perm— the budgeted entropic capacities over a general endofunction world ([Persistence] §2, Definitions 2.1–2.2; §5): valued on the recurrent core, capped by the core's factorial, and equal toCbH/CbHuwhen the world is a permutation.CbHev_eq_CbHeOn— eventual capacity from a basin IS exact capacity on its attractor ([Persistence] §10.1 read at §5's budget): a transient is a shift of the clock and nothing else.CbHue_le_CbHe— owning beats renting by at most the clock, over an arbitrary endofunction, via a clamped reindexing that repeats by construction.card_basinWorld_carries_le— the floor does not survive irreversibility ([Persistence] §7, Proposition 7.9(ii)): fold a fixed-cycle core and one-step transient basins into a world and the entropic floor Corollary 7.5(i) gives every permutation world is gone — at most2 ^ (b + 1) * (c - 1) ^ trof thec ^ trworlds of that shape admit ANY non-constant affordable carried family, at any fixed label count.Intertwines.comp/UniformBudget.comp/tower_no_free_lunch/entropy_comp_le— the tower ([Persistence] §10.2 + §2): squares compose, dilations multiply, budgets add; stacking buys structure, never generic capacity, and entropy is antitone up the levels. Beside it, the guest ledgers ([Guests] §2, §4, §9.2): the reversible-host dichotomy, the lossy and law-blind ledgers, and the two-block and conjugation guests (every division of the bill is realized).hasMargin_iff/repair_tax/majority_margin— the robustness margin ([Persistence] §10.1 + §2): it factors into basin fatness and local constancy, it is paid for in carried content by sphere packing in the memory, and three-copy majority saturates the bound exactly (repair_tax_tight_majWorld).- The packaged Witness World ([Persistence] §5, §7, §8, §10.1 + [Decoupling] §6): a lawful sub-system beside an arbitrary environment, priced end to end, its macro reading owned in the capacity vocabulary — and Emergence: the ceiling of the whole development, priced.
Disjoint-union worlds: the kind regime is closed under composition #
A world can be built out of two smaller ones by letting them run side by side, sharing nothing: the
disjoint union unionWorld U₁ U₂, a permutation of Fin (n₁ + n₂) acting as U₁ on the first
block and U₂ on the second. It is worth being clear about what kind of object this is. A union
world is structured by construction — it preserves its blocks, so it is nothing like a generic
permutation, and the collapse's generic statements simply do not speak about it. That is the point
rather than a caveat: composed worlds live on the kind side of the phase boundary, and this
section is about what holds there.
Two things compose.
Rules compose (KE_unionWorld_le): KE (U₁ ⊕ U₂) ≤ KE U₁ + KE U₂ + O (1), with the constant
one fixed builder. So the cheap-dynamics regime is closed under disjoint union — a union of
cheap worlds is cheap. The builder needs no size parameters: a world's table is a list as long as
its block, so the block sizes are read off the two tables' own lengths, and the second block's
entries are shifted by the first's length.
Capacities are superadditive (CbHu_unionWorld_ge): affordable readings of the two blocks
combine into one affordable reading of the union, and the union's carried entropy is at least the
product of the blocks'. The orbit arithmetic is where the inequality comes from — the block-pair
lens has exactly the two blocks' fibres, so the merged profile gives
(n₁ + n₂)! / (∏ f¹! · ∏ f²!) ≥ [n₁! / ∏ f¹!] · [n₂! / ∏ f²!], which is n₁! · n₂! ≤ (n₁ + n₂)!
after clearing denominators.
The phase reading: the emergence region is closed under composition. A world with one kind part hosts affordable sub-systems regardless of what its other parts do — the kind part's capacity is a floor for the whole, and the two blocks' capacities multiply rather than merely add. Nothing here contradicts the collapse; the collapse prices generic worlds, and a union world is not one.
Anchors: [Persistence] §5, Definition 5.5 and §8's kind-world regime. The composition laws are this development's; no numbered result of [Persistence] is claimed machine-checked by their presence.
The disjoint-union world U₁ ⊕ U₂: the two worlds run side by side on Fin (n₁ + n₂),
neither block ever mapping into the other. Transported along finSumFinEquiv from the sum
permutation, so its block action needs the two evaluation lemmas below — it does not compute
definitionally, finSumFinEquiv.symm being an addCases.
Equations
- ReflectiveSubsystems.unionWorld U₁ U₂ = finSumFinEquiv.permCongr (Equiv.sumCongr U₁ U₂)
Instances For
The union world acts as U₁ on the first block.
The union world acts as U₂ on the second block.
Two tables, concatenated with the second block's entries shifted. The shared shape of both builders below: for the world the shift is the first table's own length, for a lens it is the first block's label count.
Instances For
The union world's table is the two blocks' tables, the second shifted past the first.
The union-world builder: on ⟨U₁'s table, U₂'s table⟩ it outputs the union world's table.
ONE fixed function — no block sizes are passed in, because a table is as long as its block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The builder is correct: it outputs exactly the union world's encoded table.
unionTableFn is partial recursive.
The fixed union-world builder code.
Equations
Instances For
Rules compose: the cheap-dynamics regime is closed under disjoint union. Given codes for the
two blocks' tables, the union world costs their lengths plus an absolute constant
elen unionBuilder + 6 — one fixed builder and the assembly's opcodes, independent of the worlds
and of n₁, n₂.
No size parameter is loaded, and none is needed: a world's table is a list as long as its block, so
unionTableFn reads n₁ off the first table and shifts the second block's entries by it.
The consequence is the composition law of the kind regime. If U₁ and U₂ are (CD) — rules of
order log of their sizes, as KE_lcgWorld_le exhibits — then so is U₁ ⊕ U₂. Cheapness of the
rule is not something a world can lose by being put beside another cheap world.
The block-pair lens: read each block with its own reading, and keep the two label sets
apart — block one's labels land in Fin (k₁ + k₂)'s lower range, block two's in the upper. Keeping
them disjoint is what makes the union's fibres exactly the two blocks' fibres.
Equations
- ReflectiveSubsystems.unionLens ℓ₁ ℓ₂ t = Fin.append (fun (i : Fin n₁) => Fin.castAdd k₂ (ℓ₁ t i)) fun (j : Fin n₂) => Fin.natAdd k₁ (ℓ₂ t j)
Instances For
A block-pair of carrying families carries the union. Each block's reading persists along its own block, and the union world never moves a state across the divide.
The block-pair-lens builder: on ⟨⟨block one's table, block two's table⟩, k₁⟩ it gives
the union lens's table. Unlike unionTableFn, the shift must be supplied — a lens's table has
one entry per state, so its length is the block size and the label count is nowhere in it. That is
the one place a size parameter is unavoidable here, and UniformBudget.unionLens pays O (log k₁)
for it.
Equations
- One or more equations did not get rendered due to their size.
Instances For
unionLensTableFn is partial recursive.
The fixed block-pair-lens builder code.
Equations
Instances For
Owned readings compose: two owners, one owner of the pair. The union family is owned at
b₁ + b₂ + O (log k₁) — the two programs, run at the same clock value, plus the label shift.
The O (log k₁) is not removable on this route and is not a fixed constant: a lens's table records
one label per state, so it fixes the block size but says nothing about how many labels exist. It is
the one asymmetry with KE_unionWorld_le, where the shift is readable off the table. Since a
carried family's reference frame is surjective, k₁ ≤ n₁ always, so the term is O (log n₁) — see
CbHu_unionWorld_ge, which is where it gets discharged into a world-size constant.
A carried family's reference frame is surjective, so it has no more labels than states.
Capacities are superadditive: the emergence region is closed under composition. The union world's uniform entropic capacity is at least the product of the two blocks' — an owner of an affordable reading of each block owns an affordable reading of the union, and the union's carried entropy multiplies rather than merely adding.
The budget shift O (log n₁) + O (1) is the label-shift constant of UniformBudget.unionLens,
discharged here into a world-size term: a carried family's frame is surjective, so its label count
is at most its block size (PermCarries.label_le).
The orbit arithmetic is the content. Disjoint labels keep the two blocks' fibres from mixing
(prod_fiber_unionLens), so orbit–stabilizer gives
N_u · (P₁ · P₂) = (n₁ + n₂)! against N₁ · P₁ = n₁! and N₂ · P₂ = n₂!; the inequality is then
exactly n₁! · n₂! ≤ (n₁ + n₂)! with the fibre products cancelled.
The phase reading, plainly. A union world is structured by construction — it preserves its
blocks, so the collapse's generic caps say nothing about it, and no contradiction arises from its
capacity being large. What the statement says is that kindness composes: a world with one kind part
carries everything that part carries, whatever its other parts do. Together with KE_unionWorld_le
— cheap rules compose — this is the composition law of the kind regime.
Basins: a closed region is a world of its own #
Every capacity above quantifies over all states. An observer that only ever inhabits part of the
world should be priced against that part. For a permutation world the right notion of "part" is a
closed region — a B the world never leaves — and the content of this section is that such a
region is not a new setting at all: it is a smaller permutation world.
image_perm_eq is why. A permutation that maps B into B maps B onto B (injectivity plus
finiteness), so B is setwise invariant, U restricts to a permutation of B (subPerm), and
transporting along an enumeration gives an honest world subWorld over Fin B.card. Carrying
families correspond both ways — PermCarriesOn.restrict and permCarriesOn_extend — and the
ledger's frame determination survives restriction (PermCarriesOn.frame_one).
So the initial-conditions axis has, over permutation worlds, exactly the content of decomposition: which closed regions carry what. That is a real reduction and it is also a real limit — a genuinely new setting (emergence from a typical starting state, measures on initial states) needs worlds that are not invertible, where a basin is not a sub-world. That boundary is deliberate here, not a defect.
What is not here, and why. The capacity-level reduction — CbH_on B U b against
CbH (subWorld hB e) b' at a shifted budget — is not proved. The correspondence of families is
free, but the correspondence of budgets is not: a family on B is priced by lensCode, a table
listing one entry per state of the ambient Fin n, while the sub-world's family is priced by a
table over Fin B.card. Converting between them is an explicit-code obligation — re-indexing a
table along the enumeration, which the builder must be given, at a cost of order
B.card · log n bits, not O (1). Neither direction escapes it: extending a family by a constant
off B is free as a function and not free as a table. The objects and the family
correspondence are stated here; the code transport is left open rather than assumed.
A closed region is invariant: if a permutation maps B into B, it maps B onto B. The
one-line reason finiteness is doing work — injectivity makes the image as large as B itself, and
a subset of B with B's cardinality is B.
Membership in a closed region is U-invariant in both directions — the converse half is what
image_perm_eq buys, and it is what lets U restrict to a permutation of B.
The world restricted to a closed region — a permutation of B itself.
Equations
Instances For
The sub-world: the restricted permutation, transported along an enumeration of B into an
honest permutation world over Fin B.card.
Equations
Instances For
Carrying a model on a basin ([Persistence] §7's PermCarries, relativized): the reference
frame resolves the region, and the persistence identity is demanded only at the region's states.
Equations
Instances For
A family on the sub-world, read back onto the whole world by a constant off the region.
Equations
- ReflectiveSubsystems.extendLens B e v₀ ℓ' t x = if h : x ∈ B then ℓ' t (e ⟨x, h⟩) else v₀
Instances For
A basin family restricts to a sub-world family.
A sub-world family extends to a basin family — the direction that needs nothing but a constant off the region. Note what this does not say: the extension is free as a function, and its table still has to be transported along the enumeration, which is why no budget appears.
The ledger survives restriction to a basin: on a closed region the second frame is still determined by the first and the world.
General worlds: capacity over an endofunction ([Persistence] §2, Definitions 2.1–2.2; §3) #
Everything above prices a reading over a permutation world — the setting §7's counting needs,
where the world is its own recurrent core. [Persistence] §2 assumes no such thing: a world is a
finite set with an update and nothing further, Definition 2.1 states carrying for an arbitrary
U : Mem → Mem, and §3's ceiling is precisely about the worlds where that update fails to be
injective. This section brings the budgeted objects to that generality.
The carrying predicate is not a new one. It is Carries, the §3 predicate, at the state type
Fin n: Carries U ℓ says ℓ 0 is surjective and ℓ t (U^[t] s) = ℓ 0 s for every t and s,
which is Definition 2.1 verbatim. permCarries_iff_carries records that PermCarries is that same
predicate at an invertible update, so the two carrying notions in this file are one notion.
What the entropy is valued in. Definition 2.2 measures a lens's carried entropy on a finite
S ⊆ Mem as the log-size of its relabelling class on S — its orbit under Sym (S) — and prices
a persistent family by E (ℓ₀), the entropy on the recurrent core. The persistence identity is
not silent off the core: it pins ℓ 0 everywhere, forcing it through the retraction onto the core
(Carries.frame_zero_congr), and only the LATER frames are free there, reading a state off the
image of U^[t] however they like. So CbHe values a family at
Nat.card (orbit (Perm ↥(core U)) (coreLens U (ℓ 0))), which is Definition 2.2's 2 ^ (E (ℓ₀)) on
S = core U, and Carries.coreLens_eq is what entitles it to price a whole family by frame zero:
on the core every frame is one relabelling of ℓ 0, so all frames share a profile. Over a
permutation world the core is everything and this agrees with CbH on the nose (CbHe_perm); over
a general world it does not, and the core-restricted reading is the definition's.
What the budget is valued in. The budget stays ambient: lensCode tabulates a frame over the
whole of Fin n, exactly as everywhere above, and PermBudget / UniformBudget are reused
unchanged (neither mentions the world). Value and price are thus measured on different sets, and
deliberately: carried entropy is what a reading distinguishes, and Definition 2.2 measures that on
the core; a budget is what a reading costs to write down, and a table is written over the states
it enumerates. Restricting the table to the core would price a reading below what it costs to say
where the core sits.
PermCarries is Carries at an invertible update — the two carrying predicates of this
file are one predicate. Carries is [Persistence] §2, Definition 2.1 verbatim, at an arbitrary
endofunction; PermCarries is it over a permutation world, with the iterate U^[t] spelled as the
group power U ^ t.
The carried entropies affordable at budget b over a general endofunction world: the
core-restricted relabelling-class sizes 2 ^ (E (ℓ₀)) ([Persistence] §2, Definition 2.2) of the
reference frames of those families that carry a persistent model over U at a per-frame cost of b
bits. The BudgetedEntropies of §7 is the case of an invertible U.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The entropic budgeted capacity over a general endofunction world ([Persistence] §5,
Definition 5.4 read at §2's generality), in cardinality form: the largest carried entropy — on the
recurrent core, the only part persistence constrains — of a reference frame whose family costs at
most b bits per frame. sSup ∅ = 0: a budget that affords no family at all carries nothing.
Equations
Instances For
The uniformly affordable carried entropies over a general endofunction world: as
BudgetedEntropiesE, with one program computing every frame instead of a budget per frame.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The uniform entropic capacity over a general endofunction world ([Persistence] §5,
Definition 5.5 read at §2's generality): what an owner — one program for the whole family — keeps
at budget b.
Equations
Instances For
An owned family's carried entropy is affordable over a general endofunction world — the
le_csSup step of the uniform entropic capacity CbHue, the general-world counterpart of
CbHu_ge_of_uniform. A uniform-budgeted family carrying a persistent model witnesses its
core-restricted reference-frame orbit as a member of what the budget affords.
The entropic capacity of a general world is capped by its recurrent core — the §3 ceiling in the entropic currency. An observer keeps no more than the reversible part of the world can hold, whatever it pays.
The general capacity agrees with the §7 capacity over a permutation world. Nothing above is
disturbed by the generalization: CbH is CbHe at an invertible update.
The uniform objects agree likewise: CbHu is CbHue at an invertible update.
The floor does not survive irreversibility ([Persistence] §7, Proposition 7.9) #
CbHe_le_core_factorial just above is the CAP over a general endofunction world, and it is
unaffected by what follows. This section is the FLOOR beneath it, and it does not survive:
Corollary 7.5(i) floors CbH at (1/2 − o(1)) · b over EVERY permutation world, but fold a core
of transient states into it and the floor is gone — generically the capacity is exactly zero,
however large the core. Reversibility is not a convenience in that corollary's hypothesis; it is
what makes the retraction onto the core the identity, and folding it forces the reading to pay for
the fold, a description of the WORLD rather than of the reading.
The world of a c-cycle core with one-step basins: a fixed cycle cyc runs the first c
states, and each of tr further states is routed directly into the core by β. Every world of
this shape shares the same core (the first c states) and differs only in β, so the c ^ tr
choices of β enumerate the worlds of the shape outright.
Equations
- ReflectiveSubsystems.basinWorld cyc β = Fin.append (fun (i : Fin c) => Fin.castAdd tr (cyc i)) fun (j : Fin tr) => Fin.castAdd tr (β j)
Instances For
Proposition 7.9(ii) ([Persistence] §7): fix a c-cycle core and route each of tr
transient states directly into it by β. At budget b, over a fixed label count k, at most
2 ^ (b + 1) * (c - 1) ^ tr of the c ^ tr worlds of this shape admit ANY non-constant affordable
carried family — a vanishing fraction as tr → ∞ at fixed c, b, k, however large the core:
folding the carrier into a core forces the reading to pay for the fold, which is a description of
the world and not of the reading.
The mechanism: a carried family's reference frame at a transient state is pinned, by
basinWorld_confine, to agree with the reference frame at one specific core state — so once the
frame is fixed and affordable (card_affordable_le), each transient state has at most c - 1
places left to be routed to (card_compat_le), and the two bounds multiply.
Time dilation: the rule transports at O (log τ) #
A reading need not keep step with the world. A family that carries a model every τ steps —
ℓ_{t+1} (U^[τ] s) = ℓ t s — is exactly a family carrying a model over the world U^[τ], so the
dilated question reduces to the undilated one over a different world. What that reduction costs is
the price of the dilated rule, and the answer is that it costs almost nothing:
K (U^[τ]) ≤ K (U) + O (log τ), the O (log τ) being the clock alone.
iterBuilder is the witness — one fixed program, independent of the world and of n, that composes
a table with itself. So a slow reading is not a cheaper reading: whatever a τ-dilated observer can
afford over U, an undilated one affords over U^[τ] at a rule cost greater by O (log τ) — and
τ's only appearance is through its binary numeral. Dilation is nearly free on the rule side, and
the ceiling it faces is core (U^[τ]), which is core U itself when U is a permutation.
This is the rule-side half only. Nothing here says a dilated family carries the same entropy; it says the world it carries over is no harder to describe.
Composing two tabulated endofunctions: entry i of stepComp T T' is T's entry at T''s
entry i — the table of U ∘ V from the tables of U and V. Unlike ownStep, which inverts a
permutation's table, this needs nothing of U but that it be a function.
Equations
- ReflectiveSubsystems.stepComp T T' = List.map (fun (v : ℕ) => T.getD v 0) T'
Instances For
The table of U^[τ], by self-composition. The identity's table is List.range n, read off
T's own length — no size parameter is loaded, and none is needed.
Equations
Instances For
The dilation builder, from ⟨U's table, τ⟩ — ONE fixed function of a single natural number,
carrying no dependence on n or the world: decode the table, compose it with itself τ times,
re-encode.
Equations
Instances For
iterTableFn is partial recursive.
The fixed self-composition builder code. One program, independent of the world and of
n.
Equations
Instances For
The dilated rule costs the rule plus the clock — time dilation is nearly free on the rule
side. Given any code for U's table, U^[τ]'s table has a description longer by
(15 + elen dbl) · Nat.size τ — the binary numeral for τ — plus the absolute constant
elen iterBuilder + (15 + elen dbl) + 6, which depends on neither the world, nor τ, nor n.
The assembled program is comp iterBuilder (pair cU (bconst τ)): recover the table, hand it to the
builder with τ's binary numeral, and the builder composes the table with itself τ times.
τ enters through Nat.size τ and nowhere else, so a τ-fold slower world is a log₂ τ-more
expensive world — an observer that reads every τ steps buys its dilation for the price of naming
τ. As with ownership, the bound is in terms of the given code's length rather than KE; the
two coincide when the code is KE-optimal.
Settling from a basin: eventual capacity is exact capacity on the attractor #
([Persistence] §10.1 (silent self-stabilization) + §2–§3)
§10.1 relaxes "correct at every step" to "correct after a transient" — the silence property of
self-stabilization — and Theorem 10.1 settles the question for a STATIC decoder
(eventual_decoupling_iff). This section asks the budgeted question for a lens family: how much
carried entropy can an observer keep if it is allowed to be wrong for a while?
The answer is that the relaxation buys nothing and costs nothing: eventual capacity from a basin
B is exact capacity on its attractor ω(B) (CbHev_eq_CbHeOn). Both directions are a shift of
the clock. A settling family, run past its transient, exactly carries on ω(B) — orbits from B
are inside ω(B) by then, and the frames are reused, so the per-frame budget transfers
untouched. Conversely an exact family on ω(B), its clock delayed by the space transient, settles
from all of B.
Two things make this reduction pay. ω(B) is a permutation world (omegaLimit_bijOn,
omegaPerm), so everything §7 proves about permutation worlds applies to it verbatim — the
attractor is not a new setting. And the reduction is budget-free in both directions: frames are
priced by lensCode over the ambient world on both sides, and a shift reuses frames rather than
rebuilding them, so no table is ever re-indexed. Restricting the frames to ω(B) would not be
free — an ambient table cannot be traded for a sub-world table without paying to say where the
sub-world sits — which is why the frames stay ambient here and only the value is read on the
attractor's subtype, exactly as CbHe does on the core.
Exact carrying on a region, with the frames priced ambiently ([Persistence] §2, Definition
2.1, read on a subset). The frames are functions of the whole world; only their behaviour on S is
constrained, and lensCode prices them over the whole world as everywhere else.
Equations
- ReflectiveSubsystems.CarriesOn U ℓ S = (Set.SurjOn (ℓ 0) S Set.univ ∧ ∀ (t : ℕ), ∀ x ∈ S, ℓ t (U^[t] x) = ℓ 0 x)
Instances For
Settling from a basin — the lens-family form of [Persistence] §10.1's hypothesis, where
Theorem 10.1 (eventual_decoupling_iff) states it for a static decoder. Along every orbit from B
the reading is eventually constant, at the value v records; the transient T is pointwise and
depends on the family, so no bound on it is assumed here.
Which map carries the surjectivity, and why it is v. The demand is that the settled value
be surjective, not that frame zero be. This is the convention the reduction needs and it is the
honest one: the carried content of a settling family is what it settles to. A family whose frame
zero is surjective may settle to a single value — distinguishing nothing, forever — so with the
surjectivity on ℓ 0 the reduction below is simply false in the ⇒ direction.
Equations
- ReflectiveSubsystems.EventuallyCarries U ℓ B v = (Set.SurjOn v (↑B) Set.univ ∧ ∀ s ∈ B, ∃ (T : ℕ), ∀ t ≥ T, ℓ t (U^[t] s) = v s)
Instances For
Reading the attractor through the world's own iterate does not change the carried entropy.
Precomposing with U^[t] is, on the attractor, precomposing with a power of omegaPerm — a
relabelling — so it lands in the same orbit. This is what makes the value of a settling family
independent of when it is read, and it is the engine of both directions of the reduction.
Every frame is the reference frame, transported — Carries.coreLens_eq for an attractor.
ω(B) is a permutation world, so an exactly-carrying family has no freedom there past frame
zero.
The carried entropies affordable at budget b for a reading exact on S: the
relabelling-class sizes of the reference frame restricted to S ([Persistence] §2, Definition
2.2, whose E_S is measured on exactly such an S).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact entropic capacity on a region, in cardinality form. CbHe is the case
S = core U up to the reference frame's relabelling.
Equations
- ReflectiveSubsystems.CbHeOn U S b = sSup (ReflectiveSubsystems.EntropiesOn U S b)
Instances For
The carried entropies affordable at budget b to an observer allowed a transient: the
relabelling class, on the attractor, of the value a settling family settles to.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The reduction, at the level of achievable values — the probe's verdict. The entropies a
settling family can reach from B are exactly those an exactly-carrying family reaches on ω(B),
at the same budget.
⇒ runs the family past T := max (its own pointwise transients over the finite basin) (the space transient): orbits from B fill ω(B) by then, the shifted family carries there exactly, and its
frames are the original family's — so the budget is untouched. ⇐ delays an exact family's clock by
the space transient, which settles it from all of B within ≤ that transient.
Neither direction re-indexes a table: the frames are ambient on both sides and shifting reuses them.
Eventual capacity from a basin IS exact capacity on its attractor ([Persistence] §10.1 read at §5's budget) — the settling probe's verdict.
An observer allowed to be wrong for a while, over a world it cannot leave, keeps exactly what an observer required to be right from the first step keeps over the attractor — at the same price per frame. Being wrong for a while is worth nothing, and it costs nothing; the transient is a shift of the clock and nothing else.
Since ω(B) is a permutation world (omegaPerm), the whole of §7 applies to it: the eventual
question over an irreversible world is the exact question over a reversible one.
Owning beats renting by at most the clock, over ANY world #
CbHu_le_CbH compares the two budgets over a permutation world, where a carried family's frames
repeat with the world's period and the owner's clock therefore never counts past orderOf U. Over a
general endofunction that argument is unavailable as stated: lensCode prices the AMBIENT table,
and it is the LATER frames — ℓ t for t ≥ 1 — that are unconstrained wherever they read off the
image of U^[t], so the frames of a carried family need not repeat at all.
They do not have to. The capacity is a supremum over families achieving a value, not a statement
about the family one is handed — so it is enough to exhibit, for each uniform family, SOME per-frame
family with the same value. CbHue_le_CbHe does that by replacing the family with a clamped
reindexing of itself: read frame t for t < n, and past that read frame
n + ((t − n) % orderOf (corePerm U)).
The replacement carries because of where the two regimes meet. Below n it is the original family.
At or past n every state is already in the recurrent core (iterate_mem_core — the space bounds
its own transient), and on the core congruent exponents give literally equal frames
(Carries.coreLens_eq plus pow_mod_orderOf), so the clamped index reads what the true index would
have. Frame zero is untouched, so the carried entropy is untouched. And every frame the replacement
ever reads has index at most n + orderOf (corePerm U) ≤ n + n !, so one uniform program prices all
of them through a clock that never counts past that.
The cost is O (log (n + n !)) — the clock, and nothing else. As with CbHu_le_CbH the constant
depends on n alone, not on the world, the reading, or the family; and as there, no route makes it
absolute.
Owning beats renting by at most the clock, over an arbitrary endofunction world — the
general-world form of CbHu_le_CbH.
An owner at budget b carries no more entropy than a renter at b + O (log (n + n !)), with no
horizon anywhere. The renter is handed not the owner's family but its clamped reindexing
(clamp), which carries the same entropy (frame zero is shared) and whose every frame is the
owner's program run on a clock bounded by n + n ! — the space transient plus the core's period.
That the frames of the ORIGINAL family may never repeat off the core is not an obstacle: capacity asks what value is achievable, and the replacement achieves it.
The tower: sub-systems of sub-systems ([Persistence] §10.2 + §2) #
A sub-system is a world, so it hosts sub-systems of its own. This section builds the tower and prices it.
The object is the intertwining square Intertwines U F ℓ — the world's step, read one frame
later, is the model's own law applied to the reading. It is the time-indexed form of the
substitution property (Autonomous/descent_iff, Hartmanis–Stearns 1966): where Autonomous asks
that a single decoder's fibres be U-invariant, the square asks the same of a moving family,
frame by frame. Dilation needs no second definition: a τ-dilated square is a square over
U^[τ], and KE_iterate_le already prices the dilated world.
Three facts make the tower:
- Squares compose, and dilations multiply (
Intertwines.comp): aτ₁-square from the base to level 1, stacked with aτ₂-square from level 1 to level 2, is aτ₁ * τ₂-square from the base to level 2. Level 2's clock ticks once perτ₂ticks of level 1's, which is why the composite's framekreads level-1 frameτ₂ * k. This is the renormalization-flavoured part and it is purely equational. - Budgets add (
UniformBudget.comp): one fixed builder runs both levels' programs and composes their tabulations, so an owner of both levels owns the composite atb₁ + b₂plus the clock needed to sayτ₂—O (Nat.size τ₂), thebconstidiom, absolute in everything else. - The identity law anchors (
Intertwines.anchored): a square whose law isidis exactly a carrying family. So a tower that carries a memory at the top is a carrying family of the iterated base world.
Together these give no free lunch (tower_no_free_lunch, tower_no_free_lunch_perm): the whole
tower's carried entropy is bounded by the iterated base world's uniform capacity at the summed
budget. Since U ^ (τ₁ * τ₂) is a permutation in its own right when U is, CbHu_collapse applies
to it verbatim: generically there is no affordable reading of the iterated world either. Stacking
buys structure, never generic capacity — a tower is priced by its total budget against the
iterated world's generic ceiling, and no amount of hierarchy evades the count.
The intertwining square ([Persistence] §10.2, the time-indexed substitution property): one
step of the world, read one frame later, is one step of the model's own law F applied to the
reading. Autonomous is the static form (descent_iff); this is the moving family's form.
A τ-dilated square needs no separate definition — it is Intertwines (U^[τ]) F ℓ, a square
over the iterated world, whose rule KE_iterate_le prices at K (U) + O (log τ).
Equations
- ReflectiveSubsystems.Intertwines U F ℓ = ∀ (t : ℕ) (s : X), ℓ (t + 1) (U s) = F (ℓ t s)
Instances For
A square over U^[1] is a square over U: dilation by one is no dilation.
Telescoping: t steps of the world, read through frame t, are t steps of the law
applied to frame zero's reading. The square is a local statement; this is its global content.
The identity law anchors the family: a square whose model law is id reads the same value
through every frame — exactly Carries's persistence identity. Persistence is the F = id fibre of
the square, as decoupling_is_identity_law is the F = id fibre of descent.
The converse is deliberately NOT claimed: an anchored family constrains ℓ (t + 1) only on the
image U '' univ, so off the image the frames are free and no square need hold there.
The reversible-host dichotomy ([Guests] §2 Definition 2.2, Remark 2.4(a)) #
Over a reversible host (X, e) — e : X ≃ X a bijection — the intertwining square admits no
off-core region at all, so lossiness in the guest law has exactly one escape: the reading must
move. A time-independent reading forces the guest law bijective outright
(Intertwines.fixed_bijective), while a moving reading realizes every law whatever, uniquely from
its own initial frame (intertwines_realize, Intertwines.closed_form). A time-indexed factor map
is therefore not a generalization for its own sake: it is what makes a lossy guest of a reversible
host possible at all.
Realization ([Guests] §2 Definition 2.2, Remark 2.4(a)): over a reversible host, running a
guest law F forward and the host's inverse backward in lockstep — ℓₜ = F^[t] ∘ ℓ₀ ∘ (e.symm)^[t]
— intertwines e with F, for ANY law F and any initial frame ℓ₀. Surjectivity of ℓ₀ is
deliberately not assumed here — it is not a hypothesis of the square — but it transfers to make the
family a reading in the sense of Definition 2.2, since the family's own frame zero is ℓ₀ by rfl.
The closed form ([Guests] §2 Definition 2.2, Remark 2.4(a)), which subsumes uniqueness: over
a reversible host, EVERY intertwining family is the one intertwines_realize builds from its own
initial frame. Two families intertwining the same e with the same F and sharing ℓ 0 therefore
agree at every frame — there is no second reading with that data.
The fixed-lens converse ([Guests] §2 Definition 2.2, Remark 2.4(a)): a time-independent
reading forces the guest law bijective, so no fixed lens sees a lossy guest of a reversible host —
intertwines_realize's moving lens is not an artifact of the construction but the only way to own a
lossy law at all. The host need only be surjective, not reversible outright: surjectivity of U and
of the shared frame ℓ₀ is all the argument uses.
The lossy ledger ([Guests] §2 Remark 2.4(a); [Guests] §9.2) #
The coset argument behind ledger_graded only ever reads the world through a reference frame and
its own one-step image; it never uses that the family is itself persistent. So a lossy guest law
F running behind a persistent family ℓ — Intertwines (⇑U) F ℓ — is priced the same way, once
F ∘ ℓ 0 stands in as the reference frame: (F ∘ ℓ 0, ℓ 1) is exactly the pair ledger_graded
wants, read off the square at t = 0. A second, purely combinatorial fact turns the guest's own
settling depth into a resolution bound on the same currency: an image chain that strictly
decreases for d steps starting at Set.range F forces Set.range F to carry at least d
elements, since each step drops the count by at least one and the chain's last term is
non-empty.
The lossy ledger ([Guests] §2 Remark 2.4(a); [Guests] §9.2, the dynamical reading): a
lossy guest law F running behind a persistent family ℓ is priced exactly as ledger_graded
prices a persistent family's own two frames, with F ∘ ℓ 0 as the reference frame — the coset term
runs over F ∘ ℓ 0's fibres rather than ℓ 0's.
A reduction, not a new count. Put g := F ∘ ℓ 0 and ℓ' t := g ∘ (⇑U⁻¹)^[t]: ℓ' persists U
(unwinding the host's inverse against its own power recovers g), ℓ' 0 = g by definition, and
ℓ' 1 = ℓ 1 by the square read at t = 0. ledger_graded applied to ℓ' then prices U from
exactly the pair (g, ℓ 1).
The lossy ledger, at the paired frame ([Guests] §4, Law 1's sketch; [Persistence] §6,
Remark 6.6): the guest's first two frames extend to a persistent family whose reference lens is
F ∘ ℓ 0 and whose second frame is ℓ 1, and the paired ledger prices the host from those two
frames read as ONE paired table — KE (lensCode (pairLens (F ∘ ℓ 0) (ℓ 1))) rather than the two
separate frame prices ledger_graded_lossy charges. The same reduction ledger_graded_lossy
performs, landing on ledger_graded_paired_persists instead of ledger_graded: put
g := F ∘ ℓ 0 and ℓ' t := g ∘ (⇑U⁻¹)^[t], whose persistence identity and first two frames are
exactly ledger_graded_lossy's own.
The image-chain bound ([Guests] §9.2): if a law's iterated images strictly decrease for d
steps starting at its own image — Set.range F ⊃ Set.range (F^[2]) ⊃ ⋯ ⊃ Set.range (F^[d]), each
inclusion strict, with the chain's last term Set.range (F^[d]) non-empty — then
d ≤ Nat.card (Set.range F). Elementary: each strict step drops the image's cardinality by at
least one, and the last image contributes at least the one further element non-emptiness
guarantees. This is what turns a lossy guest's settling depth into a resolution bound on the same
frame ledger_graded_lossy prices ([Guests] §9.2).
The resolution clause, at the parity guest's own witness ([Guests] §9.2): the parity-then-
die guest's law fun _ => 0 has a SINGLETON range, so settlingDepth_le_card_range's resolution
bound pins any settling depth this law admits to at most one step — depth one at resolution one
prices nothing. This is the guard intertwines_parityLens/parityLens_intertwines_not_carries
were missing: neither states what the depth floor forces at the family's own law.
The law-blind count and its ledger ([Guests] §9.2) #
Persistence prices the world against ONE named law. The count behind it is coarser: among every
permutation SOME law could explain — quantifying the law away entirely — how many are there?
card_lawBlind_le answers this by the coset argument collapse_count already runs, read against
the CODOMAIN lens ℓ' rather than an affordable-frame set: a law-blind permutation determines its
own law only on the domain lens's actual image, so the count splits into a choice of that partial
map — at most (card range ℓ') ^ (card range ℓ) of them — times one ℓ'-fibre-stabilizer coset
per choice (∏ᵢ (fibreᵢ)!, card_stabilizer_lens).
The permutations some law explains ([Guests] §9.2): the set a fixed pair of lenses
(ℓ, ℓ') cannot distinguish from carrying a law of its own — quantifying the law away, unlike
PermCarries/Intertwines, which each fix one.
Equations
Instances For
The law-blind count ([Guests] §9.2): at most (card range ℓ') ^ (card range ℓ) guesses at
the induced partial law, each pinning V down to one ℓ'-fibre-stabilizer coset — one map guess
per point ℓ actually reads, times card_stabilizer_lens's own coset size.
The law-blind ledger, over the paired frame ([Guests] §9.2) #
card_lawBlind_le counts; this enumerates. A fixed decoder recovers U's own table from the
paired frame pairLens ℓ ℓ' plus an index into the SAME set the count bounds —
ledger_graded_paired's own plumbing, with the transport check widened from "equals a fixed
reference table" to "equals it after SOME law", isValid's single ∀ becoming a doubly-bounded ∀∀
implication (lbOK/lbBool, pairOK/candBijBool's own shape). No term below ever reads F:
the address is (ℓ, ℓ') alone, which is what separates this from ledger_graded_paired_lossy.
One law-blind pairwise test, Bool-valued: skip the pair when the ℓ-table disagrees at
i and j, else require the ℓ'-table to agree at the candidate's own images — pairOK's
shape, reading two tables through the candidate rather than comparing digits directly.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The doubly-bounded law-blind search ([Guests] §9.2): every pair of positions in [0, n)
respects lbOK — candBijBool's own outer shape, folded over lbOK instead of pairOK.
Equations
- ReflectiveSubsystems.lbBool n t0 t1 w = (List.range n).all fun (i : ℕ) => (List.range n).all fun (j : ℕ) => ReflectiveSubsystems.lbOK n t0 t1 w i j
Instances For
A candidate is law-blind valid when its table is a genuine permutation AND its ℓ'-image
respects ℓ's fibres — isValid's shape, with the fixed reference table's equality widened to
lbBool's existential-law agreement.
Equations
- ReflectiveSubsystems.isValidLB n t0 t1 w = (ReflectiveSubsystems.candBijBool n w = true ∧ ReflectiveSubsystems.lbBool n t0 t1 w = true)
Instances For
isValidLB is decidable.
Equations
- ReflectiveSubsystems.decIsValidLB n t0 t1 w = id inferInstance
The law-blind candidate list: every numeral below n ^ n whose table is law-blind valid,
in the numeral's own order — candList's own shape, at the law-blind predicate.
Equations
- ReflectiveSubsystems.candListLB n t0 t1 = List.filter (fun (w : ℕ) => decide (ReflectiveSubsystems.isValidLB n t0 t1 w)) (List.range (n ^ n))
Instances For
The law-blind tabulation, rebuilt from the packed program ⟨n, t0, t1, idx⟩ —
gradedTableFn's own shape, filtering candListLB instead of candList.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The paired law-blind tabulation, rebuilt from the packed program ⟨n, pairCode, idx⟩:
unzip the paired table back into the two frame tables and hand them to gradedTableFnLB's own
decoder — pairedGradedTableFn's own shape, at the law-blind decoder rather than the persistence
one.
Equations
- One or more equations did not get rendered due to their size.
Instances For
pairedGradedTableFnLB is partial recursive.
The fixed paired law-blind builder code. One program, independent of n, the world, and
the two lenses.
Equations
Instances For
The law-blind ledger's constant: one fixed builder plus the assembly's opcodes — n, the
paired frame code, and the coset index, pairedLedgerConst's own shape at the law-blind builder.
Equations
Instances For
The law-blind ledger ([Guests] §9.2): one step of an intertwining square — ℓ' ∘ U = F ∘ ℓ
for SOME F, which Intertwines supplies at every t — prices U against the paired frame
pairLens ℓ ℓ' plus an index into card_lawBlind_le's own count, no term reading F at all: the
address is (ℓ, ℓ') alone, quantifying the law away exactly as LawBlind does. Mirrors
ledger_graded_paired's enumeration plumbing — an index into a computed finite set, the SAME
Nat.size n / Nat.size (…) split its own bookkeeping produces, read here against
card_lawBlind_le's bound rather than a single fibre-stabilizer count.
Off the fibre: the collapse has no analogue past F = id ([Guests] §4, the v0.4 correction #
to Laws 1 and 2)
PermCarries is PermPersists plus surjectivity of the reference frame, and PermPersists is
exactly Intertwines U id ℓ read over Perm (Fin n) — the permutation specialization of
Intertwines.anchored's F = id fibre. Off that fibre the collapse has no analogue at all: a lossy
law can intertwine a family for every host permutation while the family carries none of them
(parityLens_intertwines_not_carries), and a family that intertwines the host's own law can be
faithful at every frame while still carrying no permutation but the identity
(discreteFactor_intertwines_not_carries). Both are refuting instances behind [Guests] §4's Laws 1
and 2 as restated in v0.4: each law's proof, over an imported ledger, needs the family to persist,
and these show that hypothesis is load-bearing rather than a presentation choice.
The parity guest's reading: frame zero reads a state's parity into Fin 2, every later
frame is the constant 0. Paired with parityLens_intertwines_not_carries.
Equations
- ReflectiveSubsystems.parityLens n 0 x✝ = ⟨↑x✝ % 2, ⋯⟩
- ReflectiveSubsystems.parityLens n n_1.succ x✝ = 0
Instances For
The parity guest intertwines the constant law for every permutation of Fin n: past frame
zero both sides of the square are the constant 0, and at frame zero they agree because the law
itself is constant. No hypothesis on U at all.
The parity guest's persistence identity fails at every permutation, once some state is odd: the
identity at t = 1 reads frame zero as the constant 0 everywhere, which it is not at an odd
state.
Witness 1 — the parity guest ([Guests] §4): a lossy law intertwines this family for
every permutation of Fin n, yet the family carries none of them, so Intertwines is strictly
more general than PermCarries off the F = id fibre. 2 ≤ n is needed so Fin n has an odd
state for frame zero to distinguish from the even one.
The discrete factor intertwines the host's own law by rfl: reading every state as itself, one
step of the world already is one step of the law applied to the reading.
The discrete factor's persistence identity fails at every permutation but the identity: at
t = 1 it reads U x = x for every state x, which is exactly the identity U is not.
Witness 2 — the discrete factor ([Guests] §4): the identity reading, run behind the host's
own law, is faithful at every frame and intertwines by rfl — yet it carries no permutation but the
identity, so faithfulness at every frame is no substitute for PermCarries's persistence identity
off the F = id fibre.
The two-block guest ([Guests] §4, Remark 4.2: every division of the bill is realized) #
Neither witness above is the only way to pay Law 1's cost(S) + K(F) debt: the two-block
guest splits the carrier into invariant blocks of sizes n₁ and n₂, lets the host act as
U₁ ⊕ U₂, and gives the guest's law the first block while its reading moves with the second. At
U₁ = 1 this is the persistent memory of U₂; at U₂ = 1 it is the discrete factor of U₁
(Witness 2 above); in between it stays faithful throughout while intertwining, dividing the debt
between K(F) and cost(S) at every split of the two blocks.
The two-block guest's reading: undo the second block by t steps, leave the first alone.
Paired with intertwines_twoBlockGuest, bijective_twoBlockLens, not_permPersists_twoBlockGuest
and ne_twoBlockLens, and bundled in twoBlockGuest_intertwines_not_carries.
Equations
- ReflectiveSubsystems.twoBlockLens n₁ U₂ t = ⇑((ReflectiveSubsystems.unionWorld 1 U₂)⁻¹ ^ t)
Instances For
The square commutes blockwise ([Guests] §4, Remark 4.2): U = U₁ ⊕ U₂, the law carries the
first block (F = U₁ ⊕ id), and the reading undoes the second (ℓₜ = (id ⊕ U₂)^{-t}) —
block-disjoint maps commute, so no hypothesis on U₁ or U₂ is needed at all.
Every frame is a bijection: each is the coercion of a permutation, so faithfulness is
near-free — the honest content of the square is intertwines_twoBlockGuest.
Not PermPersists when U₁ ≠ 1 ([Guests] §4, Remark 4.2): frame one undoes only the second
block, so any point the first block moves witnesses the persistence identity's failure — hence not
PermCarries either (twoBlockGuest_intertwines_not_carries).
The frames are non-constant when U₂ ≠ 1 ([Guests] §4, Remark 4.2): the separation from the
discrete-factor shape, where every frame is the identity.
Witness 3 — the two-block guest ([Guests] §4, Remark 4.2): bundles (a)–(d) beside
discreteFactor_intertwines_not_carries, whose shape it mirrors. When both blocks act nontrivially
the family intertwines, stays faithful at every frame, carries no permutation (PermCarries fails),
and is not frame-constant — the family that realizes every intermediate division of Law 1's debt
between K(F) and cost(S), degenerating to the persistent memory at U₁ = 1 and to Witness 2 at
U₂ = 1.
The conjugation guest ([Guests] §4, Remark 4.2: the split curve over single-cycle hosts) #
A single-cycle host bars the two-block route above — its centralizer is its own powers, so no
non-trivial invariant block exists to split. The conjugation guest realizes the same curve by
relabeling instead: conjugate the standard cycle σ₀ (finRotate n) by h = h₁ ∘ h₂, split across
disjoint initial segments, and read by h₁⁻¹ alone. Three pieces make the witness go:
- The recovery identity (
orbitEnum_bijective,orbitEnum_conj,orbitEnum_unique): a conjugator ofσ₀fixing0is determined by the image of one point, so it IS the host's own orbit enumeration — total, no search. - The pair injection (
conjugation_pair_injective): the recovery identity pins the conjugating pair(h₁, h₂)from the conjugate alone. - The guest's clauses (
conjugationGuest_intertwines_not_carries): the square commutes by pure cancellation, every frame is a bijection, and the family carries nothing.
The recovery identity #
The orbit enumeration: read the host U's orbit of 0 off U's own powers. Paired with
orbitEnum_bijective, orbitEnum_conj and orbitEnum_unique.
Equations
- ReflectiveSubsystems.orbitEnum U j = (U ^ ↑j) 0
Instances For
Bijective ([Guests] §4, Remark 4.2): a period shorter than n would recur inside Fin n
before covering it, contradicting transitivity — the pigeonhole orbitEnum_noSmallPeriod runs.
The conjugation identity ([Guests] §4, Remark 4.2): the orbit enumeration conjugates σ₀
to U. The wrap step at the top index needs (U ^ n) 0 = 0, itself forced by bijectivity.
Uniqueness ([Guests] §4, Remark 4.2): the unique conjugator of σ₀ to U fixing 0 is the
orbit enumeration — proved by induction along the cycle from 0, using orbitEnum_conj at each
step.
The pair injection #
The pair injection ([Guests] §4, Remark 4.2: the conjugation guest): a conjugating pair
(h₁, h₂) split across disjoint initial segments — h₁ fixing every point outside {1, …, m},
h₂ every point outside {m + 1, …, n − 1}, both fixing 0 — is determined by the conjugate
(h₁ * h₂) * σ₀ * (h₁ * h₂)⁻¹ alone. The conjugate pins h₁ * h₂ via orbitEnum_unique; the
disjoint-support hypotheses then split the product into its two factors.
The conjugation guest's clauses #
The conjugation guest's reading: the constant h₁⁻¹, independent of the time index — a
relabeling, not a moving decoder. Paired with intertwines_conjugationGuest,
bijective_conjugationLens and not_permCarries_conjugationGuest, bundled in
conjugationGuest_intertwines_not_carries.
Equations
- ReflectiveSubsystems.conjugationLens h₁ x✝ = ⇑h₁⁻¹
Instances For
The square commutes by cancellation ([Guests] §4, Remark 4.2): with h = h₁ * h₂, the
constant reading h₁⁻¹ intertwines the world h * σ₀ * h⁻¹ with law h₂ * σ₀ * h₂⁻¹ — pure group
cancellation, no hypothesis on h₁ or h₂ at all.
Every frame is a bijection: conjugationLens h₁ t is h₁⁻¹'s coercion, so faithfulness is
free — the honest content of the square is intertwines_conjugationGuest.
Not PermCarries ([Guests] §4, Remark 4.2): over 2 ≤ n, σ₀ moves every point, hence so
does its conjugate U — at U 0 ≠ 0 the persistence identity already fails, unconditionally on
h₁, h₂.
The discrete-factor degeneracy ([Guests] §4, Remark 4.2): at h₁ = 1 the reading collapses
to the identity — combined with h₁ * h₂ = h₂ there, intertwines_conjugationGuest specializes to
exactly intertwines_discreteFactor's shape, world and law both h₂ * σ₀ * h₂⁻¹.
Witness — the conjugation guest ([Guests] §4, Remark 4.2): over 2 ≤ n, the family
intertwines its host by pure cancellation, stays faithful at every frame, and carries no
permutation — realizing the split curve over single-cycle hosts by relabeling rather than block
motion, degenerating to the discrete factor at h₁ = 1 (conjugationLens_one).
The composition lemma — the tower's core ([Persistence] §10.2). Squares compose and
dilations multiply: a τ₁-square from the base to level 1, stacked with a τ₂-square from
level 1 to level 2, is a τ₁ * τ₂-square from the base to level 2, read through the composite
family k ↦ ℓ₂ k ∘ ℓ₁ (τ₂ * k).
The frame bookkeeping is the whole content: level 2's clock ticks once per τ₂ ticks of level 1's,
so the composite's frame k must read level 1 at frame τ₂ * k. Purely equational — no finiteness,
no budget, no structure on the state spaces.
A tower carrying a memory is a carrying family of the iterated base world. Compose the two
squares (Intertwines.comp), observe the composite law is id, and anchor it
(Intertwines.anchored). This is what puts the whole tower inside the base world's capacity
accounting.
Budgets add: one builder runs both levels ([Persistence] §10.2 read at §5's budget) #
The composite family is k ↦ ℓ₂ k ∘ ℓ₁ (τ₂ * k), so an owner of the tower must, from k, produce
the composed tabulation. One fixed program does it: rescale the clock (scaleCode, the level-1
index τ₂ * k with τ₂ loaded as a binary constant), run each level's own program, and compose the
two tabulations (compBuilder). The price is elen c₁ + elen c₂ plus O (Nat.size τ₂) for saying
τ₂ and an absolute constant for the plumbing — nothing depends on the worlds, the alphabets, or
the families. Budgets ADD; the dilation is paid for in its bit-length, not its magnitude.
The composer as a numeral function: decode two tables, compose them, re-encode. Carries no dependence on the alphabets — the tables know their own lengths.
Equations
Instances For
compTableFn is partial recursive.
The fixed composition builder. One program, independent of the worlds and the alphabets.
Equations
Instances For
Multiplying the two halves of a pair.
Equations
- ReflectiveSubsystems.mulFn p = (Nat.unpair p).1 * (Nat.unpair p).2
Instances For
mulFn is partial recursive.
The fixed multiplication builder.
Equations
Instances For
The plumbing constant: the two fixed builders plus the opcodes. Absolute — independent of the worlds, the alphabets, the families, the dilations, and the budgets.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Budgets add ([Persistence] §10.2 read at §5, Definition 5.1's uniform variant): an owner of both levels owns the tower, at the sum of the two budgets plus the clock needed to say the dilation and an absolute constant. One fixed builder does the work, so nothing here scales with the worlds, the alphabets, or the families — and the dilation is charged its bit-length, not its magnitude.
This is what makes the tower a priced object rather than a free construction, and it is what
tower_no_free_lunch spends.
No free lunch: the collapse is tower-stable ([Persistence] §10.2 + §7) #
A tower whose top law is the identity carries a memory: whatever level 2 reads survives every step of the base world, forever. The two theorems below price that memory — and the price is charged against the base world, not the comfortable coarse-grained one the tower's top level inhabits.
The argument is the three facts assembled. The tower is a carrying family of U^[τ₁ * τ₂]
(tower_carries); it is owned at the summed budget (UniformBudget.comp); so its carried entropy
is a member of the iterated world's uniform-capacity set, hence below the supremum. Nothing about
the tower's height or its internal structure enters: two levels are priced here, and the same
composition applied repeatedly prices any finite tower, because the composite of two squares is
again a square.
What this buys, and what it does not. CbHu_collapse is a statement about every permutation
world of Fin n, and U ^ (τ₁ * τ₂) is a permutation of Fin n in its own right — so the generic
ceiling applies to the iterated world exactly as it applies to any other: outside a 2 ^ (-d)
fraction of Perm (Fin n), no reading affordable at the summed budget carries more than
2 ^ (2 · budget + O(1) + d). Stacking buys structure, never generic capacity.
What is NOT claimed, and is not proved anywhere here: that a generic U has a generic U ^ k. The
map U ↦ U ^ k does not preserve the counting measure on Perm (Fin n) (squaring is not even
injective on it), so transporting genericity from the base to the iterated world is a separate
question — an open obligation, not a corollary. The theorems below are unconditional; the generic
reading of them is conditional on where the iterated world happens to sit.
No free lunch, over a general base world ([Persistence] §10.2 read at §5's budget). A
two-level tower whose top law is the identity carries no more than the iterated base world's
uniform capacity at the summed budget. The whole hierarchy is priced against U^[τ₁ * τ₂] — the
observer's levels bought structure, and the count does not care.
The dilation enters only as O (Nat.size τ₂): a tower may slow itself down arbitrarily and pay only
the bit-length of its own clock ratio.
No free lunch, over a permutation base: the same bound against CbHu (U ^ (τ₁ * τ₂)), where
the iterated world is spelled as the group power it is. This is the form CbHu_collapse consumes —
the iterated world is a permutation of Fin n₁ like any other, so the generic ceiling covers the
tower without a new argument (see the section note on what genericity transport would additionally
require).
Coarsening never gains: entropy is antitone up the tower ([Persistence] §2, Definition 2.2) #
Each level of a tower reads the level below through a further lens. That reading can only lose: coarsening merges fibres, and merged fibres mean a smaller relabelling class.
Composing a further lens never gains carried entropy ([Persistence] §2, Definition 2.2).
Coarsening merges fibres, so the coarse reading's relabelling class is a quotient of the fine one's
— a surjection, hence no larger. This is the dual reading of the factorial inequality
a ! · b ! ≤ (a + b)!, obtained without the factorials: equivariance alone carries it, because the
image of an orbit under an equivariant map IS the image orbit.
For a tower this says entropy is antitone up the levels: no level reads more than the level below it, so a tower buys its structure out of content it already had.
Cartesian product worlds: a habitat beside an environment #
The union section put two worlds side by side as a disjoint union, where a state belongs to one
block or the other. The other way to compose two worlds is the Cartesian product: a state is a
pair, and both worlds turn at once, neither reading the other. prodWorld U₁ U₂ is that world,
Prod.map by definition, and prodWorldFin U₁ U₂ is its Fin (n₁ * n₂) instance, transported
along finProdFinEquiv. Like a union world, a product world is structured by construction, so the
generic statements of the collapse do not speak about it; that is again the point rather than a
caveat.
The reason to want this composite specifically: it is the shape of an observer's world when a region it can read runs beside a region it cannot. Call the factors a habitat and an environment. Four things then hold, and together they say that a product world can be cheap to describe coarsely and expensive to read faithfully at the same time.
Rules compose (KE_prodWorldFin_le): KE (U₁ × U₂) ≤ KE U₁ + KE U₂ + O (1), the constant one
fixed builder. As with the union, no size parameter is loaded, and here neither factor's size is
needed: a world's table is as long as its state space, so prodTableFn reads n₂ off the second
table's own length and interleaves. So the cheap-dynamics regime is closed under Cartesian product
too.
Readings lift through projections (Carries.prodLensFst, Intertwines.prodLensFst). A lens
family on the habitat becomes a lens family on the product by ignoring the second coordinate, and
both of the properties that make it a sub-system survive verbatim: it still carries its model, and
if it satisfied an intertwining square with a law F, the lifted family satisfies the same square
with the same F. Neither proof does any work — the product's first coordinate evolves by U₁ and
by nothing else — and that is the content: what the habitat does is unaffected by what it is
standing next to. The lift is owned at O (log n₂) above the factor's own budget
(UniformBudget.prodLensFinFst); the size must be supplied here, exactly as for the union's lens,
because a lens's table has one entry per state and so records the state count but not the label
count.
A faithful reading hands back BOTH factors' rules (KE_factorFst_le_of_faithful,
KE_factorSnd_le_of_faithful). This is the converse direction and the sharp one. An observer that
reads the whole product bijectively and owns that reading at budget b thereby stores a
description of each factor's rule at 2 · b + O (log n₂) + O (1) — including the factor it may have
no interest in. The route is the ledger: a faithful owned family hands back the product world's own
table (faithful_rule_cost), and a fixed splitter recovers each factor's table from it, the first
by dividing out the second block's size and the second by taking the residue.
The consequence is a contrast rather than a single bound. Read the two directions against each
other: the habitat's coarse law is ownable at O (K (G) + log κ) by the lift, while any faithful
reading of the whole world is priced at half of what the environment's rule costs to describe. A
world can therefore be one whose sub-system is nearly free to run and whose full state is
unaffordable to read — and the gap is as wide as the environment's rule is incompressible, with no
appeal to the environment's dynamics being complicated in any other sense.
Capacity projects (CbHu_prodWorldFin_ge_fst): a factor's uniform entropic capacity is a floor
for the product's, at the budget shifted by the lift. The orbit arithmetic needs no multinomial
identity here — the lift is equivariant (liftFst_smul: relabelling the factor by U is
relabelling the product by U × 1) and injective, so it embeds the factor's orbit into the
product's, and cardinality follows.
Anchors: [Persistence] §2 + §8. The composition laws are this development's; no numbered result of [Persistence] is claimed machine-checked by their presence.
The Cartesian product world U₁ × U₂: both factors turn at once, neither reading the
other. Componentwise by definition, so its evaluation and iteration laws are rfl.
Equations
- ReflectiveSubsystems.prodWorld U₁ U₂ = Prod.map U₁ U₂
Instances For
The product world on Fin (n₁ * n₂): prodPerm transported along finProdFinEquiv, which
pairs (i, j) with j + n₂ * i. Its action needs the evaluation lemma below — the transport does
not compute definitionally, finProdFinEquiv.symm being a divNat/modNat pair.
Equations
Instances For
The product world acts on each coordinate by its own factor.
Coordinates are preserved by every power: the product world never mixes its factors.
Two tables, interleaved: one copy of the second table per entry of the first, each shifted
by the second block's size. The shift and the block count are both read off T₂.length — a table is
as long as its state space — so no size parameter appears.
Equations
- ReflectiveSubsystems.prodAppend T₁ T₂ = List.flatMap (fun (a : ℕ) => List.map (fun (b : ℕ) => b + T₂.length * a) T₂) T₁
Instances For
The product world's table is the two factors' tables, interleaved.
The product-world builder: on ⟨U₁'s table, U₂'s table⟩ it outputs the product world's
table. ONE fixed function, with no size parameters at all.
Equations
Instances For
The builder is correct: it outputs exactly the product world's encoded table.
prodTableFn is partial recursive.
The fixed product-world builder code.
Equations
Instances For
Rules compose: the cheap-dynamics regime is closed under Cartesian product. Given codes for
the two factors' tables, the product world costs their lengths plus an absolute constant
elen prodBuilder + 6 — one fixed builder and the assembly's opcodes, independent of the worlds and
of n₁, n₂.
Not even one size parameter is loaded, and none is needed: each table is as long as its own state
space, so prodTableFn reads n₂ off the second table and interleaves. This is the strongest form
the constant can take, and it matches KE_unionWorld_le's.
If U₁ and U₂ have rules of order log of their sizes — as KE_lcgWorld_le exhibits — then so
does U₁ × U₂: putting a cheap world beside another cheap world cannot make the pair expensive to
describe.
A reading of the habitat, lifted to the product: read the first coordinate and ignore the second.
Equations
- ReflectiveSubsystems.prodLensFst ℓ₁ t x = ℓ₁ t x.1
Instances For
The lift still carries its model. The product's first coordinate evolves by U₁ and by
nothing else, so persistence transports verbatim; surjectivity needs only that there is some
second coordinate to stand at. What the habitat does is unaffected by what it stands beside.
The lift satisfies the same square with the same law. A sub-system of the habitat is a
sub-system of the product, running the identical F: one line, because the square is a statement
about the first coordinate only.
The lift on Fin (n₁ * n₂): read the state's first coordinate through the factor's frame.
Equations
- ReflectiveSubsystems.prodLensFinFst ℓ₁ n₂ t p = ℓ₁ t (finProdFinEquiv.symm p).1
Instances For
The lifted family carries the factor's model over the product world. A nonempty second factor is what makes the lifted frame surjective.
Each label, repeated once per state of the second factor. The shape of the lifted frame's
table; the repetition count must be supplied — see UniformBudget.prodLensFinFst.
Equations
- ReflectiveSubsystems.liftAppend T₁ s = List.flatMap (fun (a : ℕ) => List.replicate s a) T₁
Instances For
The lift builder: on ⟨the factor frame's table, n₂⟩ it gives the lifted frame's table.
Equations
Instances For
liftLensTableFn is partial recursive.
The fixed lift-builder code.
Equations
Instances For
The lifted reading is owned at the factor's budget plus the second factor's size. The
O (log n₂) is not removable on this route and is not a fixed constant, for the same reason as in
UniformBudget.unionLens: a lens's table records one label per state, so it fixes the state count
but says nothing about how many states the other factor has. Standing beside a big environment
costs the observer the environment's size and nothing more.
Recovering the first factor's table from the product's: the entry at (i, 0) is
(U₂ 0) + n₂ · (U₁ i), so dividing by the second factor's size returns U₁ i exactly — the
residue is below n₂ and vanishes.
Equations
- ReflectiveSubsystems.splitFst T s = List.map (fun (i : ℕ) => T.getD (i * s) 0 / s) (List.range (T.length / s))
Instances For
Recovering the second factor's table from the product's: the entry at (0, j) is
(U₂ j) + n₂ · (U₁ 0), so its residue mod the second factor's size returns U₂ j exactly.
Equations
- ReflectiveSubsystems.splitSnd T s = List.map (fun (j : ℕ) => T.getD j 0 % s) (List.range s)
Instances For
The first-factor splitter: on ⟨the product world's table, n₂⟩ it outputs the first
factor's table.
Equations
Instances For
The second-factor splitter: on ⟨the product world's table, n₂⟩ it outputs the second
factor's table.
Equations
Instances For
splitFstFn is partial recursive.
splitSndFn is partial recursive.
The fixed first-factor splitter code.
Equations
Instances For
The fixed second-factor splitter code.
Equations
Instances For
A faithful reading of the product hands back the FIRST factor's rule. An observer reading
the whole product bijectively and owning that reading at budget b stores a description of U₁ at
2 · b + O (log n₂) + O (1).
The route is the ledger followed by a fixed splitter: faithful_rule_cost turns the owned faithful
family into a description of the product world's own table, and splitFstBuilder divides out the
second factor's size. The factor two is inherited — it is faithful_rule_cost's own, the owner's
program written twice, at the two clock values the ledger reads.
A faithful reading of the product hands back the SECOND factor's rule — the factor the observer may have no interest in. Same route, taking the residue instead of the quotient.
Read against UniformBudget.prodLensFinFst this is the contrast the product world exists to
exhibit. A reading confined to the first factor is owned at that factor's own budget plus
O (log n₂), however wild the second factor is. A reading of the whole world is not: it prices
the observer at half of KE of the second factor's rule, so over any family of second factors whose
rules are incompressible — the overwhelming majority of permutations, by collapse_generic's
counting — no faithful reading of the product is affordable at all. Cheap to run a sub-system in;
unaffordable to read entire.
The lifted frame, as a static lens: the family lift read at one frame.
Equations
- ReflectiveSubsystems.liftFst ℓ₀ n₂ p = ℓ₀ (finProdFinEquiv.symm p).1
Instances For
The lift is equivariant: relabelling the factor by U is relabelling the product by
U × 1. This is what makes the capacity projection an orbit embedding rather than a multinomial
computation.
Capacity projects through the product: whatever entropy an owner can carry in a factor, it
can carry in the product at the same budget plus the lift's O (log n₂).
So a world with one kind factor hosts affordable sub-systems regardless of what its other factor does — the kind factor's capacity is a floor for the whole. Nothing here contradicts the collapse: the collapse prices generic worlds, and a product world is not one.
The robustness margin: how far a settled reading survives a perturbation #
([Persistence] §10.1 + §2)
Settling asks that the reading be right eventually along orbits from a basin B. It says nothing
about what happens if the world is kicked — if a state on the attractor ω(B) is perturbed in a
few cells. This section prices that.
The setting returns to the cell-structured memory Mem ι V = ι → V ([Persistence] §2.1), because a
perturbation is counted in cells: hammingDist. The robustness margin of a settling family is
the largest e such that every e-cell perturbation of an attractor state stays in the basin and
keeps the settled value. HasMargin bundles the two demands; hasMargin_iff separates them into
basin fatness (Ball e s ⊆ B) and local constancy (v is constant there), which is the
form the design calls for and which is here a one-line consequence — the two do not diverge.
What the margin depends on. Not on the observer's family: HasMargin mentions only U, B,
v and e. The family ℓ enters solely in certifying that v is the settled value
(SettlesValue), so the margin is an attribute of the sub-system, not of who is watching it.
The price (repair_tax, [Persistence] §10.1's sphere packing). Distinct settled values on the
attractor cannot be e-close, so the e-balls around one representative per value are pairwise
disjoint — and Hamming space is homogeneous, so they all have the ball's cardinality. Counting them
inside the memory gives #values * #Ball e ≤ #Mem, the multiplicative form of the paper's display
log₂|Ω| ≤ |Mem|·log₂|V| − log₂|Ball_e|: every cell of margin is paid for out of carried
content. Tightness for repetition codes is paper-level and not formalized here.
Recovery time (RecoversWithin) is defined and shown monotone, and no more: its theory is the
temporal frontier.
A settling family with a named settled value ([Persistence] §10.1, the lens-family form over
an arbitrary world): along every orbit from B the reading is eventually constant, at the value v
records. The transient is pointwise and unbounded — nothing here bounds when settling happens.
Equations
Instances For
The Hamming ball of radius e about c: the states reachable by corrupting at most e
cells.
Equations
- ReflectiveSubsystems.hball e c = {x : ReflectiveSubsystems.Mem ι V | hammingDist c x ≤ e}
Instances For
Equations
- ReflectiveSubsystems.instDecidableMemHball e c x = { decide := (hammingDist c x).ble e, reflects_decide := ⋯ }
The robustness margin condition. Every e-cell perturbation of a state on the attractor
ω(B) lands back in the basin and is read at the same settled value: the reading on the attractor
is an e-error-correcting code whose decoder is the world's own dynamics.
Note what is absent: the observer's family ℓ. The margin constrains B and v only.
Equations
- ReflectiveSubsystems.HasMargin U B v e = ∀ s ∈ ReflectiveSubsystems.omegaLimit U B, ∀ s' ∈ ReflectiveSubsystems.hball e s, s' ∈ B ∧ v s' = v s
Instances For
The factorization ([Persistence] §10.1, the design's coherence test): the margin condition
is exactly basin fatness (Ball e s ⊆ B around every attractor state) together with local
constancy (v constant on each such ball, intersected with the basin).
The two forms do not diverge: fatness makes the intersection in the second clause the whole ball,
which is why the one-clause and two-clause readings agree. Constancy is stated as "equal to v s"
rather than "constant on the set", and the two agree because s itself lies in the set.
The radii at which the reading is robust, capped at the memory's width. The cap costs nothing:
hammingDist never exceeds Fintype.card ι, so beyond it the condition has already saturated —
and it is what makes the supremum below a supremum of a bounded set rather than the ℕ-sSup
convention's 0.
Equations
- ReflectiveSubsystems.MarginSet U B v = {e : ℕ | e ≤ Fintype.card ι ∧ ReflectiveSubsystems.HasMargin U B v e}
Instances For
The robustness margin e(S) of a settling family: the largest number of cells that may be
corrupted on the attractor without moving the settled reading.
Equations
- ReflectiveSubsystems.margin U B v = sSup (ReflectiveSubsystems.MarginSet U B v)
Instances For
The margin is itself a margin: the supremum is attained, so margin names a radius at which
the reading really is robust.
The price of a margin: sphere packing in the memory ([Persistence] §10.1) #
The transporter carrying c to s: swap the two cells' values in every coordinate. Hamming
space is homogeneous, and this is the witness — a distance-preserving bijection of the whole memory
taking any state to any other.
Equations
- ReflectiveSubsystems.transport c s = Equiv.piCongrRight fun (i : ι) => Equiv.swap (c i) (s i)
Instances For
The transporter preserves Hamming distance: it acts injectively in each cell.
The repair tax ([Persistence] §10.1, the sphere-packing bound). A settling family with
margin e pays for it in carried content: the settled values attained on the attractor, times the
size of an e-ball, fit inside the memory.
Two facts do the work. Distinct settled values on the attractor are e-separated: a state
e-close to two attractor points of different value would have to be read at both values at once,
so the e-balls around one representative per value are pairwise disjoint. And Hamming space is
homogeneous (transport), so each of those balls has the cardinality of the ball about any
centre c — which is why the bound may be stated with a ball the caller chooses.
This is the multiplicative ℕ form of the paper's display
log₂|Ω| ≤ |Mem|·log₂|V| − log₂|Ball_e(|Mem|)|. Tightness for repetition codes is paper-level and
is not formalized here.
The repair tax with every value attained: if the settled value is surjective on the
attractor, the whole value alphabet is taxed — #M * #Ball e ≤ #Mem.
Recovery time: the definition only ([Persistence] §10.1; the temporal frontier) #
How long repair takes is the unpriced dimension. The predicate and its monotonicity are recorded here so the quantity has a name; its theory is deliberately out of scope.
The family has recovered by T at radius e: every e-cell perturbation of an attractor
state is read at its settled value from step T on.
Equations
- ReflectiveSubsystems.RecoversWithin U ℓ B v e T = ∀ s ∈ ReflectiveSubsystems.omegaLimit U B, ∀ s' ∈ ReflectiveSubsystems.hball e s, ∀ t ≥ T, ℓ t (U^[t] s') = v s'
Instances For
The recovery time at radius e: the least step by which every e-perturbation is read
correctly.
Equations
- ReflectiveSubsystems.recoveryTime U ℓ B v e = sInf {T : ℕ | ReflectiveSubsystems.RecoversWithin U ℓ B v e T}
Instances For
The positive witness: the majority world is robust ([Decoupling] §3.5) #
The tax is tight on the worked witness. Three cells over two values is a memory of eight
states; the majority world's attractor carries two settled values, and a radius-one ball holds four
— 2 * 4 = 8, the memory exactly. Three-copy redundancy spends its entire capacity buying margin
one, which is what makes repair_tax a real constraint rather than slack. Tightness for repetition
codes in general is paper-level ([Persistence] §10.1) and is not formalized here.
The worked robust sub-system: the majority world carries a settling family whose settled value is surjective — one full bit — and whose robustness margin is at least one cell. Total overwrite globally, one-error-correcting on-shell.
The recursive-majority block: margin that compounds with depth #
The majority world above is the depth-one case of a family. Replace each of its three cells by a
whole majority block, recursively, k times: the result is a world on 3 ^ k cells whose margin is
not 1 but 2 ^ k − 1. That is the point of the construction — redundancy composed with itself
buys margin exponential in the depth, while the cell count grows exponentially too, at the larger
base 3. Depth is what makes a block robust; the price is recorded elsewhere in this section
(repair_tax), and it is paid.
The pieces. maj3 is majority-of-three on Bool. decRec k decodes a 3 ^ k-cell block by
majority of its three sub-block decodes, splitting the index along tripleEquiv. encRec k b is
the codeword for b — and it is simply the constant function: triplicating a constant
recursively still writes b in every cell, so the encoder needs no recursion even though the
decoder does. There are exactly two codewords whatever the depth, so the block carries one bit.
The healing radius (decRec_healing): fewer than 2 ^ k corrupted cells cannot change the
decode. The induction is the whole content. At depth k + 1 a budget below
2 ^ (k + 1) = 2 · 2 ^ k is split three ways (hammingDist_split), and at most one sub-block
can be handed 2 ^ k or more
— two would already exhaust the budget. The other two sub-blocks decode correctly by the inductive
hypothesis, and majority-of-three needs only two. Radii are stated as strict bounds
(hammingDist … < 2 ^ k) throughout, which is the same content as ≤ 2 ^ k − 1 with no truncated
subtraction anywhere in the arithmetic.
The world is its own decoder (healWorld): one step decodes and re-encodes. Within the healing
radius one step lands exactly on the codeword (healWorld_heals), and in fact every state
lands on a codeword after one step (healWorld_mem_codewords) — the map is idempotent
(healWorld_idem), its fixed points are exactly the two codewords (healWorld_fixed_iff), and its
recurrent core is exactly the codeword pair (core_healWorld). So the basin is the whole memory and
the transient is one step from anywhere, which is the strongest form the settling clause can take.
The decoded bit itself settles at once (settlesValue_healWorld, transient zero): it is invariant
under a single step, so the reading is right before the state has finished moving.
The margin is exactly 2 ^ k − 1 (recMaj_margin_eq). The lower bound is the healing radius
(recMaj_hasMargin, at every radius strictly below 2 ^ k). The upper bound is a witness
(recMaj_not_hasMargin): advRec k b corrupts two of the three sub-blocks recursively, spends
exactly 2 ^ k cells (hammingDist_advRec), and flips the decode (decRec_advRec) — majority
turned against itself. Nothing is left on the table, and majority_margin is this statement at
k = 1.
What this section deliberately does not do: price the healer. decRec is a decoder, not a code;
no KE bound on healWorld is claimed here, and none is needed for the margin, which is an
attribute of the dynamics alone (HasMargin mentions no observer). The combinatorics stands on its
own.
Anchors: [Persistence] §10.1 + §2. The recursive block is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
The recursive-majority decoder: majority of the three sub-block decodes, all the way down.
Equations
- One or more equations did not get rendered due to their size.
- ReflectiveSubsystems.decRec 0 x_2 = x_2 ⟨0, ReflectiveSubsystems.decRec._proof_3⟩
Instances For
The codeword for b: the constant function. Triplicating a constant recursively writes b
in every cell, so — unlike the decoder — the encoder needs no recursion at all. Exactly two
codewords exist at every depth: the block carries one bit.
Equations
- ReflectiveSubsystems.encRec k b x✝ = b
Instances For
The three-way split: a depth-(k+1) distance is the sum of its three sub-block distances.
Proved by counting through the index equivalence rather than by transporting hammingDist, which
has no reindexing lemma to transport along. This is what makes the healing induction a budget
argument.
The healing radius: fewer than 2 ^ k corrupted cells cannot change the decode.
The induction is a budget argument. At depth k + 1 the corruption is split three ways, and since
2 ^ (k + 1) = 2 · 2 ^ k, at most ONE sub-block can be handed 2 ^ k cells or more — two would
already exhaust the budget. The remaining two decode correctly by the inductive hypothesis, and
majority-of-three needs only two votes. Depth k therefore corrects 2 ^ k − 1 errors on 3 ^ k
cells: margin exponential in the depth.
The healer world: one step decodes the block and re-encodes it. Like the majority world it generalizes, it is its own decoder — the error correction is the dynamics, not an observer's apparatus.
Equations
Instances For
One step lands exactly on the codeword, from anywhere inside the healing radius: the perturbed state does not merely stay readable, it is erased back to the codeword itself.
The recurrent core is the codeword pair. One step lands in it from anywhere, and the world
is the identity there — the depth-k analogue of the majority world's consensus set.
The decoded bit settles instantly along every orbit — transient zero, because one step does not move it. The state reaches the attractor at step one; the reading is already right at step zero.
Both bits are attained: the settled reading carries one full bit at every depth.
The margin of the depth-k block, at every radius strictly below 2 ^ k: on the attractor
the state is a codeword, so a sub-radius perturbation is exactly the healing lemma's hypothesis.
The headline lower bound: margin at least 2 ^ k − 1 on 3 ^ k cells, from a depth-k local
construction. The subtraction is harmless here — 2 ^ k is positive — and it is the only place one
appears; the arithmetic above runs on strict bounds.
The adversarial pattern: corrupt two of the three sub-blocks recursively, leaving the third
clean. It spends exactly 2 ^ k cells and turns majority against itself.
Equations
- One or more equations did not get rendered due to their size.
- ReflectiveSubsystems.advRec 0 x✝ = fun (x : Fin (3 ^ 0)) => !x✝
Instances For
The pattern spends exactly the healing radius: two corrupted sub-blocks at 2 ^ k each.
The margin of the depth-k block is exactly 2 ^ k − 1. The healing radius gives the lower
bound and the adversarial pattern the upper: nothing is left on the table.
Read against repair_tax, this is what the tower costs. Depth k buys margin 2 ^ k − 1 and
spends 3 ^ k cells to carry the same one bit that three cells carried at depth one — the margin
grows exponentially, and so does the tax. majority_margin is this statement at k = 1.
The worked robust sub-system at depth k: a settling family whose settled value is
surjective — one full bit — and whose robustness margin is exactly 2 ^ k − 1 cells on 3 ^ k.
The depth-one case is majority_margin; compounding the construction compounds the margin.
The witness world: a lawful sub-system beside an arbitrary environment #
Everything above is now assembled into one world. Take κ recursive-majority blocks of depth k —
the habitat — and let them run a macro law G on the κ bits they decode to; set that
beside an environment carrying an arbitrary update π, sharing nothing. The result,
witnessWorld κ k G π, is a world whose readable sub-system is exactly (Bool ^ κ, G).
The cell structure is the point. A product of two memories is a memory on the disjoint union of
their indices (sumMem), so the whole world is a Mem on (Fin κ × Fin (3 ^ k)) ⊕ ι_J and
perturbations of it are counted in cells like any other — hammingDist splits across the two parts
(hammingDist_sum_index) exactly as it splits across a block's three sub-blocks.
witnessWorld_conj records that this world is the Cartesian product world of the
disjoint-union section, read through
that bridge; nothing new is being defined, only re-indexed onto cells.
The square is exact and unconditional (witness_square). macroLens decodes each block; the
habitat's update decodes, applies G, and re-encodes; and decRec ∘ encRec = id collapses the
composite to G in three lines. No hypothesis on the state is needed — not validity, not
proximity to a codeword — because the update writes codewords whatever it was handed. So the
sub-system's law holds everywhere, and by telescoping (witnessLens_iterate) the reading follows
G's own trajectory from step zero, from every initial state, whatever the environment does.
That is the emergence clause in its strongest form: the basin is not merely large, it is everything,
and there is no transient in the reading at all. The state takes one step to become a codeword
state (witnessWorld_valid_after_one); the reading never needed to.
The margin is the block's, and the environment is free (witnessWorld_hasMargin, at every
radius strictly below 2 ^ k). The reading ignores the environment's cells entirely, so however
many of them there are and however wildly π moves them, they neither add to the margin nor
subtract from it. witnessWorld_rejoins is the same fact along the whole orbit: a perturbed state
inside the radius does not merely recover eventually — its reading agrees with the unperturbed one
at every step. The rejoining is immediate.
A domain caution, checked rather than assumed. The healing hypothesis is distance to a
codeword habitat state, not distance between arbitrary states. Over arbitrary states the
"perturbation cannot change the decode" reading is false, and cheaply so: at k = 1 the block
(0,0,1) decodes false and (0,1,1) decodes true, one cell apart with 1 < 2 ^ 1. What is
true is habitat_heals — and it is what the margin needs, because HasMargin quantifies its base
state
over the attractor, and the attractor consists of codeword states
(omegaLimit_witnessWorld_subset).
What is deliberately absent: a price. The reading here is lawful, not settled — it moves, by
G — so SettlesValue is the wrong predicate for it and Intertwines is the right one;
HasMargin and margin apply verbatim either way, mentioning no observer and no settling. And no
KE bound on
this world is claimed: pricing a Mem-carrier world means tabulating it along an enumeration of its
2 ^ (κ · 3 ^ k + #ι_J) states, which this section does not build. The existence of the sub-system
is combinatorial and stands alone; what it costs an observer to own is a separate question, and a
separate construction.
Anchors: [Persistence] §10.1–§10.2 + §2 + §8. The construction is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
A product of memories is a memory on the disjoint union of their indices. This is what gives a two-part world a cell structure, so that perturbations of it are counted in cells.
Equations
Instances For
The macro reading: decode each block to its bit. This is the sub-system's lens.
Equations
Instances For
The habitat world: decode the blocks, apply the macro law once, re-encode cleanly.
Equations
- ReflectiveSubsystems.habitatWorld κ k G h = ReflectiveSubsystems.habitatEnc κ k (G (ReflectiveSubsystems.macroLens κ k h))
Instances For
The habitat heals: fewer than 2 ^ k corrupted cells of a codeword habitat state leave
the macro reading unchanged — a total budget below the block's healing radius leaves every block
below it, and each block then heals on its own.
The reference point must be a codeword, and the hypothesis says so. Between arbitrary states the
claim is false at every depth: at k = 1 the blocks (0,0,1) and (0,1,1) are one cell apart —
well inside 2 ^ 1 — and decode to opposite bits. Majority forgets corruption of a codeword, not
disagreement between two arbitrary states.
One step from a perturbed codeword state is the step from the codeword itself: the habitat forgets the perturbation entirely.
The macro reading is onto: every macro state is written by its codeword.
The witness world: κ depth-k blocks running the macro law G, beside an environment
running an arbitrary π, sharing nothing. A Mem on the disjoint union of the two indices, so its
perturbations are counted in cells.
Equations
- ReflectiveSubsystems.witnessWorld κ k G π x = Sum.elim (ReflectiveSubsystems.habitatWorld κ k G (x ∘ Sum.inl)) (π (x ∘ Sum.inr))
Instances For
The witness world's reading: the macro state of its habitat. It does not look at the environment at all — which is what makes the environment free.
Equations
- ReflectiveSubsystems.witnessLens κ k x = ReflectiveSubsystems.macroLens κ k (x ∘ Sum.inl)
Instances For
The witness world is the Cartesian product world of the disjoint-union section, read through the cell bridge: nothing new is defined here, only re-indexed onto cells.
The exact square for the full world: the reading obeys the macro law at every state, whatever the environment is doing beside it.
The attractor consists of habitat-codeword states — which is why the margin's base state is
always one, and why habitat_heals's codeword hypothesis is no restriction where it is used.
The margin of the full world is the block's, at every radius strictly below 2 ^ k —
however large the environment beside it, and whatever that environment does. The reading ignores
the
environment's cells, so they neither add to the margin nor subtract from it.
Emergence in its strongest form: from EVERY initial state and every environment, the reading follows the macro law's own trajectory — from step zero, with no hypothesis on the state whatever. The basin is not merely large; it is everything, and the reading has no transient at all.
The state becomes a codeword state after one step, from anywhere — while the reading was already lawful at step zero.
The perturbed orbit rejoins the macro-trajectory immediately: a perturbation inside the healing radius does not merely wash out eventually — the two readings agree at every step.
The margin in numeric form: at least 2 ^ k − 1 cells, on a memory of κ · 3 ^ k habitat cells
beside however many environment cells. A nonempty habitat is what makes the radius fit inside the
memory.
The witness world hosts its sub-system. A surjective reading — one full bit per block —
obeying the macro law G EXACTLY at every step from every initial state, and robust to any
perturbation of fewer than 2 ^ k cells: however large the environment standing beside it, and
whatever that environment does.
This is the existence half of the construction, and it is unconditional in κ, k, G and π.
What such a sub-system costs an observer to own is not settled here.
The pricing bridge: memories as numerals #
Everything above about the witness world is combinatorial, and lives where it should — on the
cell-structured memory Mem ι V, where a perturbation is a number of cells. The pricing
machinery of this development lives somewhere else: on Fin n carriers, where n counts states,
because that is what a table is indexed by. A memory of N cells has 2 ^ N states, so the two
layers do not meet on their own.
This section is the bridge, and it is deliberately one bridge. stateEquiv N packs a memory state
into the numeral its cells spell, and packWorld transports any Mem-carrier world along it. The
whole existing pricing stack — lensTable, lensCode, KE, UniformBudget, the capacities — then
applies to the packed world verbatim, with nothing duplicated on the memory side.
The endianness is fixed here, once. Cell i carries weight 2 ^ i: cell 0 is the low bit,
little-endian, so a packed state is ∑ᵢ (cell i) · 2 ^ i. This is the same convention as
packMarks, the pricing layer's other numeral, and the same as Mathlib's finFunctionFinEquiv
through which it is built — so stateEquiv_digit is sum_digits_div_mod at base two, reusing the
digit lemma the marking price already runs on. Nothing below re-derives it, and nothing should
revisit the choice.
The transport laws are what make the bridge usable rather than merely definable: packing respects
composition (packWorld_comp), identity, and iteration (packWorld_iterate), so an orbit upstairs
is an orbit downstairs; an invertible world packs to a genuine permutation (packPerm), which is
what the Perm-carrier results require; and a lawful reading stays lawful (packWorld_square), so
an intertwining square survives the crossing intact.
What this section does not do is price anything yet. It makes the witness world expressible in the pricing vocabulary; exhibiting a short program for its table is a separate construction, and it needs a numeral-level decoder that this section does not build.
Anchors: [Persistence] §2 + §5. The bridge is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
The canonical packing: a memory state is the numeral its cells spell, cell i carrying
weight 2 ^ i — cell 0 is the low bit. Built from Mathlib's finFunctionFinEquiv, whose
convention this is, and shared with packMarks.
Equations
Instances For
A memory world, priced: transported along the packing onto the Fin (2 ^ N) carrier the
tables are indexed by. Every KE, UniformBudget and capacity statement of this development
applies to packWorld U verbatim.
Equations
Instances For
An invertible memory world packs to a genuine permutation — which is what the Perm-carrier
results ask for.
Equations
Instances For
A reading between memories, transported to the carrier its table is indexed by.
Equations
- ReflectiveSubsystems.packLens ℓ s = (ReflectiveSubsystems.stateEquiv M) (ℓ ((ReflectiveSubsystems.stateEquiv N).symm s))
Instances For
A lawful reading stays lawful: the intertwining square survives the crossing intact, so a sub-system upstairs is a sub-system downstairs, with the same law.
The bottom-up anchor: the majority tree read from the other end #
decRec recurses top-down: it splits a depth-(k+1) block into three depth-k sub-blocks and
takes the majority of their decodes. Reading tripleEquiv, the sub-block index is the block's
most-significant base-3 digit — sub-block c occupies the positions i + 3 ^ k · c.
There is another order. Collapse the least-significant digit first: replace each adjacent triple
of cells 3j, 3j+1, 3j+2 by its majority, leaving a depth-k block, and decode that. That is
reduceBot, and decRec_bottomUp says the two orders agree — as they must, since both evaluate the
same ternary majority tree, one from the root and one from the leaves.
Why it is worth proving rather than observing. The two orders are not interchangeable as
recursions. Top-down makes three recursive calls, on three different sub-blocks; bottom-up
makes one, on a single reduced block. A recursion with one call and a shrinking argument is what
primitive recursion offers, so the bottom-up order is the one a numeral-level decoder can follow —
and decRec_bottomUp is what licenses reading the tree that way without changing what it computes.
The whole proof is one lemma. subBlock_reduceBot says top blocks commute with the bottom
reduction: collapsing the bottom digit and then taking sub-block c is taking sub-block c and
then collapsing. That is a statement about index arithmetic and nothing else —
3 · (i + 3 ^ k · c) + r = (3 · i + r) + 3 ^ (k+1) · c — and it is where all of the arithmetic
lives, deliberately isolated. Given it, the anchor is an induction whose base case is maj3 itself
and whose step is the inductive hypothesis followed by the commutation.
Anchors: [Persistence] §2 + §5. The reformulation is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
The value of tripleEquiv: sub-block index c is the most-significant base-3 digit, at
weight 3 ^ k, and the position within the sub-block is the remainder.
Top blocks commute with the bottom reduction. The key lemma, and the only place the index
arithmetic lives: taking sub-block c after collapsing the bottom digit is collapsing after taking
sub-block c, because 3 · (i + 3 ^ k · c) + r = (3 · i + r) + 3 ^ (k+1) · c.
The anchor: decoding a depth-(k+1) block top-down equals collapsing its bottom digit and
decoding the depth-k block that remains. Both orders evaluate the same ternary majority tree — one
from the root, one from the leaves.
This is what licenses a decoder that recurses once per level instead of three times: the bottom-up order is the shape primitive recursion offers, and this says nothing is lost by taking it.
The numeral decoder: decRec computed on packed states #
The anchor says a depth-k decode is k bottom collapses followed by reading one cell. This
section carries that loop across to numerals, where the pricing layer works.
Majority is halving. For bits, maj3 is (a + b + c) / 2: the sum lands in {0,1,2,3} and
halving sends it to {0,0,1,1}, which is exactly the majority. maj3_natBit is that identity,
checked on all eight cases. It is what keeps everything below ℕ-valued, with no Bool in the
arithmetic.
One level, one square. packReduce m collapses a numeral's bit-triples by the ℕ-majority, and
packReduce_stateEquiv says it agrees with reduceBot through the packing. The proof is term-wise
and has no induction in it: both sides are ∑ j ∈ range (3 ^ k), d j · 2 ^ j, the left by
definition and the right by stateEquiv_val_range, and stateEquiv_digit identifies each bit of
the packed state with the cell it came from. This is the only place the memory/numeral boundary is
crossed, and it is crossed at the simplest statement available — one level, no recursion.
The loop. numDecRec collapses k times and reads the low bit: one recursive call per
level, which is what decRec_bottomUp licenses and what primitive recursion can follow.
numDecRec_stateEquiv is the bridge, and each induction step is exactly two rewrites — the square
of this section, then the anchor of the last. Nothing else enters.
The decoder is a ℕ → ℕ → ℕ function here; a program computing it, and the habitat table built from
one, are the next construction.
Anchors: [Persistence] §2 + §5. The decoder is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
Majority of three bits is halving their sum: the sum lands in {0,1,2,3} and / 2 sends it
to {0,0,1,1}. Checked on all eight cases, and it is what keeps the numeral arithmetic below free
of Bool.
The numeral form of reduceBot: output digit j is the majority of the input's bit-triple
3j, 3j+1, 3j+2, taken as a halved sum.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The one-level square: reducing the numeral is packing the reduced memory.
Term-wise, with no induction: both sides are ∑ j ∈ range (3 ^ k), d j · 2 ^ j, and
stateEquiv_digit identifies each bit of the packed state with the cell it came from. This is
the only crossing of the memory/numeral boundary, made at the simplest statement there is.
The numeral decoder: collapse the bottom digit k times, then read the bit that remains.
One recursive call per level — the shape decRec_bottomUp licenses.
Equations
- ReflectiveSubsystems.numDecRec 0 x✝ = x✝ % 2
- ReflectiveSubsystems.numDecRec k.succ x✝ = ReflectiveSubsystems.numDecRec k (ReflectiveSubsystems.packReduce (3 ^ k) x✝)
Instances For
The bridge: the numeral decoder computes decRec on packed states.
Each induction step is two rewrites and nothing else — the one-level square above, then the anchor.
The dependent boundary is never crossed again; it was crossed once, in packReduce_stateEquiv.
The decoder as a program: decRec priced #
The bridge of the last section is a theorem about a ℕ → ℕ → ℕ function. To price anything it must
become a program, and that is what this section builds: decBuilder, one fixed code that decodes
a packed block of any depth.
Two pieces of engineering, no new mathematics. First, packReduce is primitive recursive: its
Finset.range sum becomes a List fold (packReduceList, bridged by packReduceList_eq — the
idiom markVal already runs on), and its bit-triple extraction is /, ^, %, which is
digitAt at base two.
Second, the decode's recursion has to be reshaped to fit. numDecRec recurses on the depth with a
changing argument, which Primrec.nat_rec does not offer — it offers one call on an accumulator.
So numDecIter carries the pair (remaining depth, current numeral) and steps it, which fits
nat_rec exactly; numDecIter_read says the pair iteration computes numDecRec, and that is the
whole reason it exists. The induction works by peeling the iteration from the front
(natRec_eq_iterate turns the Nat.rec into a Function.iterate, whose succ_apply peels the
first step) — peeling from the back leaves the initial depth mismatched with the recursion's own
counter, and the proof does not close.
decBuilder is then the markBuilder idiom verbatim: one program, taking ⟨depth, packed state⟩
as a single paired natural, extracted from universality and hence uniform in both.
eval_decBuilder_stateEquiv is the payoff — run the code on a packed memory and it returns the bit
decRec reads off that memory.
Anchors: [Persistence] §2 + §5. The decoder is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
the decoder in the shape Primrec.nat_rec consumes: iterate k times from (k, s)
Equations
Instances For
the decode as ONE function of a single natural — ⟨depth, packed state⟩
Equations
Instances For
decFn is partial recursive.
The fixed decoder code: one program, uniform in the depth and the state.
Equations
Instances For
The habitat on flat cells: blocks are digits #
The habitat's cells are indexed by Fin κ × Fin (3 ^ k) — block, then position within it. The
packing wants a flat Fin (κ * 3 ^ k), so this section relabels, and then says the one thing the
priced walk needs.
The relabelling. flatHab sends block i, position p to the flat cell p + 3 ^ k * i: block
i occupies the contiguous run [3 ^ k * i, 3 ^ k * (i + 1)). That is finProdFinEquiv's own
convention, the same one tripleEquiv uses one level down, so the two levels of the construction
agree about which index is the significant one without anything being chosen twice.
Blocks are digits. Packed little-endian, a habitat state is therefore a base-2 ^ 3 ^ k
numeral whose digit i is the packed block i (stateEquiv_flatHab_blocks, regrouping the bit sum
through finProdFinEquiv exactly as the disjoint-union and block-split lemmas do). So extracting a
block is extracting a digit — and stateEquiv_flatHab_block is the marking price's digit lemma
again, now at base 2 ^ 3 ^ k. That is the third base this one lemma has served: base n for the
marks, base two for a memory's cells, and base 2 ^ 3 ^ k for a habitat's blocks.
The one-cell lemma. numDecRec_block is where the two levels meet: take the packed habitat,
extract digit i, run the decoder on it, and out comes exactly the bit macroLens reads off block
i. Every ingredient of a habitat walk's correctness is in that one statement — the block
extraction from this section, the decoder bridge from the last. The walk itself, and the price it
buys, are the next construction.
Anchors: [Persistence] §2 + §5 + §8. The relabelling is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
Re-indexing a memory: relabelling the cells is an equivalence of memories.
Equations
Instances For
The habitat's flat cell index: block i, position p sits at p + 3 ^ k * i, so block i
occupies the run [3 ^ k * i, 3 ^ k * (i + 1)).
Equations
Instances For
The habitat state, relabelled onto flat cells so that the packing applies.
Equations
Instances For
A packed habitat is a base-2 ^ 3 ^ k numeral whose digits are its packed blocks. The bit
sum regroups through finProdFinEquiv, block by block.
The macro bit of block i, read off the packed habitat by program: extract digit i, run
the decoder, and out comes exactly the bit macroLens reads off that block.
The two levels meet here. Block extraction is this section's digit lemma; the decoder's correctness is the numeral bridge. Every ingredient of a habitat walk's correctness is this one statement, and the walk that consumes it — with the price it buys — is a separate construction.
The blocks' two constants, and the macro word #
Two facts remain between the habitat and its price, and both are about numerals.
A codeword block is a constant numeral. Encoding writes one bit into all 3 ^ k cells of a
block, so packed it is either all-ones — 2 ^ 3 ^ k - 1, the geometric sum — or zero
(stateEquiv_encRec). The subtraction is harmless: 2 ^ 3 ^ k is positive, and this is the one
place a constant of that shape appears. These are the two values a habitat walk writes back.
The macro word is the packed macro reading. Run the decoder on each block digit and assemble the
results little-endian, and what comes out is exactly stateEquiv of macroLens
(macroWord_eq) — the regrouping lemma of the last section, read backwards one level up. Per block
it is the one-cell lemma; across blocks it is the same digit bookkeeping as everywhere else in this
layer.
With these, a habitat walk has no mathematics left in front of it: extract the digits, decode each, assemble the word, look it up in the macro law's table, and write back the two constants.
Anchors: [Persistence] §2 + §5 + §8. Both facts are this development's; no numbered result of [Persistence] is claimed machine-checked by their presence.
The habitat walk: the update, computed on numerals #
The habitat world decodes its blocks, applies the macro law once, and re-encodes. This section does that arithmetic on the packed numeral, and proves it agrees.
The walk is three steps and each has its lemma already. macroWordOf extracts the block digits,
decodes each, and assembles the results little-endian — macroWord_eq says that is the packed macro
reading. A lookup in the macro law's own table then gives the packed next macro state, by
packWorld_apply. And habWriteBack writes the two constants back, block by block —
stateEquiv_encRec says a codeword block packs to all-ones or zero, and stateEquiv_flatHab_range
reassembles them into a habitat. habStep_stateEquiv chains the three, and nothing else enters:
every step of it was proved before the walk was written.
What the walk consumes is the macro law as a table, packed by packWorld — which is the point of
the bridge. G is a function on memories; the pricing layer only ever sees the 2 ^ κ-entry table
of its packed form, and one entry of that table is all the walk reads per state.
Anchors: [Persistence] §2 + §5 + §8. The walk is this development's; no numbered result of [Persistence] is claimed machine-checked by its presence.
the macro word read off a packed habitat: decode each block digit, assemble little-endian
Equations
Instances For
writing back the two constants: block j becomes all-ones or all-zeros by bit j of Gw
Equations
- ReflectiveSubsystems.habWriteBack κ k Gw = (List.map (fun (j : ℕ) => ReflectiveSubsystems.numBitN Gw j * (2 ^ 3 ^ k - 1) * (2 ^ 3 ^ k) ^ j) (List.range κ)).sum
Instances For
The habitat walk: from G's packed table and a packed habitat, the packed next habitat.
Equations
- ReflectiveSubsystems.habStep κ k Gt s = ReflectiveSubsystems.habWriteBack κ k (((Encodable.decode Gt).getD []).getD (ReflectiveSubsystems.macroWordOf κ k s) 0)
Instances For
The walk is correct: it computes the packed habitat world.
The walk, primitive recursive #
The walk is arithmetic on numerals, so it is primitive recursive, and this section says so. There is
no mathematics here — the walk's meaning was settled by habStep_stateEquiv; what is established
now is only that a program can carry it out.
Each piece follows the shape the marking price already uses: a bounded sum over List.range, folded
by primrec_list_sum, with /, %, ^ doing the digit work. macroWordOf needs the decoder
(primrec_numDecRec, itself the pair-accumulator's payoff); habWriteBack needs only the two block
constants; habStep composes them either side of one table lookup.
Anchors: [Persistence] §2 + §5 + §8. No numbered result of [Persistence] is claimed machine-checked by their presence.
The habitat world on flat cells #
The walk computes on numerals; this section gives the map it computes a name.
habitatWorld lives on Mem (Fin κ × Fin (3 ^ k)) Bool — block, then position. The pricing layer
indexes tables by states of a Mem (Fin N) Bool, so flatWorld is the same world seen through the
relabelling: conjugate habitatWorld by flatHab, and what results is a world on κ * 3 ^ k flat
cells whose packing is what a table would list.
Its one law is a restatement, not new content: habStep_packWorld says the walk, run on a packed
state, computes packWorld (flatWorld κ k G) — which is habStep_stateEquiv with both sides given
their names. Every state of the flat world is a packed habitat and every packed habitat is a state,
so the two statements carry the same information; this one is simply in the vocabulary a price is
written in.
Anchors: [Persistence] §2 + §5 + §8. No numbered result of [Persistence] is claimed machine-checked by its presence.
The habitat world rewritten on flat cells: conjugate habitatWorld κ k G by the packing
flatHab κ k, so the state space is a single Fin (κ * 3 ^ k)-indexed memory rather than a
product. Same dynamics, in the vocabulary a price is written in.
Equations
- ReflectiveSubsystems.flatWorld κ k G x = (ReflectiveSubsystems.flatHab κ k) (ReflectiveSubsystems.habitatWorld κ k G ((ReflectiveSubsystems.flatHab κ k).symm x))
Instances For
The habitat world, priced #
Now the walk becomes a program with a price. Two obstacles stood in the way, both of elaboration cost rather than mathematics, and both are dissolved here once.
A normal form for tables. lensTable lists its entries along List.finRange n; a builder that
produces a table lists them along List.range n. Bridging the two by List.ext_getElem forces the
elaborator to unify a Fin.mk at the table's length — harmless at a symbolic n, ruinous when the
length is 2 ^ (κ · 3 ^ k). lensTable_range rewrites the first form into the second, proved once
at symbolic n, so every downstream bridge is a List.map congruence over List.range with no
index unified. All three of this layer's numeral bases feed tables through lensTable, so the
normal form is the whole layer's asset, not this section's alone.
An opaque step. The walk's step habStep is a deep composition — nested folds, the decoder's
Nat.rec, packReduce. When a Primrec lemma unifies against it, isDefEq unfolds that body and
grinds. But the step's meaning is entirely captured by habStep_packWorld; its body is never needed
again. So it is made irreducible here, and the Primrec proof matches at the head in one step.
With those, the assembly is the marking price verbatim. habTableFn tabulates the walk over
List.range (2 ^ (κ · 3 ^ k)); habTableFn_eq identifies it with the packed flat world's table (by
habStep_packWorld, through the normal form); exists_code extracts habBuilder; and
KE_flatWorld_le prices it.
The price is the point. A world of 2 ^ (κ · 3 ^ k) states is described in
elen cG + O(size κ + size k) bits — the macro law's own program plus the logarithms of the two
structural parameters, and nothing that scales with the state count. The route matters: the
builder is fed the macro law as a code cG, composed, so its length enters additively; feeding
it the
law's exponential-length table instead would price the table, not the law. This is the (U)-positive
statement in the world's own currency — the sub-system's coarse law is cheap even though the world
it runs in is astronomically large.
Anchors: [Persistence] §2 + §5 + §8. No numbered result of [Persistence] is claimed machine-checked by their presence.
The table normal form: lensTable re-listed along List.range n rather than
List.finRange n. Proved once at symbolic n, so a downstream bridge to a List.range-built table
is a List.map congruence with no Fin index ever unified — the fix for the huge-length wall, and
the reusable asset the whole numeral layer feeds through.
The habitat table: the walk tabulated over every state, as one function of the paired input
⟨κ, k, G's packed table⟩.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The table is the packed flat world's. The bridge that timed out until the normal form: both
sides list along List.range (2 ^ (κ · 3 ^ k)), so the equality is a List.map congruence closed
per-entry by habStep_packWorld, never unifying an index at the huge length.
habTableFn is partial recursive.
The fixed habitat builder code, extracted from universality: one program taking
⟨κ, k, the macro law's table⟩.
Equations
Instances For
The habitat world is owned at the macro law's own cost plus logarithms ([Persistence] §8,
the (U)-positive clause in world-table form). Given a code cG for the macro law's packed table,
the flat habitat world — a world of 2 ^ (κ · 3 ^ k) states — has a table describable in
elen cG + O(size κ + size k) bits: the law's program, composed into the fixed builder, plus the
logarithms of the two structural parameters. Nothing here scales with the number of states.
The macro law enters as a code, comp cG zero, so its length is additive; were it fed as its
2 ^ κ-entry table the bound would price the table, not the law. That distinction is the whole
content of "the sub-system owns its law cheaply".
The packaged Witness World ([Persistence] §5, §7, §8, §10.1 + [Decoupling] §6) #
The construction so far — the habitat world running a macro law G beside an arbitrary environment
π, its exact reading, its healing margin, its price — is assembled here into one statement, and
its two remaining clauses are supplied: the internalization threshold it crosses, and the contrast
that makes it interesting — that its typical member is unreadable in full even though its coarse
law is free.
The threshold is arithmetic on an imported bound. The contrast is the core-anchored version of the
ownership ladder: the habitat world is not a permutation, so faithful_rule_cost cannot price it
directly — but its recurrent core is a genuine permutation (codewords running G beside the
environment running π), and a faithful reading of that still hands back the environment's rule,
whose table is incompressible for all but a vanishing fraction of environments.
Anchors: [Persistence] §5, §7, §8, §10.1 + [Decoupling] §6. No numbered result of [Persistence] is claimed machine-checked by anything in this section; the packaged theorem is a synthesis the paper does not yet state.
The internalization threshold ([Decoupling] §6.3, consumed as a black box). The κ-bit
habitat hosts the bounded checker for the Gödel sentence of number g: its 2 ^ κ macro states
have room for the recursor of the concrete poly(g) = g² proof-code budget of [Decoupling] §6.3, so
g² + 1 ≤ 2 ^ κ and every candidate proof code p ≤ M_chk ≤ g² is a macro state.
(Distinct from ReflectiveSubsystems.hostsAt, the [Decoupling] §6 work-budget predicate
capacity n ≤ w; this is its concrete downstream consequence in the habitat's own state count, and
hostsThreshold_of_capacity is the bridge between the two.)
Instances For
Above the capacity threshold the habitat hosts the checker. Whenever the κ macro bits meet
[Decoupling] §6.3's linear capacity capacity n = 2 n for the Gödel sentence of number g
(n := ⌈log₂ (g + 1)⌉ — precisely ReflectiveSubsystems.hostsAt κ g), the habitat's 2 ^ κ macro
states host the depth-g² bounded recursor. Pure arithmetic on the imported [Decoupling] §6.3
bound — this section is its consumer, not its prover.
The full world, packed and priced #
The witness world is the habitat world beside the environment (witnessWorld_conj: it is
prodWorld (habitatWorld κ k G) π read through the disjoint-union bridge). Packed onto the numeral
carrier the tables index, the habitat factor is not a permutation, so its price needs the Cartesian
product world of two endofunctions — prodWorldFinFn, the non-invertible counterpart of
prodWorldFin. Its table is the same interleaving (prodAppend), so the same prodBuilder prices
it, and the whole world costs the macro law's code, the environment's code, and the logarithms of
the structural sizes — nothing that scales with the state count.
The Cartesian product world on Fin (n₁ * n₂), for endofunctions: both coordinates step by
their own factor, neither reading the other. prodWorldFin is the case of two permutations; the
witness world's habitat factor is not one, so this is the shape its price needs.
Equations
- ReflectiveSubsystems.prodWorldFinFn U₁ U₂ p = finProdFinEquiv (U₁ (finProdFinEquiv.symm p).1, U₂ (finProdFinEquiv.symm p).2)
Instances For
The witness world, packed and priced ([Persistence] §8, the (U)-positive clause in the
world's own table currency). The habitat world running the macro law G, packed onto its
2 ^ (κ · 3 ^ k)-numeral carrier, set beside an environment world E on its own 2 ^ J states,
has a table describable in
elen cG + elen cπ + O(size κ + size k)
bits: the macro law's program cG, the environment's program cπ, and the logarithms of the two
structural parameters — and nothing that scales with the number of states, of which there are
2 ^ (κ · 3 ^ k) · 2 ^ J. Both laws enter as codes, composed into the fixed builders (the
habitat's, then prodBuilder), so their lengths are additive; feeding either as its exponential
table would price the table, not the law. This is the whole world's version of the statement that a
cheaply-run world stays cheap to describe when a second cheap world is set beside it.
The contrast: the typical member is unreadable in full #
The habitat world is not a permutation, so faithful_rule_cost cannot price the witness world
directly. Its recurrent core is one, though: every state surviving forever is a codeword-habitat
state (omegaLimit_witnessWorld_subset), and on codewords the update is the macro law running
beside the environment — a Cartesian product of two permutations, prodWorldFin of the macro core
and the environment. A faithful reading of that core world therefore hands back the environment's
rule (KE_factorSnd_le_of_faithful), whose table is incompressible for all but a vanishing fraction
of environments.
card_readable_core_le makes "vanishing" precise, in the ncard idiom of the collapse. The
environment permutations admitting a faithful uniform reading of the core world at budget b number
at most 2 ^ (2 b + O(size n₂) + 1) — a 2 ^ (−d) fraction of the n₂ ! permutations once
2 b + O(size n₂) falls a margin d below log₂ (n₂ !). So below half the environment's entropy —
b < (log₂ (n₂ !) − O(log n₂) − d) / 2 — all but a 2 ^ (−d) fraction of environments admit no
faithful reading of the world at all: cheap to run a sub-system in, unaffordable to read entire. The
O(log n₂) slack and the halving are KE_factorSnd_le_of_faithful's own; the statement is
asymptotic.
The typical environment is unreadable in full. Fix the habitat's recurrent rule U₁. The
environment permutations U₂ for which the core world prodWorldFin U₁ U₂ admits some faithful
uniform reading at budget b number at most 2 ^ (2 b + O(size n₂) + 1) — a description of the
environment's own rule falls out of any such reading (KE_factorSnd_le_of_faithful), and there are
too few short descriptions (card_KE_le) for many environments to have one. Once 2 b + O(size n₂)
drops a margin d below log₂ (n₂ !), this is a 2 ^ (−d) fraction of the n₂ ! environments:
the coarse law costs two lines, yet the world entire is unaffordable to all but a vanishing few.
The macro reading, owned in the capacity vocabulary #
The (U)-positive clause, priced in the world's own KE currency by KE_flatWorld_le, restated as a
lower bound on the world's uniform entropic capacity CbHue ([Persistence] §2, Definition 2.2 +
§5, Definition 5.5). When the macro law G is a permutation the reading is genuinely owned: one
program computes the whole time-indexed family that reads the macro state back, so its carried
entropy — the relabelling orbit of the reference frame on the recurrent core — is affordable at the
law's own budget. Reversibility is where it is needed: the reading's persistence transports the
macro state backwards along the G-orbit, which only a permutation supports.
The flat habitat world's macro reading: relabel onto blocks, decode each.
Equations
- ReflectiveSubsystems.flatRead κ k x = ReflectiveSubsystems.macroLens κ k ((ReflectiveSubsystems.flatHab κ k).symm x)
Instances For
The macro reading, transported onto the numeral carrier the capacities are indexed by.
Equations
Instances For
The reading's table, tabulated over every state as one function of the paired input
⟨κ, k⟩ — the reading has no other parameter, so nothing about G or the environment enters.
Equations
- One or more equations did not get rendered due to their size.
Instances For
readTableFn is partial recursive.
The fixed reading builder code: one program taking ⟨κ, k⟩ and returning the reading's
table — the decoder, uniform in the structural sizes and free of G.
Equations
Instances For
The macro reading is owned, in the capacity vocabulary ([Persistence] §2, Definition 2.2 +
§5, Definition 5.5 — the (U)-positive clause). When the macro law G is a permutation, the flat
habitat world's uniform entropic capacity at budget elen cG + O(size κ + size k) is at least the
carried entropy of the macro reading: the relabelling orbit of its reference frame on the recurrent
core. The world's rule is cheap (KE_flatWorld_le) and, at that same budget, it is genuinely
owned — one program reads the macro state back forever.
The recurrent core, identified #
omegaLimit_witnessWorld_subset places the recurrent core inside the codeword-habitat states. When
G and π are permutations the inclusion is an equality: every codeword-habitat state is
recurrent, because a permutation's iterate is onto — running the world t steps backwards (invert
G^t on the macro state, π^t on the environment) exhibits a preimage at every t. So the core is
exactly codewords beside the environment: the genuine permutation on which a faithful reading, and
hence the contrast of card_readable_core_le, lives.
The recurrent core is codewords beside the environment. For permutation G, π the inclusion
of omegaLimit_witnessWorld_subset is an equality: the states surviving forever are exactly those
whose habitat block-content is a codeword, the environment ranging freely.
On the core, the world is the product permutation. A codeword-habitat state steps to the
codeword of ⇑G b beside ⇑π of the environment: on the recurrent core
(omegaLimit_witnessWorld_eq) the witness world is exactly (enc ∘ G ∘ dec) × π, the explicit
permutation the attractor carries — the identification that escapes the basin-address wall, made
concrete.
The package #
witness_world gathers the construction into one statement of record. For every κ, k, permutation
macro law G and environment π, the designed world W(κ, k, G, π) hosts a reading that
- is surjective — one full bit per block, a
κ-bit macro state (witnessLens_surjective); - obeys
Gexactly, from every initial state, whatever the environment is doing beside it (intertwines_witnessLens— the exact square, no transient); - is robust to any perturbation of fewer than
2 ^ kcells, with margin at least2 ^ k − 1on theκ · 3 ^ khabitat cells, however large the environment (witnessWorld_margin_ge); - is cheaply owned — one fixed program reads the macro state back at every frame, so the flat
world's uniform entropic capacity
CbHueat budgetelen cG + O(size κ + size k)is at least the reading's carried entropy, its reference-frame relabelling orbit on the recurrent core (CbHue_flatWorld_ge, the (U)-positive clause in the capacity vocabulary;KE_flatWorld_leis the same content in the world's own KE currency); and - crosses the internalization threshold — the habitat's
κmacro bits host the [Decoupling] §6.3 bounded checker for every Gödel numbergwithin the capacity (hostsThreshold_of_capacity).
The surjectivity, lawfulness, robustness and threshold clauses hold for an arbitrary endofunction
G (a nonempty habitat 0 < κ for the margin to fit the memory); the ownership clause takes G a
permutation, where the reading's persistence — transporting the macro state back along the
G-orbit — is available. The construction's sixth clause — the negative half, that the typical
member is
unreadable in full — is the companion card_readable_core_le above, stated over the recurrent core
(a genuine permutation whose environment factor is incompressible for all but a vanishing fraction
of environments) rather than folded in here, since it quantifies over the family of environments,
not a single one. Together they are the affordability ladder in one place: every member hosts a
robust, lawful, cheaply-owned reading crossing the internalization threshold, while its typical
member is unaffordable to read entire.
Anchors: [Persistence] §5, §7, §8, §10.1 + [Decoupling] §6. This conjunction is a synthesis of the development; no numbered proposition of [Persistence] is claimed machine-checked by it — the paper does not yet state this theorem, deliberately, pending how the Witness World enters its prose.
Emergence: pricing the ceiling ([Persistence] §2, §5 + [Decoupling] §3.5) #
capacity_core_ge exhibits, for 2 ^ κ ≤ |core U|, a family carrying a κ-bit model over any
world U — lawful from every initial state, because it flows into the recurrent core (U^[N])
before co-moving with the recurrent rule. What that construction does not do is own the family.
This section prices it: the guest is computed by one fixed program from a code for the world's table
and a code for the reference frame, so its carried entropy is affordable — the first theorem of the
emergence programme, "a big-enough core and an affordable rule host an owned guest".
The reversible case is ownership composed with CbHu_ge_of_uniform. The irreversible case is the
same shape with one twist: on the recurrent core U acts as a permutation of order dividing n !,
so its inverse there is a forward power — (U ↾ core)⁻¹ = corePerm ^ (n ! − 1) — and the whole
co-moving-after-flow-in family collapses to a single forward iterate θ ∘ U^[(n ! − 1) · t + n]. No
core inverse, no stabilization search, no irreducible bounded minimization: the guest's table at
frame t is U's table iterated a computable number of times, read through the frame.
Anchors: [Persistence] §2 + §5 + [Decoupling] §3.5. No numbered result is claimed machine-checked by this section's presence; it prices a construction the papers state without a price.
The priced ceiling for reversible hosts. Over a permutation world U, any surjective
reference frame ℓ₀ given by a code is owned: the canonical family ℓ_t = (U ^ t) • ℓ₀ is
computed by one program of length elen cℓ + elen cU + O(1) (ownership), so the world's uniform
entropic capacity at that budget is at least ℓ₀'s relabelling-class size. The reversible case of
the emergence bound, with the witness world's habitat structure dropped — an arbitrary owned frame
over an arbitrary permutation host.
The emergence guest: read the model off the recurrent core after flowing into it, co-moving
with the recurrent rule by a single forward power. On the core U is a permutation of order
dividing n !, so its inverse there is corePerm ^ (n ! − 1) and the whole
co-move-after-flow-in family is θ ∘ U^[(n ! − 1) · t + n] — no core inverse, no bounded search.
Instances For
The emergence guest carries the model, from every initial state. After n steps every state
is in the recurrent core (iterate_mem_core); there U has order dividing n !, so n ! · t
further steps return to where they started, and the forward-power co-moving frame reads back the
time-0 value. The only hypothesis is that the frame reads a full model off the core.
The emergence builder's table: from ⟨U's table, θ's table, t⟩, iterate U's table
(n ! − 1) · t + n times (iterTable, n read off the table's own length) and read the result
through θ (stepComp) — the guest's frame-t table, all forward, no inverse.
Equations
- One or more equations did not get rendered due to their size.
Instances For
emergeTableFn is partial recursive.
The fixed emergence builder code: one program taking ⟨U's table, θ's table, t⟩.
Equations
Instances For
The emergence guest is owned at the world's rule plus the frame, and nothing else. One fixed
program of length elen cU + elen cθ + O(1) computes every frame: the world's code and the frame's
code, composed into emergeBuilder, which reads n off the table and does the arithmetic itself.
The clock t is the only per-frame input; no size parameter is loaded, because the exponent is
computed inside from the table rather than fed in.
Emergence: a big-enough core and an affordable rule host an owned guest, lawful from every
initial state ([Persistence] §2 + §5 + [Decoupling] §3.5). Given codes for the world's table and
for a frame θ that reads a full m-valued model off the recurrent core (so m ≤ |core U|), the
guest emergeLens U θ:
- carries the model from every initial state — it flows into the core in
nsteps and then co-moves with the recurrent rule (carries_emergeLens), with no basin restriction; and - is owned — computed by one program of length
elen cU + elen cθ + O(1), so the world's uniform entropic capacity at that budget is at least the guest's carried entropy, the relabelling orbit of its reference frame on the core.
Taking m = 2 ^ κ gives an owned κ-guest wherever the core has room for it — the first theorem of
the emergence programme, the priced counterpart of capacity_core_ge (which exhibits the guest but
does not own it). The irreversible case matches the reversible CbHu_ge_owned in shape; the twist
is that on the core the inverse is a forward power, so the whole construction stays a single forward
iterate. No numbered result is claimed machine-checked by this theorem.