EVOPEDIA

← all systems · see it in The System

Kolmogorov complexity (the length of a shortest program that prints a given object)

boundaryInside: the measure K(x) (plain and prefix-free, conditional, time-bounded), the invariance theorem, incompressibility and algorithmic randomness (Martin-Lof), the universal distribution and coding theorem, the limits (uncomputability, Chaitin's incompleteness, Omega), the relation to Shannon entropy, and the practice that estimates and uses it (compressors and the normalized compression distance, Lempel-Ziv counts, the coding-theorem and block-decomposition methods, MDL, Solomonoff induction), its uses in biology, physics, psychology and cryptography and the arguments over them; the people, papers and code that carry it. Outside: Shannon information and entropy as such, computability theory as a whole, assembly theory, causal emergence and the other complexity measures (their own walks), data compression as engineering.
nested levelA mathematical concept and measuring practice of computer science and information theory (rung 11), held in people's thought, papers and code (it runs on human L6-L7 and on the scientific record); the structure it measures is a function defined on all finite strings relative to a universal machine.
scalesocial

From the walk

Three people invented the same idea, the length of the shortest program that prints something, independently in the 1960s: Ray Solomonoff to make predictions, Andrey Kolmogorov to measure the information in a single object such as a novel, and Gregory Chaitin, who submitted his papers as an 18-year-old undergraduate. The idea is named after Kolmogorov; the computer scientist Ming Li calls that an example of the Matthew effect. (src:grunwald-vitanyi-2004, src:shen-2017, src:wp:kolmogorov-complexity)

Definition. In algorithmic information theory, the Kolmogorov complexity of an object, such as a piece of text, is the length of a shortest computer program that produces the object as output. Definition drawn from the encyclopedia entry (Wikipedia, CC BY-SA).

On this page: Properties 2 · Measures 20 · Open contentions 8 · Cross-scale patterns 20 · Valence partners 21 · Partners and parts 51 · Notes 3 · Layers 66 · Sources 29

Properties published scienceour proposal

Sourced fields, and our own readings.

born at1960-1965 (Solomonoff's report 1960 and papers 1964; Kolmogorov 1965; Chaitin submitted 1965)
born precisionfive years, contested (C-4520)

Measures (20) published science

Founding datesSolomonoff 1960 (report) and 1964 (paper); Kolmogorov 1965; Chaitin 1966 and 1969 (submitted 1965); Martin-Lof 1966; Levin's prefix version 1974 year
the field's dispute clock: from the coding-theorem method to its critique and rebuttal2014 (CTM, PLoS ONE) to 2020 (critique, March) and 2020 (rebuttal, Entropy 22:612) years
CTM runtime cutoff500 steps per 5-state machine
CTM machine countabout 2.5 x 10^13 (all 5-state 2-symbol machines) Turing machines
CTM string lengthsall binary strings shorter than 12 bits; most of 12-16 bits
Critique: CTM values in questionthe critique's wording: K values 'say smaller than 20'; and 'the values of x for which K(x) is approximated ... are at most 5 bits, that is, at most 32' (read literally, at odds with the CTM paper's own scope: all strings under 12 bits, most of 12-16 bits; ambiguous whether x is read as a string or a number)
Lossless compression: usable string lengthno less than 100 bits; unstable up to about 1,000 bits
ACSS string lengths2-11 symbols, alphabets up to 9 symbols
Share of strings compressible by c bitsat most 2^(m-n) of strings of length n have K at most m; incompressible by c with probability at least 1 - 2^(-c+1) + 2^(-n) fraction
Mandelbrot image: raw size against PNG23 million bytes raw (24-bit colour); 1.6 MB as PNG; much less from a small program
gzip sliding window32 kilobytes
Mammal mtDNA tree fit S(T)0.996 (24 species) dimensionless (0-1)
Omega's first bitsthe first 10,000 bits settle the halting of all programs shorter than 10,000 bits
Agreement with the CATH tree0.60 (compression metric on contact maps) against 0.87 (SSEARCH) correlation coefficient
NCD human gene classification accuracy0.89 accuracy; 0.88 macro-F1 fraction
NCD classification time, RefSeq prokaryote test set2862 h single-threaded for 140,524 test sequences (150.66 MB); Kraken2 classified 92,600 reads in about 1.4 s hours
tRNA physical complexity (B. subtilis)44 nucleotides (73 positions minus about 29 nucleotides, 58 bits, of summed entropy over 52 reference positions; about 5% sampling error)
RNA n=55: share of structures taking half the sequencesunder 0.1% of structures take up 50% of sequences; circadian ODE map 2%, financial model 0.6%, L-systems 3% fraction of outputs
Protein complexes analysed34,287 complexes in 120 bonding topologies
One-way functions: time boundany polynomial t(n) >= (1 + epsilon) n, epsilon > 0 steps

Open contentions (8) open contention

Where sources or readings disagree. Both stay on the map.

Cross-scale patterns seen here (20) our proposal

Shapes that recur when the same kind of problem is solved at different scales, and how each shows in Kolmogorov complexity (the length of a shortest program that prints a given object). Each links to every other system that shows it.

Valence: what it trades, and with whom (21) published science

Each exchange with a neighbour, read from both sides: who gains, who pays, and what carries it.

Partners and parts published science

Built from / builds (4)

Sits inside / holds (2)

expressed by (15)

floor filled by (24)

represents (1)

Kinds (5)

Notes published science

Layers

The ways it takes in its world, where they meet, and how it acts back, each from L1 (where it meets the world) up.

Kolmogorov complexity as algorithmic information theory and its users describe it (reader's view: the objects described, the universal machine and its programs, the shortest description, what its length says, the limit, the estimates and the argument over them, the uses)

  1. L1: The objects described: finite strings and anything encoded as one (texts, images, genomes, a run of coin tosses, the digits of pi, a measured physical state)
  2. L2: Descriptions: programs for a fixed universal (prefix) machine or language; any two universal languages agree up to a constant (invariance theorem)
  3. L3: The shortest description: K(x), the length of a shortest program printing x and halting; its conditional form K(x|y) and algorithmic mutual information
  4. L4: What the length says: regular (short) or random (incompressible, about its own length; Martin-Lof's tests); on average equal to Shannon entropy for computable sources; simple outputs exponentially more probable (coding theorem)
  5. L5: The limit: K is not computable (only approached from above, with no way to know when it is reached), equivalent to the halting problem; no formal system proves any string's complexity above its own constant (Chaitin); the invariance constant can be large for short strings
  6. L6: Estimates and the argument over them: real compressors (gzip, bzip2, PPMZ; the normalized compression distance), Lempel-Ziv counts, the coding-theorem and block-decomposition methods, practical MDL codes, resource-bounded and short-list approaches; which of them measure K and which only entropy
  7. L7: Uses: a definition of individual randomness, induction and prediction (Solomonoff), model selection (MDL), clustering and phylogeny by compression, incompressibility proofs, Maxwell's demon and physical entropy, simplicity bias in evolution, cryptography's one-way functions, and measures built on K (logical depth, effective complexity)

the boardroom (shared floors)

  1. L5: The limit every reading meets: K is only approached from above with no computable rate, equal in difficulty to the halting problem; no sound, computably axiomatised theory proves more than finitely many strings complex above a threshold (whose value depends on the universal machine and the coding, not on the theory alone; C-4481); the invariance constant is unknown and can be large for short strings
  2. L6: Estimates and the argument over them: compressors and the normalized compression distance, Lempel-Ziv counts, the coding-theorem and block-decomposition methods, practical MDL codes, resource-bounded forms and short lists; whether compressors measure K or only entropy; whether CTM values mean anything below 20 bits
  3. L7: Uses: individual randomness defined, induction and prediction, model selection and Occam's razor, clustering and trees, proofs by incompressibility, Maxwell's demon's ledger, simplicity bias in evolution, one-way functions in cryptography, and measures built on K (logical depth, effective complexity)

the structure: programs and their outputs on one fixed optimal universal prefix machine (the reference machine)

  1. L1: Programs on the input tape: self-delimiting binary programs, read one way, no program a prefix of another (Levin's prefix version)
  2. L2: The reference machine: one optimal universal prefix machine fixed once and for all, simulating every other
  3. L3: For each output, the shortest halting program that prints it: K(x)
  4. L4: The universal distribution m(x) = 2^-K(x) up to a constant factor (coding theorem); the halting probability Omega as the total weight

way in: A sequence observed so far, to be continued (Solomonoff's prediction)

  1. L1: The observations so far, an initial segment x of an unknown sequence
  2. L2: Every program whose output begins with x, weighted by 2^-length (the universal prior)
  3. L3: The conditional a priori probability M(xy)/M(x) as the prediction
  4. L4: Occam's razor and Bayes's rule in one formula

way in: All small Turing machines run on a blank tape (the coding-theorem method)

  1. L1: Every 5-state, 2-symbol Turing machine, about 2.5 x 10^13
  2. L2: Each run up to a cutoff (500 steps), standing in for the unknown Busy Beaver value
  3. L3: The output frequency distribution D(5) of the halting machines
  4. L4: K estimated as minus log frequency (CTM), longer objects stitched from blocks (BDM); released as an online calculator

way in: Brain recordings (spontaneous EEG under anaesthesia)

  1. L1: Cortical activity of people awake, sedated and anaesthetised with propofol
  2. L2: High-density EEG turned into binary matrices of activations
  3. L3: Lempel-Ziv parsing counts the distinct patterns
  4. L4: LZc per state: lower under loss of consciousness

way in: Files and texts handed in to be described (text, images, music, the Universal Declaration in 52 languages)

  1. L1: A file: texts in many languages, music, images, a Mandelbrot picture
  2. L2: Encoded as a binary string, in a way said to be theory neutral
  3. L3: Compressed by a real compressor: an upper bound on K (compressed file plus decompressor)
  4. L4: Compressed lengths singly and in pairs give the normalized compression distance

way in: Formal axiom systems searched for proofs of high complexity (Chaitin's route)

  1. L1: A fixed axiomatic system S for the natural numbers, strong enough to state complexity claims
  2. L2: All proofs of S enumerated by a program
  3. L3: A search for a proof of 'K(s) >= L' with L large
  4. L4: The Berry-paradox contradiction: the search would print a complex string with a short program, so beyond a constant no such proof exists

way in: Genomes and genes (whole mitochondrial genomes, virus genomes, human genes, short reads)

  1. L1: Whole mitochondrial genomes of 24 mammals; the SARS draft genome; human genes and prokaryote reads
  2. L2: Read as unaligned strings (no alignment, no chosen genes)
  3. L3: Compressed with gzip, bzip2 or PPMZ singly and concatenated; or, for physical complexity, aligned across an ensemble to find fixed and volatile sites
  4. L4: A distance matrix and a tree, or a gene label by nearest neighbours; or a per-site entropy sum

way in: Genotype-phenotype maps sampled at random (RNA folding, protein self-assembly, polyominoes, ODE models)

  1. L1: Random genotypes: RNA sequences of length 55, polyomino genomes
  2. L2: Decoded by folding (the Vienna package's minimum free energy structure) or self-assembly
  3. L3: The phenotype written as a binary string (dot-bracket to bits) or counted in interface types
  4. L4: Probability against estimated complexity, with the upper bound of the computable coding theorem

way in: Measured physical states (a Maxwell's demon's records)

  1. L1: A physical system in a heat bath, its state measured
  2. L2: The measurement's record held in the demon's memory
  3. L3: The record compressed to its shortest program, run by a demon assumed equivalent to a universal Turing machine
  4. L4: Physical entropy Z = H + K: ignorance plus the size of the minimal record

way in: People looking at, producing and remembering sequences (human sight and memory)

  1. L1: Short sequences seen or produced: coin-toss strings, digit strings in random generation tasks
  2. L2: Taken in by sight and held in short-term memory, split into chunks
  3. L3: Judged random or not; perception organised by simplicity
  4. L4: Scored by a CTM estimate (the ACSS package) for strings of length 2-11

way in: Random sources with a known distribution (Shannon's side)

  1. L1: A random source emitting outcomes with probability f(x)
  2. L2: Prefix codes and the Kraft inequality tie code lengths to probabilities
  3. L3: Expected code length at least the entropy H(X)
  4. L4: Expected K equals H up to the complexity of the distribution

way out: Decisions taken on the data: a tree drawn, a model chosen, a next symbol predicted, a gene labelled

  1. L1: The classification or tree acted on: genes labelled, species grouped
  2. L4: A tree built from the distance matrix by the quartet method
  3. L7: The model of least total description length chosen

way out: Heat paid when a demon erases its compressed records

  1. L1: Heat into the reservoir: kBT per erased bit as Zurek writes it (in bits); kBT ln 2 in ordinary units (src:wp:landauers-principle)
  2. L5: Erasure of the record, priced by its compressed size
  3. L7: A demon completes a measurement cycle to extract work

way out: Theorems, estimates and positions written into the literature

  1. L1: Published: the record the next reader takes in
  2. L6: Written as a paper, a review or a rebuttal
  3. L7: A position taken: the coding-theorem method is problematic; or it is the only option for short strings

way out: Tools released for others to run (online calculator, ACSS R package, NCD software)

  1. L1: Public software others run on their own data
  2. L6: Packaged for a community (psychologists' R package)
  3. L7: The decision to release the estimates for others

Sources (29) published science

Grunwald P, Vitanyi P. Shannon Information and Kolmogorov Complexity. arXiv:cs/0410002 (2004) (sections read: 1 Introduction and overview, 2.2 Kolmogorov complexity with 2.2.1-2.2.4, 2.3 Expected Kolmogorov complexity equals Shannon entropy, 7 Conclusion; PDF text)
Zenil H. A Review of Methods for Estimating Algorithmic Complexity: Options, Challenges, and New Directions. Entropy 22:612 (2020), doi:10.3390/e22060612 (CC BY; PMC7517143; sections read: introduction and 1.1, 2.2 the regime of short strings, 2.4-2.5 the reply to the 'natural data' argument and reality check) (behind its links)
Gacs P. Lecture notes on descriptional complexity and randomness. arXiv:2105.04704 (2021) (sections read: 1.1 Introduction with 1.1.2 Applications and 1.1.3 History; 1.6 the self-delimiting complexity (opening); 2.3.6 Randomness and complexity (Theorem 2.3.4, Corollary 2.3.30); 3.1 Information-theoretic relations (Theorem 3.1.4, the Addition theorem, and Definition 3.1.7)) (behind its links)
Grunwald PD, Vitanyi PMB. Algorithmic information theory. arXiv:0809.2754 (2008; handbook chapter for the philosophy of information) (sections read: 1 Introduction, the chapter overview, 4.3 Omega, 6 the practical MDL passage, 7 Philosophical implications and conclusion) (behind its links)
Johnston IG, Dingle K, Greenbury SF, Camargo CQ, Doye JPK, Ahnert SE, Louis AA. Symmetry and simplicity spontaneously emerge from the algorithmic nature of evolution. PNAS 119:e2113883119 (2022), doi:10.1073/pnas.2113883119 (CC BY; PMC8931234; sections read: significance, introduction, protein quaternary structure and polyominoes, discussion, methods on topologies) (behind its links)
Zurek WH. Algorithmic randomness, physical entropy, measurements, and the Demon of Choice. arXiv:quant-ph/9807007 (1998; chapter for a Feynman volume) (sections read: introduction through the demon of choice, equations 1-6) (behind its links)
Rocha J, Rossello F, Segura J. Compression ratios based on the Universal Similarity Metric still yield protein distances far from CATH distances. arXiv:q-bio/0603007v2 (2006; whole paper read) (behind its links)
Opitz J. Gzip versus bag-of-words for text classification. arXiv:2307.15002v5 (2023) (whole note read, with Table 1) (behind its links)
Kolmogorov complexity (encyclopedia; Wikimedia Enterprise snapshot 2026-11-01, read in full) (behind its links)
Shen A, Uspensky VA, Vereshchagin N. Kolmogorov Complexity and Algorithmic Randomness. AMS Mathematical Surveys and Monographs 220 (2017), doi:10.1090/surv/220 (OpenAlex stored text; sections read: Preface, the appendix on the history of randomness definitions (von Mises, Church, Kolmogorov 1963, Loveland, Kolmogorov's 1965 paper)) (behind its links)
Soler-Toscano F, Zenil H, Delahaye JP, Gauvrit N. Calculating Kolmogorov complexity from the output frequency distributions of small Turing machines. PLoS ONE 9:e96223 (2014), doi:10.1371/journal.pone.0096223 (CC BY; PMC4014489; sections read: introduction, preliminaries (invariance, coding theorem), the Busy Beaver and runtime-cutoff sections, results on runtimes) (behind its links)
Vitanyi PMB. How incomputable is Kolmogorov complexity? arXiv:2002.07674v2 (Entropy 22:408, 2020, doi:10.3390/e22040408; whole paper read) (behind its links)
Zenil H, Hernandez-Orozco S, Kiani NA, Soler-Toscano F, Rueda-Toicen A, Tegner J. A Decomposition Method for Global Evaluation of Shannon Entropy and Local Estimations of Algorithmic Complexity. arXiv:1609.00110v7 (Entropy 20:605, 2018, doi:10.3390/e20080605) (sections read: abstract, 1 Measuring complexity, the BDM worst-case passage, the conclusions) (behind its links)
Gauvrit N, Singmann H, Soler-Toscano F, Zenil H. Algorithmic complexity for psychology: a user-friendly implementation of the coding theorem method. Behavior Research Methods 48:314-329 (2016), doi:10.3758/s13428-015-0574-3 (OpenAlex stored text; sections read: abstract, introduction including the representativeness passage) (behind its links)
Cilibrasi R, Vitanyi P. Clustering by compression. arXiv:cs/0312044v2 (2004; IEEE Trans Inf Theory 51:1523-1545, 2005, as the citing papers give it) (sections read: abstract, the NCD definition 3.1, the bootstrap passage, mammalian mtDNA phylogeny, SARS, languages) (behind its links)
Hearne S (2026). Introduction: Socialist Humanitarianism. Journal of Contemporary History 61:447-458. doi:10.1177/00220094251408474 (behind its links)
Adami C, Cerf NJ. Physical complexity of symbolic sequences. Physica D 137:62-69 (2000), doi:10.1016/S0167-2789(99)00179-7 (OpenAlex stored text; whole paper read) (behind its links)
Dingle K, Camargo CQ, Louis AA. Input-output maps are strongly biased towards simple outputs. Nature Communications 9:761 (2018), doi:10.1038/s41467-018-03101-6 (CC BY; PMC5823903; sections read: introduction, the coding theorem for computable maps, the RNA map, discussion, methods (complexity estimator)) (behind its links)
Liu Y, Pass R. On One-way Functions and Kolmogorov Complexity. arXiv:2009.11514 (2020; FOCS 2020) (sections read: abstract, 1 Introduction) (behind its links)
Schartner M, Seth A, Noirhomme Q, Boly M, Bruno MA, Laureys S, Barrett A. Complexity of Multi-Dimensional Spontaneous EEG Decreases during Propofol Induced General Anaesthesia. PLoS ONE 10:e0133532 (2015), doi:10.1371/journal.pone.0133532 (CC BY; PMC4529106; sections read: abstract, introduction, discussion) (behind its links)
Grunwald P. A tutorial introduction to the minimum description length principle. arXiv:math/0406077 (2004) (sections read: 1.1 Introduction and overview, 1.2 Learning as data compression with 1.2.1 Kolmogorov complexity and ideal MDL) (behind its links)
Rathmanner S, Hutter M. A Philosophical Treatise of Universal Induction. arXiv:1105.5721 (2011; Entropy 13:1076-1136) (sections read: abstract, introduction, the universal prior and confirmation passage, 8.x incomputable environments, 9 Approximations and applications); also the bound on prediction error from Solomonoff 1978 and the universal-prior bound K(mu) ln 2 (behind its links)
Baez JC, Stay M. Algorithmic Thermodynamics. arXiv:1010.2067v2 (2010; revised 2013) (sections read: abstract, 1 Introduction) (behind its links)
Abrahao FS, Hernandez-Orozco S, Kiani NA, Tegner J, Zenil H. Assembly Theory is an approximation to algorithmic complexity based on LZ compression that does not explain selection or evolution. arXiv:2403.06629v6 (2024; published in PLOS Complex Systems 1:e0000014, doi:10.1371/journal.pcsy.0000014, per the encyclopedia's citation; preprint copy read, main text and Supplementary A in full, PDF text with garbled equations) (behind its links)
Gell-Mann M, Lloyd S. Information measures, effective complexity, and total information. Complexity 2(1):44-52 (1996) (OpenAlex stored text; sections read: introduction, effective complexity, the DNA and frozen-accident passage, conclusion) (behind its links)
Ay N, Mueller M, Szkola A. Effective Complexity and its Relation to Logical Depth. arXiv:0810.5663 (IEEE Trans Inf Theory 56:4593, 2010, doi:10.1109/TIT.2010.2053892) (sections read: abstract, I Introduction and main results, the logical-depth passage of section V; two-column PDF text interleaved) (behind its links)
Adami C, Ofria C, Collier TC. Evolution of biological complexity. PNAS 97(9):4463-4468 (2000), doi:10.1073/pnas.97.9.4463 (PMC18257, full text through the paper portal: Europe PMC and OpenAlex's stored copy; equations garbled) (behind its links)
Algorithmic information theory (encyclopedia) (behind its links)
Gregory Chaitin (encyclopedia; WME snapshot; infobox and early-life section read) (behind its links)