Extended ScienceCognition

Kolmogorov complexity

Definition

The length of the shortest program generating some object: structured and predictable means compressible (small K), pure randomness means incompressible (K near the object's own length).

Core rule: Use it to define an objective yardstick for "randomness" and "simplicity" (a formalization of Occam's razor), to judge whether data has structure to mine, and to give a single-object version of the explanation for the limits of compression.

In nineteen forty-nine, an early electronic computer produced more than two thousand decimal places of pi. Run your finger down those digits and they give you almost no help guessing the next one. Yet the people running the machine never fed it a list of the answers.

How much information does it actually take to write down a string like that?

Kolmogorov complexity asks how long the shortest program is that can make the exact object again. We'll follow those digits out of the machine and see how a short set of instructions can get you a long answer. Then we'll try the idea on data you might have.

How it works

Start with why anyone wanted a string that long. John von Neumann and others wanted to test sequences for randomness, and pi offered digits they could calculate by a known procedure. Before any of those tests, they needed a long run of digits to work with.

So the team turned to an early electronic computer called ENIAC. They could express pi in terms of quantities they could calculate by adding terms in a series. They broke the work into operations the computer could carry out to the precision they needed.

  1. 01 · Regularity is compressible Regularity means a shorter rule can replace listing things one by one.
  2. 02 · Find the shortest description Ask: what's the shortest program needed to generate this object?
  3. +2 more mechanism steps & animation in the app

When it fails & limits

That old report gives us one way to make the digits. When you turn this insight into a practical tool, three distinctions matter.

✦ Unlock full lesson in ConceptFlow

Unlock the full Kolmogorov complexity lesson in ConceptFlow

You’ve read the core idea and opening case. Get the ConceptFlow app to continue through the full breakdown, failure modes, 5-minute audio lesson, and decision practice.

  • ▸5-minute English & Mandarin audio lesson
  • ▸6 more deep-dive case & mechanism insights
  • ▸All 4 failure boundaries & counter-examples
  • ▸3-point decision checklist + 6-step practice

Tap a store button on mobile, or scan with your phone camera on desktop.