Stability that scales with the coarse boundaries #
Category: 7-SigmaLayer (the record layer — Paper C A7).
BACKLOG #138 (out of #131 obligation (2)): the sharpening TwoWingStability.lean did not claim.
#103 bounded the microstates a record write relabels by N · δ, one boundary band per fine
cell, and TwoWingStability.lean inherited that bound for the coarse two-wing reading without
improving it. This file proves the bound the coarse reading deserves: one band per coarse
boundary, where a coarse boundary is an index k whose decoded value differs from that of the
cyclically next cell (IsCoarseBoundary, coarseBoundaryCount).
The argument #
- Every microstate lies in a basin (★
exists_mem_globalBasin). The rates sum to one, so the arcs tile(0, 1]exactly, not merely almost everywhere: thenonevalue offineIndexand the0value ofoutcomeCodeare never taken. This strengthensglobalBasin_ae_total. - A write of size
δ ≤ 1moves the representative byδ, wrapping at most once (rep_sigmaShift): eitherrep ↦ rep + δor, past the top of the turn,rep ↦ rep + δ − 1(rep_add_coe_of_one_lt, the wrap-around companion ofrep_add_coe). - A coarse relabelling crosses a coarse boundary within
δ(★★coarseCode_ne_subset). If the microstate sits in celliand the written point in celljwith different coarse values, then along the cyclic path fromitojsome consecutive pair of cells differs (exists_boundary_between, a discrete intermediate-value lemma), and the representative lies in the lastδbefore that boundary — read cyclically, so the band at a boundaryTis(T − δ, T] ∪ (T + 1 − δ, 1](cyclicBand), of epistemic measure at mostδ(★measure_cyclicBand_le). - Hence ★★★
measure_coarseCode_ne_le: the microstates whose coarse reading a write of sizeδ ≤ 1changes have epistemic measure at most#boundaries · δ; uniformly over the horizon (★★★measure_exists_coarseCode_ne_le) and under a drift (★★★measure_drift_coarseCode_ne_le). coarseBoundaryCount_le: the count is at mostN, so #103's bound is the worst case; and ★★coarseBoundaryCount_comp_le: a decoding that groups adjacent cells intomcontiguous blocks has at mostmboundaries, whatever the block values. For the two-wing record this is ★★★measure_wingCode_ne_le_of_blocks: a contiguous decoding into the experiment'sm = 4joint outcomes is stable outside a set of measure4 · δ, independent of the Hilbert dimensionN.
Honest scope #
- Writes of at most one turn (
δ ≤ 1,ω · T ≤ 1). A longer write can wrap several times; the bound#boundaries · δis then trivially true for any decoding with a boundary and the hypothesis is kept rather than discharged by that remark. - Contiguity is a hypothesis on the decoding, stated as a factorisation
w = v ∘ gthrough a monotone block mapg : Fin N → Fin m. The row's worry stands:LF6.pointerDecodegroups cells by the pointer half of an arbitrary index equivalence, which need not be contiguous, and for a non-contiguous decoding the count can beN. Nothing here chooses the equivalence. - The row's first deliverable, "a write moves a microstate to the next cell or nowhere", is true
only when the write is shorter than the next cell; the covering lemma above replaces it by the
statement that holds for every
δ ≤ 1. - The write is the fibre translation
sigmaShift, as in #103 andTwoWingStability.lean: the base and the symplectic partner are fixed; no base motion is composed with this, and this is not invariance and contains no mixing claim.
References: specs/BACKLOG.md #138, #131 obligation (2), #103;
RecordLayer/MacrostateStability.lean (sigmaShift, cellTop, edgeBand, measure_edgeBand_le,
measure_unstableSet_le), RecordLayer/TwoWingStability.lean (measure_wingCode_ne_le, the
bound sharpened here), RecordLayer/TwoWingCoarsening.lean (fineIndex, wingCode),
RecordLayer/CircleFibre.lean (rep_add_coe, volume_rep_preimage_Ioc),
RecordLayer/NullSeamGeneralN.lean (loSum_succ_val, loSum_last_add),
LF6/TwoWingRecord.lean (pointerDecode).
Every microstate lies in a basin #
★ Every microstate lies in a basin. The rates sum to one, so the arcs tile the whole turn:
the fine code is never 0. Strengthens globalBasin_ae_total.
The fine code is never 0.
The fine index is never none.
The written representative: forward by δ, wrapping at most once #
A write of at most one turn moves the representative by δ, wrapping at most once.
Cell endpoints #
The upper endpoint of a cell is non-negative.
Cell tops are monotone in the index.
A cell's top is at most the lower endpoint of every later cell.
The last cell ends at the top of the turn.
The cyclic successor and the coarse boundaries #
A coarse boundary of a decoding w: an index whose value differs from the cyclically next
one.
Equations
- CSD.RecordLayer.IsCoarseBoundary w k = (w k ≠ w (CSD.RecordLayer.nextIdx k))
Instances For
The coarse boundaries of a decoding, as a finite set.
Equations
Instances For
The number of coarse boundaries of a decoding.
Equations
Instances For
There are at most N coarse boundaries: #103's count is the worst case.
The cyclic boundary band #
The part of a boundary band that wraps past the top of the turn: the representatives within
δ of the boundary T through 1, i.e. in (T + 1 − δ, 1].
Equations
- CSD.RecordLayer.wrapBand c δ k = {x : CSD.LF4.KSigma N | CSD.RecordLayer.cellTop c k x + 1 - δ < CSD.RecordLayer.rep x.2.1}
Instances For
The cyclic boundary band at the top of cell k: the representatives within δ before the
boundary, read around the circle.
Equations
- CSD.RecordLayer.cyclicBand c δ k = CSD.RecordLayer.edgeBand c δ k ∪ CSD.RecordLayer.wrapBand c δ k
Instances For
A smaller write has a smaller band.
★ The cyclic band is small: its epistemic measure is at most δ, however the band wraps.
The two pieces have measures min T δ and (δ − T)₊, which sum to δ.
A coarse relabelling crosses a coarse boundary within δ #
The coarse code of a microstate under a decoding u: the fine index, decoded. The two-wing
code wingCode is this with u = w.
Equations
- CSD.RecordLayer.coarseCode c u x = Option.map u (CSD.RecordLayer.fineIndex c x)
Instances For
★★ A write that changes the coarse reading puts the microstate in a cyclic band at a coarse
boundary. Along the cyclic path from the microstate's cell to the written point's cell some
consecutive pair of cells decodes differently, and the representative lies within δ before that
boundary, read around the circle.
★★★ The bounds #
★★★ Stability that scales with the coarse boundaries. The microstates whose coarse reading a
write of size δ ≤ 1 changes have epistemic measure at most #boundaries · δ.
★★★ One exceptional set serves the whole horizon: a smaller write has a smaller band.
★★★ Persistence over a horizon, scaling with the coarse boundaries. Under a drift of the
record coordinate at rate ω for a total of at most one turn, the coarse reading survives all of
[0, T] outside a set of measure #boundaries · ω · T.
Contiguous decodings have few boundaries #
Under a monotone block map, the images of the cyclic successors of two distinct boundaries
differ: strictly increasing values between non-wrapping boundaries, and the wrap boundary's
successor image g 0 lies below every other successor image.
★★ A decoding that groups adjacent cells into m contiguous blocks has at most m coarse
boundaries, whatever values the blocks carry. The successor image is injective on the
boundaries.
★★★ The two-wing record under a contiguous decoding is stable in proportion to its outcome
count, not the Hilbert dimension. If the decoding groups adjacent cells into m blocks, the
microstates whose two-wing reading a write of size δ ≤ 1 changes have epistemic measure at most
m · δ. For the experiment's four joint outcomes, m = 4, whatever N is.
★★★ Persistence of the two-wing record over a horizon, in proportion to the outcome count.