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 #
Cslib.Kolmogorov.encard_setOf_timeBoundedAt_le_lt: fewer than2 ^ (s + 1)objects of any type haveK^t(enc a) ≤ sunder an injective encodingenc.Cslib.Kolmogorov.card_filter_timeBoundedAt_le_lt: the same bound for the elements of a finite type, counted as aFinset.Cslib.Kolmogorov.card_filter_timeBoundedAt_truthTable_le_lt: fewer than2 ^ (s + 1)Boolean functions onLinputs have truth tables ofK^tat mosts.
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.
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.
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.