Persistence capacity I: the recurrent core and the absolute ceiling ([Decoupling] §3.5) #
Part one of the PersistenceCapacity development. The umbrella module
ReflectiveSubsystems.PersistenceCapacity imports all four parts; its docstring carries the
capacity-name key and the map of the whole development, and every part declares its names at
ReflectiveSubsystems, a theorem under the predicate it takes.
A finite world is a state space X with an update U : X → X. This module owns the dynamics
underneath every capacity statement — the recurrent core — and the ceiling it imposes on any
time-dependent decoder, however powerful.
Main results #
core_bijOn— the update restricts to a bijection on the recurrent core⋂ t, U^[t] '' univ(the states surviving every number of steps).iterate_mem_core— the space bounds its own transient: afterNat.card Xsteps every state is in the recurrent core, since the image chain strictly decreases until it stabilizes.Lens/Carries— the lens family, a time-indexed decoder subject to no constraint whatever: not locality, not simplicity, not computability. That is what makes the capacity theorem an ABSOLUTE bound rather than a statement about some class of observers.capacity_horizon_le/capacity_horizon_ge— the maximal model persistable forTsteps has exactly|U^[T] '' univ|elements ([Decoupling] §3.5, Proposition 3.5, the finite-horizon half).capacity_core/capacity_core_ge/capacity_core_iff— lettingT → ∞, a persistent model of sizemexists iffm ≤ |core U|([Decoupling] §3.5, Proposition 3.5). What obstructs memory is not overwriting but irreversibility.static_le_moving/rotate_gap— the static capacity of [Decoupling] §3 (Corollary 3.3) never exceeds the moving one, and the gap can be total: rotate-left has static capacity0and moving capacity the whole memory.eventual_decoupling_iff— a model correct only EVENTUALLY (a self-repairing code region) settles along every orbit from aU-closed basinBiffUis read-only onRover the ω-limit set⋂ t, U^[t] '' B. [Decoupling] §3, Proposition 3.4 is the caseω B = B.eventual_descent_iff— a decoded model obeys the lawFeventually along every orbit fromBiff it obeysFonω(B);eventual_decoupling_iffis its identity-law case.staticLens_factors/hierarchy— the static stratum ([Persistence] §4): a lens withℓ ∘ U = ℓis exactly a function constant on the components of the transition graph, and read-only cells ≤ components ≤ recurrent core.
ω-limit sets and the recurrent core #
For a U-closed set B the forward images U^[t] '' B form a decreasing chain; on a finite state
space it stabilizes, and its intersection — the ω-limit set — is where U is a bijection. Taking
B = univ gives the recurrent core: the states surviving every number of steps.
This section and the capacity section below are stated for an arbitrary finite state type X and an
arbitrary endofunction U : X → X — the generality of [Persistence] §2.1, where a world is a finite
set with an update and nothing further is assumed. The cell-structured world Mem ι V = ι → V is
the instance X = ι → V, and the sections that genuinely need cells (the read-only stratum, the
rotation gap, the eventual-persistence relaxation) take it.
The ω-limit set of a set of states: the states reachable from B after every number of
steps. For a U-closed B this is the union of the limit cycles reachable from B.
Instances For
The recurrent core: the states that survive every number of steps. U restricts to a
bijection on it (core_bijOn), which is the entire reason it is the ceiling on persistence.
Instances For
The core is the ω-limit set of the whole memory.
On a finite memory the image chain of a U-closed set stabilizes, and by step |B|: past
some index N ≤ B.ncard every further step reproduces the same set. This is the finite-endofunction
fact behind the whole section, with the transient bounded by the space it happens in.
The bound is the whole reason to state it this way. The chain is antitone, so before it stabilizes
it strictly decreases, and a chain of naturals starting at B.ncard cannot strictly decrease more
than B.ncard times. Stabilization is therefore over by step B.ncard — no earlier index need be
exhibited, and none later is needed.
U restricts to a bijection on the ω-limit set. Surjectivity is invariance
(image_omegaLimit); injectivity is then forced by finiteness.
The transient is over by step |X|: after Nat.card X steps, every state whatever is in
the recurrent core. The image chain strictly decreases until it stabilizes and it starts at |X|
(exists_image_stable_le), so it has stabilized by then — the space bounds its own transient.
This is the bound that makes a settling clock finite: an observer that waits |X| steps is past
every world's transient, without knowing the world.
The lens family and its capacity ([Decoupling] §3.5, Proposition 3.5) #
A lens family: a time-indexed decoder. Deliberately unconstrained — not required to be local, simple, or computable.
Equations
- ReflectiveSubsystems.Lens X M = (ℕ → X → M)
Instances For
The family carries a persistent model up to horizon T: reading through the time-t lens
recovers what the time-0 lens read. Surjectivity of ℓ 0 makes the model genuinely M-sized.
Equations
- ReflectiveSubsystems.CarriesUpTo U ℓ T = (Function.Surjective (ℓ 0) ∧ ∀ t ≤ T, ∀ (s : X), ℓ t (U^[t] s) = ℓ 0 s)
Instances For
The family carries a persistent model for all time.
Equations
- ReflectiveSubsystems.Carries U ℓ = (Function.Surjective (ℓ 0) ∧ ∀ (t : ℕ) (s : X), ℓ t (U^[t] s) = ℓ 0 s)
Instances For
Persistence capacity at horizon T, the ceiling ([Decoupling] §3.5, Proposition 3.5), in
Finset form.
Persistence capacity at horizon T, attained ([Decoupling] §3.5, Proposition 3.5). Every
model of that size is realized: read the world T steps ahead and stand still, i.e.
ℓ t := θ ∘ U^[T - t].
The ceiling on persistence ([Decoupling] §3.5, Proposition 3.5). No observer, however powerful, carries more than the recurrent core: irreversibility is the only obstruction to memory.
The ceiling is attained ([Decoupling] §3.5, Proposition 3.5, the ⇐ half). A model of any
size up to the core is carried by the canonical moving family ℓ t := θ ∘ (U ↾ core)⁻¹^t ∘ U^[N]:
flow into the core, then co-move with the recurrent rule.
Proposition 3.5 ([Decoupling] §3.5), packaged: a lens family carrying a persistent model of
size |M| exists iff |M| ≤ |core U|. No constraint on the lens — locality, simplicity and
computability are all irrelevant to the bound.
The static capacity is below the moving one, and the gap can be total #
The cells the update never rewrites — the maximal static code region of [Decoupling] §3 (Corollary 3.3).
Equations
- ReflectiveSubsystems.Fix U = {a : ι | ∀ (s : ReflectiveSubsystems.Mem ι V), U s a = s a}
Instances For
The static capacity never exceeds the moving one ([Decoupling] §3.5(i)). The number of
models storable at fixed addresses, |V| ^ |Fix U|, is at most |core U|, because restriction from
the core onto the fixed cells is surjective: any assignment of the fixed cells is realized by a core
state (flow an arbitrary completion into the core — the fixed cells ride along unchanged).
The gap is total ([Decoupling] §3.5(i)). Rotate-left on a cyclic string rewrites EVERY cell
— Fix U = ∅, so [Decoupling] §3 Corollary 3.2 applies and the static capacity is zero — yet it is
a bijection, so the core is the whole memory and the moving capacity is log₂ |Mem| bits. Total
overwrite precludes persistent content at a fixed ADDRESS, not persistent content.
Eventual persistence: a self-repairing code region ([Decoupling] §3.5, the relaxations) #
Relax "the model is correct at every step" to "the model is correct eventually". The conclusion relaxes from "read-only everywhere" to "read-only on the ω-limit set" — and nothing weaker.
The Eventual Decoupling Lemma ([Decoupling] §3.5). For a faithful decoder and a U-closed
basin B: the decoded model settles along every orbit from B iff U is read-only on R over
the ω-limit set. Relaxing persistence to eventual persistence does not escape the Total-Overwrite
Exclusion — it relocates it from the whole memory to ω B. [Decoupling] §3, Proposition 3.4
(ReflectiveSubsystems.decoupling_iff_persists_on) is the case ω B = B.
The ⇒ direction argues through the limit cycle: a state of ω B is periodic (exists_period),
and a settling sequence along a cycle is constant on it — so the model is preserved in ONE step
there, and faithfulness converts that into read-only.
Majority-vote write-back on three copies: every cell is overwritten, every step, with the majority of the three. The worked self-repairing world of [Decoupling] §3.5.
Instances For
The worked instance: majority-vote write-back on three copies. Each cell is overwritten,
every step, with the majority of the three — so Fix U = ∅ and [Decoupling] §3 Corollary 3.2
correctly reports NO static model. Yet the recurrent core is exactly the consensus set (the
states whose three copies agree), U is the identity there, and one bit persists eventually: a
single corrupted copy is repaired in one step and the surviving bit is the consensus.
Total overwrite globally, read-only on-shell — the concrete witness for
eventual_decoupling_iff.
After the lens: the effective law ([Decoupling] §3.5, the relaxations) #
The last relaxation: a decoded model that obeys a law of its own rather than standing still. Such a
law exists exactly when the lens's fibres are U-invariant — the substitution property of
Hartmanis and Stearns (1966), cited in [Decoupling] §3.5. That property is not ours; what is
recorded here is the identification of [Decoupling] §3 Lemma 3.1 as its identity-law case
(decoupling_is_identity_law): persistence is not a special topic, it is the F = id fibre of the
descent hierarchy, and the read-only requirement is relocated rather than removed.
The decoded model obeys a law of its own: states that look alike keep looking alike. (The
U-invariance of the lens's fibres — the substitution property of Hartmanis–Stearns 1966.)
Equations
- ReflectiveSubsystems.Autonomous U decode = ∀ (s t : ReflectiveSubsystems.Mem ι V), decode s = decode t → decode (U s) = decode (U t)
Instances For
Descent (the substitution property, Hartmanis–Stearns 1966; [Decoupling] §3.5). The world's
rule induces a law on the decoded model iff the lens's fibres are U-invariant. Forward is
immediate; backward reads the induced law off any preimage, which is well defined precisely by
autonomy.
The decoded model eventually follows the law F along the orbit of s: past a transient,
each step of the world moves the reading by F. Settles is the case F = id, stated as eventual
constancy rather than as an eventual one-step law — over an orbit the two say the same thing.
Equations
Instances For
Eventual descent ([Persistence] §10.1 read at §10.2's generality): the decoded model
eventually obeys the law F along every orbit from a U-closed B iff it obeys F at every
state of the ω-limit set. The eventual-decoupling statement (eventual_decoupling_iff, whose
conclusion is read-only-on-R through a faithful decoder) is the identity-law case of this, exactly
as decoupling_is_identity_law is the identity-law case of descent_iff.
The two directions are the two halves of the ω-limit picture. Backward, orbits from B are inside
ω B past the transient, where the law holds by hypothesis. Forward argues on the limit cycle: a
state of ω B returns to itself (exists_period), so a law obeyed eventually is obeyed at the
state itself — read the hypothesis at a multiple of the period, past the transient, and the orbit
has come back to where it started.
No cell structure and no faithfulness are needed: this is a statement about an endofunction, a
decoder, and a candidate law. What it does NOT say is that some F exists — only descent
(descent_iff, Autonomous) decides that, and here F is given.
[Decoupling] §3 Lemma 3.1, relocated: the identity-law case of descent. Under a faithful
decoder the induced law is the IDENTITY exactly when U is read-only on R. So persistence is not
a separate phenomenon — it is the F = id fibre of the descent hierarchy, and each relaxation moves
the read-only requirement rather than removing it.
The static hierarchy: conserved quantities ([Persistence] §4) #
Between the read-only region of [Decoupling] §3 and the moving observer's ceiling sits one more
class of decoder: the static lens — a single ℓ : Mem → M with ℓ ∘ U = ℓ, no faithfulness, no
region structure. Such an ℓ is a conserved quantity of the dynamics, and it is exactly a function
constant on the components of the transition graph, so the static-lens capacity is the number of
components. Three inequalities place it: read-only cells ≤ components ≤ recurrent core.
What a static lens buys is strictly less than what a code region buys. It carries a conserved
quantity, not a program: [Decoupling]'s necessity_needs_faithful is the observation that a lossy
persistent lens yields no runnable region at all.
The equivalence generated by one step of the update: s and t are related when a chain of
forward steps, taken in either direction, joins them. Its classes are the weakly-connected
components of the transition graph. Stated at an arbitrary carrier X: the definition uses
nothing of Mem ι V, and staticLens_factors through hierarchy below instantiate it there with
no change to their own statements.
Equations
- ReflectiveSubsystems.orbitRel U = Relation.EqvGen fun (s t : X) => t = U s
Instances For
The setoid of orbitRel. Quotient (orbitSetoid U) is the set of components, and its
cardinality is the static-lens capacity ([Persistence] §4, L2).
Equations
- ReflectiveSubsystems.orbitSetoid U = Relation.EqvGen.setoid fun (s t : X) => t = U s
Instances For
One step relates a state to its successor.
A static lens is exactly a function constant on the components ([Persistence] §4, L2).
Forward is an induction over the generated equivalence; backward is the single step s ∼ U s.
The static capacity is attained: the quotient map is itself a static lens, and it is
surjective — so a model of size #components persists under a decoder that never moves.
The static capacity is the number of components ([Persistence] §4, L2), the upper half: a
static lens is constant on the components (staticLens_factors), hence factors through the
quotient, and a surjection cannot leave its target bigger than its source.
Read-only cells are below the components ([Persistence] §4, Proposition 4.1, first
inequality). Restriction to the never-rewritten cells is itself a static lens — the update leaves
those cells alone, so the restriction is unchanged in one step — and it is onto every assignment of
them. So all |V| ^ |Fix U| static models fit inside the component count.
The components are below the recurrent core ([Persistence] §4, Proposition 4.1, second inequality). Every component contains a core state — iterate past stabilization and the orbit lands in the core without leaving its class — so the quotient map is already surjective from the core.
The hierarchy ([Persistence] §4, Proposition 4.1): a fixed region carries no more than a
conserved quantity, which carries no more than the moving observer's ceiling. The gaps are real —
rotate-left has an empty fixed region (rotate_gap) and a full core.