Documentation

ReflectiveSubsystems.GrowingPrice

The pricing economy's growing form: the counting core ([Persistence] §6, §7; [Guests] §7) #

ReflectiveSubsystems.Persistence.Counting prices a description-bounded observer of a FIXED carrier — the graded ledger (Theorem 6.4) and the Collapse Theorem (Theorem 7.3) are both stated over permutations of a fixed n-state core. [Guests] §7 gives the corpus its growing carrier (the classes of the merge quotient represented in a fiber, Nonautonomous.mergeFiber) but no priced economy over it: Proposition 7.4 there disclaims carrying over its finite branch's pricing and ownership clauses for a guest, and [Persistence]'s fixed-carrier economy has no growing counterpart at all. The two fixed-carrier theorems transport by two different routes, because they rest on two different facts about a permutation world. Theorem 7.3 rests on DETERMINATION — persistence at t = 1 makes U invertible, so a later frame fixes the earlier world outright — and determination is false for a fiber law that is merely injective (exists_ne_frames_agreeing_on_range below): the theorem does not transport, and no clause below assumes it does. Theorem 6.4 rests only on a COSET count — no inverse, no group, no transitive action — and that count DOES transport, with falling factorials where the fixed-carrier count has ordinary ones (card_lawsConsistentWith), because an embedding's consistency with a given pair of frames is a fibrewise condition whether or not the embedding is invertible.

This module states the counting core at bare enumerated finite types (Fin n ↪ Fin m), exactly as ReflectiveSubsystems.Persistence.Counting states the fixed-carrier collapse at Perm (Fin n) rather than at an abstract world. Connecting a particular positively invariant nonautonomous set's fibers to these numerals needs the finiteness hypothesis a general nonautonomous set does not carry (Nonautonomous.PositivelyInvariant has none) threaded explicitly at each time — fiberLawEmb and collapse_union_growing below take exactly that step, at a chosen enumeration of the two sets of classes named finite.

An earlier round of this module landed a hypothesis-form collapse quantified over ALL affordable frame pairs; that quantifier is VACUOUS — a coarse (constant) frame is always affordable and always admits the whole law population, so no deductible bound D short of the population itself can ever satisfy it. ReflectiveSubsystems.collapse_union ([Persistence] §7, Corollary 7.4) faces exactly this at a fixed carrier and answers it by tuning the budget PER FRAME to that frame's own carried entropy and summing with the Kraft inequality rather than fixing one uniform deductible: transported here, that excludes the constant frame outright, because its deductible IS the whole population. collapse_union_fiberPair below is that transported bound, kraft_lensCode the two-frame Kraft step it needs, and exists_qualifying_pair_of_pos the witness proving its exceptional set is not itself empty — the property the deleted hypothesis-form bound never had.

Main results #

Scope #

The complexity-FORM transport — Theorem 6.4's K(U) ≤ … display itself, rather than the population it counts — is not attempted here: it needs the source module's decoder scaffolding (candidate enumeration, a validity predicate, a Primrec encoding builder) rebuilt at an embedding numeral in place of PersistenceCapacity's permutation numeral, machinery on the scale of ReflectiveSubsystems.Persistence.Counting's own graded-ledger section rather than an addition to it.

The bridge from a particular positively invariant nonautonomous set's fibers (Nonautonomous.PositivelyInvariant, Nonautonomous.mergeFiber) to the bare numerals this module counts IS taken, by fiberLawEmb and collapse_union_growing below. The fiber-to-fiber injection a positively invariant nonautonomous set's own law supplies is already exactly Nonautonomous.mergeFiber_injOn composed with Nonautonomous.positivelyInvariant_mergeFiber, and building the embedding from it needs nothing further — an earlier note here predicted Nonautonomous.Reaches.mergeLaw would be the one further fact a growing carrier needs, but the landed bridge does not consume it: reachability under the INDUCED law is a different question from the one fiber-to-fiber step this bridge transports. The transported statement is relative to a CHOSEN enumeration of the two sets of classes (Set.Finite.toFinset) — the same enumeration-relativity [Persistence] §2.1's encoding convention already carries and [Persistence] §5's C_b is stated against — and it prices only the fiber-to-fiber law itself: it is silent about the world's law on states outside the two named profiles.

Determination fails for an injective fiber law #

theorem ReflectiveSubsystems.exists_ne_frames_agreeing_on_range {n m : ℕ} (h : n < m) (μ : Fin n ↪ Fin m) :
∃ (ℓ' : Fin m → Fin 2) (ℓ'' : Fin m → Fin 2), ℓ' ≠ ℓ'' ∧ ∀ (q : Fin n), ℓ' (μ q) = ℓ'' (μ q)

Determination fails ([Persistence] §7, Theorem 7.3's proof): over a permutation world the proof reads persistence at t = 1 as ℓ_1(U s) = ℓ_0(s) with U invertible, so ℓ_1 = ℓ_0 ∘ U⁻¹ outright and the later frame is determined by (ℓ_0, U). An injective fiber law has no inverse to invoke: whenever the domain is strictly smaller than the codomain, some point sits outside the embedding's range, and two frames that agree everywhere on the range can differ there — so the embedding alone pins down no unique later frame. This is why collapse_union_fiberPair below is stated over PAIRS of frames rather than a single determined one.

The law population #

The law population: the growing analogue of Fintype.card_perm's role at a fixed carrier — the injective fiber laws from an n-state world into an m-state one number the descending factorial m.descFactorial n, Mathlib's own count for Fin n ↪ Fin m (Fintype.card_embedding_eq).

The deductible, exact #

theorem ReflectiveSubsystems.card_lawsConsistentWith {n m k : ℕ} (ℓ : Fin n → Fin k) (ℓ' : Fin m → Fin k) :
Nat.card { μ : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ q) = ℓ q } = ∏ i : Fin k, (Nat.card { y : Fin m // ℓ' y = i }).descFactorial (Nat.card { x : Fin n // ℓ x = i })

The deductible, exact ([Persistence] §6, Theorem 6.4's proof, transported): at a permutation world the worlds carrying a fixed frame ℓ_0 to a given later frame ℓ_1 form one coset of ℓ_0's fibre stabilizer, of size ∏ᵢ (fiberᵢ)! (ReflectiveSubsystems.card_stabilizer_lens). At a growing world the later frame ℓ' need not determine — and, by exists_ne_frames_agreeing_on_range, in general does not determine — a unique embedding; what survives is that the embeddings consistent with a GIVEN pair (ℓ, ℓ') are exactly the maps carrying each ℓ-fibre injectively into the matching ℓ'-fibre, independently fibre by fibre, so their count is a PRODUCT of descending factorials rather than a product of factorials — falling factorials where Lemma 7.1's stabilizer count has ordinary ones, and one term per fibre of the EARLIER frame rather than one coset.

The constant-fiber recovery #

The constant-fiber recovery, population side: at m = n the injective self-maps of a finite type are exactly its permutations, and Nat.descFactorial_self collapses card_fiberLaws to Fintype.card_perm's own count — the finite-collapse population reappearing as the degenerate case of the growing one, rather than assumed independently.

theorem ReflectiveSubsystems.card_lawsConsistentWith_self {n k : ℕ} (ℓ : Fin n → Fin k) :
Nat.card { μ : Fin n ↪ Fin n // ∀ (q : Fin n), ℓ (μ q) = ℓ q } = ∏ i : Fin k, (Nat.card { x : Fin n // ℓ x = i }).factorial

The constant-fiber recovery, deductible side: at m = n and ℓ' = ℓ, card_lawsConsistentWith's falling factorials collapse, again by Nat.descFactorial_self, to the ordinary factorials of ReflectiveSubsystems.card_stabilizer_lens — Theorem 6.4's coset term exactly, recovered as the degenerate case rather than assumed. This is the sentence that makes the growing counts genuine generalizations of the finite collapse rather than a coincidence of shape.

The Kraft-weighted union, time-indexed #

theorem ReflectiveSubsystems.kraft_lensCode (p q : ℕ) :
∑' (ℓ : Fin p → Fin q), (1 / 2) ^ AdditiveComplexity.KE (lensCode ℓ) ≤ 1

The Kraft sum over frames, at a fixed domain and codomain ([Persistence] §7, Corollary 7.4's Kraft step, transported): lensCode is injective at any FIXED (p, q) (lensCode_injective'), so — unlike ReflectiveSubsystems.collapse_union's own Kraft step, which must first restrict to SURJECTIVE lenses to recover injectivity across VARYING codomains — no such restriction is needed here: reindexing the object-indexed Kraft inequality AdditiveComplexity.kraft_KE along lensCode bounds the frame-indexed sum directly. collapse_union_fiberPair below applies this twice, once per frame named.

theorem ReflectiveSubsystems.collapse_union_fiberPair {n m k : ℕ} (d : ℕ) :
{μ : Fin n ↪ Fin m | ∃ (ℓ : Fin n → Fin k) (ℓ' : Fin m → Fin k), (∀ (q : Fin n), ℓ' (μ q) = ℓ q) ∧ 2 ^ (AdditiveComplexity.KE (lensCode ℓ) + AdditiveComplexity.KE (lensCode ℓ') + d + 2) * Nat.card { μ' : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ' q) = ℓ q } < m.descFactorial n}.ncard * 2 ^ d ≤ m.descFactorial n

The Kraft union collapse, pair form ([Persistence] §7, Corollary 7.4, transported): summing the per-pair bound over ALL pairs of frames at once — as ReflectiveSubsystems.collapse_union sums ReflectiveSubsystems.collapse_union_frame over reference frames — except TWO Kraft factors enter rather than one, because an injective fiber law pays for BOTH ends of the pair (exists_ne_frames_agreeing_on_range: no single frame determines the other, so nothing here can be priced off one reference frame the way a permutation world's second frame is). For every d, the embeddings admitting a frame pair (ℓ, ℓ') whose two-frame description still falls d + 2 below the EXACT population its consistency class buys number at most m.descFactorial n / 2 ^ d — the budget-b, uniform-deductible shape of the deleted hypothesis-form bound replaced by the Kraft-summed, budget-free bound this module's docstring calls for.

Non-vacuity: a witness #

theorem ReflectiveSubsystems.exists_qualifying_pair_of_pos :
∃ (n : ℕ) (m : ℕ) (k : ℕ) (d : ℕ) (ℓ : Fin n → Fin k) (ℓ' : Fin m → Fin k), 0 < Nat.card { μ : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ q) = ℓ q } ∧ 2 ^ (AdditiveComplexity.KE (lensCode ℓ) + AdditiveComplexity.KE (lensCode ℓ') + d + 2) * Nat.card { μ : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ q) = ℓ q } < m.descFactorial n

Non-vacuity: some pair genuinely lands in collapse_union_fiberPair's exceptional set — the property the deleted hypothesis-form bound never had. At n = m = k = N and ℓ = ℓ' = id, consistency forces μ = id (μ q = q for every q pins the embedding down completely), so the count is exactly 1 against the full population N ! (Nat.descFactorial_self); id's own cost is O (Nat.size N) (ReflectiveSubsystems.rangeCode, lensCode_id, AdditiveComplexity.invariance_general), and N ! beats any FIXED rate of exponential growth in N (exists_pow_lt_factorial), so a large enough N clears the qualifying threshold with d := 0 to spare.

The engine: the deductible is constant on the earlier frame's relabelling orbit #

([Guests] §7 Theorem 7.13(i)): the fact the time-indexed capacity's cap needs to bracket it, built from card_fiberLaws, card_lawsConsistentWith and card_orbit_mul_prod_fiber alone — no orbit–stabilizer analogue at the SECOND carrier, since the deductible's own invariance under relabelling the first carrier stands in its place.

theorem ReflectiveSubsystems.deductible_smul_invariant {n m k : ℕ} (ℓ : Fin n → Fin k) (ℓ' : Fin m → Fin k) (σ : Equiv.Perm (Fin n)) :
Nat.card { μ : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ q) = (ℓ ∘ ⇑σ⁻¹) q } = Nat.card { μ : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ q) = ℓ q }

The deductible is invariant under relabelling the earlier frame ([Guests] §7, Theorem 7.13(i), first fact): precomposing a consistent embedding with σ⁻¹ is a bijection between the consistency class of (ℓ, ℓ') and that of (ℓ ∘ σ⁻¹, ℓ') — relabelling the earlier frame by a permutation of its own domain moves which embedding realizes a given consistency class without changing that class's SIZE.

theorem ReflectiveSubsystems.sum_deductible_eq_card_fiberLaws {n m k : ℕ} (ℓ' : Fin m → Fin k) :
∑ ℓ : Fin n → Fin k, Nat.card { μ : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ q) = ℓ q } = m.descFactorial n

The deductibles sum to the population ([Guests] §7, Theorem 7.13(i), second fact): a candidate μ determines exactly one earlier frame ℓ' ∘ μ for a FIXED later frame ℓ', so card_fiberLaws's falling-factorial count decomposes, fibre by fibre over ℓ''s target Fin n → Fin k, into the deductibles of every possible earlier frame.

theorem ReflectiveSubsystems.orbit_mul_deductible_le {n m k : ℕ} (ℓ : Fin n → Fin k) (ℓ' : Fin m → Fin k) :
Nat.card ↑(MulAction.orbit (Equiv.Perm (Fin n)) ℓ) * Nat.card { μ : Fin n ↪ Fin m // ∀ (q : Fin n), ℓ' (μ q) = ℓ q } ≤ m.descFactorial n

The engine ([Guests] §7, Theorem 7.13(i)): a frame ℓ's relabelling class times its deductible against any later frame ℓ' never exceeds the candidate population — the elementary fact the time-indexed capacity's cap rests on, needing neither an inverse nor an orbit–stabilizer count at the second carrier. The orbit's members are distinct earlier frames all carrying ℓ's own deductible value (deductible_smul_invariant), and they are summands of sum_deductible_eq_card_fiberLaws's total.

The time-indexed carried entropy, and its cap ([Guests] §7 Definition 7.12, Theorem 7.13(ii)) #

The time-indexed capacity is stated at its full, unbounded-label-count generality, matching Definition 7.12's own "a frame pair (ℓ, ℓ')" verbatim. Its cap, CbHs_collapse below, is proved — like collapse_union_fiberPair itself — at a FIXED label count k rather than by a union over every k: kraft_lensCode's Kraft step is injective only at a fixed codomain, and recovering it across varying codomains needs surjectivity (ReflectiveSubsystems.collapse_union's own route), which neither FiberBudgetedEntropies nor its cap assumes. This is the same modelling choice collapse_union_fiberPair's own docstring already makes for Theorem 7.11(v); CbHs_collapse_growing below inherits it in the same shape collapse_union_growing inherits collapse_union_fiberPair's.

The time-indexed carried entropies affordable at budget b ([Guests] §7, Definition 7.12): the relabelling-class sizes N = Nat.card (orbit ℓ) of the earlier frames of pairs (ℓ, ℓ') consistent with μ, each costing at most b bits. The label count k is not fixed, matching Definition 7.12's own "a frame pair (ℓ, ℓ')" — a maximum over pairs at every label count, not one chosen in advance.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def ReflectiveSubsystems.CbHs {n m : ℕ} (μ : Fin n ↪ Fin m) (b : ℕ) :

    The time-indexed capacity ([Guests] §7, Definition 7.12): C_b^{H,t}(μ) in cardinality form — the largest carried entropy, as the relabelling-class size 2 ^ E, of a frame pair consistent with μ whose two frames cost at most b bits each. sSup ∅ = 0: a budget affording no such pair carries nothing.

    Equations
    Instances For
      theorem ReflectiveSubsystems.CbHs_collapse {n m : ℕ} (k b d : ℕ) :
      {μ : Fin n ↪ Fin m | ∃ (ℓ : Fin n → Fin k) (ℓ' : Fin m → Fin k), (∀ (q : Fin n), ℓ' (μ q) = ℓ q) ∧ AdditiveComplexity.KE (lensCode ℓ) ≤ b ∧ AdditiveComplexity.KE (lensCode ℓ') ≤ b ∧ 2 ^ (2 * b + d + 2) < Nat.card ↑(MulAction.orbit (Equiv.Perm (Fin n)) ℓ)}.ncard * 2 ^ d ≤ m.descFactorial n

      The time-indexed capacity's cap, at a fixed label count ([Guests] §7, Theorem 7.13(ii); collapse_union_fiberPair folded with the two frames' budgets, exactly as CbH_collapse folds PermBudget's two frame costs into ReflectiveSubsystems.collapse_union): outside a 2 ^ (-d) fraction of the candidates, every consistent pair (ℓ, ℓ') at label count k costing at most b bits each has Nat.card (orbit ℓ) ≤ 2 ^ (2 * b + d + 2) — the deduction is one line from orbit_mul_deductible_le: the deductible is non-zero because μ is itself consistent with the pair, so 2 ^ (K(ℓ) + K(ℓ') + d + 2) · deductible ≥ POP ≥ Nat.card (orbit ℓ) · deductible forces the cap whenever μ clears collapse_union_fiberPair's own threshold.

      The bridge: a particular positively invariant nonautonomous set's fiber law, transported #

      noncomputable def ReflectiveSubsystems.fiberLawEmb {X : Type u_1} {U : X → X} {Ω : ℕ → Set X} (hadv : Nonautonomous.PositivelyInvariant U Ω) (t : ℕ) (hf : (Nonautonomous.mergeFiber U Ω t).Finite) (hf' : (Nonautonomous.mergeFiber U Ω (t + 1)).Finite) :

      The fiber law, transported ([Guests] §7, Definition 7.1 for PositivelyInvariant, Definition 7.6 for mergeFiber): a positively invariant nonautonomous set's own fiber-to-fiber law — Nonautonomous.mergeLaw restricted from the classes represented in the fiber at t to those represented in the fiber at t + 1, MapsTo from positivelyInvariant_mergeFiber and InjOn from mergeFiber_injOn — transported along a CHOSEN enumeration of the two profiles (Set.Finite.toFinset, via hf/hf') into the embedding numeral collapse_union_growing below prices. The object depends on that enumeration: a different choice gives a different embedding, though the same numerals hf.toFinset.card/hf'.toFinset.card — the same enumeration-relativity [Persistence] §2.1's encoding convention already carries and [Persistence] §5's C_b is stated against.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem ReflectiveSubsystems.collapse_union_growing {X : Type u_1} {U : X → X} {Ω : ℕ → Set X} (hadv : Nonautonomous.PositivelyInvariant U Ω) (t d : ℕ) (hf : (Nonautonomous.mergeFiber U Ω t).Finite) (hf' : (Nonautonomous.mergeFiber U Ω (t + 1)).Finite) {k : ℕ} :
        Nonempty (Fin hf.toFinset.card ↪ Fin hf'.toFinset.card) ∧ {μ : Fin hf.toFinset.card ↪ Fin hf'.toFinset.card | ∃ (ℓ : Fin hf.toFinset.card → Fin k) (ℓ' : Fin hf'.toFinset.card → Fin k), (∀ (q : Fin hf.toFinset.card), ℓ' (μ q) = ℓ q) ∧ 2 ^ (AdditiveComplexity.KE (lensCode ℓ) + AdditiveComplexity.KE (lensCode ℓ') + d + 2) * Nat.card { μ' : Fin hf.toFinset.card ↪ Fin hf'.toFinset.card // ∀ (q : Fin hf.toFinset.card), ℓ' (μ' q) = ℓ q } < hf'.toFinset.card.descFactorial hf.toFinset.card}.ncard * 2 ^ d ≤ hf'.toFinset.card.descFactorial hf.toFinset.card

        The collapse, at a positively invariant nonautonomous set ([Persistence] §7 Corollary 7.4 for the bound instantiated, [Guests] §7 for the objects it is instantiated at): collapse_union_fiberPair read at fiberLawEmb's own domain and codomain sizes, together with the fact — new content hadv buys, since collapse_union_fiberPair alone is silent on it — that the set's own fiber-to-fiber law is one genuine inhabitant of Fin hf.toFinset.card ↪ Fin hf'.toFinset.card, the population the bound prices; without hadv that population could be empty (hf.toFinset.card > hf'.toFinset.card), and the bound would hold of nothing. This is what makes the conclusion a statement about (U, Ω) at time t, relative to the same chosen enumeration fiberLawEmb's docstring names: it prices the fiber-to-fiber law of the presented positively invariant nonautonomous set (X, U, Ω), and it is silent about U's law on states outside the two sets of classes mergeFiber U Ω t/mergeFiber U Ω (t + 1) name.

        The floor, and the two recoveries ([Guests] §7 Theorem 7.13(iii)–(iv)) #

        markingLens's transport is FORWARD along an embedding — no permutation, no inverse — which is why the floor holds uniformly in the fiber law rather than needing the law to be a member of any group.

        theorem ReflectiveSubsystems.markingLens_comp_embedding {n m r : ℕ} (μ : Fin n ↪ Fin m) {x : Fin r → Fin n} (hx : Function.Injective x) (q : Fin n) :
        markingLens (⇑μ ∘ x) (μ q) = markingLens x q

        The marks transport forward along an embedding ([Guests] §7, Theorem 7.13(iii), the transport step): a marked point's image carries its label, and an unmarked point's image is unmarked because μ separates it from every mark — the fiber's m − n new classes all reading the default label, which is what every marking lens gives its unmarked points.

        theorem ReflectiveSubsystems.CbHs_ge_marking {n m r : ℕ} {μ : Fin n ↪ Fin m} {x : Fin r → Fin n} (hx : Function.Injective x) (hrn : r < n) (hrm : r < m) {b : ℕ} (hb : 6 * (15 + AdditiveComplexity.elen AdditiveComplexity.dbl) * ((r + 1) * m.size) + (AdditiveComplexity.elen markBuilder + 7 * (15 + AdditiveComplexity.elen AdditiveComplexity.dbl) + 3) ≤ b) :
        n.factorial ≤ CbHs μ b * (n - r).factorial

        The floor, uniform in the fiber law ([Guests] §7, Theorem 7.13(iii)): over every candidate μ, and with no hypothesis on it beyond injectivity, the marking pair (markingLens x, markingLens (⇑μ ∘ x)) is consistent with μ (markingLens_comp_embedding) and carries entropy log₂ (n ! / (n − r)!) as soon as the marking price is met on the LARGER carrier — KE_markingLens_le at m already bounds the price at n, since Nat.size n ≤ Nat.size m.

        The constant-fiber recovery ([Guests] §7, Theorem 7.13(iv)): at a permutation world's own frame family, dropping PermCarries's surjectivity requirement only enlarges the pairs available, so the fixed-carrier capacity is bounded by the time-indexed one at the world's own embedding.

        theorem ReflectiveSubsystems.CbHs_collapse_growing {X : Type u_1} {U : X → X} {Ω : ℕ → Set X} (hadv : Nonautonomous.PositivelyInvariant U Ω) (t k b d : ℕ) (hf : (Nonautonomous.mergeFiber U Ω t).Finite) (hf' : (Nonautonomous.mergeFiber U Ω (t + 1)).Finite) :
        Nonempty (Fin hf.toFinset.card ↪ Fin hf'.toFinset.card) ∧ {μ : Fin hf.toFinset.card ↪ Fin hf'.toFinset.card | ∃ (ℓ : Fin hf.toFinset.card → Fin k) (ℓ' : Fin hf'.toFinset.card → Fin k), (∀ (q : Fin hf.toFinset.card), ℓ' (μ q) = ℓ q) ∧ AdditiveComplexity.KE (lensCode ℓ) ≤ b ∧ AdditiveComplexity.KE (lensCode ℓ') ≤ b ∧ 2 ^ (2 * b + d + 2) < Nat.card ↑(MulAction.orbit (Equiv.Perm (Fin hf.toFinset.card)) ℓ)}.ncard * 2 ^ d ≤ hf'.toFinset.card.descFactorial hf.toFinset.card

        The time-indexed cap and floor, at a positively invariant nonautonomous set ([Guests] §7 Theorem 7.13, read at the fiber law of a positively invariant nonautonomous set, in collapse_union_growing's own shape): CbHs_collapse at fiberLawEmb's own domain and codomain sizes, together with the fact that the set's own fiber law is one genuine inhabitant of the population it prices — the same pairing collapse_union_growing performs for collapse_union_fiberPair.

        theorem ReflectiveSubsystems.exists_candidate_capacity_le {n m : ℕ} (hnm : n ≤ m) (k b : ℕ) :
        ∃ (μ : Fin n ↪ Fin m), ∀ (ℓ : Fin n → Fin k) (ℓ' : Fin m → Fin k), (∀ (q : Fin n), ℓ' (μ q) = ℓ q) → AdditiveComplexity.KE (lensCode ℓ) ≤ b → AdditiveComplexity.KE (lensCode ℓ') ≤ b → Nat.card ↑(MulAction.orbit (Equiv.Perm (Fin n)) ℓ) ≤ 2 ^ (2 * b + 3)

        The floor is optimal in its own quantifier ([Guests] §7, Theorem 7.13(vi)): fix a label alphabet k and a budget b. Some candidate μ admits no consistent pair, affordable at b per frame, whose earlier frame's relabelling class exceeds 2 ^ (2 * b + 3) — so no family whatever, the marking family of Theorem 7.13(iii) or any other, floors the time-indexed capacity above that bound UNIFORMLY in the fiber law: a family that did would put every candidate in CbHs_collapse's own exceptional set at d = 1, making it the whole population, which card_fiberLaws and hnm rule out. This does NOT bound CbHs itself — false at the exceptional candidates — and it does NOT identify the uniform optimum with CbHs_ge_marking's floor: that floor bounds the capacity from below, this bounds it from above, and the interval between them is left open here. The alphabet k is a parameter here exactly as it is in CbHs_collapse, so this is a per-alphabet statement like its source, and it has content exactly when 2 ^ (2 * b + 3) < n !.

        The alphabet-uniform cap ([Guests] §7 Theorem 7.13, extended; §9.2's alphabet paragraph) #

        CbHs_collapse's cap holds at each label alphabet k separately: the union behind it (collapse_union_fiberPair) runs kraft_lensCode's Kraft step over frames valued in the SAME Fin k, which is injective only at a fixed codomain, and nothing in FiberBudgetedEntropies bounds the alphabet by n or m. §9.2 names the gap directly: "no statement here caps the capacity uniformly over alphabets."

        The route below does not repair the per-alphabet Kraft step; it replaces it. Every frame pair (ℓ, ℓ'), at ANY label count k, normalizes to one pair at the FIXED alphabet Fin m — rank each label by its first-occurrence position in ℓ''s own table (rankOf). lensTable mentions no codomain, so the normalized pair lands at Fin m whatever k was, and the per-alphabet union that priced collapse_union_fiberPair over frame CODES is replaced by a count over normalized-PAIR codes (card_KE_le) — one fixed alphabet, no Kraft sum, no union over label counts at all.

        The rank map: normalizing a frame pair to the later carrier's own alphabet #

        Orbit preservation under an injective-on-range post-composition #

        theorem ReflectiveSubsystems.orbit_postcomp_card_eq {n : ℕ} {β : Type u_1} {γ : Type u_2} (ρ : β → γ) (ℓ : Fin n → β) (hρ : Set.InjOn ρ (Set.range ℓ)) :

        Orbit preservation under an injective-on-range post-composition ([Guests] §7, the alphabet-uniform round): composing a frame with any map injective on the frame's own values changes no relabelling class's SIZE — a self-standing fact about any post-composition, with no reference to rankOf at all.

        The rank builder: the normalization as a single fixed program #

        The rank the price table transports.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          The fixed rank-normalization program ([Guests] §7, the alphabet-uniform round): extracted from universality (Nat.Partrec.Code.exists_code), independent of n, m, k, and every frame — one program whose elen is the fixed constant CbHs_collapse_uniform's exponent carries, exactly as BinaryConstant.dbl's elen is a fixed uncontrolled constant.

          Equations
          Instances For

            The count, and the capstone #

            The alphabet-uniform cap ([Guests] §7, Theorem 7.13(ii) extended; §9.2's alphabet paragraph): the time-indexed capacity's cap over EVERY label alphabet at once, at the per-alphabet order — the doubled budget the normalization pays never reaches the exponent, which stays 2 * b plus a fixed constant rather than growing with the alphabet. Degenerate carriers (m = 0) cost nothing: Fin n ↪ Fin 0 forces n = 0, whose sole candidate carries at most 0! = 1 at any budget.

            The alphabet-uniform cap, at a positively invariant nonautonomous set ([Guests] §7 Theorem 7.13's extension, read at a positively invariant nonautonomous set's own fiber law): CbHs_collapse_uniform at fiberLawEmb's own domain and codomain sizes, in CbHs_collapse_growing's own shape.

            The guard: a real positively invariant nonautonomous set reaches the bridge #

            theorem ReflectiveSubsystems.collapse_union_growing_natSucc_slowClock (t d : ℕ) {k : ℕ} :
            Nonempty (Fin (t + 1) ↪ Fin (t + 2)) ∧ {μ : Fin (t + 1) ↪ Fin (t + 2) | ∃ (ℓ : Fin (t + 1) → Fin k) (ℓ' : Fin (t + 2) → Fin k), (∀ (q : Fin (t + 1)), ℓ' (μ q) = ℓ q) ∧ 2 ^ (AdditiveComplexity.KE (lensCode ℓ) + AdditiveComplexity.KE (lensCode ℓ') + d + 2) * Nat.card { μ' : Fin (t + 1) ↪ Fin (t + 2) // ∀ (q : Fin (t + 1)), ℓ' (μ' q) = ℓ q } < (t + 2).descFactorial (t + 1)}.ncard * 2 ^ d ≤ (t + 2).descFactorial (t + 1)

            The guard ([Guests] §7 Theorem 7.11(vi)): collapse_union_growing instantiated at the successor world's initial-segment fibers, an already-landed world (ReachabilityWidth.lean's mergeFiber_nat_succ_slow_clock_encard), with n = t + 1 and m = t + 2 falling straight out of that world's own count of the classes represented in a fiber — some real positively invariant nonautonomous set reaches the transported collapse, not merely types against it.

            The telescope: an arbitrary injection sequence realized as a positively invariant #

            nonautonomous set's own fiber law

            [Guests] §7 Theorem 7.11's boundary paragraph: the candidate population collapse_union_fiberPair prices is exactly the population a positively invariant nonautonomous set can present, because the telescope below realizes ANY sequence of injections between the fiber sizes as a positively invariant nonautonomous set's own fiber law.

            def ReflectiveSubsystems.telescopeU {ns : ℕ → ℕ} (lam : (t : ℕ) → Fin (ns t) ↪ Fin (ns (t + 1))) :
            (t : ℕ) × Fin (ns t) → (t : ℕ) × Fin (ns t)

            The telescope's update: ⟨t, q⟩ ↦ ⟨t + 1, lam t q⟩ — one step of an arbitrary sequence of injections lam, read as a self-map of the disjoint union of the fiber carriers.

            Equations
            Instances For
              def ReflectiveSubsystems.telescopeΩ (ns : ℕ → ℕ) (t : ℕ) :
              Set ((t : ℕ) × Fin (ns t))

              The telescope's fibers: the t-th summand alone.

              Equations
              Instances For

                The telescope is positively invariant: U raises the summand index by exactly one, whatever lam does inside it.

                theorem ReflectiveSubsystems.mergeFiber_telescope_finite {ns : ℕ → ℕ} (lam : (t : ℕ) → Fin (ns t) ↪ Fin (ns (t + 1))) (t : ℕ) :

                The classes represented in the fiber at t are finite in number.

                theorem ReflectiveSubsystems.mergeFiber_telescope_ncard {ns : ℕ → ℕ} (lam : (t : ℕ) → Fin (ns t) ↪ Fin (ns (t + 1))) (t : ℕ) :

                The classes represented in the fiber at t number ns t: no merging happens at all (telescope_mergeMk_injective), so the count of classes is the fiber's own count (telescopeΩ_ncard).

                theorem ReflectiveSubsystems.telescope_realizes_lawSequence (ns : ℕ → ℕ) (lam : (t : ℕ) → Fin (ns t) ↪ Fin (ns (t + 1))) :
                ∃ (X : Type) (U : X → X) (Ω : ℕ → Set X) (hadv : Nonautonomous.PositivelyInvariant U Ω), (∀ (t : ℕ), ∃ (hf : (Nonautonomous.mergeFiber U Ω t).Finite), hf.toFinset.card = ns t) ∧ ∀ (t : ℕ) (hf : (Nonautonomous.mergeFiber U Ω t).Finite) (hf' : (Nonautonomous.mergeFiber U Ω (t + 1)).Finite), ∃ (e : Fin (ns t) ≃ Fin hf.toFinset.card) (e' : Fin (ns (t + 1)) ≃ Fin hf'.toFinset.card), ∀ (q : Fin (ns t)), (fiberLawEmb hadv t hf hf') (e q) = e' ((lam t) q)

                The telescope realizes every injection sequence ([Guests] §7 Theorem 7.11's boundary, "Growth does not sharpen the bound"): for ANY ns and ANY sequence of injections lam between the fiber sizes, the telescope is a positively invariant nonautonomous set, whose mergeFiber at every t has cardinality ns t, and whose fiberLawEmb — at the SAME chosen enumeration on both ends — is lam t exactly. So the candidate population collapse_union_fiberPair prices at (n, m) := (ns t, ns (t + 1)) is precisely the population the fiber law of a positively invariant nonautonomous set can present: nothing here restricts which pair of enumerated finite types arises as (mergeFiber t, mergeFiber (t + 1)) of an actual (U, Ω). The enumeration is EXISTENTIALLY quantified, not asserted equal to some canonical one — a different choice of Set.Finite.toFinset gives a different embedding at the same two numerals, exactly as fiberLawEmb's own docstring states.

                Axiom audit #

                Every capstone above is #print axioms-clean on the standard triple, and the guards below make that build-enforced.