Documentation

ReflectiveSubsystems.SkewFiber

The skew-product fiber: an evolving population, priced by emergence ([Inevitability] §6) #

A skew product U (x, y) = (S x, F x y) runs a base rule S in the first coordinate and a base-driven fiber rule F in the second: the fiber reads the base, the base ignores the fiber. This file builds the finite, tabulated form of that shape and prices it, then instantiates the fiber with one deterministic generation of variation and selection over a population of candidate codewords, whose fittest member is read back as the guest.

This is the combinatorial skeleton of the mechanism [Inevitability] §6 proposes — evolution in the fiber of a skew product — and only that. What §6 leaves open, this file leaves open.

The pricing is the point. A skew world on n₁ · C ^ P states has an exponentially long table, so the only affordable description of it is the composition of its two ingredients' descriptions: skewBuilder takes a code for the base rule's table and a code for the fiber step's table and outputs the whole world's table, reading both structural sizes off the tables' own lengths. The world therefore costs elen cS + elen cF + O(1) (KE_skewWorldFin_le) — the base rule plus the evolutionary rule plus an absolute constant, with nothing that scales with the state count. Feeding the world's own table as a loaded numeral instead would price the table rather than the law, and the resulting bound would be vacuous.

Main results #

Scope #

The frame's hypothesis is imported, not proved, and it is a coverage condition rather than a convergence one. fiber_emergence_pricing takes Function.Surjective (fun s => θ (U^[N] s)): as the initial state ranges over the state space, the reading must take every value in the frame's codomain — which is what makes it a full model worth pricing at all.

For fittestFrame, whose codomain is the candidate alphabet, coverage and settling compete. A population that had converged on one codeword from every initial state would make that reading constant, and a constant map is not surjective once 2 ≤ C. So the codeword frame can draw its coverage only from the initial condition — which is exactly what surjective_fittestFrame_of_fixed does, by switching variation off. Proving that selection converges would not discharge that hypothesis; it would refute it.

predFrame moves the coverage off the population and onto the base coordinate, which the fiber reads but never writes. Settling then becomes compatible with the hypothesis instead of fatal to it, so a convergence theorem for the fiber has somewhere to land. This file adds that frame; it does not replace the other, and everything stated over fittestFrame stands unchanged.

Whether selection under real variation settles at all, and from which initial states, is untouched here — as is the basin those initial states would form.

Two further gaps are deliberate and are not narrowed here. The base of this construction is a finite endofunction on Fin n₁, carrying no measure and no mixing hypothesis; the mixing base and its invariant measure are analytic objects that this finite, combinatorial layer does not host. And the host here is of fixed size, so nothing about a growing host — code accreting on a frontier while the written region stays fixed — is represented. This file is the pricing skeleton only.

KE_skewWorldFin_powFiber_le machine-checks the "P copies" half of [Inevitability] Theorem 6.6(vi)'s remaining step — the composite guest's code is P copies of one fiber's code, at the stated price. The clause's other half, the decode (a bounded search over the copies), is a separate construction addressed elsewhere, and is not touched by this file. Every other result here remains combinatorial skeleton only, with no numbered result claimed machine-checked.

The skew product, tabulated #

def ReflectiveSubsystems.skewWorldFin {n₁ n₂ : ℕ} (S : Fin n₁ → Fin n₁) (F : Fin n₁ → Fin n₂ → Fin n₂) :
Fin (n₁ * n₂) → Fin (n₁ * n₂)

The finite skew product ([Inevitability] §6): the base coordinate steps by S alone, the fiber coordinate steps by F read at the current base state. The fiber sees the base; the base does not see the fiber. The Cartesian product world prodWorldFinFn is the degenerate case in which F ignores its first argument.

F is a general base-driven fiber rule; the cocycle form U (x, y) = (S x, y ⊕ φ x) that [Inevitability] §6 writes is the special case where the fiber's step is a group translation by a function of the base. The general form is what an evolutionary fiber needs.

Equations
Instances For
    @[simp]
    theorem ReflectiveSubsystems.skewWorldFin_apply {n₁ n₂ : ℕ} (S : Fin n₁ → Fin n₁) (F : Fin n₁ → Fin n₂ → Fin n₂) (i : Fin n₁) (j : Fin n₂) :
    theorem ReflectiveSubsystems.base_skewWorldFin {n₁ n₂ : ℕ} (S : Fin n₁ → Fin n₁) (F : Fin n₁ → Fin n₂ → Fin n₂) (p : Fin (n₁ * n₂)) :

    The base does not see the fiber, in one step. Projecting a skew step onto the base coordinate gives the base rule applied to the base coordinate — whatever the fiber rule did.

    theorem ReflectiveSubsystems.base_iterate_skewWorldFin {n₁ n₂ : ℕ} (S : Fin n₁ → Fin n₁) (F : Fin n₁ → Fin n₂ → Fin n₂) (t : ℕ) (p : Fin (n₁ * n₂)) :

    …and not over a run either: the base coordinate of the t-th iterate is the base rule's t-th iterate at the base coordinate. The fiber is driven by the base and never feeds back, so a skew run projects onto a base run exactly — which is what lets a frame reading the base coordinate inherit the base rule's own coverage.

    def ReflectiveSubsystems.fiberFlat {n₁ n₂ : ℕ} (F : Fin n₁ → Fin n₂ → Fin n₂) :
    Fin (n₁ * n₂) → Fin n₂

    The fiber step, uncurried onto the flat carrier: the one Fin (n₁ * n₂) → Fin n₂ function whose table carries everything the fiber rule does. This — not the curried F — is what enters the price, because it is what has a table.

    Equations
    Instances For
      @[simp]
      theorem ReflectiveSubsystems.fiberFlat_apply {n₁ n₂ : ℕ} (F : Fin n₁ → Fin n₂ → Fin n₂) (i : Fin n₁) (j : Fin n₂) :

      The base rule's table and the fiber rule's table, woven: entry q of the skew world's table is the fiber's own entry q, shifted by the fiber width times the base's entry at q / width.

      Both structural numbers are read off the two tables — the width is T₂.length / T₁.length, since a table is as long as its state space and the fiber's state space is the whole product — so, exactly as for prodAppend, no size parameter appears.

      Equations
      Instances For
        theorem ReflectiveSubsystems.lensTable_getD_of_lt {N m : ℕ} (ℓ : Fin N → Fin m) {q : ℕ} (h : q < N) :
        (lensTable ℓ).getD q 0 = ↑(ℓ ⟨q, h⟩)

        A lens table's entry at a flat index, read through the raw natural number, not a Fin.

        theorem ReflectiveSubsystems.lensTable_skewWorldFin {n₁ n₂ : ℕ} (S : Fin n₁ → Fin n₁) (F : Fin n₁ → Fin n₂ → Fin n₂) :

        The skew world's table is its two rules' tables, woven. The weave is the flat-index arithmetic of finProdFinEquiv: the state q splits as base q / n₂ and fiber q % n₂, the fiber table already lists F at every such pair in that order, and the base contributes the block shift.

        The builder: one fixed program that weaves any two rules #

        The skew-world builder: on ⟨the base rule's table, the fiber rule's table⟩ it outputs the skew world's table. ONE fixed function, with no size parameters at all.

        Equations
        Instances For

          The cheap code for the whole world #

          The composition shape, and deliberately not the load-the-value shape. Code.const (lensCode U) would also compute the world's table, but its length is the length of that table's numeral — which grows with the state count, here exponentially in the population — and the resulting capacity bound would say nothing. The code below instead runs the two rules' codes and lets the fixed builder do the weaving, so its length is additive in the two rules.

          The skew world's cheap code: run the base rule's code and the fiber rule's code, pair the two tables, hand them to the fixed builder.

          Equations
          Instances For

            The composed code is additive in its two ingredients, over one absolute constant.

            theorem ReflectiveSubsystems.eval_skewCode {n₁ n₂ : ℕ} (S : Fin n₁ → Fin n₁) (F : Fin n₁ → Fin n₂ → Fin n₂) (cS cF : Nat.Partrec.Code) (hS : cS.eval 0 = Part.some (lensCode S)) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat F))) :

            The composed code computes the skew world's table.

            Skew products are cheap when their ingredients are. The base rule's code and the fiber rule's code, plus the absolute constant elen skewBuilder + 6 — one fixed builder and the assembly's opcodes, independent of the two worlds and of n₁, n₂.

            This is KE_prodWorldFin_le's statement with the fiber allowed to read the base: coupling one cheap rule to another cheap rule, even one-directionally, cannot make the pair expensive to describe. It is the load-bearing half of the fiber construction's price, because a skew world on n₁ · n₂ states has a table of that length and no bound stated in the table's own currency would mean anything.

            The blockwise P-fold fiber ([Inevitability] Theorem 6.6(vi), "P copies") #

            The composite guest clause (vi) prices is P copies of one fiber over one base: the product acts on the fiber coordinate only, per base index. powFiber self-composes skewWorldFin's own fiber argument along a fresh coordinate rather than along the clock.

            def ReflectiveSubsystems.powFiber {n₁ n₂ : ℕ} (F : Fin n₁ → Fin n₂ → Fin n₂) (P : ℕ) :
            Fin n₁ → Fin (n₂ ^ P) → Fin (n₂ ^ P)

            P copies of one fiber, product over the fiber coordinate, per base index. At P = 0 the fiber carrier is Fin 1 and every base index maps the sole point to itself; at P + 1 the low Fin n₂ copy runs F and the remaining Fin (n₂ ^ P) copies run one level down, woven by finProdFinEquiv exactly as skewWorldFin weaves base and fiber.

            Equations
            Instances For

              Weaving one more copy in: entry q of the P + 1-copy table is the P-copy table's own entry at the same base block, shifted by n₂ (the width one more fiber copy adds) and combined with the fresh copy's entry — skewAppend's weave, replayed inside every base block rather than once globally. n₁ is carried explicitly: it is not recoverable from Tk.length and T₁.length alone (powFibTable's guard below exhibits two legal choices of n₁ at the same table giving different lengths after two weaves).

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def ReflectiveSubsystems.powFibTable (n₁ : ℕ) (T₁ : List ℕ) (P : ℕ) :

                The P-copy composite table, by iterating fibProdAppend from the trivial P = 0 table (a single point per base index, i.e. n₁ zeros — Fin (n₂ ^ 0) = Fin 1 has one element).

                Equations
                Instances For
                  theorem ReflectiveSubsystems.powFibTable_one (n₁ : ℕ) (T₁ : List ℕ) (h : n₁ ∣ T₁.length) :
                  powFibTable n₁ T₁ 1 = T₁

                  The grading check: one copy is the table itself.

                  theorem ReflectiveSubsystems.powFiber_eq_map {n₁ n₂ : ℕ} (F : Fin n₁ → Fin n₂ → Fin n₂) (P : ℕ) (i : Fin n₁) (w : Fin P → Fin n₂) :
                  powFiber F P i (finFunctionFinEquiv w) = finFunctionFinEquiv fun (j : Fin P) => F i (w j)

                  powFiber is componentwise F i, under the digit encoding ([Inevitability] Theorem 6.6(vi)'s identification): conjugating powFiber F P i through finFunctionFinEquiv gives exactly F i applied to each copy independently — copy j (the coefficient of n₂ ^ j) is powFiber's own digit j, one application of F i per copy and nothing more. Both encodings share the same little-endian convention (finProdFinEquiv (a, b) = b + n * a, powFiber's own recursion, weights the fresh copy as the low digit; finFunctionFinEquiv weights index j by n₂ ^ j, so index 0 is the low digit too) — checked, not assumed, by the guard below.

                  theorem ReflectiveSubsystems.lensTable_powFiber {n₁ n₂ : ℕ} (F : Fin n₁ → Fin n₂ → Fin n₂) (P : ℕ) :

                  The composite table is the iterated weave ([Inevitability] Theorem 6.6(vi), "P copies"): powFiber's own table, built by finProdFinEquiv at every level, is exactly fibProdAppend iterated P times from the trivial table — the argument of lensTable_skewWorldFin, replayed one level down at each step.

                  The builder: one fixed program that weaves any fiber table P times over itself #

                  The P-fold fiber builder, from ⟨fiber table code, ⟨n₁, P⟩⟩ — ONE fixed function, with no size parameters loaded except the two raw numerals n₁ and P.

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

                    The fixed P-fold builder code. One program, independent of the fiber, of n₁, and of P.

                    Equations
                    Instances For
                      theorem ReflectiveSubsystems.powFibTableFn_eq {n₁ n₂ : ℕ} (F : Fin n₁ → Fin n₂ → Fin n₂) (P : ℕ) :

                      The builder is correct: on ⟨the one-copy fiber table's code, ⟨n₁, P⟩⟩ it outputs the P-fold fiber's encoded table.

                      The price: P copies cost the one-copy code plus O (log n₁ + log P) #

                      n₁ and P are loaded as numerals via bconst, not as tables — the composition shape (comp powFibBuilder (pair cF (pair (bconst n₁) (bconst P)))), never the load-the-value shape.

                      The P-fold fiber's cheap code: run the one-copy fiber's code, load n₁ and P as binary numerals, hand all three to the fixed builder.

                      Equations
                      Instances For

                        The composed code's length is the one-copy code's, plus O (log n₁ + log P) for the two loaded numerals, plus one absolute constant.

                        theorem ReflectiveSubsystems.eval_powFibCode {n₁ n₂ : ℕ} (F : Fin n₁ → Fin n₂ → Fin n₂) (cF : Nat.Partrec.Code) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat F))) (P : ℕ) :

                        The composed code computes the P-fold fiber's table.

                        P copies of a fiber cost one copy plus O (log n₁ + log P) ([Inevitability] Theorem 6.6(vi), "P copies" — the theorem's one remaining paper-level step, save for the decode).

                        Assembled from KE_skewWorldFin_le with the fiber code replaced by powFibCode cF n₁ P: the base rule's code, the one-copy fiber code, plus the two loaded numerals n₁ and P at (15 + elen dbl) · (log n₁ + log P), plus an absolute constant independent of the world, of n₁, of n₂, and of P.

                        n₁ and P enter through Nat.size and nowhere else — a P-fold larger population is a log P-more expensive description, not a P-times-more expensive one, because the composed code runs the one-copy fiber's code P times over rather than carrying a P-fold table. This is the "P copies" half of clause (vi); "and the decode" is ReflectiveSubsystems/RedundantFiber.lean's construction and is untouched here.

                        Evolution in the fiber #

                        One deterministic generation of variation and selection, driven by the base coordinate. A population is P slots holding candidate codewords from Fin C; a generation mutates every slot by the base-driven, slot-indexed mutation and then selects the fittest mutant, which is copied out to the whole population. Slot-indexed mutation is what regenerates diversity at the next step, so this is a working (1, P) selection scheme rather than a fixed point.

                        Nothing here is claimed to converge. These are the definitions the pricing theorem instantiates; what fiber_emergence_pricing imports as a hypothesis is not the dynamics' behaviour but the coverage its frame achieves as the initial state varies.

                        @[reducible, inline]

                        A population: P slots, each holding a candidate codeword.

                        Equations
                        Instances For
                          def ReflectiveSubsystems.fittest {P C : ℕ} [NeZero P] (fit : Fin C → ℕ) (p : Pop P C) :
                          Fin C

                          The fittest member of a population, by a left-to-right fold that keeps the incumbent on ties. Deterministic, and total on a nonempty population.

                          Equations
                          Instances For
                            theorem ReflectiveSubsystems.fittest_ge {P C : ℕ} [NeZero P] (fit : Fin C → ℕ) (p : Pop P C) (i : Fin P) :
                            fit (p i) ≤ fit (fittest fit p)

                            fittest attains the population's maximum fitness: no slot beats the fold's winner.

                            theorem ReflectiveSubsystems.fittest_mem {P C : ℕ} [NeZero P] (fit : Fin C → ℕ) (p : Pop P C) :
                            ∃ (i : Fin P), fittest fit p = p i

                            fittest returns one of the population's own members: the fold never invents a codeword.

                            def ReflectiveSubsystems.gaGen {P C : ℕ} [NeZero P] (fit : Fin C → ℕ) (vary : Fin P → Fin C → Fin C) (p : Pop P C) :
                            Pop P C

                            One generation ([Inevitability] §6, "variation and selection"): vary, then select. Every slot is mutated by its own base-driven mutation, the mutants are scored, and the fittest is copied out — variation and selection in a single deterministic step.

                            Equations
                            Instances For
                              def ReflectiveSubsystems.predFit {n₁ C : ℕ} (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (x : Fin n₁) (c : Fin C) :

                              Predictive fitness against the observed base transition ([Inevitability] §6). A candidate codeword is read as a hypothesis about the base rule via a fixed decoding dec; it scores at a base state exactly when the rule it encodes predicts where the base actually goes. This is the fitness the construction is about — selection on prediction of x ↦ S x, not on an extrinsic objective.

                              Equations
                              Instances For
                                def ReflectiveSubsystems.evoFiber {n₁ P C : ℕ} [NeZero P] (fit : Fin n₁ → Fin C → ℕ) (vary : Fin n₁ → Fin P → Fin C → Fin C) :
                                Fin n₁ → Fin (C ^ P) → Fin (C ^ P)

                                The evolutionary fiber step, transported onto the numeral carrier Fin (C ^ P) the tables index: unpack the population, run one generation at the current base state's fitness and mutation, pack it back.

                                Equations
                                Instances For
                                  def ReflectiveSubsystems.evoWorld {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (vary : Fin n₁ → Fin P → Fin C → Fin C) :
                                  Fin (n₁ * C ^ P) → Fin (n₁ * C ^ P)

                                  The evolving host: a skew product whose base runs S and whose fiber runs one generation of the population per base step. Its state count is n₁ · C ^ P, exponential in the population size, which is why only the composed code prices it.

                                  Equations
                                  Instances For
                                    def ReflectiveSubsystems.fittestFrame {n₁ C : ℕ} (P : ℕ) [NeZero P] (fit : Fin n₁ → Fin C → ℕ) :
                                    Fin (n₁ * C ^ P) → Fin C

                                    The fittest reading ([Inevitability] §6, "with the fittest reading as the guest"): decode the population out of the fiber coordinate and hand back its currently fittest codeword, scored at the current base state. This is the candidate guest — the frame whose carried entropy the pricing theorem bounds.

                                    Equations
                                    Instances For

                                      The coverage hypothesis is satisfiable #

                                      fiber_emergence_pricing imports its coverage as a hypothesis, and a hypothesis nobody has exhibited an instance of makes a theorem worth nothing. The lemmas below discharge that worry without touching the real question: at an evolutionary fixed point — variation switched off, so selection has nothing left to act on — a uniform population sits still forever and the fittest reading hands back its codeword, whatever the fitness. Distinct initial populations therefore sit on distinct codewords, and the hypothesis holds for arbitrary fit.

                                      This is a satisfiability witness and nothing more. It is also the plainest reading of what the hypothesis asks for: the coverage comes from the initial condition and from nothing the dynamics did. It could not come from the dynamics — a reading that settled on one fixed codeword from every initial state is constant, hence not surjective once 2 ≤ C, which the next section proves.

                                      theorem ReflectiveSubsystems.fittest_const {C : ℕ} (P : ℕ) [NeZero P] (fit : Fin C → ℕ) (c : Fin C) :
                                      (fittest fit fun (x : Fin P) => c) = c

                                      A uniform population is its own fittest member: with every slot holding the same codeword the fold never moves off it, on any fitness.

                                      theorem ReflectiveSubsystems.evoFiber_const {n₁ C : ℕ} (P : ℕ) [NeZero P] (fit : Fin n₁ → Fin C → ℕ) (x : Fin n₁) (c : Fin C) :
                                      evoFiber fit (fun (x : Fin n₁) (x_1 : Fin P) (d : Fin C) => d) x (finFunctionFinEquiv fun (x : Fin P) => c) = finFunctionFinEquiv fun (x : Fin P) => c

                                      Variation off, uniform population: an evolutionary fixed point. Selection copies the fittest mutant out to every slot, and with no mutation the mutants are the population, so a uniform population reproduces itself — at every base state, on any fitness.

                                      theorem ReflectiveSubsystems.iterate_evoWorld_const {n₁ C : ℕ} (P : ℕ) [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (t : ℕ) (x : Fin n₁) (c : Fin C) :
                                      (evoWorld S fit fun (x : Fin n₁) (x_1 : Fin P) (d : Fin C) => d)^[t] (finProdFinEquiv (x, finFunctionFinEquiv fun (x : Fin P) => c)) = finProdFinEquiv (S^[t] x, finFunctionFinEquiv fun (x : Fin P) => c)

                                      The fixed point survives iteration: the base runs on, the fiber stands still.

                                      theorem ReflectiveSubsystems.fittestFrame_const {n₁ C : ℕ} (P : ℕ) [NeZero P] (fit : Fin n₁ → Fin C → ℕ) (x : Fin n₁) (c : Fin C) :

                                      The frame reads a uniform population's codeword straight back.

                                      theorem ReflectiveSubsystems.surjective_fittestFrame_of_fixed {n₁ C : ℕ} (P : ℕ) [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (hn₁ : 0 < n₁) :
                                      Function.Surjective fun (s : Fin (n₁ * C ^ P)) => fittestFrame P fit ((evoWorld S fit fun (x : Fin n₁) (x_1 : Fin P) (d : Fin C) => d)^[n₁ * C ^ P] s)

                                      The imported hypothesis is satisfiable. On the variation-free dynamics every codeword is read off its own uniform population, which the world leaves untouched, so the frame is surjective after any number of steps — the hypothesis fiber_emergence_pricing takes, met for arbitrary fitness. fiber_emergence_pricing is therefore not vacuous. The whole of the coverage is carried by the initial condition: each state stands still on its own codeword, and it is ranging over them that reaches every value.

                                      The base-reading frame #

                                      fittestFrame reads the fittest codeword, so its codomain is the candidate alphabet and its coverage can only ever come from the initial population. The frame below reads instead what the fittest candidate predicts the base will do: decode the fittest codeword into a rule and apply that rule to the current base state. Its codomain is the base's own state space, so the values it takes are supplied by the base coordinate, which the fiber never feeds back into.

                                      The two frames then separate by theorem. A population that has settled on one codeword from every initial state makes fittestFrame constant, and a constant map into Fin C is not surjective once 2 ≤ C (not_surjective_fittestFrame_of_converged). The very same settling leaves predFrame's coverage intact, provided the codeword settled on decodes to the base rule and that rule is surjective (surjective_predFrame_of_converged). Coverage and settling compete for one frame and coexist for the other.

                                      Nothing here proves that the fiber settles. That question is untouched — the point is that a theorem about it would now have somewhere to land.

                                      def ReflectiveSubsystems.predFrame {n₁ C : ℕ} (P : ℕ) [NeZero P] (fit : Fin n₁ → Fin C → ℕ) (dec : Fin C → Fin n₁ → Fin n₁) :
                                      Fin (n₁ * C ^ P) → Fin n₁

                                      The base-reading frame ([Inevitability] §6): read the fittest candidate's prediction of the base. The fittest codeword is decoded into a rule by dec and that rule is applied to the current base state, so the frame's value is a base state rather than a codeword.

                                      This is fittestFrame composed with the decoding and evaluated at the base coordinate. The change that matters is the codomain: coverage of Fin n₁ is a question about the base coordinate, where a surjective base rule supplies it outright, and not about which codewords the population happens to hold.

                                      Equations
                                      Instances For
                                        theorem ReflectiveSubsystems.base_iterate_evoWorld {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (vary : Fin n₁ → Fin P → Fin C → Fin C) (t : ℕ) (s : Fin (n₁ * C ^ P)) :
                                        (finProdFinEquiv.symm ((evoWorld S fit vary)^[t] s)).1 = S^[t] (finProdFinEquiv.symm s).1

                                        The evolving host's base coordinate runs the base rule alone, for any variation.

                                        theorem ReflectiveSubsystems.not_surjective_fittestFrame_of_converged {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (vary : Fin n₁ → Fin P → Fin C → Fin C) (c₀ : Fin C) (hC : 2 ≤ C) (hconv : ∀ (s : Fin (n₁ * C ^ P)), fittestFrame P fit ((evoWorld S fit vary)^[n₁ * C ^ P] s) = c₀) :
                                        ¬Function.Surjective fun (s : Fin (n₁ * C ^ P)) => fittestFrame P fit ((evoWorld S fit vary)^[n₁ * C ^ P] s)

                                        Settling refutes the codeword frame's hypothesis. Suppose the fittest reading after a full state-count of steps is one fixed codeword from every initial state — the conclusion shape a convergence theorem for the fiber would have. With at least two candidate codewords that reading is constant and therefore not surjective, so it fails exactly the hypothesis fiber_emergence_pricing imports.

                                        The hypothesis is a coverage condition on the frame's codomain as the initial state varies, not a convergence one, and this is the two pulling apart: coverage of Fin C by a codeword-valued frame has to be charged to the initial conditions, and a dynamics that erased their differences would take it away.

                                        theorem ReflectiveSubsystems.surjective_predFrame_of_faithful {n₁ C : ℕ} (P : ℕ) [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (dec : Fin C → Fin n₁ → Fin n₁) (c₀ : Fin C) (hdec : dec c₀ = S) (hS : Function.Surjective S) :
                                        Function.Surjective fun (s : Fin (n₁ * C ^ P)) => predFrame P fit dec ((evoWorld S fit fun (x : Fin n₁) (x_1 : Fin P) (d : Fin C) => d)^[n₁ * C ^ P] s)

                                        The base-reading frame's hypothesis is satisfiable, on the same variation-free dynamics surjective_fittestFrame_of_fixed uses. If some codeword decodes to the base rule itself and that rule is surjective, then starting from the uniform population on that codeword the fiber stands still, the frame's prediction is the base rule's own next state, and the reading after N steps is S^[N + 1] of the initial base coordinate — surjective as a composite of surjections.

                                        The coverage now comes from the base coordinate. The population contributes only the identity of the rule being applied, and it contributes the same one from every initial state used here.

                                        theorem ReflectiveSubsystems.surjective_predFrame_of_converged {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (dec : Fin C → Fin n₁ → Fin n₁) (vary : Fin n₁ → Fin P → Fin C → Fin C) (c₀ : Fin C) (hdec : dec c₀ = S) (hS : Function.Surjective S) (hconv : ∀ (s : Fin (n₁ * C ^ P)), fittestFrame P fit ((evoWorld S fit vary)^[n₁ * C ^ P] s) = c₀) :
                                        Function.Surjective fun (s : Fin (n₁ * C ^ P)) => predFrame P fit dec ((evoWorld S fit vary)^[n₁ * C ^ P] s)

                                        Settling is compatible with the base-reading frame's hypothesis. Under the very convergence hypothesis that refutes fittestFrame's coverage — one fixed codeword from every initial state — predFrame's coverage holds, provided the settled codeword decodes to the base rule and that rule is surjective.

                                        Together with not_surjective_fittestFrame_of_converged this separates the two frames by theorem rather than by argument. The same antecedent kills one hypothesis and leaves the other standing, so a convergence result for the fiber would refute the pricing assembly stated over the codeword frame and discharge the one stated over the base-reading frame. Which frame the assembly is stated over is therefore not a presentational choice.

                                        Note what is doing the work: the fiber never feeds back into the base (base_iterate_evoWorld), so the base coordinate sweeps its whole state space regardless of what the population does.

                                        The settled antecedent is inhabited #

                                        The two theorems above are implications, and an implication whose antecedent nothing meets separates nothing. A variation rule that overwrites every slot with one codeword produces exactly the settled shape they hypothesise, so the separation below is a fact about a single dynamics rather than a pair of conditionals.

                                        It is a witness for the hypothesis' shape and not for selection: the codeword is imposed by the variation rather than found by the fitness, which is not even consulted. Whether predictive fitness reaches such a state, and from where, is exactly what this file does not address.

                                        theorem ReflectiveSubsystems.evoFiber_const_vary {n₁ P C : ℕ} [NeZero P] (fit : Fin n₁ → Fin C → ℕ) (c₀ : Fin C) (x : Fin n₁) (y : Fin (C ^ P)) :
                                        evoFiber fit (fun (x : Fin n₁) (x_1 : Fin P) (x_2 : Fin C) => c₀) x y = finFunctionFinEquiv fun (x : Fin P) => c₀

                                        Variation that ignores the incumbent and writes one codeword makes the fiber uniform on it in a single generation, whatever the population was and whatever the fitness says.

                                        theorem ReflectiveSubsystems.evoWorld_const_vary {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (c₀ : Fin C) (p : Fin (n₁ * C ^ P)) :
                                        evoWorld S fit (fun (x : Fin n₁) (x_1 : Fin P) (x_2 : Fin C) => c₀) p = finProdFinEquiv (S (finProdFinEquiv.symm p).1, finFunctionFinEquiv fun (x : Fin P) => c₀)

                                        One step of the overwriting dynamics: the base advances and the fiber lands on the uniform population, from any state at all.

                                        theorem ReflectiveSubsystems.fittestFrame_iterate_const_vary {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (c₀ : Fin C) (t : ℕ) (s : Fin (n₁ * C ^ P)) :
                                        fittestFrame P fit ((evoWorld S fit fun (x : Fin n₁) (x_1 : Fin P) (x_2 : Fin C) => c₀)^[t + 1] s) = c₀

                                        The settled shape is reached from every initial state, after a single step.

                                        theorem ReflectiveSubsystems.fittestFrame_const_vary {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (c₀ : Fin C) (hn₁ : 0 < n₁) (s : Fin (n₁ * C ^ P)) :
                                        fittestFrame P fit ((evoWorld S fit fun (x : Fin n₁) (x_1 : Fin P) (x_2 : Fin C) => c₀)^[n₁ * C ^ P] s) = c₀

                                        The same at the run length the pricing assembly reads at, which is positive once the base has a state to be in.

                                        theorem ReflectiveSubsystems.frames_separate_of_settled {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (dec : Fin C → Fin n₁ → Fin n₁) (c₀ : Fin C) (hn₁ : 0 < n₁) (hC : 2 ≤ C) (hdec : dec c₀ = S) (hS : Function.Surjective S) :
                                        (¬Function.Surjective fun (s : Fin (n₁ * C ^ P)) => fittestFrame P fit ((evoWorld S fit fun (x : Fin n₁) (x_1 : Fin P) (x_2 : Fin C) => c₀)^[n₁ * C ^ P] s)) ∧ Function.Surjective fun (s : Fin (n₁ * C ^ P)) => predFrame P fit dec ((evoWorld S fit fun (x : Fin n₁) (x_1 : Fin P) (x_2 : Fin C) => c₀)^[n₁ * C ^ P] s)

                                        The two frames separate on one dynamics. With every slot overwritten by a single codeword that decodes to a surjective base rule, the codeword frame's coverage hypothesis fails and the base-reading frame's holds — the same world, the same run length, the same fitness.

                                        So the choice of frame is not presentational. fiber_emergence_pricing is unavailable here and predFrame_emergence_pricing applies, and what makes the difference is where each frame's values come from: the population, whose differences this dynamics has erased, or the base coordinate, which the fiber cannot touch.

                                        The pricing assembly #

                                        theorem ReflectiveSubsystems.fiber_emergence_pricing {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (vary : Fin n₁ → Fin P → Fin C → Fin C) (cS cF cθ : Nat.Partrec.Code) (hconv : Function.Surjective fun (s : Fin (n₁ * C ^ P)) => fittestFrame P fit ((evoWorld S fit vary)^[n₁ * C ^ P] s)) (hS : cS.eval 0 = Part.some (lensCode S)) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat (evoFiber fit vary)))) (hθ : cθ.eval 0 = Part.some (lensCode (fittestFrame P fit))) :

                                        The evolving fiber's guest, priced ([Inevitability] §6) — the skew-product construction assembled onto ReflectiveSubsystems.emergence.

                                        Given a base rule S with a code, the evolutionary fiber step with a code, the fittest-reading frame with a code, and — as a named, imported hypothesis — that flowing into the recurrent core leaves the frame reading a full Fin C-valued model, the fittest reading is:

                                        • a guest that carries its model from every initial state, co-moving with the recurrent rule; and
                                        • owned at elen cS + elen cF + elen cθ + O(1) — the base rule, the evolutionary rule, the frame, and an absolute constant — so the world's uniform entropic capacity at that budget is at least the guest's carried entropy.

                                        The price is the content. The host has n₁ · C ^ P states, so its own table is exponential in the population; the bound is affordable only because the world enters through skewCode — the base rule's code and the fiber rule's code composed into one fixed builder — rather than as a loaded table. Nothing in the budget scales with the state count.

                                        The surjectivity hypothesis is where the evolutionary content sits, and it is imported wholesale. It is a coverage condition: as the initial state ranges over the state space, the fittest reading must take every value in Fin C. It does not say the population has settled — settling on one codeword from every initial state would refute it outright once 2 ≤ C (not_surjective_fittestFrame_of_converged). So what would discharge it is a change of frame (predFrame, and predFrame_emergence_pricing below), not a convergence theorem.

                                        theorem ReflectiveSubsystems.fiber_emergence_pricing_predictive {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (vary : Fin n₁ → Fin P → Fin C → Fin C) (cS cF cθ : Nat.Partrec.Code) (hconv : Function.Surjective fun (s : Fin (n₁ * C ^ P)) => fittestFrame P (predFit S dec) ((evoWorld S (predFit S dec) vary)^[n₁ * C ^ P] s)) (hS : cS.eval 0 = Part.some (lensCode S)) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat (evoFiber (predFit S dec) vary)))) (hθ : cθ.eval 0 = Part.some (lensCode (fittestFrame P (predFit S dec)))) :

                                        The same assembly with the fitness fixed to predictive fitness against the base transition: candidates are hypotheses about S, scored by whether they predict where the base actually goes.

                                        theorem ReflectiveSubsystems.predFrame_emergence_pricing {n₁ P C : ℕ} [NeZero P] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (dec : Fin C → Fin n₁ → Fin n₁) (vary : Fin n₁ → Fin P → Fin C → Fin C) (cS cF cθ : Nat.Partrec.Code) (hcov : Function.Surjective fun (s : Fin (n₁ * C ^ P)) => predFrame P fit dec ((evoWorld S fit vary)^[n₁ * C ^ P] s)) (hS : cS.eval 0 = Part.some (lensCode S)) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat (evoFiber fit vary)))) (hθ : cθ.eval 0 = Part.some (lensCode (predFrame P fit dec))) :

                                        The evolving fiber's guest, priced through the base-reading frame ([Inevitability] §6). fiber_emergence_pricing with θ := predFrame P fit dec: same host, same composed code, same constant, and the frame swapped.

                                        That it transports at all is the reusable fact. skewCode's pricing and ReflectiveSubsystems.emergence are parametric in the fiber rule and in the frame, so the assembly never depended on reading a codeword; only the imported coverage hypothesis did. The guest here is Fin n₁-valued rather than Fin C-valued — it carries the fittest candidate's prediction of the base — and the budget is unchanged at elen cS + elen cF + elen cθ + O(1).

                                        What the swap buys is where the hypothesis can be met: surjective_predFrame_of_converged discharges it from a settled population, which not_surjective_fittestFrame_of_converged shows is incompatible with the codeword frame's version. That the fiber does settle is still not proved anywhere here.