Prefix-complexity minimality, and the plain bit-length's additive form #
This instantiates the coding theorem, re-derives the Elias bound
PrefixMachine.KB_le_two_mul_size, and treats the two additive forms between KB and K_bitlen,
both open in either direction.
What this establishes #
UpperSemicomputable: the integer-valued mirror ofLowerSemicomputable— a computable stage sequence, non-increasing, everywhere at least the function, attaining it at some stage.lowerSemicomputable_two_pow_neg_of_upperSemicomputable: an upper-semicomputablefgives a lower-semicomputable Kraft weight2⁻⁽ᶠ⁺ᵏ⁾.KB_le_add_of_upperSemicomputable_summable, its_nonvacuouswitness,summable_of_KB_le_addandKB_le_add_iff_summable: prefix complexity is, up to an additive constant, the least upper-semicomputable function with a summable Kraft weight — the minimality reading of Levin's coding theorem.upperSemicomputable_K_bitlen: the plain bit-lengthK_bitlenis upper-semicomputable, by a staged least-index search with the constant code as sentinel.KB_le_K_bitlen_add_iff_summable: the first additive form betweenKBandK_bitlenis exactly the summability of∑ 2⁻ᴷᵇⁱᵗˡᵉⁿ— not decided here in either direction.KB_le_two_mul_size': a second proof of the Elias boundKB n ≤ 2 · size n + c, through the coding theorem in place of the Elias decoder — no comparison of the two constants is claimed.
What this does NOT establish (flagged) #
Whether ∑ x, 2⁻ᴷᵇⁱᵗˡᵉⁿ⁽ˣ⁾ converges, in either direction, is untouched; so is the second additive
form K_bitlen ≤ KB + c. Nothing here compares KB_le_two_mul_size''s constant against that of
PrefixMachine.KB_le_two_mul_size.
UpperSemicomputable: the integer-valued mirror of LowerSemicomputable #
Upper semicomputability of an integer-valued function: a computable stage sequence, non-increasing in the stage, everywhere at least the function, and attaining it at some stage.
Equations
Instances For
The weight lemma: an upper-semicomputable f gives a lower-semicomputable Kraft weight #
Minimality: prefix complexity is the least upper-semicomputable function with a summable #
Kraft weight
A joint witness to KB_le_add_of_upperSemicomputable_summable's two hypotheses, at
f := fun n => 2 * Nat.size n: computable at constant stages, hence upper-semicomputable, and its
Kraft weight is summable by comparison with ∑ 1/(n+1)².
The plain bit-length is upper-semicomputable #
A second route to the Elias bound #
A second proof of PrefixMachine.KB_le_two_mul_size, through the coding theorem's
minimality in place of the Elias decoder — no comparison of the two constants is claimed.