Logic · Proven 1931
A perfect rulebook for arithmetic is impossible. Truth is always larger than proof.
Truth outruns proof
All of mathematics is built from a small set of starting rules, called axioms, plus logical steps that turn those rules into proofs. For a long time mathematicians dreamed of a perfect rulebook: one master set of rules powerful enough to prove every true statement about numbers, with no gaps. In 1931 a young logician named Kurt Gödel proved, with complete certainty, that this is impossible.
Here is the heart of his idea. Gödel found a clever way to write a mathematical sentence that talks about itself, a sentence that says, in effect, "this statement cannot be proved." Think about what that means. If you could prove it, then it would be false, and your rulebook would have proved something false, which is a disaster. So if your rules are trustworthy, the sentence cannot be proved, which is exactly what it claims, so the sentence is true. You are left with a statement that is true and yet impossible to prove.
And it goes deeper. Gödel showed you cannot patch the hole: add the missing statement as a new rule, and a brand new true-but-unprovable sentence appears. The gap never closes. He even proved that a rulebook can never show, using only itself, that it will never contradict itself. The twist is that this is not a flaw in one particular system. Any set of rules powerful enough to do ordinary arithmetic has these holes, forever. Truth, it turns out, is always bigger than proof.
By the early twentieth century, mathematicians led by David Hilbert had a bold goal: to put all of mathematics on a perfectly secure footing. They wanted a single formal system, a fixed set of axioms and logical rules, that was complete (able to prove every true statement) and consistent (never able to prove a contradiction), with a mechanical way to check any proof. In 1931 Kurt Gödel, then 25, proved that this dream cannot be achieved.
His First Incompleteness Theorem says that any consistent formal system powerful enough to express basic arithmetic must be incomplete: there are statements in its own language that are true but can be neither proved nor disproved within it. The proof is ingenious. Gödel devised a way to encode statements and proofs as numbers, so that arithmetic could make statements about arithmetic itself. With it he built a sentence that effectively asserts "this sentence is not provable in this system." If the system is consistent, that sentence cannot be proved, and so what it says is true. Truth slips beyond the reach of proof. And you cannot fix this by adding more axioms: bolt the troublesome sentence onto your rules, and the same trick produces a new true-but-unprovable sentence in the larger system. The incompleteness is permanent.
Then came the second blow. Gödel's Second Incompleteness Theorem shows that such a system cannot prove its own consistency. The statement "this system never contradicts itself," once written in the system's own arithmetic, is itself one of the things it cannot prove, unless it really is inconsistent, in which case it can prove anything at all. This shattered Hilbert's program, which had wanted mathematics to certify its own reliability from within. To prove a system consistent you must step outside it into a stronger one, whose consistency you then cannot prove either.
A common misunderstanding is that this makes mathematics unreliable or unknowable. It does not. Weaker systems can be complete; the theorems bite only once a system is strong enough to capture multiplication and the full structure of the whole numbers, which is exactly what lets it talk about itself. Nor are the unprovable statements always artificial: the Continuum Hypothesis, a natural question about the sizes of infinite sets, was shown to be neither provable nor disprovable from the standard axioms of set theory. The deepest surprise is that a system's very richness, its ability to describe itself, is precisely what guarantees it can never be complete. The more a formal system can say, the more true things it must leave unsaid.
State the first theorem carefully. Let \(F\) be a formal system that is effectively axiomatized (its theorems are recursively enumerable), consistent, and strong enough to interpret a modest fragment of arithmetic; Robinson's Q suffices, and Peano Arithmetic is the standard setting. Then \(F\) is incomplete: there is a sentence \(G\) such that, if \(F\) is consistent, \(F\) does not prove \(G\), and, by Rosser's sharpening, \(F\) does not prove its negation either. In the standard model of arithmetic \(G\) is true, so \(F\) fails to prove a truth expressible in its own language.
The construction is arithmetized self-reference. Gödel assigned a unique number to every symbol, formula, and proof, a Gödel numbering, turning syntactic claims like "x codes a proof of the formula coded by y" into arithmetic predicates. Because the primitive recursive functions are representable in \(F\), provability can be expressed by a formula \(\mathrm{Prov}\). The diagonal, or fixed-point, lemma then yields a sentence \(G\) with \(F\) proving \(G\) if and only if \(\lnot\mathrm{Prov}(\ulcorner G\urcorner)\): \(G\) provably asserts its own unprovability. Were \(F\) to prove \(G\), it would prove \(\lnot\mathrm{Prov}(\ulcorner G\urcorner)\) while also exhibiting a proof of \(G\), contradicting consistency, so \(G\) is unprovable and therefore true.
The second theorem internalizes that argument. Formalize consistency as \(\mathrm{Con}(F)\), the arithmetic sentence stating that \(F\) does not prove \(0 = 1\). The first theorem's reasoning, that consistency forces the unprovability of \(G\), can itself be carried out inside \(F\), giving \(F\) proves \(\mathrm{Con}(F) \to G\). Since \(G\) is unprovable, \(\mathrm{Con}(F)\) must be unprovable too: no consistent \(F\) of the required strength proves its own consistency. The clean version rests on the Hilbert-Bernays-Löb derivability conditions that the provability predicate satisfies, and is sharpened by Löb's theorem.
This ended Hilbert's program, but consistency proofs survive elsewhere. Hilbert had sought to secure infinitary mathematics with finitary consistency proofs formalizable within the system; the second theorem makes that impossible, since a stronger metatheory is required. Such proofs do exist: Gentzen established the consistency of PA in 1936 using transfinite induction up to the ordinal \(\varepsilon_0\), machinery unavailable inside PA, which both confirms PA's consistency and pinpoints the strength PA lacks.
Strength is necessary; many complete theories exist. Incompleteness is not a feature of formal systems in general. Presburger arithmetic, the naturals with addition but no multiplication, is consistent, complete, and decidable, as are the first-order theories of real closed fields and of algebraically closed fields, by Tarski's results. Multiplication supplies the coding power for self-reference, so it is exactly the systems rich enough to develop arithmetic that fall under the theorems. Note too that \(G\)'s truth is judged in the standard model; non-standard models of \(F\) together with \(\lnot G\) exist, in which the corresponding sentence behaves otherwise.
Natural independence, and the link to computability. The undecidable sentences are not confined to logicians' self-referential artifacts. The Continuum Hypothesis is independent of ZFC, shown consistent by Gödel in 1938 and its negation consistent by Cohen in 1963 via forcing; Goodstein's theorem and the Paris-Harrington principle are true arithmetic statements unprovable in PA. The phenomenon shares one coin with computability: the unsolvability of the halting problem (Turing, 1936) implies that no consistent, effectively axiomatized, sufficiently strong theory can be complete, since a complete one would let you decide halting by searching for proofs.
And here is what Gödel's theorems finally reveal. A formal system becomes interesting precisely when it is strong enough to talk about itself, and that same strength opens a permanent gap between what is true and what it can prove, a gap no finite list of new axioms can ever close, since each enlargement breeds its own unreachable truths. Worse, no such system can certify from within that it will not collapse into contradiction; to trust it you must stand in a wider system you trust no better to vouch for itself, and so on without end. Foundations do not rest on a bedrock the edifice can verify, but on conviction reached from outside. The timing was merciless. In 1930 David Hilbert proclaimed of mathematics, we must know, we will know. Within a year a 25-year-old had proved that any system equal to arithmetic must contain truths it can never know, and cannot even know itself to be free of contradiction. Truth, in the end, is larger than proof, and no machine of axioms will ever catch all of it.
The sentence that points at itself
Next: The Collatz Conjecture, a tiny rule whose generalizations touch the same undecidability · or go back to all topics.