The ledger's frame count and the truncated itinerary ([Persistence] §6, Theorem 6.5) #
ReflectiveSubsystems/PersistenceCapacity.lean prices a two-frame family (ledger_graded, Theorem
6.4). This module prices a family read at any finite set of times: a permutation V is
consistent with the frames held at S when it carries each frame at a time t ∈ S back to the
frame one step earlier, and the consistent permutations number one bijection per block of the
joint partition the frames at S induce (itinerary, Consistent, consistent_card). Theorem
6.5(ii)'s ∏_z c^B_z! is this count at S = Bminus B, the members of B whose predecessor is also
in B (consistent_card_bminus); clause (i) is the same count read at the truncated itinerary
R_{k−1} rather than at its U-shift (consistent_card_consecutive); and at S = {1} the count
collapses to Theorem 6.4's own coset, card_stabilizer_lens (ℓ 0) (consistent_card_one), so the
general statement still says Theorem 6.4 at its bottom end.
Theorem 6.5's K (U) ≤ … display itself — the decoder that loads a variable-length list of frame
codes and pays elen per element — is machine-checked too, in PersistenceCapacity.lean
(ledger_itinerary, ledger_itinerary_consecutive): a new Primrec construction rather than a
generalization of gradedBuilder, over an explicit List ℕ of held times. This module's own
consistentWith_sort_eq_consistent_bminus/consistentWith_range_eq_consistent_ico identify that
list-indexed set with Consistent at Bminus B/Finset.Ico 1 k exactly, so
ledger_itinerary_bminus/ledger_itinerary_range below restate the two displays at B/k
directly, with N supplied by consistent_card_bminus/consistent_card_consecutive.
A sharper fact holds at an injective itinerary ([Persistence] §8, Proposition 8.38(i)): when
itinerary ℓ S is injective, U is the ONLY permutation consistent with the frames held at S,
not merely the count's own witness — consistent_unique_of_injective, with
consistent_unique_of_injective_bminus its instance at S = Bminus B, the set Proposition 8.38's
own argument reads.
The one-step identity #
Persistence, one step at a time ([Persistence] §6, the identity Theorem 6.5's proof reads at
each t ∈ B^-): PermCarries gives ℓ t ∘ U ^ t = ℓ 0; solving two consecutive instances of that
against each other gives the step form ℓ t (U x) = ℓ (t − 1) x, holding at every x rather than
merely along U's own orbit through a fixed point.
The consistent-permutation count #
The itinerary read at a set of times: the frames held at S, packaged as one lens with
codomain ↥S → Fin m. Its stabilizer's fibers are the blocks of the joint partition
⋀_{t ∈ S} P_t.
Equations
- ReflectiveSubsystems.itinerary ℓ S x t = ℓ (↑t) x
Instances For
Consistency with the frames held at S ([Persistence] §6, Theorem 6.5's proof): a
permutation V is consistent when it carries every t ∈ S's frame back to the frame one step
earlier, ℓ t (V x) = ℓ (t − 1) x.
Equations
Instances For
The ledger at any frames, counting core ([Persistence] §6, Theorem 6.5's ∏_z c_z!, at
general S): the permutations consistent with the frames held at S number one bijection per
block of the joint partition ⋀_{t ∈ S} P_t — 0 ∉ S is required so every constraint has a
genuine predecessor frame in hand. The product runs over the WHOLE codomain ↥S → Fin m; an
unoccupied block contributes 0! = 1, which is why this matches the occupied-block form Theorem
6.5 states.
Proposition 8.38(i): uniqueness at a separating set #
At a separating set the world is the unique consistent permutation ([Persistence] §8,
Proposition 8.38(i)): when itinerary ℓ S is injective, x and U x share exactly the pattern
itinerary ℓ S assigns to x's predecessor under any V ∈ Consistent ℓ S — since both U and V
carry the frames at S back to the frames one step earlier — so injectivity forces V x = U x at
every x directly, with no appeal to consistent_card's counting route.
Theorem 6.5(ii): any frames at all #
B^- ([Persistence] §6, Theorem 6.5(ii)): the members of B whose predecessor is also in
B — the only times at which a V consistent with the frames held at B is genuinely constrained,
since those are the times at which both ℓ t and ℓ (t − 1) are in hand.
Instances For
The ledger at any frames ([Persistence] §6, Theorem 6.5(ii)'s counting core): for an
arbitrary finite set of times B, the permutations consistent with the frames held at B — read at
exactly the times Bminus B the proof isolates — number one bijection per block of
⋀_{t ∈ Bminus B} P_t.
The decoder at Bminus B ([Persistence] §8, Proposition 8.38(i), read at the times
Theorem 6.5(ii) and Proposition 8.20's proof draw from): consistent_unique_of_injective at
S := Bminus B, which already excludes 0 (zero_not_mem_Bminus).
Theorem 6.5(i): consecutive frames, at the truncated itinerary #
The ledger at k consecutive frames, read at the truncated itinerary
([Persistence] §6, Theorem 6.5(i)): for k ≥ 2, the permutations consistent with frames
ℓ 0, …, ℓ (k − 1) number one bijection per block of R_{k−1} := ⋀_{t < k−1} P_t — the
truncated itinerary itself, not its U-shift ⋀_{1 ≤ t < k} P_t that consistent_card reads
directly. U is the transport between the two: permCarries_step shows
itinerary ℓ (Ico 1 k) (U x) reindexes to R_{k−1} x along Finset.Ico 1 k ≃ Fin (k − 1),
t ↦ t − 1, and x ↦ U⁻¹ x carries a fiber of one partition onto the corresponding fiber of the
other.
Non-vacuity: k = 2 is Theorem 6.4 #
The general theorem still says Theorem 6.4 at k = 2 ([Persistence] §6, Theorem 6.5's
bottom end): consistency at the single time S = {1} is exactly Theorem 6.4's own coset condition
ℓ 1 (V x) = ℓ 0 x, so the count is card_stabilizer_lens (ℓ 0)'s value — permCarries_frame_one
gives ℓ 1 = U • ℓ 0, matching the fibers.
Theorem 6.5's K (U) ≤ … display #
ReflectiveSubsystems.ConsistentWith reads the same consistency condition as Consistent here, but
over an explicit List ℕ of held times rather than a Finset ℕ — the currency the decoder's
Primrec construction needs. The two bridge lemmas below identify the sets exactly, so
ReflectiveSubsystems.ledger_itinerary/ledger_itinerary_consecutive — the machine-checked
decoder, built there — apply here with N supplied from
consistent_card_bminus/consistent_card_consecutive.
ConsistentWith at a sorted B, Consistent at Bminus B, are the same set: both name
exactly the pairs t = t' + 1 with t, t' ∈ B, ConsistentWith over the pair directly and
Consistent over t ∈ Bminus B with t' := t - 1 read off the definition. Sortedness is not
load-bearing for the identity — only for which List ℕ the decoder below is handed.
ConsistentWith at List.range k, Consistent at Finset.Ico 1 k, are the same set: the
pairs t = t' + 1 inside [0, k) are exactly the times t ∈ [1, k), t' := t - 1.
The ledger at any frames ([Persistence] §6, Theorem 6.5(ii)'s display), read at B
directly: ledger_itinerary at bs := B.sort (· ≤ ·), with the frame/size sums restated as
Finset sums over B, the length as B.card, and N supplied exactly by
consistent_card_bminus.
The ledger at k consecutive frames ([Persistence] §6, Theorem 6.5(i)'s display):
ledger_itinerary_consecutive at bs := List.range k, with N supplied exactly by
consistent_card_consecutive, so the index is read at the truncated itinerary R_{k−1} itself.
Proposition 8.30: a reading constant off an invariant region #
A region left unread carries no constraint ([Persistence] §8, Proposition 8.30's own
reading, generalized off its specific construction): when the reference frame is constant off a
U-invariant block B, EVERY frame is constant off B, and at the SAME value — B's complement
is closed under U and hence under every (U ^ t)⁻¹ (image_perm_eq/mem_iff_apply_mem,
[PersistenceCapacity]), so permCarries_step's identity ℓ t z = ℓ 0 ((U ^ t)⁻¹ z) reads the same
off-B value at every t. Bᶜ therefore sits inside a single block of the joint partition
itinerary ℓ S induces, and the whole symmetric group of Bᶜ stays consistent with the frames held
at S: the frames pin down nothing at all on the complement.
Two load-bearing hypotheses #
Both witnesses are checked exhaustively over the concrete family below (n = 3, m = 2): each
shows Consistent collapses to the empty set while the itinerary's block-count product stays
positive, so the two sides of consistent_card's conclusion cannot agree — the count formula
genuinely needs the hypothesis it is dropped from.
Axiom audit #
The ten capstones above are #print axioms-clean on the standard triple, and the guards below
make that build-enforced.