InformationTheory.Shannon.Kolmogorov.Incompressible
Incompressible binary sequences obey the law of large numbers #
Cover–Thomas (2nd ed.). An incompressible length-n binary
string — one whose conditional Kolmogorov complexity is at least its own length,
n ≤ C(encodeBlock n b ∣ n) — has empirical frequency of ones
typeCount b true / n close to 1/2, and for a family of such strings the
frequency converges to 1/2 as n → ∞.
The argument is purely combinatorial (measure-free): it reuses the method-of-types
per-string upper bound of EntropyRate.lean with its typicality step removed, so
that the empirical binary entropy binEntropy (typeCount b true / n) bounds the
description length. Incompressibility then forces the binary entropy up to its
maximum log 2, and strict unimodality of binEntropy (via a fixed positive gap
away from 1/2) pins the frequency to 1/2.
Main statements #
incompressible_freq_near_half— the frequency of ones of every incompressible block is eventually within anyδ > 0of1/2.incompressible_seq_freq_tendsto_half— along an eventually-incompressible family, the frequency of ones converges to1/2.
InformationTheory.Kolmogorov.entropyByCount_bool_eq_binEntropy
sourceOn the two-element alphabet the empirical entropy of a block's type equals the binary entropy of its frequency of ones. @audit:ok
Used by
InformationTheory.Kolmogorov.condComplexity_bool_block_le
sourceRaw per-string upper bound (measure-free): the conditional complexity of a
binary block is bounded by the type-descriptor overhead plus n · binEntropy(p)/log 2,
with p the frequency of ones. Obtained from condComplexity_block_typical_le by
dropping the typicality step.
@audit:ok
Used by
InformationTheory.Kolmogorov.binEntropy_gap_of_far_from_half
sourceFixed-gap analytic core: if the frequency p is at least δ away from 1/2,
then its binary entropy is at most binEntropy (1/2 - δ), which is strictly below
log 2.
@audit:ok
Used by
InformationTheory.Kolmogorov.exists_incompressible_bool_seq
sourceIncompressible binary blocks exist at every length: since fewer than 2^n
naturals have conditional complexity below n, some length-n block is
incompressible.
@audit:ok
Used by
InformationTheory.Kolmogorov.incompressible_freq_near_half
sourceCT 14.5.1: the frequency of ones of every incompressible binary block is
eventually within δ of 1/2.
@audit:ok
Used by
InformationTheory.Kolmogorov.incompressible_seq_freq_tendsto_half
sourceLaw-of-large-numbers corollary: along an eventually-incompressible family the
frequency of ones converges to 1/2.
@audit:ok