Why can effective arithmetic fail to decide a sentence without being inconsistent?
Explain Rosser's bounded proof-code comparison and distinguish incompleteness, reflection, and the independence of Goodstein's theorem.
Sufficiently strong, effectively axiomatized arithmetic theories face limits on completeness and internal consistency proofs under the relevant hypotheses.
Source: Gödel's Incompleteness TheoremsThe completeness theorem establishes that first-order proof rules can capture semantic consequence. Every sentence true in all models of a theory is derivable from its axioms. It does not establish that the axioms decide every sentence.
Gödel's 1931 incompleteness theorem concerns that second question. Under suitable hypotheses, a theory of arithmetic cannot prove or refute every sentence in its language. Its strength is part of the reason: arithmetic can represent enough of the operations on expressions to make statements about formal proofs.
Sources and credit for Kurt Gödel
Unknown photographer, circa 1926, public domain, via Wikimedia Commons Image source · Public domain · Biographical dates
The argument is not a paradox caused by using an ambiguous sentence. It constructs an ordinary arithmetical formula by explicit syntactic methods.
Which theories are covered?
A standard modern formulation says that every consistent, computably enumerable first-order theory extending Robinson arithmetic is incomplete. This is one precise sufficient arithmetic-strength condition; more general formulations use interpretations of arithmetic in other theories.
Each qualification matters.
The theory must be consistent: it cannot derive a contradiction. Its axioms must be effectively enumerable, so there is a mechanical way to generate them. And it must express enough arithmetic to represent the elementary computations used in coding syntax.
Peano arithmetic is a familiar example of the relevant strength. Very weak logical theories need not meet the arithmetic condition. The theory of the natural numbers with addition alone, studied by Presburger, is decidable and complete.
The complete theory , consisting of every first-order truth about the standard natural numbers, is also a useful comparison. It is complete by definition. It escapes the theorem because its axioms cannot be effectively enumerated.
The incompleteness result therefore concerns a particular combination of effectiveness, consistency, and expressive strength. Removing the hypotheses changes the question.
Encoding expressions by numbers
A finite alphabet can be assigned positive integer codes. A finite sequence of codes
can then be encoded, for example, by
where is the corresponding prime. The exact coding is unimportant provided the relevant operations can be carried out effectively.
Formulas and proofs are finite arrangements of symbols, so they can receive numerical codes. Questions such as “Is this a well-formed formula?” and “Does this line follow from these earlier lines by a specified rule?” become questions about natural numbers.
For a suitably presented theory , one obtains a relation
meaning that codes a proof in of the formula coded by .
If the axioms are only computably enumerable rather than immediately decidable, proof certificates can include evidence of the stage at which an axiom was enumerated. The relation used for checking these enriched finite certificates can still be made effective in the required manner.
The key step is representability: the relevant coding relations can themselves be expressed by formulas of arithmetic. Arithmetic can consequently talk about proofs without introducing a new primitive object called “a proof.”
Provability is an arithmetical predicate
Define
This expresses that a proof of the sentence with code exists. The quantifier ranges over numbers; the numbers are being interpreted as possible codes.
The predicate is not an unrestricted truth predicate. It concerns whether a finite derivation exists in one specified formal system. A sentence can be true in the standard natural numbers without being provable in that system.
It is also necessary to distinguish an external statement that proves from the internal arithmetical formula saying that is provable. The relation between them depends on the chosen coding and on the arithmetic available in .
Confusing those levels can make the incompleteness argument look either trivial or contradictory. Its force comes from carefully connecting them, not from treating them as the same relation.
How the diagonal lemma produces self-reference
Let be a formula with one free numerical variable. The diagonal lemma produces a sentence such that an appropriate arithmetic proves
where is a numeral for the code of .
The mechanism is syntactic substitution. There is an effective function that takes the code of a one-variable formula and returns the code of the sentence obtained by substituting the formula's own code into its free position.
Using a formula representing that substitution function, define a new formula that applies to the result of self-substitution. Substitute the code of this new formula into itself. The resulting sentence is . The representability of substitution proves that its argument is exactly the code of .
This sketch omits the bookkeeping needed to express the coding function in the chosen arithmetic, but identifies the mathematical operation that makes the construction work. It is not an appeal to an English sentence mysteriously able to refer to itself.
Taking
gives a Gödel sentence satisfying
The sentence has been built to express its own unprovability in .
Why the Gödel sentence cannot be proved
Suppose proved . There would then be a particular finite proof, with a particular numerical code .
The elementary arithmetic of proof checking allows to verify that this code is a proof of , and hence to prove
But the fixed-point equivalence and the assumed proof of also give
Thus would be inconsistent. Under consistency, is not provable.
In the standard natural-number interpretation of the coding, this means that no actual finite proof of exists. To conclude that is true, one more point matters: the fixed-point equivalence can already be proved in , whose axioms are true in . That equivalence therefore holds in , even if the larger theory has false arithmetical theorems. Since is false there, is true. We used the soundness of the elementary base and the consistency of , not an inference from consistency to soundness. See Avigad's fixed-point construction and incompleteness proof, sections 4.5–4.6.
The statement that is true but unprovable should not replace the proof. The important content lies in effectiveness, representability, and the carefully specified provability predicate.
Why Rosser's refinement matters
Showing that cannot prove is not yet enough to show that is undecidable in . One must also exclude a proof of .
Gödel's original argument used omega-consistency. Informally, omega-consistency excludes a theory that proves an existential numerical assertion while proving, for each standard numeral separately, that it is not a witness.
In the present setting, a proof of would yield the assertion that some proof of exists. Yet consistency allows the theory to reject each particular standard number as such a proof. Omega-consistency rules out this combination.
In 1936, J. Barkley Rosser modified the self-referential sentence so that ordinary consistency suffices. His construction compares proofs of a sentence with proofs of its negation with sufficiently small numerical codes. The finite comparison provides leverage in both directions without requiring Gödel's stronger original hypothesis.
It is therefore appropriate to distinguish “Gödel's 1931 theorem” from the common modern formulation using only consistency. The latter incorporates Rosser's refinement.
Rosser's comparison, in both directions
The comparison can be made explicit. To keep the internal arithmetic straightforward, take a consistent computably enumerable extension of PA with an ordinary decidable proof-certificate relation. The fixed-point lemma produces a sentence satisfying
It says that every proof of has a proof of with no larger code. The ordering is on numerical codes, not on the number of lines in a derivation.
Suppose proved with code . Consistency excludes any proof of . In particular, each of the finitely many codes fails its proof check. The theory can verify those finite calculations and also verify that proves . It therefore proves the failure of the displayed condition, hence : a contradiction.
Now suppose proved with code . Consistency excludes a proof of . For each , the theory can verify that is not a proof of ; these are finitely many checks. For every , the known proof code supplies the witness demanded by the conditional. Combining the bounded and unbounded cases, proves the displayed universal condition and thus : again a contradiction.
Both directions use consistency plus finite verifications. The second direction avoids having to infer an external witness from an arbitrary existential theorem of . That is the mechanism behind Rosser's improvement. The same central result can be obtained over substantially weaker arithmetical bases; the PA setting here makes the comparison easy to follow. See Rosser's 1936 paper for the original refinement.
The second incompleteness theorem
The second theorem concerns the internal statement
For an appropriately strong, consistent, effectively axiomatized theory equipped with its standard provability predicate, does not prove this sentence.
The argument requires more than the first theorem's informal interpretation. The theory must be able to formalize enough reasoning about its own proofs. Standard derivability conditions describe how the provability predicate interacts with theorems, implication, and iterated provability.
For example, it must support an internal version of the fact that proofs of and can be combined into a proof of . Later work by Hilbert, Bernays, and Löb clarified this internal analysis.
Under the standard conditions, the theory can formalize the reasoning that its own consistency implies the unprovability represented by the Gödel sentence. If proved its consistency, it would consequently prove a sentence excluded by the first theorem.
The reference to the standard consistency statement matters. An arbitrary formula labeled “consistency” need not express the same property, and unusual provability predicates require separate analysis.
What this means for Hilbert's program
If a proposed finitary consistency proof can be formalized inside , then it would give an internal proof of . The second theorem shows why this is impossible under the relevant hypotheses.
The conclusion does not exclude relative consistency proofs. A stronger theory may prove that a weaker theory is consistent. Gentzen's analysis of arithmetic, for example, makes the strength of a transfinite-induction principle explicit.
Nor does the theorem say that every mathematical question is undecidable in every theory. Particular problems may be settled by existing axioms. Some theories are complete. Others become stronger when new axioms are added, although any resulting effective theory satisfying the hypotheses again has undecidable sentences.
Incompleteness therefore creates a continuing question about the choice and justification of principles. It does not identify one final axiom whose addition completes all effective arithmetic.
From self-reference to ordinary-looking mathematics
The first incompleteness argument constructs a sentence by coding proofs. Later independence results showed that limitations of PA also arise in statements formulated as concrete combinatorics or numerical processes.
A Goodstein sequence begins by expressing a natural number in hereditary base notation: the base is used again in the exponents, and recursively in their exponents. Increase every occurrence of the base by one, then subtract one. Repeat with successively larger bases until zero is reached.
For example, becomes . Expressing in hereditary base and changing to base gives . The numerical values can grow even though the process eventually terminates.
The termination argument associates to each hereditary expression an ordinal by replacing the base with . A base change leaves the associated ordinal unchanged; subtracting one strictly decreases it. There is no infinite descending sequence of these ordinals. This uses an appropriate well-foundedness principle below , not the false assertion that the numerical values themselves decrease.
Goodstein proved termination in 1944. Kirby and Paris proved in 1982 that the uniform statement that every such sequence terminates is not provable in PA. Each particular standard starting value nevertheless has a finite terminating computation, whose steps can in principle be verified in PA. The gap is between all individual finite instances and one universal theorem. Their original paper establishes this specific independence result; Gödel's general theorem alone does not identify it.
Paris and Harrington's earlier strengthening of the finite Ramsey theorem supplied another natural combinatorial example. Such results connected incompleteness with ordinary mathematical statements and with the ordinal analysis of arithmetic. They changed what an independence theorem could look like, without making every difficult numerical problem independent.
Reflection and Löb's theorem
The second theorem also belongs to a wider study of reflection: principles saying that provable sentences are true. For an arithmetical sentence , the local reflection assertion is
Löb's 1955 theorem says that, under the usual derivability conditions, if proves this implication, then already proves . Taking to be yields the standard second incompleteness conclusion for consistent . The theorem is about an internal proof of reflection. An external mathematician may reason about the reliability of in a stronger metatheory without thereby producing such an internal proof.
This distinction explains why adding a reflection principle can strengthen a theory. The added principle expresses a new commitment about the old proof system; it is not automatically available just because the old system can encode its derivations.
Boundaries of the result
Gödel's theorems do not by themselves prove that human reasoning exceeds every machine. Such an argument would require additional premises about human consistency, mathematical knowledge, and which formal system is being compared with which human capacities.
They also do not establish the independence of every difficult statement. The continuum hypothesis required particular model constructions; its independence does not follow merely from the existence of some undecidable sentence.
Tarski's undefinability theorem addresses a related but distinct boundary: sufficiently rich arithmetic cannot define its own full standard truth predicate in the required way. Provability and truth must remain separate even when both are studied through arithmetization.
The effectiveness condition now becomes a subject in its own right. What exactly can an algorithm compute, and how can one prove the nonexistence of an algorithm for a given task? The next note follows Church, Turing, Kleene, Post, and the development of computability theory.
Check your understanding: Can a consistent theory prove that one of its proofs exists when none does?
Assume PA is consistent and use its standard provability predicate. What happens in ?
Answer. The second incompleteness theorem implies that is consistent: otherwise the deduction theorem and classical reasoning would give a PA proof of . Yet asserts that a PA proof of exists. No standard finite proof does exist under the assumption. A model of must therefore supply a nonstandard number that it regards as such a proof. Consistency alone does not guarantee that all existential arithmetical theorems are true in .
Sources and further reading
- Kurt Gödel, “Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme I” (1931).
- David Hilbert and Paul Bernays, Grundlagen der Mathematik, volume II (1939); Martin H. Löb, “Solution of a Problem of Leon Henkin” (1955).
- Alfred Tarski, the work on truth and definability collected in Logic, Semantics, Metamathematics.
- Gödel's Incompleteness Theorems, for precise hypotheses, historical formulations, and common misinterpretations.
- J. Barkley Rosser, “Extensions of Some Theorems of Gödel and Church” (1936), for the consistency-only refinement.
- Jeremy Avigad, Computability and Incompleteness (2007), sections 4.3–4.6, for representability in , the fixed-point lemma, and the separate consistency and omega-consistency arguments.
- Laurie Kirby and Jeff Paris, “Accessible Independence Results for Peano Arithmetic” (1982), for the independence of the general Goodstein termination statement.