Documentation

AIT.PrefixModelCost

The model cost on the prefix machine: KB at K_bitlen and KP #

Relates the plain bit-length complexity K_bitlen (AIT/KolmogorovTimeBounded.lean) and the prefix complexity KP (AIT/PrefixComplexity.lean) to the universal prefix machine KB (AIT/PrefixMachine.lean), which no other statement in the package connects.

What this establishes #

Four theorems relating KB to K_bitlen and KP — two of them over hypotheses this module takes as given rather than proves, two unconditional corollaries discharging every one of those hypotheses at a proved statement:

What this does NOT establish (flagged) #

theorem PrefixMachine.KB_le_K_bitlen_add_two_mul_size_of (hinv : ∀ (f : ℕ →. ℕ), Partrec f → ∃ (c : ℕ), ∀ (x y : ℕ), y ∈ f x → KB y ≤ KB x + c) (helias : ∃ (c : ℕ), ∀ (n : ℕ), KB n ≤ n.size + 2 * n.size.size + c) :

KB at K_bitlen. From a partial-map invariance for KB and an unabsorbed Elias bound for KB (both hypotheses; see the module docstring), `KB x ≤ K_bitlen x + 2 * Nat.size (K_bitlen x)

  • c`.
theorem PrefixMachine.KB_le_KP_of (hinv : ∀ (f : ℕ →. ℕ), Partrec f → ∃ (c : ℕ), ∀ (x y : ℕ), y ∈ f x → KB y ≤ KB x + c) :
∃ (c : ℕ), ∀ (x : ℕ), KB x ≤ PrefixComplexity.KP x + c

KB at KP. From a partial-map invariance for KB alone (no unabsorbed Elias bound needed — that independence is the point of stating this separately), KB x ≤ KP x + c.

theorem PrefixMachine.KB_le_KP :
∃ (c : ℕ), ∀ (x : ℕ), KB x ≤ PrefixComplexity.KP x + c

KB at KP, unconditionally. KB_le_KP_of's hinv discharged at the proved PrefixMachine.KB_partial_map_le — the partial-map invariance is exactly what this particular corollary needs, and nothing else.