Reading preferences
Optional display controls need JavaScript. All reading content and navigation work without it.
Source file content/incompleteness/incompleteness-provability/incompleteness-provability.tex
Source file content/incompleteness/incompleteness-provability/introduction.tex
Introduction
Hilbert thought that a system of axioms for a mathematical structure, such as the natural numbers, is inadequate unless it allows one to derive all true statements about the structure. Combined with his later interest in formal systems of deduction, this suggests that he thought that we should guarantee that, say, the formal systems we are using to reason about the natural numbers is not only consistent, but also complete, i.e., every statement in its language is either derivable or its negation is. Gödel's first incompleteness theorem shows that no such system of axioms exists: there is no complete, consistent, axiomatizable formal system for arithmetic. In fact, no “sufficiently strong,” consistent, axiomatizable mathematical theory is complete.
A more important goal of Hilbert's, the centerpiece of his program for the justification of modern (“classical”) mathematics, was to find finitary consistency proofs for formal systems representing classical reasoning. With regard to Hilbert's program, then, Gödel's second incompleteness theorem was a much bigger blow. The second incompleteness theorem can be stated in vague terms, like the first incompleteness theorem. Roughly speaking, it says that no sufficiently strong theory of arithmetic can prove its own consistency. We will have to take “sufficiently strong” to include a little bit more than source.
The idea behind Gödel's original proof of the incompleteness theorem can be found in the Epimenides paradox. Epimenides, a Cretan, asserted that all Cretans are liars; a more direct form of the paradox is the assertion “this sentence is false.” Essentially, by replacing truth with derivability, Gödel was able to formalize a sentence which, in a roundabout way, asserts that it itself is not derivable. If that sentence were derivable, the theory would then be inconsistent. Gödel showed that the negation of that sentence is also not derivable from the system of axioms he was considering. (For this second part, Gödel had to assume that the theory source is what's called “source-consistent.” source-Consistency is related to consistency, but is a stronger property.Footnote: That is, any source-consistent theory is consistent, but not vice versa. A few years after Gödel, Rosser showed that assuming simple consistency of source is enough.)
The first challenge is to understand how one can construct a sentence that refers to itself. For every formula source in the language of source, let source denote the numeral corresponding to source. Think about what this means: source is a formula in the language of source, source is a natural number, and source is a term in the language of source. So every formula source in the language of source has a name, source, which is a term in the language of source; this provides us with a conceptual framework in which formulas in the language of source can “say” things about other formulas. The following lemma is known as the fixed-point lemma.
Fixed point lemma in a theory extending Q
Let source be any theory extending source, and let source be any formula with only the variable source free. Then there is a sentence source such that source.
The lemma asserts that given any property source, there is a sentence source that asserts “source is true of me,” and source “knows” this.
How can we construct such a sentence? Consider the following version of the Epimenides paradox, due to Quine:
“Yields falsehood when preceded by its quotation” yields falsehood when preceded by its quotation.
This sentence is not directly self-referential. It simply makes an assertion about the syntactic objects between quotes, and, in doing so, it is on par with sentences like
“Robert” is a nice name.
“I ran.” is a short sentence.
“Has three words” has three words.
But what happens when one takes the phrase “yields falsehood when preceded by its quotation,” and precedes it with a quoted version of itself? Then one has the original sentence! In short, the sentence asserts that it is false.
Source file content/incompleteness/incompleteness-provability/fixed-point-lemma.tex
The Fixed-Point Lemma
Explain
The fixed-point lemma says that for any formula source, there is a sentence source such that source, provided source extends source. In the case of the liar sentence, we'd want source to be equivalent (provably in source) to “source is false,” i.e., the statement that source is the Gödel number of a false sentence. To understand the idea of the proof, it will be useful to compare it with Quine's informal gloss of source as, “`yields a falsehood when preceded by its own quotation' yields a falsehood when preceded by its own quotation.” The operation of taking an expression, and then forming a sentence by preceding this expression by its own quotation may be called diagonalizing the expression, and the result its diagonalization. So, the diagonalization of `yields a falsehood when preceded by its own quotation' is “`yields a falsehood when preceded by its own quotation' yields a falsehood when preceded by its own quotation.” Now note that Quine's liar sentence is not the diagonalization of `yields a falsehood' but of `yields a falsehood when preceded by its own quotation.' So the property being diagonalized to yield the liar sentence itself involves diagonalization!
In the language of arithmetic, we form quotations of a formula with one free variable by computing its Gödel numbers and then substituting the standard numeral for that Gödel number into the free variable. The diagonalization of source is source, where source. (From now on, let's abbreviate source as source.) So if source is “is a falsehood,” then “yields a falsehood if preceded by its own quotation,” would be “yields a falsehood when applied to the Gödel number of its diagonalization.” If we had a symbol source for the function source which computes the Gödel number of the diagonalization of the formula with Gödel number source, we could write source as source. And Quine's version of the liar sentence would then be the diagonalization of it, i.e., source or source. Of course, source could now be any other property, and the same construction would work. For the incompleteness theorem, we'll take source to be “source is not derivable in source.” Then source would be “yields a sentence not derivable in source when applied to the Gödel number of its diagonalization.”
To formalize this in source, we have to find a way to formalize source. The function source is computable, in fact, it is primitive recursive: if source is the Gödel number of a formula source, source returns the Gödel number of source. (Recall, source is the standard numeral of the Gödel number of source, i.e., source). If source were a function symbol in source representing the function source, we could take source to be the formula source. Notice that
Assuming source can derive
it can derive source. But the left hand side is, by definition, source.
Of course, source will in general not be a function symbol of source, and certainly is not one of source. But, since source is computable, it is representable in source by some formula source. So instead of writing source we can write source. Otherwise, the proof sketched above goes through, and in fact, it goes through already in source.
Fixed point lemma already provable in Q
Let source be any formula with one free variable source. Then there is a sentence source such that source.
Proof
Given source, let source be the formula source and let source be its diagonalization, i.e., the formula source.
Since source represents source, and source, source can derive
Now we show that source. We argue informally, using just logic and facts derivable in source.
First, suppose source, i.e., source. Going back to the definition of source, we see that source just is
Consider such a source. Since source, by the second diagonal representation fact, uniqueness of the output, source. So, from source we have source.
Now suppose source. By the first diagonal representation fact, the represented value, we have
Digress
You should compare this to the proof of the fixed-point lemma in computability theory. The difference is that here we want to define a statement in terms of itself, whereas there we wanted to define a function in terms of itself; this difference aside, it is really the same idea.
Exercise ruling out a provable truth definition
A formula source is a truth definition if source for all sentences source. Show that no formula is a truth definition by using the fixed-point lemma.
Source file content/incompleteness/incompleteness-provability/first-incompleteness-thm.tex
The First Incompleteness Theorem
We can now describe Gödel's original proof of the first incompleteness theorem. Let source be any computably axiomatized theory in a language extending the language of arithmetic, such that source includes the axioms of source. This means that, in particular, source represents computable functions and relations.
We have argued that, given a reasonable coding of formulas and proofs as numbers, the relation source is computable, where source holds if and only if source is the Gödel number of a derivation of the formula with Gödel number source in source. In fact, for the particular theory that Gödel had in mind, Gödel was able to show that this relation is primitive recursive, using the list of 45 functions and relations in his paper. The 45th relation, source, is just source for his particular choice of source. Remember that where Gödel uses the word “recursive” in his paper, we would now use the phrase “primitive recursive.”
Since source is computable, it is representable in source. We will use source to refer to the formula that represents it. Let source be the formula source. This describes the 46th relation, source, on Gödel's list. As Gödel notes, this is the only relation that “cannot be asserted to be recursive.” What he probably meant is this: from the definition, it is not clear that it is computable; and later developments, in fact, show that it isn't.
Let source be an axiomatizable theory containing source. Then source is decidable, hence representable in source by a formula source. Let source be the formula we described above. By the fixed-point lemma, there is a formula source such that source (and hence source) derives
Note that source says, in essence, “source is not derivable in source.”
Consistency makes the Goedel sentence unprovable
If source is a consistent, axiomatizable theory extending source, then source.
Proof
Suppose source derives source. Then there is a derivation, and so, for some number source, the relation source holds. But then source derives the sentence source. So source derives source, which is, by definition, source. By the defining equivalence of the Goedel sentence, source derives source, and since source extends source, so does source. We have shown that if source derives source, then it also derives source, and hence it would be inconsistent.
Definition of omega consistency
A theory source is source-consistent if the following holds: if source is any sentence and source derives source, source, source, dots then source does not prove source.
Note that every source-consistent theory is also consistent. This follows simply from the fact that if source is inconsistent, then source for every source. In particular, if source is inconsistent, it derives both source for every source and also derives source. So, if source is inconsistent, it is source-inconsistent. By contraposition, if source is source-consistent, it must be consistent.
Omega consistency makes the Goedel sentence irrefutable
If source is an source-consistent, axiomatizable theory extending source, then source.
Proof
We show that if source derives source, then it is source-inconsistent. Suppose source derives source. If source is inconsistent, it is source-inconsistent, and we are done. Otherwise, source is consistent, so it does not derive source by the lemma that consistency makes the Goedel sentence unprovable. Since there is no derivation of source in source, source derives
and so does source. On the other hand, by the defining equivalence of the Goedel sentence, source is equivalent to source. So source is source-inconsistent.
Exercise separating consistency from omega consistency
Every source-consistent theory is consistent. Show that the converse does not hold, i.e., that there are consistent but source-inconsistent theories. Do this by showing that source is consistent but source-inconsistent.
Goedel first incompleteness theorem
Let source be any source-consistent, axiomatizable theory extending source. Then source is not complete.
Proof
If source is source-consistent, it is consistent, so source by the lemma that consistency makes the Goedel sentence unprovable. By the lemma that omega consistency makes the Goedel sentence irrefutable, source. This means that source is incomplete, since it derives neither source nor source.
Source file content/incompleteness/incompleteness-provability/rosser-thm.tex
Rosser's Theorem
Can we modify Gödel's proof to get a stronger result, replacing “source-consistent” with simply “consistent”? The answer is “yes,” using a trick discovered by Rosser. Rosser's trick is to use a “modified” derivability predicate source instead of source.
Rosser incompleteness theorem
Let source be any consistent, axiomatizable theory extending source. Then source is not complete.
Proof
Recall that source is defined as source, where source represents the decidable relation which holds iff source is the Gödel number of a derivation of the sentence with Gödel number source. The relation that holds between source and source if source is the Gödel number of a refutation of the sentence with Gödel number source is also decidable. Let source be the primitive recursive function which does the following: if source is the code of a formula source, source is a code of source. Then source holds iff source. Let source represent it. Then, if source and source is a corresponding derivation, source. We define source as
Roughly, source says “there is a proof of source in source, and there is no shorter refutation of source.” Assuming source is consistent, source is true of the same numbers as source; but from the point of view of provability in source (and we now know that there is a difference between truth and provability!) the two have different properties. If source is inconsistent, then the two do not hold of the same numbers! (source is often read as “source is Rosser provable.” Since, as just discussed, Rosser provability is not some special kind of provability---in inconsistent theories, there are sentences that are provable but not Rosser provable---this may be confusing. To avoid the confusion, you could instead read it as “source is shmovable.”)
By the fixed-point lemma, there is a formula source such that
In contrast to the proof of the first incompleteness theorem, here we claim that if source is consistent, source doesn't derive source, and source also doesn't derive source. (In other words, we don't need the assumption of source-consistency.)
First, let's show that source. Suppose it did, so there is a derivation of source from source; let source be its Gödel number. Then source, since source represents source in source. Also, for each source, source is not the Gödel number of a derivation of source, since source is consistent. So for each source, source. By the lemma describing the finitely many numbers below a numeral, source. Thus,
but that's just source. By the defining equivalence of the Rosser sentence, source. Since source extends source, also source. We've assumed that source, so source would be inconsistent, contrary to the assumption of the theorem.
Now, let's show that source. Again, suppose it did, and suppose source is the Gödel number of a derivation of source. Then source holds, and since source represents source in source, source. We'll again show that source would then be inconsistent because it would also derive source. Since
The sentence source, i.e.,
We argue informally using logic, making use of facts about what source derives. Suppose source is arbitrary and source. We already know that source, and so for every source, source. Thus, for every source it follows that source. In particular, we have (a) that source. We also have source and so by the lemma describing the finitely many numbers below a numeral, (b) source. By the trichotomy lemma for comparison with a numeral, source. Since source, we have source, and from that source. Since source was arbitrary we get, as required, that
Exercise on computable inseparability of provable and refutable sentences
Two sets source and source of natural numbers are said to be computably inseparable if there is no decidable set source such that source and source (source is the complement, source, of source). Let source be a consistent axiomatizable extension of source. Suppose source is the set of Gödel numbers of sentences provable in source and source the set of Gödel numbers of sentences refutable in source. Prove that source and source are computably inseparable.
Source file content/incompleteness/incompleteness-provability/godels-paper.tex
Comparison with Gödel's Original Paper
It is worthwhile to spend some time with Gödel's 1931 paper. The introduction sketches the ideas we have just discussed. Even if you just skim through the paper, it is easy to see what is going on at each stage: first Gödel describes the formal system source (syntax, axioms, proof rules); then he defines the primitive recursive functions and relations; then he shows that source is primitive recursive, and argues that the primitive recursive functions and relations are represented in source. He then goes on to prove the incompleteness theorem, as above. In Section 3, he shows that one can take the unprovable assertion to be a sentence in the language of arithmetic. This is the origin of the source-lemma, which is what we also used to handle sequences in showing that the recursive functions are representable in source. Gödel doesn't go so far to isolate a minimal set of axioms that suffice, but we now know that source will do the trick. Finally, in Section 4, he sketches a proof of the second incompleteness theorem.
Source file content/incompleteness/incompleteness-provability/provability-conditions.tex
The derivability Conditions for source
Peano arithmetic, or source, is the theory extending source with induction axioms for all formulas. In other words, one adds to source axioms of the form
for every formula source. Notice that this is really a schema, which is to say, infinitely many axioms (and it turns out that source is em not finitely axiomatizable). But since one can effectively determine whether or not a string of symbols is an instance of an induction axiom, the set of axioms for source is computable. source is a much more robust theory than source. For example, one can easily prove that addition and multiplication are commutative, using induction in the usual way. In fact, most finitary number-theoretic and combinatorial arguments can be carried out in source.
Since source is computably axiomatized, the derivability predicate source is computable and hence represented in source (and so, in source). As before, we will take source to denote the formula representing the relation. Let source be the formula source, which, intuitively says, “source is derivable from the axioms of source.” The reason we need a little bit more than the axioms of source is we need to know that the theory we are using is strong enough to derive a few basic facts about this derivability predicate. In fact, what we need are the following facts:
The only way to verify that these three properties hold is to describe the formula source carefully and use the axioms of source to describe the relevant formal derivations. Conditions (1) and (2) are easy; it is really condition (3) that requires work. (Think about what kind of work it entails dots) Carrying out the details would be tedious and uninteresting, so here we will ask you to take it on faith that source has the three properties listed above. A reasonable choice of source will also satisfy
But we will not need this fact.
Digress
Incidentally, Gödel was lazy in the same way we are being now. At the end of the 1931 paper, he sketches the proof of the second incompleteness theorem, and promises the details in a later paper. He never got around to it; since everyone who understood the argument believed that it could be carried out (he did not need to fill in the details.)
Source file content/incompleteness/incompleteness-provability/second-incompleteness-thm.tex
The Second Incompleteness Theorem
How can we express the assertion that source doesn't prove its own consistency? Saying source is inconsistent amounts to saying that source. So we can take the consistency statement source to be the sentence source, and then the following theorem does the job:
Second incompleteness theorem for Peano arithmetic
Assuming source is consistent, then source does not derive source.
It is important to note that the theorem depends on the particular representation of source (i.e., the particular representation of source). All we will use is that the representation of source satisfies the three derivability conditions, so the theorem generalizes to any theory with a derivability predicate having these properties.
It is informative to read Gödel's sketch of an argument, since the theorem follows like a good punch line. It goes like this. Let source be the Gödel sentence that we constructed in the proof of the first incompleteness theorem. We have shown “If source is consistent, then source does not derive source.” If we formalize this in source, we have a proof of
Now suppose source derives source. Then it derives source. But since source is a Gödel sentence, this is equivalent to source. So source derives source.
But: we know that if source is consistent, it doesn't derive source! So if source is consistent, it can't derive source.
To make the argument more precise, we will let source be the Gödel sentence for source and use the derivability conditions (P1)--(P3) to show that source derives source. This will show that source doesn't derive source. Here is a sketch of the proof, in source. (For simplicity, we drop the source subscripts.)
The use of logic in the above just elementary facts from propositional logic, e.g., step G two, three uses source and step G two, eight uses source. The use of condition P2 in step G two, five and step G two, six relies on instances of P2, source. In the first one, source and source; in the second, source and source.
The more abstract version of the second incompleteness theorem is as follows:
General second incompleteness theorem
Let source be any consistent, axiomatized theory extending source and let source be any formula satisfying derivability conditions P1--P3 for source. Then source does not derive source.
Exercise deriving consistency from the Goedel sentence
Digress
The moral of the story is that no “reasonable” consistent theory for mathematics can derive its own consistency statement. Suppose source is a theory of mathematics that includes source and Hilbert's “finitary” reasoning (whatever that may be). Then, the whole of source cannot derive the consistency statement of source, and so, a fortiori, the finitary fragment can't derive the consistency statement of source either. In that sense, there cannot be a finitary consistency proof for “all of mathematics.”
There is some leeway in interpreting the term “finitary,” and Gödel, in the 1931 paper, grants the possibility that something we may consider “finitary” may lie outside the kinds of mathematics Hilbert wanted to formalize. But Gödel was being charitable; today, it is hard to see how we might find something that can reasonably be called finitary but is not formalizable in, say, source, Zermelo--Fraenkel set theory with the axiom of choice.
Source file content/incompleteness/incompleteness-provability/lob-thm.tex
Löb's Theorem
The Gödel sentence for a theory source is a fixed point of source, i.e., a sentence source such that
It is not derivable, because if source, (a) by derivability condition (1), source, and (b) source together with source gives source, and so source would be inconsistent. Now it is natural to ask about the status of a fixed point of source, i.e., a sentence source such that
If it were derivable, source by condition (1), but the same conclusion follows if we apply modus ponens to the equivalence above. Hence, we don't get that source is inconsistent, at least not by the same argument as in the case of the Gödel sentence. This of course does not show that source does derive source.
We can make headway on this question if we generalize it a bit. The left-to-right direction of the fixed point equivalence, source, is an instance of a general schema called a reflection principle: source. It is called that because it expresses, in a sense, that source can “reflect” about what it can derive; basically it says, “If source can derive source, then source is true,” for any source. This is true for sound theories only, of course, and this suggests that theories will in general not derive every instance of it. So which instances can a theory (strong enough, and satisfying the derivability conditions) derive? Certainly all those where source itself is derivable. And that's it, as the next result shows.
Loeb theorem
Let source be an axiomatizable theory extending source, and suppose source is a formula satisfying conditions P1--P3 from the section on the second incompleteness theorem. If source derives source, then in fact source derives source.
Put differently, if source, then source. This result is known as Löb's theorem.
Explain
The heuristic for the proof of Löb's theorem is a clever proof that Santa Claus exists. (If you don't like that conclusion, you are free to substitute any other conclusion you would like.) Here it is:
Let source be the sentence, “If source is true, then Santa Claus exists.”
Suppose source is true.
Then what it says holds; i.e., we have: if source is true, then Santa Claus exists.
Since we are assuming source is true, we can conclude that Santa Claus exists, by modus ponens from (2) and (3).
We have succeeded in deriving (4), “Santa Claus exists,” from the assumption (2), “source is true.” By conditional proof, we have shown: “If source is true, then Santa Claus exists.”
But this is just the sentence source. So we have shown that source is true.
But then, by the argument (2)--(4) above, Santa Claus exists.
A formalization of this idea, replacing “is true” with “is derivable,” and “Santa Claus exists” with source, yields the proof of Löb's theorem. The trick is to apply the fixed-point lemma to the formula source. The fixed point of that corresponds to the sentence source in the preceding sketch.
Proof
[Proof of Loeb theorem] Suppose source is a sentence such that source derives source. Let source be the formula source, and use the fixed-point lemma to find a sentence source such that source derives source. Then each of the following is derivable in source:
With Löb's theorem in hand, there is a short proof of the second incompleteness theorem (for theories having a derivability predicate satisfying conditions P1--P3): if source, then source. If source is consistent, source. So, source, i.e., source. We can also apply it to show that source, the fixed point of source, is derivable. For since
and so by Löb's theorem, source.
Exercise comparing four reflection and provability claims
Let source be a computably axiomatized theory, and let source be a derivability predicate for source. Consider the following four statements:
Under what conditions are each of these statements true?
Source file content/incompleteness/incompleteness-provability/tarski-thm.tex
The Undefinability of Truth
The notion of definability depends on having a formal semantics for the language of arithmetic. We have described a set of formulas and sentences in the language of arithmetic. The “intended interpretation” is to read such sentences as making assertions about the natural numbers, and such an assertion can be true or false. Let source be the structure with domain source and the standard interpretation for the symbols in the language of arithmetic. Then source means “source is true in the standard interpretation.”
Definition of definability in the standard natural numbers
A relation source of natural numbers is definable in source if and only if there is a formula source in the language of arithmetic such that for every source, source if and only if source.
Put differently, a relation is definable in source if and only if it is representable in the theory source, where source is the set of true sentences of arithmetic. (If this is not immediately clear to you, you should go back and check the definitions and convince yourself that this is the case.)
Every computable relation is definable
Every computable relation is definable in source.
Proof
It is easy to check that the formula representing a relation in source defines the same relation in source.
Now one can ask, is the converse also true? That is, is every relation definable in source computable? The answer is no. For example:
The halting relation is definable
The halting relation is definable in source.
Proof
Recall that the Kleene normal form theorem states that every partial computable function source has an index source such that source for all source, where source and source are primitive recursive and therefore total. Thus, source is defined (i.e., the computation halts) iff there is an source such that source holds.
Now let source be the halting relation, i.e.,
Exercise defining Q theorem codes in arithmetic
Show that source is definable in arithmetic.
What about source itself? Is it definable in arithmetic? That is: is the set source definable in arithmetic? Tarski's theorem answers this in the negative.
Tarski undefinability theorem
The set of true sentences of arithmetic is not definable in arithmetic.
Proof
Suppose source defined it, i.e., source iff source. By the fixed-point lemma, there is a formula source such that source, and hence source. But then source if and only if source, which contradicts the fact that source is supposed to define the set of true statements of arithmetic.
Tarski applied this analysis to a more general philosophical notion of truth. Given any language source, Tarski argued that an adequate notion of truth for source would have to satisfy, for each sentence source,
Tarski's oft-quoted example, for English, is the sentence
`Snow is white' is true if and only if snow is white.
However, for any language strong enough to represent the diagonal function, and any linguistic predicate source, we can construct a sentence source satisfying “source if and only if not source.” Given that we do not want a truth predicate to declare some sentences to be both true and false, Tarski concluded that one cannot specify a truth predicate for all sentences in a language without, somehow, stepping outside the bounds of the language. In other words, a the truth predicate for a language cannot be defined in the language itself.
Source disclosures
- TR038-SAR-004: Notation clarification. In this displayed Rosser formula, smaller means smaller Goedel number, as specified by z less than x. The informal word shorter in the prose does not replace that numerical comparison by a count of proof symbols. source
- TR038-SAR-001: Source notation note. The displayed definition of the arithmetic provability formula uses the external proof relation, printed Prf, instead of the arithmetic formula representing that relation. The immediately preceding sentence names that representing formula. The distinction is preserved here rather than silently treating a numerical relation as an object language formula. source
- TR038-SAR-002: Source notation note. Here the source prints the external provability relation where the surrounding internal derivation calls for the arithmetic provability formula. The original distinction and the source wording remain visible. source
- TR038-SAR-003: Source citation note. The final step cites L eight and L twelve. L twelve gives provability of D, so the direct matching implication is L nine, which takes provability of D to A. L eight instead takes provability of A to A. The source citation is retained and its mismatch is recorded. source