Documentation

ReflectiveSubsystems.WeightedFiber

The weighted fiber: selection that is Bayesian update ([Inevitability] §6) #

A fiber whose state is a weight vector over candidate codes, updated by fitness-proportional selection on a frequency-independent fitness equal to the likelihood the candidate assigns the observed base transition, does not merely resemble a Bayesian learner: the discrete replicator step x'ᵢ = xᵢ·fᵢ / f̄ with fᵢ = P(E|Hᵢ) is the posterior, term for term. toDist_bayesStep is that identity, exactly. It is the reason to prefer weights to a resampled pool: the winner-take-all fiber on a fixed pool of slots satisfies neither condition.

What the identity costs on a finite carrier #

The exact step is bayesStep, and it involves no division: multiply each weight by its likelihood. Its weights grow, and a finite carrier cannot hold them, so a finite fiber must project back. The projection here is deliberately the one Bayes' rule is invariant under — division of every coordinate by a common divisor — so the correspondence is disturbed by nothing except the rounding residual. project divides by scaleDiv and then floors every coordinate at one quantum; the floor is the uniform reserve, and it makes permanent extinction of a candidate impossible.

The residual is real, and weighted_fiber_not_exactly_bayes is the honest statement of it: on a two-candidate, budget-2 instance the exact step reproduces the Bayes posterior term for term, while the projected step returns the prior unchanged — Bayes moves the leading candidate from 2/3 to 4/5 and the finite fiber moves it nowhere, losing a whole step of evidence to the rounding. So the identity is discharged by construction for the exact fiber and not for the finite one, and the whole of the gap is the carrier projection — which is what a quantitative bound on the residual would have to price, and what a redundancy argument for a floored process would have to survive.

Main results #

Scope #

toDist_bayesStep is an identity about the exact weight dynamics, and nothing here claims the finite fiber converges.

The pricing assembly's hypothesis is a coverage condition — as the initial state ranges over the state space, the reading must take every value in the frame's codomain — and not a convergence one; the distinction, and the way the two compete for a candidate-valued frame, is SkewFiber's Scope section. Under the base-reading frame it is no longer imported: it holds of a candidate decoding to a surjective base rule (surjective_wPredFrame_of_faithful), and wPredFrame_emergence_pricing_of_faithful states the price with no hypothesis about the reading at all. Under the candidate-valued argmaxFrame it is still imported, and surjective_argmaxFrame_of_settled is still its witness — kept, and superseded only in strength: the newer witness runs on the construction's own predictive fitness rather than on an information-free one, at the cost of a decoder faithful at every candidate.

Coverage and convergence remain independent, and neither is claimed to discharge the other. Coverage quantifies over all initial weight vectors, and the floored development's settling now does too (BasinSettling) — but the candidate the reading settles on depends on the start, and a seeded run can settle on one that has already missed. What would refute coverage is convergence to the same candidate from every initial state, which is not what is proved; so a settled configuration and a covering frame coexist here — that is what the base-reading frame buys — without either condition implying the other.

What is not shown: that selection reaches this configuration — the budget on one candidate, one quantum on each other — from an arbitrary weight vector. The configurations exhibited here are initial conditions, fixed points of the fitness rather than of a variation rule; that the reading settles from every initial vector is BasinSettling's, and it identifies no settled vector. The rounding residual is exhibited but not bounded — a quantitative bound, and the tracking form of a redundancy argument for a floored process, are not developed here.

The exact identity: the replicator step is Bayes' rule #

def ReflectiveSubsystems.bayesStep {C : ℕ} (f w : Fin C → ℕ) :
Fin C → ℕ

The replicator step on unnormalized weights: multiply each candidate's weight by the likelihood it assigns the observation. Exact integer arithmetic — no division, no rounding, nothing to approximate. The fitness f does not mention w, which is precisely the frequency-independence the correspondence with Bayes' rule requires.

Equations
Instances For
    def ReflectiveSubsystems.toDist {C : ℕ} (w : Fin C → ℕ) :
    Fin C → ℚ

    An integer weight vector read as a distribution.

    Equations
    Instances For
      def ReflectiveSubsystems.bayesPost {C : ℕ} (p : Fin C → ℚ) (f : Fin C → ℕ) :
      Fin C → ℚ

      Bayes' rule: posterior proportional to prior times likelihood.

      Equations
      Instances For
        theorem ReflectiveSubsystems.toDist_bayesStep {C : ℕ} (f w : Fin C → ℕ) (hw : 0 < ∑ j : Fin C, w j) (hf : ∀ (i : Fin C), 0 < f i) :

        The replicator step is Bayes' rule ([Inevitability] §6, the design constraint). Normalizing the multiplicative update of the weights gives exactly the Bayes posterior of the normalized prior under the likelihood f.

        This is what makes a weighted, fitness-proportional fiber be the mixture rather than resemble it, and it is an identity, not an approximation: the common normalizer cancels. The two hypotheses are the ones the dictionary needs — a nonzero prior mass, and a likelihood positive on the support.

        Predictive fitness, made positive #

        def ReflectiveSubsystems.predFitPos {n₁ C : ℕ} (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (x : Fin n₁) (c : Fin C) :

        Strictly positive predictive fitness ([Inevitability] §6): a candidate scores 2 when the rule it encodes predicts where the base actually goes and 1 when it does not.

        Positivity is not a patch. Fitness-proportional selection is absorbing at zero — a candidate whose likelihood is ever 0 is eliminated for good — and the Bayes dictionary asks a likelihood to be positive on the support. The {0,1} fitness of the winner-take-all fiber would eliminate every candidate that ever mispredicts, which is not what a posterior does.

        Equations
        Instances For

          The carrier projection #

          def ReflectiveSubsystems.wMax {C : ℕ} (w : Fin C → ℕ) :

          The heaviest weight in a vector. A Finset.sup over Fin C — a fold over a finite set, so it is defined and attained whatever the vector, with no unbounded-supremum convention in play.

          Equations
          Instances For
            theorem ReflectiveSubsystems.le_wMax {C : ℕ} (w : Fin C → ℕ) (i : Fin C) :
            w i ≤ wMax w
            def ReflectiveSubsystems.scaleDiv {C : ℕ} (W : ℕ) (w : Fin C → ℕ) :

            The common divisor that brings the heaviest weight inside the budget W.

            Dividing every coordinate by the same number is exactly the operation Bayes' rule is invariant under — the posterior depends on the weight vector only through its ray — which is why the projection below disturbs the correspondence by nothing but its rounding residual.

            Equations
            Instances For
              theorem ReflectiveSubsystems.scaleDiv_pos {C : ℕ} (W : ℕ) (w : Fin C → ℕ) :
              0 < scaleDiv W w
              def ReflectiveSubsystems.project {C : ℕ} (W : ℕ) (w : Fin C → ℕ) :
              Fin C → ℕ

              The carrier projection: rescale by the common divisor, then floor every coordinate at one quantum.

              The floor is the uniform reserve. Without it a coordinate that rounds to zero can never recover, so a candidate — possibly the true one — is permanently extinguished, which exact Bayes never does. With it, extinction is impossible; the price is one quantum per candidate, the same order as the rounding already being paid.

              Equations
              Instances For
                theorem ReflectiveSubsystems.one_le_project {C : ℕ} (W : ℕ) (w : Fin C → ℕ) (i : Fin C) :
                1 ≤ project W w i

                No candidate is ever extinguished.

                theorem ReflectiveSubsystems.project_le {C W : ℕ} (hW : 1 ≤ W) (w : Fin C → ℕ) (i : Fin C) :
                project W w i ≤ W

                The projection fits the budget. This is the invariant the carrier needs, proved of the operation rather than imposed by truncating.

                The finite weighted fiber #

                @[reducible, inline]

                A quantized weight vector: one weight per candidate, each inside the budget W.

                Equations
                Instances For
                  def ReflectiveSubsystems.WVec.raw {C W : ℕ} (w : WVec C W) :
                  Fin C → ℕ

                  The weights as naturals.

                  Equations
                  Instances For
                    def ReflectiveSubsystems.pack {C : ℕ} (W : ℕ) (v : Fin C → ℕ) :
                    WVec C W

                    Package a natural weight vector into the carrier.

                    Equations
                    Instances For
                      def ReflectiveSubsystems.wGen {C : ℕ} (W : ℕ) (f : Fin C → ℕ) (w : WVec C W) :
                      WVec C W

                      One generation of the weighted fiber: the exact replicator step, then the carrier projection. All of the approximation is in the second half.

                      Equations
                      Instances For
                        theorem ReflectiveSubsystems.raw_wGen {C W : ℕ} (hW : 1 ≤ W) (f : Fin C → ℕ) (w : WVec C W) :
                        (wGen W f w).raw = project W (bayesStep f w.raw)

                        Packing does not clamp: the projection already fits, so the step's arithmetic is exactly project ∘ bayesStep. The budget cap is an invariant of the step, not a truncation hidden in the carrier — which is what makes the residual in weighted_fiber_not_exactly_bayes attributable to the rounding alone.

                        def ReflectiveSubsystems.wFiber {n₁ C : ℕ} (W : ℕ) (fit : Fin n₁ → Fin C → ℕ) :
                        Fin n₁ → Fin ((W + 1) ^ C) → Fin ((W + 1) ^ C)

                        The weighted fiber, transported onto the numeral carrier Fin ((W+1)^C) the tables index. The exponent has moved: the state count is exponential in the candidate count, where the winner-take-all fiber's was exponential in the population. Nothing in the pricing scales with it.

                        Equations
                        Instances For
                          def ReflectiveSubsystems.wWorld {n₁ C : ℕ} (W : ℕ) (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) :
                          Fin (n₁ * (W + 1) ^ C) → Fin (n₁ * (W + 1) ^ C)

                          The evolving host with a weighted fiber: a skew product whose base runs S and whose fiber runs one Bayesian update per base step.

                          Equations
                          Instances For

                            The reading: the heaviest candidate #

                            def ReflectiveSubsystems.argmax {C : ℕ} [NeZero C] (w : Fin C → ℕ) :
                            Fin C

                            The heaviest candidate, by a left-to-right fold that keeps the incumbent on ties.

                            Equations
                            Instances For
                              theorem ReflectiveSubsystems.argmax_eq_wMax {C : ℕ} [NeZero C] (w : Fin C → ℕ) :
                              w (argmax w) = wMax w

                              The reading attains the maximum weight.

                              theorem ReflectiveSubsystems.argmax_le_of_eq_wMax {C : ℕ} [NeZero C] {w : Fin C → ℕ} {i : Fin C} (h : w i = wMax w) :

                              The reading is the least heaviest candidate. The fold keeps the incumbent on ties and scans in index order, so among the maximizers it returns the first — a tie-breaking convention, made explicit, rather than an unspecified choice.

                              theorem ReflectiveSubsystems.argmax_eq_of_strict {C : ℕ} [NeZero C] {w : Fin C → ℕ} {c : Fin C} (h : ∀ (i : Fin C), i ≠ c → w i < w c) :
                              argmax w = c

                              A strictly heaviest candidate is the one the reading returns. Unlike the winner-take-all fold, no tie-breaking convention is in play: the maximum is unique.

                              def ReflectiveSubsystems.argmaxFrame {C : ℕ} (n₁ W : ℕ) [NeZero C] :
                              Fin (n₁ * (W + 1) ^ C) → Fin C

                              The weighted reading ([Inevitability] §6): decode the weight vector out of the fiber coordinate and hand back its heaviest candidate — the maximum-a-posteriori hypothesis.

                              Note what is absent: the fitness. The winner-take-all frame had to score the population at the current base state to read it; a weight vector already carries the posterior, so the reading is a function of the fiber coordinate alone.

                              Equations
                              Instances For
                                def ReflectiveSubsystems.wPredFrame {C : ℕ} (n₁ W : ℕ) [NeZero C] (dec : Fin C → Fin n₁ → Fin n₁) :
                                Fin (n₁ * (W + 1) ^ C) → Fin n₁

                                The base-reading frame ([Inevitability] §6): read the fittest candidate's prediction of the base. The weight vector's heaviest candidate 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 and not a candidate.

                                This is ReflectiveSubsystems.predFrame's shape over the weighted carrier, and the change that matters is the same one: the codomain. Coverage of Fin n₁ is a question about the base coordinate — which the fiber reads and never writes — where coverage of Fin C by a candidate-valued reading can only be charged to the initial weight vector.

                                Equations
                                Instances For

                                  The coverage hypothesis is satisfiable #

                                  The uniform floor changes what "settled" means: a bare point mass is not reachable, because no coordinate may be zero. The settled configuration is instead the whole budget on one candidate and one reserved quantum on each of the others — and it is a genuine fixed point.

                                  argmaxFrame is a candidate-valued frame, so — exactly as for ReflectiveSubsystems.fittestFrame — its coverage has to be charged to the initial condition: each candidate is read off its own settled vector, on dynamics carrying no information.

                                  Two things then happen to that configuration. It turns out to be a fixed point of the real predictive fitness and not only of an information-free one, so what holds it still is selection; and under wPredFrame the reading over it varies with the base point, which is what lets coverage and a settled population coexist. Both are below, in that order.

                                  def ReflectiveSubsystems.settled {C : ℕ} (W : ℕ) (c : Fin C) :
                                  Fin C → ℕ

                                  The settled weight vector: the budget on one candidate, the reserve on every other.

                                  Equations
                                  Instances For
                                    theorem ReflectiveSubsystems.wGen_settled {C W : ℕ} (hW : 1 ≤ W) (f : Fin C → ℕ) (hf : ∀ (i : Fin C), f i = 1) (c : Fin C) :
                                    wGen W f (pack W (settled W c)) = pack W (settled W c)

                                    A fixed point. With the base carrying no information — every candidate equally likely — the settled vector reproduces itself: the common divisor is 1, so the rescale is trivial, and every coordinate is already at or above the reserve.

                                    theorem ReflectiveSubsystems.surjective_argmaxFrame_of_settled {n₁ C W : ℕ} [NeZero C] (hW : 2 ≤ W) (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (hf : ∀ (x : Fin n₁) (i : Fin C), fit x i = 1) (hn₁ : 0 < n₁) :
                                    Function.Surjective fun (s : Fin (n₁ * (W + 1) ^ C)) => argmaxFrame n₁ W ((wWorld W S fit)^[n₁ * (W + 1) ^ C] s)

                                    The imported coverage hypothesis is satisfiable. Every candidate is read off its own settled vector, which the information-free dynamics leaves untouched, so the frame is surjective after any number of steps. wFiber_emergence_pricing is therefore not vacuous.

                                    A satisfiability witness and nothing more: it exhibits the settled state, and says nothing about whether Bayesian update under a real base reaches one. That second question is settled elsewhere — FlooredMixture's argmaxFrame_wWorld_eventually_const and, from every initial weight vector, BasinSettling's argmaxFrame_wWorld_eventually_const_wStartFrom, both under realizability along the observed trajectory. The two still do not meet: what those settle on depends on the initial vector, where coverage here asks the reading to take every value as that vector ranges, and neither implies the other.

                                    The settled configuration is a fixed point of predictive fitness #

                                    wGen_settled runs on an information-free fitness — every candidate scoring 1 — which is the weakest non-vacuity there is. That hypothesis is unnecessary. The settled vector is a fixed point of the construction's own predFitPos as soon as the candidate it is settled on predicts the base at the state being stepped, and the arithmetic is exact rather than approximate: the faithful candidate scores 2, so its budget doubles to 2W, which is the new maximum, so the common divisor is exactly 2 and the budget returns to W; every competitor holds one quantum, scores 1 or 2, and max 1 (u / 2) returns it to one quantum whichever it scored.

                                    Two things this changes and one it does not. The fitness is now the real one, so what holds the configuration still is selection, not an absence of information — and, unlike every settled configuration exhibited over the pool fiber, it is not written in by a variation rule, the weighted fiber having none. What it does not change is the reach question: nothing below shows that selection arrives at this configuration from an arbitrary weight vector, and BasinSettling — which does settle the reading from every one of them — does not identify the vector reached either.

                                    Faithfulness is consumed only at the state being stepped, so that is how it is stated; the run asks for it only along the trajectory it visits.

                                    theorem ReflectiveSubsystems.wGen_settled_of_faithful {n₁ C W : ℕ} (hW : 1 ≤ W) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (x : Fin n₁) {c₀ : Fin C} (hc₀ : dec c₀ x = S x) :
                                    wGen W (predFitPos S dec x) (pack W (settled W c₀)) = pack W (settled W c₀)

                                    A fixed point of genuine predictive fitness. The settled vector reproduces itself under predFitPos whenever the candidate it is settled on predicts the base at x — a hypothesis about one state, which is all one step consumes.

                                    The budget needs only its one quantum here (1 ≤ W); reading the configuration back needs two (argmaxFrame_settled), and it is there that the degeneracy bites — at W = 1 every weight is pinned at one quantum and the fold returns candidate 0 whatever the fitness says.

                                    theorem ReflectiveSubsystems.iterate_wWorld_settled_of_faithful {n₁ C W : ℕ} (hW : 1 ≤ W) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (x : Fin n₁) {c₀ : Fin C} (hc₀ : ∀ (s : ℕ), dec c₀ (S^[s] x) = S (S^[s] x)) (t : ℕ) :

                                    The fixed point survives the transport: the base runs on, the fiber stands still. Faithfulness is asked for along the trajectory the run visits and nowhere else.

                                    theorem ReflectiveSubsystems.argmaxFrame_iterate_settled_of_faithful {n₁ C W : ℕ} [NeZero C] (hW : 2 ≤ W) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (x : Fin n₁) {c₀ : Fin C} (hc₀ : ∀ (s : ℕ), dec c₀ (S^[s] x) = S (S^[s] x)) (t : ℕ) :
                                    argmaxFrame n₁ W ((wWorld W S (predFitPos S dec))^[t] (finProdFinEquiv (x, finFunctionFinEquiv (pack W (settled W c₀))))) = c₀

                                    The candidate reading over the settled configuration is constant, at the faithful candidate it is settled on — for the whole run, at every base point.

                                    theorem ReflectiveSubsystems.surjective_argmaxFrame_of_all_faithful {n₁ C W : ℕ} [NeZero C] (hW : 2 ≤ W) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (hdec : ∀ (c : Fin C), dec c = S) (hn₁ : 0 < n₁) :
                                    Function.Surjective fun (s : Fin (n₁ * (W + 1) ^ C)) => argmaxFrame n₁ W ((wWorld W S (predFitPos S dec))^[n₁ * (W + 1) ^ C] s)

                                    The candidate frame's coverage is satisfiable under the real fitness too, and this is the statement that fixes the scope of the separation below.

                                    surjective_argmaxFrame_of_settled met the pricing assembly's coverage hypothesis by switching the information off. It need not be met that way: at a decoder under which every candidate predicts the base, each candidate is read off its own settled vector, which predFitPos now holds still by selection. The dynamics is the construction's own and the coverage is over the whole state space.

                                    What it costs to say precisely: the fitness function is genuine while its values are still undiscriminating, since a decoder faithful at every candidate makes them all score alike. So this strengthens the witness one step and no further — and its real work is negative. Its hypotheses include those of wFrames_separate_of_settled (a faithful c₀, any base rule, 2 ≤ C), so nothing of that shape may claim the candidate frame's coverage fails over all initial states: here it holds. The separation is therefore stated over the settled family, where it is a fact.

                                    The base-reading frame's coverage, and the two frames separated #

                                    The reading wPredFrame takes over the settled configuration is the base's next state, so it varies with the base point even though the population is constant — which is the whole difference. Coverage then follows from the base rule being surjective, over the full state space (surjective_wPredFrame_of_faithful), and the two frames separate on one dynamics (wFrames_separate_of_settled).

                                    The separation's candidate-frame half is stated over the settled family of initial states and not over all of them, and that is forced rather than convenient: surjective_argmaxFrame_of_all_faithful exhibits the candidate frame's coverage holding over the whole state space under the very same hypotheses. Over the pool fiber a variation rule could overwrite every slot and make the settled shape reachable from every initial state; the weighted fiber has no variation rule — the settling here is a fitness fixed point — so what the settled family supplies is a set of initial states on which the candidate reading covers nothing and the base reading covers everything.

                                    Neither half touches convergence. That the fiber's reading settles under realizability — from its own uniform start, and from every initial weight vector — is the floored development's theorem and BasinSettling's; coverage here asks instead that the reading take every value as the initial vector ranges, which a start-dependent limit leaves open, so the two conditions are compatible and neither implies the other.

                                    theorem ReflectiveSubsystems.wPredFrame_iterate_settled_of_faithful {n₁ C W : ℕ} [NeZero C] (hW : 2 ≤ W) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) (x : Fin n₁) {c₀ : Fin C} (hc₀ : ∀ (s : ℕ), dec c₀ (S^[s] x) = S (S^[s] x)) (t : ℕ) :
                                    wPredFrame n₁ W dec ((wWorld W S (predFitPos S dec))^[t] (finProdFinEquiv (x, finFunctionFinEquiv (pack W (settled W c₀))))) = S^[t + 1] x

                                    The base-reading frame over the settled configuration reads the base's own next state: the population contributes only the identity of the rule applied, and it contributes the same one at every step.

                                    theorem ReflectiveSubsystems.surjective_wPredFrame_of_faithful {n₁ C W : ℕ} [NeZero C] (hW : 2 ≤ W) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) {c₀ : Fin C} (hdec : dec c₀ = S) (hS : Function.Surjective S) :
                                    Function.Surjective fun (s : Fin (n₁ * (W + 1) ^ C)) => wPredFrame n₁ W dec ((wWorld W S (predFitPos S dec))^[n₁ * (W + 1) ^ C] s)

                                    The base-reading frame's coverage, over the weighted fiber. If some candidate decodes to the base rule itself and that rule is surjective, then from the settled configuration on that candidate the fiber stands still under predFitPos, the frame's reading is the base rule's own next state, and after N steps it is S^[N + 1] of the initial base coordinate — surjective as a composite of surjections.

                                    The coverage comes off the base coordinate, which the fiber reads and never writes. This is ReflectiveSubsystems.surjective_predFrame_of_faithful's premise shape and conclusion transported to the weighted carrier, with one difference in what holds the population still: there a variation rule was switched off, here the configuration is a fixed point of the fitness itself (wGen_settled_of_faithful).

                                    It says nothing about convergence, and convergence says nothing about it: this quantifies over initial weight vectors, where the settling proved of this fiber elsewhere runs from the uniform start.

                                    theorem ReflectiveSubsystems.wFrames_separate_of_settled {n₁ C W : ℕ} [NeZero C] (hW : 2 ≤ W) (hC : 2 ≤ C) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) {c₀ : Fin C} (hdec : dec c₀ = S) (hS : Function.Surjective S) :
                                    (¬Function.Surjective fun (x : Fin n₁) => argmaxFrame n₁ W ((wWorld W S (predFitPos S dec))^[n₁ * (W + 1) ^ C] (finProdFinEquiv (x, finFunctionFinEquiv (pack W (settled W c₀)))))) ∧ Function.Surjective fun (x : Fin n₁) => wPredFrame n₁ W dec ((wWorld W S (predFitPos S dec))^[n₁ * (W + 1) ^ C] (finProdFinEquiv (x, finFunctionFinEquiv (pack W (settled W c₀)))))

                                    The two frames separate on one dynamics. Fix a candidate that decodes to a surjective base rule, score by predFitPos, and start the fiber from the configuration settled on that candidate. Over that family of initial states — one member per base point, one world, one fitness, one run length — the candidate frame's reading is constant, hence covers none of Fin C once there are two candidates, while the base-reading frame's covers all of Fin n₁.

                                    So the choice of frame is not presentational here either: what each reading's values come from is the population, which this configuration has frozen, or the base coordinate, which the fiber cannot touch.

                                    Two boundaries, both stated in the sub-section above and neither of them incidental. The family is what the statement quantifies over, because the candidate frame's coverage over all initial states can hold under these hypotheses (surjective_argmaxFrame_of_all_faithful) — where over the pool fiber a variation rule made the settled shape reachable from every initial state. And the settled configuration is a fixed point of the fitness, not an imposed one, which is what the pool fiber's separation could not say; but it remains an initial condition, and nothing shows selection reaches it from an arbitrary weight vector, BasinSettling's settling identifying no vector.

                                    The pricing assembly, transported #

                                    theorem ReflectiveSubsystems.wFiber_emergence_pricing {n₁ C W : ℕ} [NeZero C] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (cS cF cθ : Nat.Partrec.Code) (hconv : Function.Surjective fun (s : Fin (n₁ * (W + 1) ^ C)) => argmaxFrame n₁ W ((wWorld W S fit)^[n₁ * (W + 1) ^ C] s)) (hS : cS.eval 0 = Part.some (lensCode S)) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat (wFiber W fit)))) (hθ : cθ.eval 0 = Part.some (lensCode (argmaxFrame n₁ W))) :

                                    The weighted fiber's guest, priced ([Inevitability] §6) — the same assembly as for the winner-take-all fiber, with the fiber rule and the frame swapped and nothing else changed.

                                    That it transports verbatim is the point: the pricing section is parametric in the fiber rule (a skew product is cheap when its ingredients are, whatever the fiber does) and the emergence theorem is parametric in the frame, so changing the fiber's state space from Fin (C^P) to Fin ((W+1)^C) costs nothing in the budget. The constant is identical: the base rule's code, the fiber rule's code, the frame's code, and one absolute constant, with nothing scaling in the state count — which is exponential in the candidate count here.

                                    The hypothesis is imported here exactly as before, and it is a coverage condition over initial states rather than a convergence one: what emergence needs is that the reading take every value in its codomain, which is what makes the guest carry a model worth pricing. For a candidate-valued frame that coverage can only come from the initial condition, and the witnesses above supply it that way. Under the base-reading frame it need not be imported at all — wPredFrame_emergence_pricing_of_faithful.

                                    theorem ReflectiveSubsystems.wPredFrame_emergence_pricing {n₁ C W : ℕ} [NeZero C] (S : Fin n₁ → Fin n₁) (fit : Fin n₁ → Fin C → ℕ) (dec : Fin C → Fin n₁ → Fin n₁) (cS cF cθ : Nat.Partrec.Code) (hcov : Function.Surjective fun (s : Fin (n₁ * (W + 1) ^ C)) => wPredFrame n₁ W dec ((wWorld W S fit)^[n₁ * (W + 1) ^ C] s)) (hS : cS.eval 0 = Part.some (lensCode S)) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat (wFiber W fit)))) (hθ : cθ.eval 0 = Part.some (lensCode (wPredFrame n₁ W dec))) :

                                    The weighted fiber's guest, priced through the base-reading frame ([Inevitability] §6). wFiber_emergence_pricing with θ := wPredFrame n₁ W dec: same host, same composed code, same constant, and the frame swapped.

                                    The transport is the fourth of its kind, and it is the same fact each time: the skew pricing is parametric in the fiber rule and emergence is parametric in the frame, so the assembly never depended on the reading being candidate-valued. Only the imported coverage hypothesis did, and that is exactly what the swap moves — onto the base coordinate, where surjective_wPredFrame_of_faithful discharges it outright for a candidate decoding to a surjective base rule.

                                    The guest is Fin n₁-valued rather than Fin C-valued: it carries the fittest candidate's prediction of the base, so what is priced is the host's own orbit as the population models it.

                                    theorem ReflectiveSubsystems.wPredFrame_emergence_pricing_of_faithful {n₁ C W : ℕ} [NeZero C] (hW : 2 ≤ W) (S : Fin n₁ → Fin n₁) (dec : Fin C → Fin n₁ → Fin n₁) {c₀ : Fin C} (hdec : dec c₀ = S) (hsurj : Function.Surjective S) (cS cF cθ : Nat.Partrec.Code) (hS : cS.eval 0 = Part.some (lensCode S)) (hF : cF.eval 0 = Part.some (lensCode (fiberFlat (wFiber W (predFitPos S dec))))) (hθ : cθ.eval 0 = Part.some (lensCode (wPredFrame n₁ W dec))) :

                                    The assembly with its coverage discharged, not imported. The same price, over the construction's own predictive fitness, from hypotheses about the decoder and the base alone: some candidate decodes to the base rule and that rule is surjective. No condition on the reading, on the initial state, or on what selection does is assumed.

                                    This is what the frame swap was for. The coverage the assembly needs is a property of the frame's codomain, and a base-reading frame draws it from the base coordinate, which the fiber cannot write; surjective_wPredFrame_of_faithful supplies it and the hypothesis disappears from the statement.

                                    What remains outside is unchanged and is not hidden here: the coverage witness runs from the settled configuration on the faithful candidate, and that selection arrives at that configuration from an arbitrary weight vector is shown nowhere — BasinSettling settles the reading from every initial vector without identifying the vector it settles at.

                                    What the carrier costs: the residual is real #

                                    The identity holds exactly for bayesStep. It does not survive the projection, and the instance below is the whole of the difference.

                                    Two candidates, weights 2 and 1.

                                    Equations
                                    Instances For

                                      The first candidate predicts, the second does not.

                                      Equations
                                      Instances For

                                        Bayes up to the carrier, not Bayes. On this two-candidate, budget-2 instance the exact replicator step reproduces the posterior term for term, and the projected step returns the prior unchanged — where Bayes moves the leading candidate from 2/3 to 4/5, the finite fiber moves it nowhere. One step of evidence is lost entirely to the rounding.

                                        This is the honest limit of the design constraint. The fiber is the mixture as long as its weights are free to grow; a finite carrier forces a projection, and the projection is not the identity. The gap is not in the choice of selection rule — that half is exact, by toDist_bayesStep — but in the carrier, and pricing it is what a quantitative residual bound would have to do.