The redundant fiber: recovery plus repetition ([Inevitability] §6, the survival core) #
Proposition 6.1's structural clause (iii) asks a repair of the host: one-step erasure, a
non-expansive host, or a reading the damage cannot move. The weighted fiber's own carrier — a
population of P copies of the floored mixture, all reading the same base stream — supplies that
repair by construction, and this file proves it in three stages, in the sense of survival: the
composite's reading recovers from damage without any of the three structural conditions being
assumed of the host.
Stage A — recovery. A single floored fiber, damaged by a finite hit schedule on its own normal
form (the exponent vectors, so a hit keeps the carrier a power of two), settles after its last hit
exactly as an undamaged run restarted there (dRun_eq_wRunFrom_of_hitFree), hence settles at every
budget and for every finite schedule
(argmax_dRun_eventually_const_of_eventually_realizable). The recovery has a price, proved
directly over the schedule's own Finset index (dErrorTimes_card_mul_le): past a hit landing on
a power-of-two vector, the seeded-start count (LogMassEvent.floorErrorTimesFrom_card_mul_le)
bounds each segment's own error times, and a schedule of several hits pays that bound once per hit,
plus the undamaged segment before the first one; the same bound restated over an explicit list of
segments is segErrorCount_le.
Stage B — the P-fold carrier and the verifying decode. P copies of the fiber step under the
same observation stream; the reading decodes the least-indexed copy whose current prediction
matches what the base actually does next (compPredFrame). Any two verifying copies decode the
same value — the observed transition itself — so a copy corrupt in its weights but correct in
its prediction still reads right (compPredFrame_eq_of_mem_verifiers). Priced on the flat carrier
over an arbitrary per-copy reading (compFrameFlat), the decode costs the three ingredient codes
plus one addressing term logarithmic in P (KE_compFrameFlat_le) — [Inevitability] Theorem
6.6(vi)'s decode half.
Stage C — the intact copy, and per-step survival. A damage schedule touching fewer than P
distinct copies in total always leaves one copy untouched (exists_untouched_copy), and an
untouched copy's trajectory is definitionally the single undamaged run
(compRun_eq_wRunFrom_of_untouched). Once that copy settles on a candidate consistent with the
base, it verifies at every later step, so the composite's reading equals the base's next state —
hence the undamaged composite's own reading — at any arrival pattern within the touch bound
(compPredFrame_eq_next_of_touch_bound, compPredFrame_damaged_eq_undamaged_of_touch_bound). The
touch bound is met whenever P exceeds the realizable event count times the per-event copy cost
(compPredFrame_eq_next_of_realizable_budget), assembling Proposition 6.1's structural clause
(iii) — the invariant-reading regime — from pieces this development has already proved. The touch
bound's other side is a guard (compRun_synchronized_guard): a schedule that touches every copy
defeats the reading however small its rate, since the copies recover only to be synchronized.
Scope #
The damage model itself — Proposition 6.1's (DM1)/(DM2), coupling corruption to misprediction and
bounding a hit's reach — is a named hypothesis of the paper, not a theorem of this file: every
theorem below quantifies over an arbitrary finite hit schedule of the stated shape, rather than
deriving that damage takes that shape from anything. This file's survival synthesis (Stages A–C)
is not yet a numbered proposition in any paper. The composite's own price — [Inevitability]
Theorem 6.6(vi), "P copies and the decode" — is formalized in its two halves across two files: the
P-fold carrier's cost is ReflectiveSubsystems.KE_skewWorldFin_powFiber_le, and the decode's own
cost, priced here (compFrameFlat, KE_compFrameFlat_le), closes the clause.
Stage A's recovery price is proved directly over dRun's own Finset-indexed schedule
(dErrorTimes_card_mul_le), by induction on the schedule's size: dRun_shift/dWrongMass_shift
peel the earliest hit, and dErrorTimes_card_shift turns that into a card split between the
undamaged segment before it and a damaged schedule in its own right, one hit smaller, after it. The
seeded, damaged exponent automaton (dExpRun, raw_dRun_eq_pow_dExpRun) is a companion normal-form
fact about the same packed dRun — the two share the landed automaton on every hit-free window
(expStep, via raw_wRunFrom_eq_pow_expRunFrom) — but the set-indexed price does not route through
it. segErrorCount_le restates the same bound over an explicit list of (gap, landing) segments
(segRun): Stage A's own decomposition where a schedule is naturally given as a list, not a bridge
the set-indexed price depends on. Stage C's survival theorems do not appeal to
ReflectiveSubsystems.survives_of_invariant: the composite's own damage model — an override at
named copies, not a Hamming-bounded perturbation of one shared memory — is more direct to induct on
than to repackage as an instance of that structure.
Stage A — recovery: a damaged run settles, and its price is the seeded-start count #
A damaged run ([Inevitability] §6, Proposition 6.1's damage model, restricted to an
arbitrary finite hit schedule). The ordinary generation, except at a hit time t ∈ H, where the
state that would ordinarily follow is discarded and replaced by hit t. H's finiteness is what
gives the run a last hit, and hence a tail that is again an ordinary run.
Equations
- ReflectiveSubsystems.dRun W M w₀ H hit 0 = w₀
- ReflectiveSubsystems.dRun W M w₀ H hit t.succ = if t ∈ H then hit t else ReflectiveSubsystems.wGen W (ReflectiveSubsystems.missFit M t) (ReflectiveSubsystems.dRun W M w₀ H hit t)
Instances For
The damaged run's tail from any hit-free window is an undamaged run restarted there
([Inevitability] §6, Finding 2 — the load-bearing identity, stated explicitly rather than left
to inference). Over any window [t₀, t₀ + s) that the schedule never hits, s further steps
of the damaged run are exactly s steps of wRunFrom, restarted at the damaged state at t₀
under the fitness stream shifted by t₀. Applied at a schedule's own hit-free tail this is
Finding 2's tail identity; applied between two consecutive hits it is what the recovery-price
corollary below sums over.
A damaged run agrees with the undamaged one below its own first hit — the t₀ = 0 instance
of the identity above, stated without the t₀ + s framing so it composes directly with a schedule
cut at its own minimum (dRun_shift).
The reading settles for every finite hit schedule ([Inevitability] §6, Finding 2 —
recovery). Eventual realizability of the same candidate that the undamaged fiber would need is
enough: the run settles past its last hit exactly as an ordinary one does
(BasinSettling.argmax_wRunFrom_eventually_const_of_eventually_realizable), composed with the tail
identity above. No structural condition on the host is assumed anywhere — a single floored fiber,
with no redundancy at all, already recovers from any finite-debt damage in this sense.
The damaged exponent run and its normal form #
dRun's hit-free windows already run expStep on a power-of-two carrier
(raw_wRunFrom_eq_pow_expRunFrom); dExpRun is the same automaton with hits included, so a
damaged run started and landed on power-of-two vectors again has an exact exponent normal form.
The damaged exponent run ([Inevitability] §6, Finding 2's normal form, with damage).
Mirrors dRun's own hit convention exactly on the exponent automaton: at a hit time t ∈ H the
exponent vector is overridden by hit t, and otherwise it steps by expStep.
Equations
- ReflectiveSubsystems.dExpRun b M e₀ H hit 0 = e₀
- ReflectiveSubsystems.dExpRun b M e₀ H hit t.succ = if t ∈ H then hit t else ReflectiveSubsystems.expStep b (M t) (ReflectiveSubsystems.dExpRun b M e₀ H hit t)
Instances For
The exponents never leave the budget, from a start and every landing inside it —
dExpRun's own instance of expRunFrom_le, with the hit branch discharged by the landing bound
directly.
The seeded, damaged normal form. From a power-of-two start with every landing a power of
two inside the budget, dRun on the packed carrier is again exactly 2 ^ dExpRun: the hit case is
immediate from the landing's own bound (pack does not clamp inside the budget), and the non-hit
case is raw_wRunFrom_eq_pow_expRunFrom's own step, unchanged.
The recovery price: a schedule of landings on the exponent automaton #
Damage stated on the normal form's own state space, as Proposition 6.1(i) needs it: a landing is
an exponent vector bounded by b, so the carrier stays a power of two at every one, and
LogMassEvent.floorErrorTimesFrom_card_mul_le prices the segment that follows. segRun/
segErrorCount take the schedule as an explicit list of (gap, landing) pairs rather than as
dRun's own Finset: the list form's counting recursion is definitional (rfl), where the
set-indexed price below needs the separate splitting lemma dErrorTimes_card_shift.
The damaged exponent run, given as an explicit schedule of landings. segs lists, in
order, how many undamaged steps follow before the next landing and what that landing is; after the
last entry the run continues undamaged forever. This is the same automaton dRun's hit-free
windows run (expStep, via raw_wRunFrom_eq_pow_expRunFrom), packaged for the counting argument
below.
Equations
- One or more equations did not get rendered due to their size.
- ReflectiveSubsystems.segRun b x✝² x✝¹ [] x✝ = ReflectiveSubsystems.expRunFrom x✝² x✝¹ b x✝
Instances For
The schedule's own error count, mirroring segRun's own (t < Δ) recursion exactly:
the count over any horizon is the current segment's own count up to the landing, plus the rest of
the schedule's count over what remains — the decomposition Finding 2's price sums over.
Equations
- One or more equations did not get rendered due to their size.
- ReflectiveSubsystems.segErrorCount b θ x✝² x✝¹ [] x✝ = (ReflectiveSubsystems.floorErrorTimesFrom x✝² x✝¹ b θ x✝).card
Instances For
The recovery price over a whole schedule ([Inevitability] §6, Finding 2's arithmetic
corollary). A candidate iR realizable throughout, every landing (and the start) bounded by b
and by a common deficit D against iR: the schedule's error count over any horizon is at most
one seeded-start bound (LogMassEvent.floorErrorTimesFrom_card_mul_le) per segment — the undamaged
budget for the first, and the same recovery price again for each of the schedule's hits. θ's own
positivity is not needed; the bound is LogMassEvent's own, applied once per segment and summed by
the recursion itself.
The recovery price over dRun's own set-indexed schedule #
The list form above is the corollary's own decomposition — a schedule handed over as a sequence of
(gap, landing) pairs, priced by structural recursion. The set-indexed price below is proved
directly: no bridge from dRun to segRun is needed, since dWrongMass/dErrorTimes mirror
wrongMassFrom/floorErrorTimesFrom over dRun itself.
The damaged run's own wrong mass, mirroring wrongMassFrom over dRun on the packed
carrier rather than over wRunFrom.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The damaged run's own set of error times, mirroring floorErrorTimesFrom: the strict-θ<
membership condition, over dWrongMass in place of wrongMassFrom.
Equations
- ReflectiveSubsystems.dErrorTimes b M e₀ H hit θ n = {t ∈ Finset.range n | θ < ReflectiveSubsystems.dWrongMass b M e₀ H hit t}
Instances For
At the empty schedule the damaged error-time objects are the landed ones, so every
undamaged-tail argument below reads directly against floorErrorTimesFrom.
The damaged run restarts at its own minimum hit ([Inevitability] §6, Finding 2's
recovery-price corollary — the bookkeeping step the capstone below inducts on). Past the earliest
hit τ, the run is again a damaged run in its own right: started from the landing hit τ, over
the remaining schedule reindexed by subtracting τ + 1, under the fitness stream shifted the same
way. Sound because τ is the minimum of H: every other element of H is at least τ + 1, where
the subtraction is injective.
The recursion dRun_shift gives for the seeded, exponent-landed schedule's own wrong mass:
past the earliest hit τ, the run's wrong mass is again a damaged wrong mass in its own right,
started from the landing's own exponent vector hit τ over the reindexed rest of the schedule.
The error count splits at a schedule's earliest hit — dRun_shift's consequence for
dErrorTimes's own cardinality. Below the hit the count is the undamaged one
(dWrongMass_eq_of_lt); from it on, dWrongMass_shift reindexes the rest of the schedule to a
damaged set of error times in its own right, started from the landing.
The recovery price over the damaged run's own set-indexed schedule ([Inevitability] §6,
Theorem 6.6(iv) — the first paper-level step, closed). The list-schedule corollary
(segErrorCount_le) transposed to dRun's own Finset-indexed hits: a candidate iR
realizable throughout, the start and every landing bounded by b and by a common deficit D
against iR, the schedule's error count over any horizon is at most one seeded-start bound
(LogMassEvent.floorErrorTimesFrom_card_mul_le) per hit, plus the undamaged segment's own.
Induction on H.card, peeling the earliest hit with dErrorTimes_card_shift: the segment before it
is priced directly, the segment after it is a damaged schedule in its own right
(dRun_shift/dWrongMass_shift), one hit smaller.
Which set of error times (DM1) names: a refuting family #
Proposition 6.1's damage model (DM1) perturbs the guest only at the error times of its predictor
at tolerance ε.
On this construction that sentence names two different sets — the damaged run's own error times
(dErrorTimes) and the undamaged run's (floorErrorTimesFrom) — and neither contains the other
in general. dErrorTimes_card_mul_le above already commits to the undamaged reading: its
hypothesis is stated over the schedule's own landings, not over the damaged run's own error times.
Read on the run it damages instead, (DM1) is not a budget at all — the family below exhibits a
schedule of every length whose every hit lands inside dErrorTimes, while the same start and
stream cap the undamaged count at 2.
The damaged reading is not a budget ([Inevitability] §6, Proposition 6.1's damage model,
read on the run it damages — IN-25). At C = 2, b = 2, θ = 1/2, candidate 1 missing at every
step and every hit re-seeding the run at its own start ![0, 2]: every hit of a schedule of length
N lands inside the damaged run's own set of error times, for every N. The budget gate holds here
with equality (2·(C−1) = θ·2^b = 2), so this is not the sub-gate blow-up
floorErrorTimesFrom_unbounded_below_gate already records — the family sits inside the gate, not
below it.
The undamaged reading, on the same start and stream, is a genuine budget. The orbit
![0,2] → ![1,2] → ![2,2] → ![2,1] → ![2,0] (a fixed point from there on) has wrong mass 4/5, 2/3, 1/2, 1/3, 1/5, so only the first two steps exceed θ = 1/2 and every horizon's error time
count is at most 2. So the two readings of (DM1) disagree sharply on this construction: unbounded
on the damaged run (dErrorTimes_reseed_eq_range), capped at 2 on the undamaged one.
Stage B — the P-fold carrier and the verifying decode #
The verifying copies ([Inevitability] §6, Finding 3): the members of the population whose current prediction of the base matches what the base actually does next. Verification is checkable against the observed transition, which is what a corrupted copy cannot spoof.
Equations
- ReflectiveSubsystems.verifiers S dec x v = {i : Fin P | dec (ReflectiveSubsystems.argmax (v i).raw) x = S x}
Instances For
The composite reading: the least-indexed verifying copy's prediction, falling back to
copy 0 when none verifies. Every theorem below arranges a verifying copy to exist, so the
fallback never fires in anything this file proves; it is here only to make the frame total.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Value agreement ([Inevitability] §6, Finding 3): any verifying copy decodes the observed transition — trivially, since verification means exactly that — so the composite reading is many-to-one in the copies exactly as the base-reading frame is many-to-one in codewords: a copy corrupt in its weights but correct in its prediction still reads right.
The decode, generalized and priced ([Inevitability] Theorem 6.6(vi), the decode half) #
compPredFrame's reading, argmax ∘ WVec.raw, is a function of a copy's own state and of nothing
else — so the search this section prices is stated over an arbitrary per-copy state space Fin n₂
and an arbitrary reading θ : Fin n₂ → Fin C, folded onto the flat carrier Fin (n₁ * n₂ ^ P) the
pricing layer needs a lensCode for. frameVerifiers/redundantCompFrame mirror
verifiers/compPredFrame exactly, List-valued rather than Finset-valued: List.finRange P
lists the copies in increasing order, so its filter's own head (List.getD · 0 default) is
already the least verifying index, without a separate minimality argument, and the same shape is
what the Primrec builder below needs.
The verifying copies, on an arbitrary per-copy reading ([Inevitability] §6, Finding 3,
generalized): verifiers, generalized from a raw weight vector's argmax ∘ WVec.raw reading to an
arbitrary per-copy state space Fin n₂ and reading θ.
Equations
- ReflectiveSubsystems.frameVerifiers S dec θ x v = List.filter (fun (i : Fin P) => decide (dec (θ (v i)) x = S x)) (List.finRange P)
Instances For
The composite reading, on an arbitrary per-copy reading ([Inevitability] §6, Finding 3,
generalized): the least-indexed verifying copy's decoded prediction, falling back to copy 0 when
none verifies — compPredFrame's own shape, generalized.
Equations
- ReflectiveSubsystems.redundantCompFrame S dec θ x v = dec (θ (v ((ReflectiveSubsystems.frameVerifiers S dec θ x v).getD 0 0))) x
Instances For
Value agreement, generalized — compPredFrame_eq_of_mem_verifiers's own argument, over
redundantCompFrame.
The composite decode, on the flat carrier ([Inevitability] §6, Theorem 6.6(vi), the decode
half — priced by KE_compFrameFlat_le). redundantCompFrame, folded onto Fin (n₁ * n₂ ^ P): x
is the base coordinate and v the P copies, read out of the composite fiber coordinate by
finFunctionFinEquiv.
Equations
- ReflectiveSubsystems.compFrameFlat S dec θ p = ReflectiveSubsystems.redundantCompFrame S dec θ (finProdFinEquiv.symm p).1 (finFunctionFinEquiv.symm (finProdFinEquiv.symm p).2)
Instances For
Non-vacuity: a flat state whose i-th copy verifies decodes to the base's own next state —
the flat analogue of compPredFrame_eq_of_mem_verifiers, over an arbitrary copy's raw reading
rather than membership in frameVerifiers.
The priced flat carrier is the composite guest's own state space ([Inevitability] Theorem
6.6(vi)'s identification, the last residue of clause (vi)): compFrameFlat's generalized decode,
instantiated at the per-copy space n₂ := (W + 1) ^ C with θ the fiber-only half of
ReflectiveSubsystems.argmaxFrame, agrees with compPredFrame on the composite's own carrier — the
flat Fin (n₁ * ((W + 1) ^ C) ^ P) is the population's own Fin P → WVec C W, read digitwise by
finFunctionFinEquiv at both levels (per copy, and over the population), exactly as compPredFrame
reads it directly. Neither side's tie-breaking order is observable here: every verifying copy
decodes to the same value S x (redundantCompFrame_eq_of_mem_verifiers,
compPredFrame_eq_of_mem_verifiers), so the two frames agree without needing frameVerifiers's
least index and verifiers's Finset.min' to be the same copy.
The decode's price: a bounded search over the population #
compFrameFlat's search is priced by the same recipe as ReflectiveSubsystems.skewTableFn (weave
two tables with one fixed builder) composed with PersistenceCapacity's bounded-search recipe
(filter List.range P, select by List.getD, precedented by candList/gradedTableFn): the three
ingredient tables and P are packed into one natural number, and one fixed builder — independent
of n₁, n₂, C, and P — reads the tables' own lengths to recover the structural sizes, exactly
as skewTableFn does. dec's table is fiberFlat dec's, at width n₁ (dec's own shape,
Fin C → Fin n₁ → Fin n₁, is fiberFlat's at (C, n₁)), so C is recovered as
(lensTable (fiberFlat dec)).length / n₁; n₁, n₂ are the other two tables' own lengths.
The composite decode's raw arithmetic, tabulated over one flat state q: x/w split q
at n2 ^ P (finProdFinEquiv's own convention), and the decode searches List.range P for the
least verifying copy, falling back to copy 0 — List.getD · 0 0 on a filtered List.range, the
candList/gradedTableFn recipe.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The composite decode's table. n1 := TS.length, n2 := Tθ.length are read off the tables,
so no size parameter is loaded — only P, which cannot be recovered from any table's length.
Equations
- ReflectiveSubsystems.compFrameTable TS Tdec Tθ P = List.map (ReflectiveSubsystems.compFrameEntry TS Tdec Tθ P) (List.range (TS.length * Tθ.length ^ P))
Instances For
The composite decode builder, from ⟨T_S, T_dec, T_θ, P⟩ — ONE fixed function, with P
the only loaded numeral.
Equations
- One or more equations did not get rendered due to their size.
Instances For
compFrameTableFn is partial recursive.
The fixed composite-decode builder code. One program, independent of the fiber, of n₁,
of n₂, of C, and of P.
Equations
Instances For
The composite decode's cheap code: run the three ingredient codes, load P as a binary
numeral, hand all four to the fixed builder.
Equations
- ReflectiveSubsystems.compFrameCode cS cDec cθ P = ReflectiveSubsystems.compFrameBuilder.comp (cS.pair (cDec.pair (cθ.pair (AdditiveComplexity.bconst P))))
Instances For
The decode's price ([Inevitability] Theorem 6.6(vi), the decode half — the theorem's one
remaining paper-level step, now closed). The three ingredient codes' lengths plus one addressing
term logarithmic in P (Nat.size P), plus an absolute constant independent of the world, of
n₁, n₂, C, and P. Assembled exactly as ReflectiveSubsystems.KE_skewWorldFin_powFiber_le
prices "P copies": the composed code runs a bounded search over the population rather than
carrying a P-fold table, so P enters through Nat.size P alone. Together with
ReflectiveSubsystems.KE_skewWorldFin_powFiber_le, this closes clause (vi) at the same level of
identification the rest of §6's pricing already runs at: the composite guest is P copies (there)
and the verifying decode (here), and both cost O (log n₁ + log P) over their own ingredients.
Stage C — the intact copy, and per-step survival #
The P-fold carrier's damaged run ([Inevitability] §6, Finding 3): every copy runs the
ordinary weighted-fiber generation under the same fitness stream; at a hit time t ∈ H, the
copies named by col t are overridden by land t instead, and every other copy still steps
ordinarily. col/land are consulted only at times in H.
Equations
- One or more equations did not get rendered due to their size.
- ReflectiveSubsystems.compRun W M v₀ H col land 0 = v₀
Instances For
An untouched copy's trajectory is the single undamaged run ([Inevitability] §6, Finding 3,
Stage C(i) — the definitional identity, stated explicitly). If copy i₀ is never named at any
hit time, damage never reaches it, and its own coordinate of the composite run is exactly
wRunFrom from its own start.
Per-step survival ([Inevitability] §6, Proposition 6.1(iii)'s invariant-reading regime,
assembled from Stages A–C). From a base point whose generating rule is realizable in the guest's
class, at any budget of at least two quanta: for any damage schedule touching fewer than P
distinct copies in total, the composite's reading agrees with the base's own next state at every
step past the intact copy's settling time — for any arrival pattern within the touch bound,
since nothing above used one.
The damaged and undamaged composites read the same ([Inevitability] §6, assembling survival against the plain construction): both equal the base's own next state, by the theorem above applied once to the schedule and once to no schedule at all.
The budget instantiation ([Inevitability] §6, Finding 4's closing move): on the realizable
branch the lifetime-free event count (FlooredMixture.floorErrorTimes_card_mul_le, 4(C-1)/θ) is
the touch bound's own source. At P strictly above c times that count, any damage schedule
confined to the run's own error times — at most c copies touched per error time — meets the
touch hypothesis at every horizon, since the event count does not grow with it. The witness rate's
own currency (the noisy branch's η) is not instantiated here; it is the assembly row's remark,
not a further theorem, and nothing above needed it.
The touch bound's other side: a schedule that touches every copy #
The installed vector: candidate 0 at the cap 4, candidate 1 at the floor.
Equations
- ReflectiveSubsystems.syncLand x✝¹ x✝ = ![4, 1]
Instances For
Guard: a copy's recovery does not rescue a fixed population against a rate
([Inevitability] Theorem 6.6(v), the touch bound's other side — IN-25). Two copies from the
uniform start, hit one per step with the same wrong leader installed, on a stream where that
leader then misses three steps running: at each of those steps every copy's heaviest candidate is
the one that misses, so no copy verifies and the composite reads wrong; at the step after, every
copy's heaviest candidate is the truth again — the recovery is real and buys nothing against
synchronization, since the copies were made to fail together. The burst is three steps, one more
than the budget's two doublings, because argmax keeps the incumbent at a tie.