Documentation

AIT.AlgorithmicProbability

The algorithmic probability on the universal prefix machine #

Over the universal prefix machine PrefixMachine.KB. Extends AIT/PrefixMachine.lean (pfy, KB, kbWeight, kraft_KB).

What this establishes #

What this does NOT establish (flagged) #

QB_lsc (LowerSemicomputable QB) — the boundary this module once flagged — is established in AIT/CodingTheoremBitwise.lean, over the bit-string computability layer of CodeLayer/BitStringPrimrec.lean.

QB: the algorithmic probability #

noncomputable def PrefixMachine.QB (x : ℕ) :

The algorithmic probability of x on the universal prefix machine: the total Kraft weight of the descriptions decoding to x.

Equations
Instances For
    theorem PrefixMachine.two_pow_neg_KB_le_QB (x : ℕ) :
    (1 / 2) ^ KB x ≤ QB x

    The shortest description is one term of the sum.

    theorem PrefixMachine.sum_QB_le_one (F : Finset ℕ) :
    ∑ x ∈ F, QB x ≤ 1

    QB is a semimeasure: the descriptions witnessing distinct x are disjoint (a fixed description decodes to at most one value), so a finite sum of QB values is a genuine subsum of the pair-indexed Kraft sum, bounded as kraft_KB bounds it.

    Lower-semicomputability #

    A function is lower-semicomputable when a computable dyadic approximation a t x / 2 ^ t rises to it from below: monotone in the stage, always a lower bound, and reaching arbitrarily close.

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