Documentation

AIT.CodingTheoremBitwise

QB's lower-semicomputability #

Over the universal prefix machine PrefixMachine.KB, the algorithmic probability PrefixMachine.QB, and the bit-string computability layer of CodeLayer/BitStringPrimrec.lean. Extends AIT/CodingTheoremWeak.lean and CodeLayer/BitStringPrimrec.lean.

What this establishes #

What this does NOT establish (flagged) #

The coding theorem itself (coding_theorem_weak, coding_theorem_weak_QB) is established in AIT/CodingTheoremDecoder.lean, over QB_lsc here. The O(1) coding theorem and the online Kraft–Chaitin invariant it needs are not attempted in either module.

The additive AST program length is primitive recursive #

QB_lsc: the dyadic approximation #

The single term of QBApprox's double sum: the Kraft weight, at stage t, of the description (Denumerable.ofNat Code k, natToBits n) — nonzero exactly when it fits in t bits and decodes to x by stage t.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The dyadic approximation to QB: at stage t, the total weight of every description of total length at most t that decodes to x within t steps.

    Equations
    Instances For

      QB_lsc: monotonicity #

      theorem PrefixMachine.QBApprox_mono (t x : ℕ) :
      ↑(QBApprox t x) / 2 ^ t ≤ ↑(QBApprox (t + 1) x) / 2 ^ (t + 1)

      QB_lsc: the lower bound #

      theorem PrefixMachine.QBApprox_le (t x : ℕ) :
      ↑(QBApprox t x) / 2 ^ t ≤ QB x

      The lower bound: QBApprox's dyadic value never exceeds QB.

      QB_lsc: convergence #

      theorem PrefixMachine.QBApprox_lt (x : ℕ) (q : ℝ) (hq : q < QB x) :
      ∃ (t : ℕ), q < ↑(QBApprox t x) / 2 ^ t

      QB is lower-semicomputable: QBApprox is its computable, monotone, dyadic approximation.