Documentation

CslibFrontier.Computability.Kolmogorov.PrefixSymmetry

Conditional prefix-free complexity and exact symmetry of information #

This file develops conditional prefix-free Kolmogorov complexity K(y | x) over condUniversalPrefix : ℕ → DescriptionMethod ℕ and exact symmetry of information [LiVitanyi2019, ShenUspenskyVereshchagin2017], avoiding the O(log C) loss present in plain Kolmogorov complexity (CslibFrontier.Computability.Kolmogorov.SymmetryOfInformation).

Main definitions #

Main results #

References #

Conditional prefix-free universal description method #

The conditional universal prefix-free description method given y : ℕ: parseCodeHeader strictly parses codeHeader c ++ p, and then runs p under ofPrefixCode (c.curry y).

Joint partial recursive evaluation of condUniversalPrefix in (y, q).

Uniform conditional prefix-free invariance for partial recursive decoders: if f y p is jointly partial recursive and prefix-free in p for every y, then K(x | y) ≤ |p| + c for a uniform constant c.

Conditional prefix-free invariance for conditional description methods.

Dropping a condition bound in ℕ: K(x | y) ≤ K(x) + c.

Computing a computable transformation φ : ℕ → ℕ increases prefix-free complexity by at most a constant: K(φ x) ≤ K(x) + c.

Condition-transformation lemma: if a partial recursive function g : ℕ →. ℕ maps condition y to condition x, then K(z | y) ≤ K(z | x) + c uniformly in y, x, z.

Conditional computable postprocessing: K(φ y z | y) ≤ K(z | y) + c.

Binary-string conditional universal prefix-free description method.

Prefix-free chain rule #

Prefix-free chain rule (no logarithmic overhead): K(x, y) ≤ K(x) + K(y | x) + c [LiVitanyi2019, ShenUspenskyVereshchagin2017].

Prefix-free chain rule conditioned on (x, K(x)): K(x, y) ≤ K(x) + K(y | x, K(x)) + c.

Uniform conditional Kraft–Chaitin theorem #

theorem Cslib.Kolmogorov.DescriptionMethod.condKraftChaitin_of_sum_le_one {req : ℕ → ℕ → Option (ℕ × ℕ)} (hreq : Computable₂ req) (hbound : ∀ (y n : ℕ), (∑ i ∈ Finset.range n, match req y i with | none => 0 | some (ℓ, snd) => 2⁻¹ ^ ℓ) ≤ 1) :
∃ (c : ℕ), ∀ (y i ℓ z : ℕ), req y i = some (ℓ, z) → (condUniversalPrefix y).ecomplexity z ≤ ↑ℓ + ↑c

Uniform conditional Kraft–Chaitin theorem: any jointly computable family of request streams req : ℕ → ℕ → Option (ℕ × ℕ) with Kraft sum at most 1 for every condition y yields one constant c with K(z | y) ≤ ℓ + c whenever req y i = some (ℓ, z).

Canonical shortest programs x* and condition equivalence #

Canonical shortest prefix-free program x* for x : ℕ (the earliest halting program of length K(x) producing x in universalPrefixTable).

Inter-convertibility of conditioning on (x, K(x)) versus conditioning on x*: |K(z | x, K(x)) - K(z | x*)| ≤ c.

Canonical prefix-free program shortestPrefixProgram (encode x) for x : List Bool. It produces x under universalPrefixBits with length universalPrefix.complexity (encode x) (minimizing universalPrefix program length on encode x; at x = [] this need not achieve the minimum universalPrefixBits length because decode (α := List Bool) n = none defaults to [] in universalPrefixBits).

Exact symmetry of information #

Hard direction of prefix-free symmetry of information: K(x) + K(y | x, K(x)) ≤ K(x, y) + c [LiVitanyi2019, ShenUspenskyVereshchagin2017].

Exact symmetry of information for universalPrefix conditioned on (x, K(x)) [LiVitanyi2019, ShenUspenskyVereshchagin2017]: |K(x, y) - K(x) - K(y | x, K(x))| ≤ c.

Exact symmetry of information for universalPrefix conditioned on canonical shortest programs x* = shortestPrefixProgram x: |K(x, y) - K(x) - K(y | x*)| ≤ c.

Exact symmetry of information for binary strings (universalPrefixBits, condUniversalPrefixBits) with self-delimiting pair encoding selfDelimitingCode x ++ y, conditioned on shortestPrefixProgramBits x: |K(x̂ y) - K(x) - K(y | x*)| ≤ c.

Prefix algorithmic mutual information and its symmetry #

noncomputable def Cslib.Kolmogorov.prefixInformation (x y : ℕ) :

Prefix algorithmic mutual information I_K(x : y) = K(y) - K(y | x*) for x, y : ℕ [LiVitanyi2019, ShenUspenskyVereshchagin2017].

Prefix algorithmic information is bounded below by -O(1).

Exact symmetry of algorithmic mutual information for prefix-free complexity [LiVitanyi2019, ShenUspenskyVereshchagin2017]: |I_K(x : y) - I_K(y : x)| ≤ c.