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 #
skewWorldFin/lensTable_skewWorldFin— the finite skew product and its table: entryqis the fiber step's entryqshifted by the fiber width times the base rule's entryq / width. Both the width and the base index are recovered by division from the tables' lengths, so no size parameter is loaded.skewBuilder/KE_skewWorldFin_le— skew products are cheap when their ingredients are: one fixed builder, so the world's description length is the two rules' lengths pluselen skewBuilder + 6, an absolute constant independent of the world and ofn₁,C,P.gaGen/evoFiber/fittestFrame— one deterministic generation in the fiber (mutate every slot by the base-driven mutation, then select the fittest), transported onto the numeral carrierFin (C ^ P), and the frame that reads the current fittest codeword back.fiber_emergence_pricing— the assembly: given the composed cheap code for the skew world, a code for the fittest-reading frame, and — as a NAMED, imported hypothesis — that the frame reads a full model off the recurrent core, the existingemergencetheorem hands back an owned guest priced atelen cS + elen cF + elen cθ + O(1).surjective_fittestFrame_of_fixed— the imported hypothesis is satisfiable, so the pricing theorem is not vacuous: at an evolutionary fixed point a uniform population stands still and the fittest reading is surjective, on any fitness.predFrame— the base-reading frame: the fittest candidate's prediction of the base, rather than its codeword. Its codomain is the base's own state space, so the values it takes are supplied by the base coordinate and not by the population.not_surjective_fittestFrame_of_converged/surjective_predFrame_of_converged— the two frames separate by theorem. One fixed fittest codeword from every initial state refutes the codeword frame's hypothesis once2 ≤ C, and leaves the base-reading frame's standing.surjective_predFrame_of_faithful/predFrame_emergence_pricing— the base-reading frame's own satisfiability witness, and the pricing assembly restated over it at the same constant.powFiber/powFibBuilder/KE_skewWorldFin_powFiber_le— [Inevitability] Theorem 6.6(vi), "P copies":Pcopies of one fiber, product over the fiber coordinate per base index, cost the one-copy fiber's code plusO (log n₁ + log P)for the two loaded numerals — aP-fold larger population is alog P-more expensive description, not aP-times-more expensive one.
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 #
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
- ReflectiveSubsystems.skewWorldFin S F p = finProdFinEquiv (S (finProdFinEquiv.symm p).1, F (finProdFinEquiv.symm p).1 (finProdFinEquiv.symm p).2)
Instances For
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.
…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.
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
- ReflectiveSubsystems.fiberFlat F p = F (finProdFinEquiv.symm p).1 (finProdFinEquiv.symm p).2
Instances For
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
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 fixed skew-world builder code.
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
- ReflectiveSubsystems.skewCode cS cF = ReflectiveSubsystems.skewBuilder.comp (cS.pair cF)
Instances For
The composed code is additive in its two ingredients, over one absolute constant.
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.
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
- One or more equations did not get rendered due to their size.
- ReflectiveSubsystems.powFiber F 0 = fun (x : Fin n₁) => id
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
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
- ReflectiveSubsystems.powFibTable n₁ T₁ P = Nat.rec (List.replicate n₁ 0) (fun (x : ℕ) (IH : List ℕ) => ReflectiveSubsystems.fibProdAppend n₁ IH T₁) P
Instances For
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.
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
powFibTableFn is partial recursive.
The fixed P-fold builder code. One program, independent of the fiber, of n₁, and
of P.
Equations
Instances For
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.
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.
A population: P slots, each holding a candidate codeword.
Equations
- ReflectiveSubsystems.Pop P C = (Fin P → Fin C)
Instances For
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
- ReflectiveSubsystems.fittest fit p = List.foldl (fun (c : Fin C) (i : Fin P) => if fit c < fit (p i) then p i else c) (p 0) (List.finRange P)
Instances For
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
- ReflectiveSubsystems.gaGen fit vary p x✝ = ReflectiveSubsystems.fittest fit fun (i : Fin P) => vary i (p i)
Instances For
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.
Instances For
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
- ReflectiveSubsystems.evoFiber fit vary x y = finFunctionFinEquiv (ReflectiveSubsystems.gaGen (fit x) (vary x) (finFunctionFinEquiv.symm y))
Instances For
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
- ReflectiveSubsystems.evoWorld S fit vary = ReflectiveSubsystems.skewWorldFin S (ReflectiveSubsystems.evoFiber fit vary)
Instances For
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
- ReflectiveSubsystems.fittestFrame P fit p = ReflectiveSubsystems.fittest (fit (finProdFinEquiv.symm p).1) (finFunctionFinEquiv.symm (finProdFinEquiv.symm p).2)
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.
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.
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.
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
- ReflectiveSubsystems.predFrame P fit dec p = dec (ReflectiveSubsystems.fittestFrame P fit p) (finProdFinEquiv.symm p).1
Instances For
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.
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.
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.
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.
One step of the overwriting dynamics: the base advances and the fiber lands on the uniform population, from any state at all.
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 #
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.
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.
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.