KB's subadditivity on pairs #
The pairing half of the universal-machine description, over the prefix
complexity KB of AIT/PrefixMachine.lean and the universal prefix machine univPrefix of
AIT/PrefixInvarianceKB.lean.
What this establishes #
KB_pair_le—KB's subadditivity on pairs:∃ c, ∀ x y, KB (Nat.pair x y) ≤ KB x + KB y + c. A single new machine searches its own input for the ONE point at which it splits into a description forxfollowed by a description fory, each read throughunivPrefix: sinceunivPrefix's own halting domain is prefix-free (prefixFree_univPrefix_dom), an input has at most one such split, so no serialization parser and no per-machine dovetail are needed — the search runs onNat.Partrec.Code.evalndirectly, overunivPrefixalone.
What this does NOT establish (flagged) #
- This is not the same fact as
AdditiveComplexity.KE_subadditivein another currency:KE_subadditivecomposesCode.pair, running both programs on the SAME input, definitionally; here the two descriptions carry different arguments, no such combinator reaches across them, and the split-point search is the whole content. - The constant is
elenof aClassical.choosen machine: existential, uncomputed.
The split-point search, primitive-recursively #
The machine, as a code #
The pairing machine, as a code. Searches its input, read as bits, for the one point where
it splits into a description for one value followed by a description for another, each read
through univPrefix.
Instances For
The machine's own halting domain, read as bit-strings, is prefix-free #
pairMachine's own halting domain, read as bit-strings, is prefix-free. Two accepted
inputs decompose (pairMachine_decomp) into two halves each in univPrefix's own domain; a
prefix relation between the whole inputs peels (peel, over univPrefix's domain, prefix-free by
prefixFree_univPrefix_dom) to a matching first half and then — read again through
prefixFree_univPrefix_dom — a matching second half.
KB's subadditivity on pairs #
KB's subadditivity on pairs. Take the KB-optimal descriptions (d₁, q₁) for x and
(d₂, q₂) for y; each converges through univPrefix (univPrefix_spec), and E d₂ is never
empty (E_ne_nil), so the concatenation's own split point (E d₁ ++ q₁).length is strictly below
its length. The split-point search finds SOME point satisfying the predicate — Nat.find's own
witness — and since univPrefix's domain is prefix-free, that point coincides with the genuine
split (both are .take-prefixes of the same list, comparable, hence equal, hence equal-length by
min), so both univPrefix.eval calls resolve exactly as intended and pairMachine outputs
Nat.pair x y on the concatenated description.