The block-pair host's rule as an exhibited program #
BlockPairOverlap.lean prices the packed host's guest parametrically:
BlockPairHost.card_orbit_le_cbHue takes codes cU, cθ for the host's own table and the frame's
own table as hypotheses, and owns the guest at elen cU + elen cθ + O(1) — a design count, not a
machine-priced program, until this module ([Inevitability] §5 Theorem 5.8's boundary, closed there
by citing it). This module closes that gap: it exhibits cU, cθ as fixed, machine-checked
programs — hostBuilder/frameBuilder, each taking only M and
Nat.size Π (frameBuilder also BlockPairHost.frameBits M) as bconst-loaded numerals, no
macro-law code imported — and prices them in the corpus's own KE currency, the KE_flatWorld_le
pattern of PersistenceCapacity.lean instanced at this host.
The step is packed on numerals through the same route KE_flatWorld_le uses: hostStepNum/
frameStepNum are pure /, %, *, +, if-arithmetic on the packed state (no
ReflectiveSubsystems.Mem, no Fin), proved primitive recursive by direct composition, tabulated
over every state (hostTableFn/frameTableFn), and identified with
BlockPairHost.packed/BlockPairHost.frame's own tables (hostTableFn_eq/frameTableFn_eq)
through hostStepNum_stateEquiv/frameStepNum_stateEquiv — the bridge theorems that carry the real
content, proved digit-by-digit against BlockPairHost.subUpdate's own case split via
BlockPairHost.stateEquiv_digit.
Main results #
hostStepNum,frameStepNum,hostStepNum_stateEquiv,frameStepNum_stateEquiv— the packed step and read, and their correctness againstBlockPairHost.packed/BlockPairHost.frame.hostBuilder,frameBuilder,eval_hostBuilder,eval_frameBuilder— the fixed programs, extracted from universality over the primitive-recursive tables.KE_hostPacked_le,KE_hostFrame_le— the host's table and the frame's table are each owned withinelen <builder> + O(size M + size (size Π))bits (KE_hostFrame_leadditionally paysO(size (BlockPairHost.frameBits M))) — nothing that scales with the state count2 ^ (16 + size Π).BlockPairHost.card_orbit_le_cbHue_cheap— the payoff:BlockPairHost.card_orbit_le_cbHueat the exhibited codes, so the guest's carried entropy is bounded byCbHueat a budget that is an absolute constant plusO(log Π), with no imported code parameter at all.
Scope #
BlockPairHost.GrowsLawfulGuest, BlockPairHost.card_orbit_le_cbHue and
BlockPairHost.witness_overlap in BlockPairOverlap.lean are untouched;
BlockPairHost.card_orbit_le_cbHue_cheap is a corollary beside them, not a restatement. This module
does not revisit survival, the crossing clause, or the 𝒮_L/𝒮_E membership statements — only the
growth clause's own affordability, sharpened from a design count to a machine-checked program.
Anchors: [Inevitability] §5 Theorem 5.8, [Guests] §6 Theorem 6.1, rows IN-38, GV-5.
The sign and word supply, as numeral arithmetic #
The Thue–Morse popcount, as a bounded bit-sum: tmSign i = (-1) ^ tmBit i
(tmSign_eq_tmBit). List-shaped for Primrec.
Equations
- ReflectiveSubsystems.tmBit i = (List.map (fun (j : ℕ) => i / 2 ^ j % 2) (List.range (i + 1))).sum
Instances For
tmPrefix's own "is -1" exponent, closed form on n directly: at an even n = 2t it is
t; at an odd n = 2t + 1 it is t + tmBit t. Matches tmPrefix_two_mul/
tmPrefix_two_mul_add_one through tmSign_eq_tmBit.
Equations
Instances For
blockSign's own exponent, straddling j per blockSign_eq_tmPrefix.
Equations
Instances For
The word supply's own exponent at block index j, position p: wordU on an even block,
wordV on an odd one.
Equations
Instances For
The design's own value, as a bounded exponent. BlockPairHost.designObs reads -1 exactly
when the sign supply and the word supply disagree in parity: blockSignBit (u/24) from blockSign,
and
blockWordBit (u/24) (u%24) from the word at the block's own offset.
Equations
- ReflectiveSubsystems.designExp u = ReflectiveSubsystems.blockSignBit (u / 24) + ReflectiveSubsystems.blockWordBit (u / 24) (u % 24)
Instances For
The tape's own value, as a bit. BlockPairHost.tape compares the design's value at u
against its
value 8 steps back; the comparison is 1 exactly when the two designExp values share parity.
Equations
- ReflectiveSubsystems.hostTapeBit N u = (ReflectiveSubsystems.designExp u + ReflectiveSubsystems.designExp ((u + N - 8) % N) + 1) % 2
Instances For
The packed host's cell positions, and the digit bridge #
The digit bridge: a packed host state's bit at BlockPairHost.idxEquiv M i's own position
is
exactly cell i's Boolean value — ReflectiveSubsystems.stateEquiv_digit, transported along
BlockPairHost.idxEquiv.
The decode search, as numeral arithmetic #
The code decode, as numeral arithmetic: the least code cell set, else 0 — the same
search BlockPairHost.decodeRule performs, restated on the packed state's own bits.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The numeral step, and the bridge #
The step, packed: definition and the bridge #
The host's own update, packed on the numeral carrier. N is Π := 2 * (2 * M) * 24; the
code block (bits 0..7) is copied, the window shifts with its top bit w7 the design's
xor(!(decoded window bit), tape bit), and the counter block (from bit 16) advances by one mod
N. Built to match hostStepNum_code/hostStepNum_window/hostStepNum_counter term for term.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The step is correct: hostStepNum, run on a packed host state, computes the packed
image of BlockPairHost.subUpdate's own step. block3_decomp splits the target into its three
blocks;
hostStepNum_code/hostStepNum_window/hostStepNum_counter match each one.
The frame, packed: definition and the bridge #
The frame's own read, packed on the numeral carrier. BlockPairHost.frame reads the counter
register back and reduces to its low κ bits; BlockPairHost.readCounter_val_eq gives the raw
counter value directly off
the packed state's bits 16 .. 16 + Nat.size N.
Instances For
The frame read is correct.
Primitive recursion #
Tabulation and the builders #
The host table: the packed step tabulated over every state, as one function of the paired
input ⟨M, B⟩ (B := Nat.size Π).
Equations
- One or more equations did not get rendered due to their size.
Instances For
hostTableFn is partial recursive.
The fixed host builder code, extracted from universality: one program taking
⟨M, Nat.size Π⟩.
Equations
Instances For
The frame table: the frame's own read, tabulated over every state, over the paired input
⟨M, ⟨B, κ⟩⟩.
Equations
- One or more equations did not get rendered due to their size.
Instances For
frameTableFn is partial recursive.
The fixed frame builder code, extracted from universality: one program taking
⟨M, ⟨Nat.size Π, BlockPairHost.frameBits M⟩⟩.
Equations
Instances For
The prices #
The frame's own read is owned at O(log Π + log κ), an exhibited program, no import.
frameBuilder takes M, Nat.size Π and BlockPairHost.frameBits M — three bconst numerals —
so the
frame's table is described in elen frameBuilder + O(size M + size (size Π) + size κ) bits.
The payoff #
The emergence guest is owned within an absolute constant plus O(log Π), at an exhibited
program — [Guests] §6 Theorem 6.1's affordability input met by a designed host, [Inevitability]
§5 Theorem 5.8's growth clause with its affordability machine-checked.
BlockPairHost.card_orbit_le_cbHue, applied at the codes
hostBuilder_computes/frameBuilder_computes exhibit, replaces its two parametric
elen cU/elen cθ terms with the absolute elen hostBuilder + elen frameBuilder plus a budget
logarithmic in M, Nat.size Π and BlockPairHost.frameBits M — nothing that scales with the
state
count 2 ^ (16 + Nat.size Π).