Documentation

ReflectiveSubsystems.CanonicalFormLens

The canonical-form-lens counting core: the cap's constant is exactly two #

([Persistence] §8, Propositions 8.35(iii), 8.36, Remark 8.37)

Proposition 8.35(iii) bounds the loss from declining a move up the order on pricing points by twice the declined move's address; Proposition 8.36(iii) attains that cap at one times the address. This module machine-checks a construction attaining it at twice the address, so the cap's constant is exactly two — an incompressible world read through its own canonical-form map, with its two fixed points merged.

The construction. canonW n is the permutation of Fin n fixing 0 and 1 and cycling {2, …, n−1} by +1; mergeMap n glues the labels 0, 1 into a single label of Fin (n−1); canonWt n is the corresponding one-fixed-point law, and mergeMap descends canonW to it (descent). For an arbitrary relabelling V, convW V := V⁻¹ * canonW n * V and convLens hn V := mergeMap n _ ∘ V transport this: convLens hn V descends convW V to the same canonWt (convLens_descent), and the reading convReading hn V — the indicator of {V⁻¹ 0, V⁻¹ 1} — persists under convW V (convReading_invariant), factors through convLens hn V (convReading_factors), and its true set is exactly convW V's fixed-point set (convW_fixedPoints). So ([n], convLens hn V) and ([n], id) are both Proposition 8.29 pricing points for the constant family this reading generates.

The counting. A permutation centralizing canonW n permutes its two fixed points and, by the cycle's own transitivity (canonW_exists_pow_eq), is determined on the cycled part by the image of one point — at most 2n such permutations (canonW_centralizer_card_le; the exact value 2(n−2) is not needed). The map V ↦ convW V has fibres bounded by centralizer cosets, giving the same counting shape as ReflectiveSubsystems.collapse_count (convW_collapse_count); past the arithmetic threshold this undercuts n!, some realized convW V's table costs more than L bits (convW_world_floor) — Finding 2's K(U) ≥ log₂ n! − O(log₂ n). Separately, the merged lens determines the world exactly: convLens hn U = convLens hn W forces convW U = convW W (convW_recovery), because the two preimages of the merged label differ only by the swap of 0 and 1, and any permutation fixing the cycled part and permuting {0, 1} setwise commutes with canonW n (centralizes_of_fixes_outside01).

The capstone (canonicalFormLens_family) bundles descent, the reading's invariance and factoring, and the world floor into one ∃-statement, with a concrete instance at n = 6 (canonicalFormLens_instance). It claims only the counts: the K-displays and the A-arithmetic of Proposition 8.35 stay on §8's standing transport boundary and are not restated here. Cite [Persistence] §8 at Propositions 8.35(iii) and 8.36 with Remark 8.37.

A general shifted-cycle helper #

noncomputable def ReflectiveSubsystems.shiftEquiv (k n : ℕ) :
Fin (n - k) ≃ { x : Fin n // k ≤ ↑x }

The bijection between Fin (n - k) and the "upper part" {x : Fin n // k ≤ x.val}, shifting an index up by k. Defined for all k, n (no side condition): when k > n both sides are empty and the equations hold vacuously.

Equations
Instances For
    noncomputable def ReflectiveSubsystems.shiftedCycle (k n : ℕ) :

    The permutation of Fin n fixing {0, …, k−1} pointwise and cycling {k, …, n−1} by +1 (wrapping n−1 ↦ k). Built by transporting finRotate (n − k) along shiftEquiv.

    Equations
    Instances For

      The constructive core: canonW, mergeMap, canonWt #

      noncomputable def ReflectiveSubsystems.canonW (n : ℕ) :

      The permutation of Fin n fixing 0 and 1 and cycling {2, …, n−1} by +1.

      Equations
      Instances For
        noncomputable def ReflectiveSubsystems.canonWt (n : ℕ) :
        Equiv.Perm (Fin (n - 1))

        The permutation of Fin (n−1) fixing 0 and cycling {1, …, n−2} by +1 — the law canonW descends to after mergeMap glues labels 0, 1.

        Equations
        Instances For
          theorem ReflectiveSubsystems.canonW_fixed_iff {n : ℕ} (hn : 4 ≤ n) (x : Fin n) :
          (canonW n) x = x ↔ ↑x ≤ 1

          canonW's fixed-point set is exactly {0, 1} ([Persistence] §8, Finding 1's "two fixed points"): the object every downstream count and invariance argument rests on.

          def ReflectiveSubsystems.mergeMap (n : ℕ) (hn : 2 ≤ n) :
          Fin n → Fin (n - 1)

          The map gluing labels 0, 1 of Fin n into a single label 0 of Fin (n − 1), and shifting every other label down by one. Total for n ≥ 2; needs n ≥ 4 only through canonW.

          Equations
          Instances For
            theorem ReflectiveSubsystems.descent {n : ℕ} (hn : 4 ≤ n) (x : Fin n) :
            mergeMap n ⋯ ((canonW n) x) = (canonWt n) (mergeMap n ⋯ x)

            Descent ([Persistence] §8, the construction behind Proposition 8.36(iii)): mergeMap descends canonW to canonWt.

            theorem ReflectiveSubsystems.canonW_mem01_iff {n : ℕ} (hn : 4 ≤ n) (y : Fin n) :
            (canonW n) y = ⟨0, ⋯⟩ ∨ (canonW n) y = ⟨1, ⋯⟩ ↔ y = ⟨0, ⋯⟩ ∨ y = ⟨1, ⋯⟩

            canonW n y ∈ {0, 1} ↔ y ∈ {0, 1} ([Persistence] §8, Finding 1: canonW's two fixed points are exactly 0 and 1, so it preserves that pair setwise).

            Conjugation transport and the constant reading #

            noncomputable def ReflectiveSubsystems.convW {n : ℕ} (V : Equiv.Perm (Fin n)) :

            U_V := V⁻¹ * canonW * V, the conjugate of canonW by an arbitrary relabelling V.

            Equations
            Instances For
              noncomputable def ReflectiveSubsystems.convLens {n : ℕ} (hn : 4 ≤ n) (V : Equiv.Perm (Fin n)) :
              Fin n → Fin (n - 1)

              κ_V := mergeMap ∘ V, the merged lens transported by V.

              Equations
              Instances For
                theorem ReflectiveSubsystems.convLens_descent {n : ℕ} (hn : 4 ≤ n) (V : Equiv.Perm (Fin n)) (x : Fin n) :
                convLens hn V ((convW V) x) = (canonWt n) (convLens hn V x)

                Conjugation transports the descent ([Persistence] §8, Finding 1's conjugation algebra): convLens hn V descends convW V to the same law canonWt, for every V.

                theorem ReflectiveSubsystems.convW_fixedPoints {n : ℕ} (hn : 4 ≤ n) (V : Equiv.Perm (Fin n)) :
                {x : Fin n | (convW V) x = x} = {(Equiv.symm V) ⟨0, ⋯⟩, (Equiv.symm V) ⟨1, ⋯⟩}

                {V⁻¹ 0, V⁻¹ 1} is exactly U_V's fixed-point set ([Persistence] §8, Finding 1: the constant family's persistence).

                noncomputable def ReflectiveSubsystems.convReading {n : ℕ} (hn : 4 ≤ n) (V : Equiv.Perm (Fin n)) :
                Fin n → Bool

                The reading ℓ_V: the indicator of {V⁻¹ 0, V⁻¹ 1}.

                Equations
                Instances For
                  theorem ReflectiveSubsystems.convReading_invariant {n : ℕ} (hn : 4 ≤ n) (V : Equiv.Perm (Fin n)) (x : Fin n) :
                  convReading hn V ((convW V) x) = convReading hn V x

                  The reading persists ([Persistence] §8, Finding 1: ℓ_V ∘ U_V = ℓ_V).

                  theorem ReflectiveSubsystems.convReading_factors {n : ℕ} (hn : 4 ≤ n) (V : Equiv.Perm (Fin n)) (x y : Fin n) (h : convLens hn V x = convLens hn V y) :
                  convReading hn V x = convReading hn V y

                  The reading factors through κ_V ([Persistence] §8, Finding 1).

                  The centralizer bound #

                  theorem ReflectiveSubsystems.canonW_exists_pow_eq {n : ℕ} (hn : 4 ≤ n) {a b : Fin n} (ha : 2 ≤ ↑a) (hb : 2 ≤ ↑b) :
                  ∃ (k : ℕ), (canonW n ^ k) a = b

                  Transitivity on the cycled part ([Persistence] §8, Finding 1: the cycle is a single orbit): any two points with val ≥ 2 are connected by some power of canonW.

                  The centralizer bound ([Persistence] §8, Finding 1: "a commuting g permutes the two fixed points (≤ 2 choices) and on the cycle is determined by the image of one point (≤ n choices)"): at most 2n permutations conjugation-fix canonW. The exact value 2(n − 2) is not needed — this ≤ 2n bound is what the world floor uses.

                  The world floor #

                  theorem ReflectiveSubsystems.convW_collapse_count {n : ℕ} (hn : 4 ≤ n) (L : ℕ) :
                  {V : Equiv.Perm (Fin n) | AdditiveComplexity.KE (lensCode ⇑(convW V)) ≤ L}.ncard ≤ 2 ^ (L + 1) * (2 * n)

                  The fibres of V ↦ U_V are centralizer cosets ([Persistence] §8, Finding 2: "the realized worlds number n!/(2(n−2))" — this bounds the fibres by the ≤ 2n centralizer, giving the same counting shape as ReflectiveSubsystems.collapse_count).

                  theorem ReflectiveSubsystems.convW_world_floor {n : ℕ} (hn : 4 ≤ n) (L : ℕ) (hL : 2 ^ (L + 1) * (2 * n) < n.factorial) :

                  The world floor ([Persistence] §8, Finding 2: "one of them satisfies K(U) ≥ log₂ n! − O(log₂ n)"): whenever the centralizer-coset count undercuts n!, some realized U_V's table costs more than L.

                  theorem ReflectiveSubsystems.convW_recovery {n : ℕ} (hn : 4 ≤ n) (U W : Equiv.Perm (Fin n)) (h : convLens hn U = convLens hn W) :

                  Recovery ([Persistence] §8, Finding 2: "the merged lens determines the world exactly … because the two preimages differ by the swap of the fixed labels, which centralizes canonW").

                  The capstone #

                  theorem ReflectiveSubsystems.canonicalFormLens_family {n : ℕ} (hn : 4 ≤ n) (L : ℕ) (hL : 2 ^ (L + 1) * (2 * n) < n.factorial) :
                  ∃ (V : Equiv.Perm (Fin n)), (∀ (x : Fin n), convLens hn V ((convW V) x) = (canonWt n) (convLens hn V x)) ∧ (∀ (x : Fin n), convReading hn V ((convW V) x) = convReading hn V x) ∧ (∀ (x y : Fin n), convLens hn V x = convLens hn V y → convReading hn V x = convReading hn V y) ∧ L < AdditiveComplexity.KE (lensCode ⇑(convW V))

                  The canonical-form-lens pricing family ([Persistence] §8, Propositions 8.35(iii) and 8.36, Remark 8.37: the cap of Proposition 8.35(iii) — the loss from declining a move up the order on pricing points, bounded by twice the declined move's address — is attained at twice the address by this very pair, so together with Proposition 8.36(iii)'s attainment at once, the cap's constant is exactly two).

                  This bundles the counting core the pricing argument consumes: κ_V descends U_V to canonWt (convLens_descent); the reading ℓ_V persists under U_V and factors through κ_V (convReading_invariant, convReading_factors) — so ([n], κ_V) and ([n], id) are both Proposition 8.29 pricing points for the constant family ℓ_V generates; and, past the arithmetic threshold hL, some realized U_V's table costs more than L bits (convW_world_floor) — the counting floor Finding 2 reads as K(U) ≥ log₂ n! − O(log₂ n). The K-displays themselves and the A-arithmetic of Proposition 8.35 stay on §8's standing transport boundary and are not claimed here; only the counts are.

                  theorem ReflectiveSubsystems.canonicalFormLens_instance :
                  ∃ (V : Equiv.Perm (Fin 6)), (∀ (x : Fin 6), convLens ⋯ V ((convW V) x) = (canonWt 6) (convLens ⋯ V x)) ∧ (∀ (x : Fin 6), convReading ⋯ V ((convW V) x) = convReading ⋯ V x) ∧ (∀ (x y : Fin 6), convLens ⋯ V x = convLens ⋯ V y → convReading ⋯ V x = convReading ⋯ V y) ∧ 4 < AdditiveComplexity.KE (lensCode ⇑(convW V))

                  A concrete instance ([Persistence] §8, Remark 8.37's growing margin): n = 6 clears the threshold L = 4 with 2 ^ 5 · 12 = 384 < 720 = 6!, checked by decide on the explicit numerals.