K^t of the outputs of polynomial-time functions #
A function computed in polynomial time has outputs of small time-bounded Kolmogorov complexity:
the universal machine simulates its machine on the encoded input, so K^t(G a) is at most the
length of the encoding of a plus a constant once t dominates a polynomial in that length
(Liu and Pass, Proof of Theorem 5.2, Equation (3), §5.2, pp. 11–12 of
arXiv:2009.11514v1).
Main results #
Cslib.Kolmogorov.exists_timeBounded_of_computableInPolyTime: forGcomputable in polynomial time with respect to an encodingenc, there are a monotone polynomialpGand a constantcwithK^t(G a) ≤ |enc a| + cwheneverpG(|enc a|) ≤ t(|G a|).
References #
- Y. Liu, R. Pass, On One-way Functions and Kolmogorov Complexity,
full version
arXiv:2009.11514v1(Section 5.2).
theorem Cslib.Kolmogorov.exists_timeBounded_of_computableInPolyTime {α : Type u_1} {enc : α ↪ List Bool} {G : α → List Bool} (hG : Turing.MultiTapeTM.ComputableInPolyTime G enc Turing.MultiTapeTM.encBits) :
∃ (pG : Polynomial ℕ) (c : ℕ),
(∀ (n : ℕ), n + 1 ≤ Polynomial.eval n pG) ∧ (Monotone fun (x : ℕ) => Polynomial.eval x pG) ∧ ∀ {t : ℕ → ℕ} (a : α),
Polynomial.eval (enc a).length pG ≤ t (G a).length → timeBounded t (G a) ≤ ↑((enc a).length + c)
General polynomial-time $K^t$ upper bound for any encoded input type $\alpha$: if
G : α → List Bool is computable in polynomial time with respect to enc : α ↪ List Bool and
encBits, there exist a monotone polynomial pG (with n + 1 ≤ pG.eval n) and a constant c
such that whenever pG.eval (enc a).length ≤ t (G a).length, we have
timeBounded t (G a) ≤ ((enc a).length + c : ℕ).