Documentation

AIT.KolmogorovTimeBounded

Time-bounded Kolmogorov complexity + bit-length refinement #

Extends AIT/KolmogorovComplexity.lean (codelen, Computes, K, K_le, exists_min_code, K_unbounded, K_not_computable).

Status: PROVED. This file adds the time-bounded measure and the bit-length value-reconnection.

K_t is classical time-bounded K #

K_t below is classical time-bounded Kolmogorov complexity (Li and Vitányi §7.1): the least program length over deterministic codes outputting a fixed x within a step budget.

What this DOES establish #

What this does NOT establish (flagged) #

Hypotheses: standard vs added #

Code-lengths of programs outputting x from input 0 within t steps (evaln).

Equations
Instances For
    noncomputable def KolmogorovComplexity.K_t (t x : ℕ) :

    Time-bounded (least-index) Kolmogorov complexity: least program length over codes that output x from input 0 within t evaln-steps; ⊤ if none halts in budget t.

    Equations
    Instances For
      theorem KolmogorovComplexity.K_le_K_t (t x : ℕ) :
      ↑(K x) ≤ K_t t x

      More compute never hurts the unbounded bound: K x ≤ K_t t x — the t-bounded programs are a sub-collection of all programs (evaln_sound).

      theorem KolmogorovComplexity.K_t_antitone {t₁ t₂ : ℕ} (h : t₁ ≤ t₂) (x : ℕ) :
      K_t t₂ x ≤ K_t t₁ x

      Antitone in the budget: more steps ⇒ no larger K_t (more programs qualify, evaln_mono).

      theorem KolmogorovComplexity.K_t_eventually (x : ℕ) :
      ∃ (T : ℕ), ∀ (t : ℕ), T ≤ t → K_t t x = ↑(K x)

      Eventually meets the unbounded K: the optimal program halts in finite time, so for every budget at least that, K_t t x = K x.

      Bit-length program measure: Nat.size (encode c) — the program length in bits, vs codelen = encode c (index).

      Equations
      Instances For
        noncomputable def KolmogorovComplexity.K_bitlen (x : ℕ) :

        Bit-length Kolmogorov complexity.

        Equations
        Instances For

          Value-reconnection: the bit-length complexity is exactly Nat.size of the index K (same minimizer — Nat.size is monotone; value = bit-length of the index). This is the precise "bit-length = Nat.size ∘ (index-K)" link between the two measures.

          K_bitlen is unbounded (incompressible objects in bits too).