Documentation

CslibFrontier.Computability.Kolmogorov.MINKTStar.TruthTable

MINKT* on indexed patterns and truth tables #

A pattern of MINKT* with N entries is often given as a table T : Fin N → Option Bool, as List.ofFn T. This module states consistency and membership for such patterns without lists: a total table y : BitString N is consistent with List.ofFn T exactly when y agrees with T at every specified entry. When N = 2 ^ L, total tables are truth tables of Boolean functions on L inputs, listed in the order of BitString.equivFin, as in MCSP.truthTable and in the partial tables of PartialMCSP. The agreement condition is then the right-hand side of PartialMCSP.Instance.agreesWith_iff_table.

Main results #

References #

The truth-table form is used in the no case of the library's proof of the MINKT* clause of [Hirahara2022, Theorem I.2], MINKTStar.rpHard in Hardness.lean. There, a count of programs replaces the source's argument.

theorem Cslib.Kolmogorov.MINKTStar.consistent_ofFn_iff {N : ℕ} {T : Fin N → Option Bool} {y : BitString N} :
Consistent (List.ofFn T) (List.ofFn y) ↔ ∀ (i : Fin N) (b : Bool), T i = some b → y i = b

A table y is consistent with the indexed pattern T exactly when it agrees with T at every specified entry.

theorem Cslib.Kolmogorov.MINKTStar.consistent_ofFn_iff_exists {N : ℕ} {T : Fin N → Option Bool} {y : List Bool} :
Consistent (List.ofFn T) y ↔ ∃ (z : BitString N), List.ofFn z = y ∧ ∀ (i : Fin N) (b : Bool), T i = some b → z i = b

The strings consistent with an indexed pattern are the lists of the tables that agree with it.

theorem Cslib.Kolmogorov.MINKTStar.mk_ofFn_mem_iff {N t s : ℕ} {T : Fin N → Option Bool} :
{ pattern := List.ofFn T, time := t, size := s } ∈ MINKTStar ↔ ∃ (z : BitString N), (∀ (i : Fin N) (b : Bool), T i = some b → z i = b) ∧ timeBoundedAt t (List.ofFn z) ≤ ↑s

An indexed pattern is a yes-instance of MINKT* exactly when some table that agrees with it has K^t at most the threshold.

theorem Cslib.Kolmogorov.MINKTStar.mk_ofFn_mem_iff_exists_booleanFunction {L t s : ℕ} {T : Fin (2 ^ L) → Option Bool} :
{ pattern := List.ofFn T, time := t, size := s } ∈ MINKTStar ↔ ∃ (h : BooleanFunction L), (∀ (i : Fin (2 ^ L)) (b : Bool), T i = some b → h ((BitString.equivFin L).symm i) = b) ∧ timeBoundedAt t (List.ofFn fun (i : Fin (2 ^ L)) => h ((BitString.equivFin L).symm i)) ≤ ↑s

Truth-table form. A pattern of length 2 ^ L, indexed in the order of BitString.equivFin, is a yes-instance of MINKT* exactly when some Boolean function on L inputs agrees with it at every specified entry and has a truth table of K^t at most the threshold.