Binary string 2026-10-06
A binary string is a finite word over the alphabet . There are strings of length . Finite binary strings have an effective bijection with natural numbers, so computable enumerability and immunity apply to sets of strings.
Incompressible string 2026-10-06
A binary string is incompressible relative to a fixed optimal description machine when its plain Kolmogorov complexity is at least its length. A counting argument gives at least one such string at each length, and their set is immune.
Kolmogorov complexity 2026-10-06
Kolmogorov complexity measures the length of a shortest effective description of an object. Fixing an optimal description machine gives an invariant quantity up to an additive machine-dependent constant. Plain Kolmogorov complexity is especially convenient for counting descriptions shorter than a binary string.
An immune set is an infinite set containing no infinite computably enumerable subset. For binary strings, use an effective bijection with natural numbers when discussing enumeration. Fix an optimal description machine and define the plain Kolmogorov complexity
An incompressible string has no description shorter than itself, that is, . The choice of machine is fixed throughout the proof.
Let be the set of incompressible strings. There are strings of length , but only programs of length less than . Each halting program describes at most one string, so at least one string of each length belongs to . Consequently is infinite.
Suppose an infinite computably enumerable set were contained in . Define a total computable function by running an enumeration of until a string of length at least appears, and outputting the first such string. This search always terminates because there are only finitely many binary strings of bounded length. A fixed program can reconstruct from a self-delimiting binary code of . For example, if the binary expansion of has length , encode it using copies of one, a zero separator, and its binary digits. This gives
for a constant depending on the enumeration algorithm and the optimal description machine, not on . For sufficiently large this is less than , contradicting . Thus the set of incompressible strings is an immune set. This proves immunity of incompressible strings. The argument uses the ability to describe a selected long string by the short threshold specifying how it was selected.
For a fixed optimal description machine , the plain Kolmogorov complexity of a binary string is the minimum length of a finite program producing it. The admissible programs need not satisfy a prefix restriction. There are at most descriptions shorter than , which is the counting fact behind the existence of incompressible strings.