Documentation

CslibFrontier.Computability.Kolmogorov.TimeBounded.Counting

Counting objects of small time-bounded Kolmogorov complexity #

For every step budget t, fewer than 2 ^ (s + 1) strings y satisfy K^t(y) ≤ s, since each has a program of length at most s. This module transfers that bound along an injective encoding into strings, and specializes it to the truth tables of Boolean functions. The bound holds for every t, so a counting argument that uses it needs no time bound.

The truth table of h : BooleanFunction L lists its 2 ^ L values in the order of BitString.equivFin, as List.ofFn fun i => h ((BitString.equivFin L).symm i). This is the order of MCSP.truthTable and of the partial tables of PartialMCSP.

Main results #

References #

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

theorem Cslib.Kolmogorov.encard_setOf_timeBoundedAt_le_lt {α : Type u_1} {enc : α → List Bool} (henc : Function.Injective enc) (t s : ℕ) :
{a : α | timeBoundedAt t (enc a) ≤ ↑s}.encard < 2 ^ (s + 1)

Under an injective encoding into strings, fewer than 2 ^ (s + 1) objects have encodings of time-bounded complexity at most s, for every step budget t.

theorem Cslib.Kolmogorov.card_filter_timeBoundedAt_le_lt {α : Type u_1} [Fintype α] {enc : α → List Bool} (henc : Function.Injective enc) (t s : ℕ) :
{a : α | timeBoundedAt t (enc a) ≤ ↑s}.card < 2 ^ (s + 1)

Under an injective encoding of a finite type into strings, fewer than 2 ^ (s + 1) elements have encodings of time-bounded complexity at most s, for every step budget t.

Counting truth tables of small K^t. For every step budget t, fewer than 2 ^ (s + 1) Boolean functions on L inputs have truth tables, listed in the order of BitString.equivFin, of time-bounded complexity at most s.