Incompleteness

Incompleteness and Provability

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 Q\Th{Q}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 T\Th{T}source is what's called “ω\omegasource-consistent.” ω\omegasource-Consistency is related to consistency, but is a stronger property.Footnote: That is, any ω\omegasource-consistent theory is consistent, but not vice versa. A few years after Gödel, Rosser showed that assuming simple consistency of T\Th{T}source is enough.)

The first challenge is to understand how one can construct a sentence that refers to itself. For every formula A!Asource in the language of Q\Th{Q}source, let A\gn{!A}source denote the numeral corresponding to #A#\Gn{!A}source. Think about what this means: A!Asource is a formula in the language of Q\Th{Q}source, #A#\Gn{!A}source is a natural number, and A\gn{!A}source is a term in the language of Q\Th{Q}source. So every formula A!Asource in the language of Q\Th{Q}source has a name, A\gn{!A}source, which is a term in the language of Q\Th{Q}source; this provides us with a conceptual framework in which formulas in the language of Q\Th{Q}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 T\Th{T}source be any theory extending Q\Th{Q}source, and let B(x)!B(x)source be any formula with only the variable xxsource free. Then there is a sentence A!Asource such that TAB(A)\Th{T} \Proves!A \liff !B(\gn{!A})source.

The lemma asserts that given any property B(x)!B(x)source, there is a sentence A!Asource that asserts “B(x)!B(x)source is true of me,” and T\Th{T}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

  1. “Robert” is a nice name.

  2. “I ran.” is a short sentence.

  3. “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 B(x)!B(x)source, there is a sentence A!Asource such that TAB(A)\Th{T} \Proves !A \liff !B(\gn{!A})source, provided T\Th{T}source extends Q\Th{Q}source. In the case of the liar sentence, we'd want A!Asource to be equivalent (provably in T\Th{T}source) to “A\gn{!A}source is false,” i.e., the statement that #A#\Gn{!A}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 A!Asource 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 E(x)!E(x)source is E(n¯)!E(\num{n})source, where n=#E(x)#n = \Gn{!E(x)}source. (From now on, let's abbreviate #E(x)#¯\num{\Gn{!E(x)}}source as E(x)\gn{!E(x)}source.) So if B(x)!B(x)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 diag\Obj{diag}source for the function diag(n)\fn{diag}(n)source which computes the Gödel number of the diagonalization of the formula with Gödel number nnsource, we could write E(x)!E(x)source as B(diag(x))!B(\Obj{diag}(x))source. And Quine's version of the liar sentence would then be the diagonalization of it, i.e., E(E(x))!E(\gn{!E(x)})source or B(diag(B(diag(x))))!B(\Obj{diag}(\gn{!B(\Obj{diag}(x))}))source. Of course, B(x)!B(x)source could now be any other property, and the same construction would work. For the incompleteness theorem, we'll take B(x)!B(x)source to be “xxsource is not derivable in T\Th{T}source.” Then E(x)!E(x)source would be “yields a sentence not derivable in T\Th{T}source when applied to the Gödel number of its diagonalization.”

To formalize this in T\Th{T}source, we have to find a way to formalize diag\fn{diag}source. The function diag(n)\fn{diag}(n)source is computable, in fact, it is primitive recursive: if nnsource is the Gödel number of a formula E(x)!E(x)source, diag(n)\fn{diag}(n)source returns the Gödel number of E(E(x))!E(\gn{!E(x)})source. (Recall, E(x)\gn{!E(x)}source is the standard numeral of the Gödel number of E(x)!E(x)source, i.e., #E(x)#¯\num{\Gn{!E(x)}}source). If diag\Obj{diag}source were a function symbol in T\Th{T}source representing the function diag\fn{diag}source, we could take A!Asource to be the formula B(diag(B(diag(x))))!B(\Obj{diag}(\gn{!B(\Obj{diag}(x))}))source. Notice that

diag(#B(diag(x))#)=#B(diag(B(diag(x))))#=#A#.\fn{diag}(\Gn{!B(\Obj{diag}(x))}) & = \Gn{!B(\Obj{diag}(\gn{!B(\Obj{diag}(x))}))} \\ & = \Gn{!A}.source

Assuming T\Th{T}source can derive

diag(B(diag(x)))=A,\Obj{diag}(\gn{!B(\Obj{diag}(x))}) = \gn{!A},source

it can derive B(diag(B(diag(x))))B(A)!B(\Obj{diag}(\gn{!B(\Obj{diag}(x))})) \liff !B(\gn{!A})source. But the left hand side is, by definition, A!Asource.

Of course, diag\Obj{diag}source will in general not be a function symbol of T\Th{T}source, and certainly is not one of Q\Th{Q}source. But, since diag\fn{diag}source is computable, it is representable in Q\Th{Q}source by some formula Ddiag(x,y)!D_{\fn{diag}}(x,y)source. So instead of writing B(diag(x))!B(\Obj{diag}(x))source we can write y(Ddiag(x,y)B(y))\lexists[y][(!D_{\fn{diag}}(x,y) \land !B(y))]source. Otherwise, the proof sketched above goes through, and in fact, it goes through already in Q\Th{Q}source.

Fixed point lemma already provable in Q

Let B(x)!B(x)source be any formula with one free variable xxsource. Then there is a sentence A!Asource such that QAB(A)\Th{Q} \Proves !A \liff !B(\gn{!A})source.

Proof

Given B(x)!B(x)source, let E(x)!E(x)source be the formula y(Ddiag(x,y)B(y))\lexists[y][(!D_{\fn{diag}}(x,y) \land !B(y))]source and let A!Asource be its diagonalization, i.e., the formula E(E(x))!E(\gn{!E(x)})source.

Since Ddiag!D_{\fn{diag}}source represents diag\fn{diag}source, and diag(#E(x)#)=#A#\fn{diag}(\Gn{!E(x)}) = \Gn{!A}source, Q\Th{Q}source can derive

Ddiag(E(x),A)y(Ddiag(E(x),y)y=A).& !D_{\fn{diag}}(\gn{!E(x)}, \gn{!A}) \ollabel{repdiag1} \\ & \lforall[y][(!D_{\fn{diag}}(\gn{!E(x)},y) \lif \eq[y][\gn{!A}])]. \ollabel{repdiag2}source

Now we show that QAB(A)\Th{Q} \Proves !A \liff !B(\gn{!A})source. We argue informally, using just logic and facts derivable in Q\Th{Q}source.

First, suppose A!Asource, i.e., E(E(x))!E(\gn{!E(x)})source. Going back to the definition of E(x)!E(x)source, we see that E(E(x))!E(\gn{!E(x)})source just is

y(Ddiag(E(x),y)B(y)).\lexists[y][(!D_{\fn{diag}}(\gn{!E(x)},y) \land !B(y))].source

Consider such a yysource. Since Ddiag(E(x),y)!D_{\fn{diag}}(\gn{!E(x)},y)source, by the second diagonal representation fact, uniqueness of the output, y=Ay = \gn{!A}source. So, from B(y)!B(y)source we have B(A)!B(\gn{!A})source.

Now suppose B(A)!B(\gn{!A})source. By the first diagonal representation fact, the represented value, we have

Ddiag(E(x),A)B(A).It follows thaty(Ddiag(E(x),y)B(y)).& !D_{\fn{diag}}(\gn{!E(x)}, \gn{!A}) \land !B(\gn{!A}). \intertext{It follows that} & \lexists[y][(!D_{\fn{diag}}(\gn{!E(x)},y) \land !B(y))].source

But that's just E(E(x))!E(\gn{!E(x)})source, i.e., A!Asource.

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 A(x)!A(x)source is a truth definition if QBA(B)\Th{Q} \Proves !B \liff !A(\gn{!B})source for all sentences B!Bsource. 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 T\Th{T}source be any computably axiomatized theory in a language extending the language of arithmetic, such that T\Th{T}source includes the axioms of Q\Th{Q}source. This means that, in particular, T\Th{T}source represents computable functions and relations.

We have argued that, given a reasonable coding of formulas and proofs as numbers, the relation PrfT(x,y)\Prf[\Th{T}](x,y)source is computable, where PrfT(x,y)\Prf[\Th{T}](x,y)source holds if and only if xxsource is the Gödel number of a derivation of the formula with Gödel number yysource in T\Th{T}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, xByx B ysource, is just PrfT(x,y)\Prf[\Th{T}](x,y)source for his particular choice of T\Th{T}source. Remember that where Gödel uses the word “recursive” in his paper, we would now use the phrase “primitive recursive.”

Since PrfT(x,y)\Prf[\Th{T}](x,y)source is computable, it is representable in T\Th{T}source. We will use PrfT(x,y)\OPrf[\Th{T}](x,y)source to refer to the formula that represents it. Let ProvT(y)\OProv[\Th{T}](y)source be the formula xPrfT(x,y)\lexists[x][\OPrf[\Th{T}](x,y)]source. This describes the 46th relation, Bew(y)\fn{Bew}(y)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 T\Th{T}source be an axiomatizable theory containing Q\Th{Q}source. Then PrfT(x,y)\Prf[\Th{T}](x, y)source is decidable, hence representable in Q\Th{Q}source by a formula PrfT(x,y)\OPrf[\Th{T}](x, y)source. Let ProvT(y)\OProv[\Th{T}](y)source be the formula we described above. By the fixed-point lemma, there is a formula GT!G_\Th{T}source such that Q\Th{Q}source (and hence T\Th{T}source) derives

GT¬ProvT(GT).\ollabel{eqn:qpf} !G_\Th{T} \liff \lnot \OProv[\Th{T}](\gn{!G_\Th{T}}).source

Note that GT!G_\Th{T}source says, in essence, “GT!G_\Th{T}source is not derivable in T\Th{T}source.”

Consistency makes the Goedel sentence unprovable

If T\Th{T}source is a consistent, axiomatizable theory extending Q\Th{Q}source, then TGT\Th{T} \Proves/ !G_\Th{T}source.

Proof

Suppose T\Th{T}source derives GT!G_\Th{T}source. Then there is a derivation, and so, for some number mmsource, the relation PrfT(m,#GT#)\Prf[\Th{T}](m, \Gn{!G_\Th{T}})source holds. But then Q\Th{Q}source derives the sentence PrfT(m¯,GT)\OPrf[\Th{T}](\num m, \gn{!G_\Th{T}})source. So Q\Th{Q}source derives xPrfT(x,GT)\lexists[x][\OPrf[\Th{T}](x,\gn{!G_\Th{T}})]source, which is, by definition, ProvT(GT)\OProv[\Th{T}](\gn{!G_\Th{T}})source. By the defining equivalence of the Goedel sentence, Q\Th{Q}source derives ¬GT\lnot !G_\Th{T}source, and since T\Th{T}source extends Q\Th{Q}source, so does T\Th{T}source. We have shown that if T\Th{T}source derives GT!G_\Th{T}source, then it also derives ¬GT\lnot !G_\Th{T}source, and hence it would be inconsistent.

Definition of omega consistency

A theory T\Th{T}source is ω\omegasource-consistent if the following holds: if xA(x)\lexists[x][!A(x)]source is any sentence and T\Th{T}source derives ¬A(0¯)\lnot !A(\num 0)source, ¬A(1¯)\lnot !A(\num 1)source, ¬A(2¯)\lnot !A(\num 2)source, dots then T\Th{T}source does not prove xA(x)\lexists[x][!A(x)]source.

Note that every ω\omegasource-consistent theory is also consistent. This follows simply from the fact that if T\Th{T}source is inconsistent, then TA\Th{T} \Proves !Asource for every A!Asource. In particular, if T\Th{T}source is inconsistent, it derives both ¬A(n¯)\lnot !A(\num n)source for every nnsource and also derives xA(x)\lexists[x][!A(x)]source. So, if T\Th{T}source is inconsistent, it is ω\omegasource-inconsistent. By contraposition, if T\Th{T}source is ω\omegasource-consistent, it must be consistent.

Omega consistency makes the Goedel sentence irrefutable

If T\Th{T}source is an ω\omegasource-consistent, axiomatizable theory extending Q\Th{Q}source, then T¬GT\Th{T} \Proves/ \lnot !G_\Th{T}source.

Proof

We show that if T\Th{T}source derives ¬GT\lnot !G_\Th{T}source, then it is ω\omegasource-inconsistent. Suppose T\Th{T}source derives ¬GT\lnot !G_\Th{T}source. If T\Th{T}source is inconsistent, it is ω\omegasource-inconsistent, and we are done. Otherwise, T\Th{T}source is consistent, so it does not derive GT!G_\Th{T}source by the lemma that consistency makes the Goedel sentence unprovable. Since there is no derivation of GT!G_\Th{T}source in T\Th{T}source, Q\Th{Q}source derives

¬PrfT(0¯,GT),¬PrfT(1¯,GT),¬PrfT(2¯,GT),\lnot \OPrf[\Th{T}](\num 0, \gn{!G_\Th{T}}), \lnot \OPrf[\Th{T}](\num 1, \gn{!G_\Th{T}}), \lnot \OPrf[\Th{T}](\num 2, \gn{!G_\Th{T}}), \dotssource

and so does T\Th{T}source. On the other hand, by the defining equivalence of the Goedel sentence, ¬GT\lnot !G_\Th{T}source is equivalent to xPrfT(x,GT)\lexists[x][\OPrf[\Th{T}](x,\gn{!G_\Th{T}})]source. So T\Th{T}source is ω\omegasource-inconsistent.

Exercise separating consistency from omega consistency

Every ω\omegasource-consistent theory is consistent. Show that the converse does not hold, i.e., that there are consistent but ω\omegasource-inconsistent theories. Do this by showing that Q{¬GQ}\Th{Q} \cup \{\lnot !G_\Th{Q}\}source is consistent but ω\omegasource-inconsistent.

Goedel first incompleteness theorem

Let T\Th{T}source be any ω\omegasource-consistent, axiomatizable theory extending Q\Th{Q}source. Then T\Th{T}source is not complete.

Proof

If T\Th{T}source is ω\omegasource-consistent, it is consistent, so TGT\Th{T} \Proves/ !G_\Th{T}source by the lemma that consistency makes the Goedel sentence unprovable. By the lemma that omega consistency makes the Goedel sentence irrefutable, T¬GT\Th{T} \Proves/ \lnot !G_\Th{T}source. This means that T\Th{T}source is incomplete, since it derives neither GT!G_\Th{T}source nor ¬GT\lnot !G_\Th{T}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 “ω\omegasource-consistent” with simply “consistent”? The answer is “yes,” using a trick discovered by Rosser. Rosser's trick is to use a “modified” derivability predicate RProvT(y)\ORProv_T(y)source instead of ProvT(y)\OProv[\Th{T}](y)source.

Rosser incompleteness theorem

Let T\Th{T}source be any consistent, axiomatizable theory extending Q\Th{Q}source. Then T\Th{T}source is not complete.

Proof

Recall that ProvT(y)\OProv[\Th{T}](y)source is defined as xPrfT(x,y)\lexists[x][\OPrf[\Th{T}](x, y)]source, where PrfT(x,y)\OPrf[\Th{T}](x, y)source represents the decidable relation which holds iff xxsource is the Gödel number of a derivation of the sentence with Gödel number yysource. The relation that holds between xxsource and yysource if xxsource is the Gödel number of a refutation of the sentence with Gödel number yysource is also decidable. Let not(x)\fn{not}(x)source be the primitive recursive function which does the following: if xxsource is the code of a formula A!Asource, not(x)\fn{not}(x)source is a code of ¬A\lnot !Asource. Then RefT(x,y)\Refut[\Th{T}](x, y)source holds iff PrfT(x,not(y))\Prf[\Th{T}](x, \fn{not}(y))source. Let RefT(x,y)\ORefut[\Th{T}](x, y)source represent it. Then, if T¬A\Th{T} \Proves \lnot !Asource and δ\deltasource is a corresponding derivation, QRefT(δ,A)\Th{Q} \Proves \ORefut[\Th{T}](\gn{\delta}, \gn{!A})source. We define RProvT(y)\ORProv[\Th{T}](y)source as

x(PrfT(x,y)z(z<x¬RefT(z,y))).\lexists[x][(\OPrf[\Th{T}](x,y) \land \lforall[z][(z < x \lif \lnot \ORefut[\Th{T}](z,y))])].source

Roughly, RProvT(y)\ORProv[\Th{T}](y)source says “there is a proof of yysource in T\Th{T}source, and there is no shorter refutation of yysource.” Assuming T\Th{T}source is consistent, RProvT(y)\ORProv[\Th{T}](y)source is true of the same numbers as ProvT(y)\OProv[\Th{T}](y)source; but from the point of view of provability in T\Th{T}source (and we now know that there is a difference between truth and provability!) the two have different properties. If T\Th{T}source is inconsistent, then the two do not hold of the same numbers! (RProvT(y)\ORProv[\Th{T}](y)source is often read as “yysource 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 “yysource is shmovable.”)

By the fixed-point lemma, there is a formula RT!R_\Th{T}source such that

QRT¬RProvT(RT).\Th{Q} \Proves !R_\Th{T} \liff \lnot \ORProv[\Th{T}](\gn{!R_\Th{T}}). \ollabel{RT}source

In contrast to the proof of the first incompleteness theorem, here we claim that if T\Th{T}source is consistent, T\Th{T}source doesn't derive RT!R_\Th{T}source, and T\Th{T}source also doesn't derive ¬RT\lnot !R_\Th{T}source. (In other words, we don't need the assumption of ω\omegasource-consistency.)

First, let's show that TRT\Th{T} \Proves/ !R_{\Th{T}}source. Suppose it did, so there is a derivation of RT!R_{\Th{T}}source from TTsource; let nnsource be its Gödel number. Then QPrfT(n¯,RT)\Th{Q} \Proves \OPrf[\Th{T}](\num{n}, \gn{!R_{\Th{T}}})source, since PrfT\OPrf[\Th{T}]source represents PrfT\Prf[\Th{T}]source in Q\Th{Q}source. Also, for each k<nk < nsource, kksource is not the Gödel number of a derivation of ¬RT\lnot !R_{\Th{T}}source, since T\Th{T}source is consistent. So for each k<nk < nsource, Q¬RefT(k¯,RT)\Th{Q} \Proves \lnot \ORefut[\Th{T}](\num{k}, \gn{!R_{\Th{T}}})source. By the lemma describing the finitely many numbers below a numeral, Qz(z<n¯¬RefT(z,RT))\Th{Q} \Proves \lforall[z][(z < \num{n} \lif \lnot \ORefut[\Th{T}](z, \gn{!R_{\Th{T}}}))]source. Thus,

Qx(PrfT(x,RT)z(z<x¬RefT(z,RT))),\Th{Q} \Proves \lexists[x][(\OPrf[\Th{T}](x,\gn{!R_{\Th{T}}}) \land \lforall[z][(z < x \lif \lnot \ORefut[\Th{T}](z,\gn{!R_{\Th{T}}}))])],source

but that's just RProvT(RT)\ORProv[\Th{T}](\gn{!R_{\Th{T}}})source. By the defining equivalence of the Rosser sentence, Q¬RT\Th{Q} \Proves \lnot !R_{\Th{T}}source. Since T\Th{T}source extends Q\Th{Q}source, also T¬RT\Th{T} \Proves \lnot !R_{\Th{T}}source. We've assumed that TRT\Th{T} \Proves !R_{\Th{T}}source, so T\Th{T}source would be inconsistent, contrary to the assumption of the theorem.

Now, let's show that T¬RT\Th{T} \Proves/ \lnot !R_{\Th{T}}source. Again, suppose it did, and suppose nnsource is the Gödel number of a derivation of ¬RT\lnot !R_{\Th{T}}source. Then RefT(n,#RT#)\Refut[\Th{T}](n, \Gn{!R_{\Th{T}}})source holds, and since RefT\ORefut[\Th{T}]source represents RefT\Refut[\Th{T}]source in Q\Th{Q}source, QRefT(n¯,RT)\Th{Q} \Proves \ORefut[\Th{T}](\num{n}, \gn{!R_{\Th{T}}})source. We'll again show that T\Th{T}source would then be inconsistent because it would also derive RT!R_{\Th{T}}source. Since

QRT¬RProvT(RT),and since T extends Q, it suffices to show thatQ¬RProvT(RT).\Th{Q} & \Proves !R_{\Th{T}} \liff \lnot \ORProv[\Th{T}](\gn{!R_{\Th{T}}}), \intertext{and since $\Th{T}$ extends~$\Th{Q}$, it suffices to show that} \Th{Q} & \Proves \lnot \ORProv[\Th{T}](\gn{!R_{\Th{T}}}).source

The sentence ¬RProvT(RT)\lnot \ORProv[\Th{T}](\gn{!R_{\Th{T}}})source, i.e.,

¬x(PrfT(x,RT)z(z<x¬RefT(z,RT))),is logically equivalent tox(PrfT(x,RT)z(z<xRefT(z,RT))).\lnot & \lexists[x][(\OPrf[\Th{T}](x,\gn{!R_{\Th{T}}}) \land \lforall[z][(z < x \lif \lnot \ORefut[\Th{T}](z,\gn{!R_{\Th{T}}}))])], \intertext{is logically equivalent to} & \lforall[x][(\OPrf[\Th{T}](x,\gn{!R_{\Th{T}}}) \lif \lexists[z][(z < x \land \ORefut[\Th{T}](z,\gn{!R_{\Th{T}}}))])].source

We argue informally using logic, making use of facts about what Q\Th{Q}source derives. Suppose xxsource is arbitrary and PrfT(x,RT)\OPrf[\Th{T}](x, \gn{!R_{\Th{T}}})source. We already know that TRT\Th{T} \Proves/ !R_{\Th{T}}source, and so for every kksource, Q¬PrfT(k¯,RT)\Th{Q} \Proves \lnot \OPrf[\Th{T}](\num{k}, \gn{!R_{\Th{T}}})source. Thus, for every kksource it follows that xk¯\eq/[x][\num{k}]source. In particular, we have (a) that xn¯\eq/[x][\num{n}]source. We also have ¬(x=0¯x=1¯x=n1¯)\lnot(\eq[x][\num{0}] \lor \eq[x][\num{1}] \lor \dots \lor \eq[x][\num{n-1}])source and so by the lemma describing the finitely many numbers below a numeral, (b) ¬(x<n¯)\lnot(x < \num{n})source. By the trichotomy lemma for comparison with a numeral, n¯<x\num{n} < xsource. Since QRefT(n¯,RT)\Th{Q} \Proves \ORefut[\Th{T}](\num{n}, \gn{!R_{\Th{T}}})source, we have n¯<xRefT(n¯,RT)\num{n} < x \land \ORefut[\Th{T}](\num{n}, \gn{!R_{\Th{T}}})source, and from that z(z<xRefT(z,RT))\lexists[z][(z < x \land \ORefut[\Th{T}](z,\gn{!R_{\Th{T}}}))]source. Since xxsource was arbitrary we get, as required, that

x(PrfT(x,RT)z(z<xRefT(z,RT))).\lforall[x][(\OPrf[\Th{T}](x,\gn{!R_{\Th{T}}}) \lif \lexists[z][(z < x \land \ORefut[\Th{T}](z,\gn{!R_{\Th{T}}}))])].source

Exercise on computable inseparability of provable and refutable sentences

Two sets AAsource and BBsource of natural numbers are said to be computably inseparable if there is no decidable set XXsource such that AXA \subseteq Xsource and BX¯B \subseteq \Complement{X}source (X¯\Complement{X}source is the complement, X\Nat \setminus Xsource, of XXsource). Let T\Th{T}source be a consistent axiomatizable extension of Q\Th{Q}source. Suppose AAsource is the set of Gödel numbers of sentences provable in T\Th{T}source and BBsource the set of Gödel numbers of sentences refutable in T\Th{T}source. Prove that AAsource and BBsource 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 PPsource (syntax, axioms, proof rules); then he defines the primitive recursive functions and relations; then he shows that xByx B ysource is primitive recursive, and argues that the primitive recursive functions and relations are represented in P\Th{P}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 β\betasource-lemma, which is what we also used to handle sequences in showing that the recursive functions are representable in Q\Th{Q}source. Gödel doesn't go so far to isolate a minimal set of axioms that suffice, but we now know that Q\Th{Q}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 PA\Th{PA}source

Peano arithmetic, or PA\Th{PA}source, is the theory extending Q\Th{Q}source with induction axioms for all formulas. In other words, one adds to Q\Th{Q}source axioms of the form

(A(0)x(A(x)A(x)))xA(x)(!A(0) \land \lforall[x][(!A(x) \lif !A(x'))]) \lif \lforall[x][!A(x)]source

for every formula A!Asource. Notice that this is really a schema, which is to say, infinitely many axioms (and it turns out that PA\Th{PA}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 PA\Th{PA}source is computable. PA\Th{PA}source is a much more robust theory than Q\Th{Q}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 PA\Th{PA}source.

Since PA\Th{PA}source is computably axiomatized, the derivability predicate PrfPA(x,y)\Prf[\Th{PA}](x,y)source is computable and hence represented in Q\Th{Q}source (and so, in PA\Th{PA}source). As before, we will take PrfPA(x,y)\OPrf[\Th{PA}](x,y)source to denote the formula representing the relation. Let ProvPA(y)\OProv[\Th{PA}](y)source be the formula xPrfPA(x,y)\lexists[x][\Prf[\Th{PA}](x,y)]source, which, intuitively says, “yysource is derivable from the axioms of PA\Th{PA}source.” The reason we need a little bit more than the axioms of Q\Th{Q}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:

  1. If PAA\Th{PA} \Proves !Asource, then PAProvPA(A)\Th{PA} \Proves \OProv[\Th{PA}](\gn{!A})source.

  2. For all formulas A!Asource and B!Bsource,

    PAProvPA(AB)(ProvPA(A)ProvPA(B)).\Th{PA} \Proves \OProv[\Th{PA}](\gn{!A \lif !B}) \lif (\OProv[\Th{PA}](\gn{!A}) \lif \OProv[\Th{PA}](\gn{!B})).source
  3. For every formula A!Asource,

    PAProvPA(A)ProvPA(ProvPA(A)).\Th{PA} \Proves \OProv[\Th{PA}](\gn{!A}) \lif \OProv[\Th{PA}](\gn{\OProv[\Th{PA}](\gn{!A})}).source

The only way to verify that these three properties hold is to describe the formula ProvPA(y)\OProv[\Th{PA}](y)source carefully and use the axioms of PA\Th{PA}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 PA\Th{PA}source has the three properties listed above. A reasonable choice of ProvPA(y)\OProv[\Th{PA}](y)source will also satisfy

  1. If PAProvPA(A)\Th{PA} \Proves \OProv[\Th{PA}](\gn{!A})source, then PAA\Th{PA} \Proves !Asource.

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 PA\Th{PA}source doesn't prove its own consistency? Saying PA\Th{PA}source is inconsistent amounts to saying that PA0=1\Th{PA} \Proves \eq[0][1]source. So we can take the consistency statement ConPA\OCon[\Th{PA}]source to be the sentence ¬ProvPA(0=1)\lnot \OProv[\Th{PA}](\gn{\eq[0][1]})source, and then the following theorem does the job:

Second incompleteness theorem for Peano arithmetic

Assuming PA\Th{PA}source is consistent, then PA\Th{PA}source does not derive ConPA\OCon[\Th{PA}]source.

It is important to note that the theorem depends on the particular representation of ConPA\OCon[\Th{PA}]source (i.e., the particular representation of ProvPA(y)\OProv[\Th{PA}](y)source). All we will use is that the representation of ProvPA(y)\OProv[\Th{PA}](y)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 GPA!G_\Th{PA}source be the Gödel sentence that we constructed in the proof of the first incompleteness theorem. We have shown “If PA\Th{PA}source is consistent, then PA\Th{PA}source does not derive GPA!G_\Th{PA}source.” If we formalize this in PA\Th{PA}source, we have a proof of

ConPA¬ProvPA(GPA).\OCon[\Th{PA}] \lif \lnot \OProv[\Th{PA}](\gn{!G_\Th{PA}}).source

Now suppose PA\Th{PA}source derives ConPA\OCon[\Th{PA}]source. Then it derives ¬ProvPA(GPA)\lnot \Prov[\Th{PA}](\gn{!G_\Th{PA}})source. But since GPA!G_\Th{PA}source is a Gödel sentence, this is equivalent to GPA!G_\Th{PA}source. So PA\Th{PA}source derives GPA!G_\Th{PA}source.

But: we know that if PA\Th{PA}source is consistent, it doesn't derive GPA!G_\Th{PA}source! So if PA\Th{PA}source is consistent, it can't derive ConPA\OCon[\Th{PA}]source.

To make the argument more precise, we will let GPA!G_\Th{PA}source be the Gödel sentence for PA\Th{PA}source and use the derivability conditions (P1)--(P3) to show that PA\Th{PA}source derives ConPAGPA\OCon[\Th{PA}] \lif !G_\Th{PA}source. This will show that PA\Th{PA}source doesn't derive ConPA\OCon[\Th{PA}]source. Here is a sketch of the proof, in PA\Th{PA}source. (For simplicity, we drop the PA\Th{PA}source subscripts.)

G¬Prov(G)G is a Gödel sentenceG¬Prov(G)from step G two, oneG(Prov(G))from step G two, two by logicProv(G(Prov(G)))by from step G two, three by condition P1Prov(G)Prov((Prov(G)))from step G two, four by condition P2Prov(G)(Prov(Prov(G))Prov())from step G two, five by condition P2 and logicProv(G)Prov(Prov(G))by P3Prov(G)Prov()from step G two, six and step G two, seven by logicCon¬Prov(G)contraposition of step G two, eight and Con¬Prov()ConGfrom step G two, one and step G two, nine by logic& !G \liff \lnot \OProv(\gn{!G}) \ollabel{G2-1}\\ & \qquad\text{$!G$ is a G\"odel sentence}\notag \\ & !G \lif \lnot \OProv(\gn{!G}) \ollabel{G2-2}\\ & \qquad\text{from \olref{G2-1}} \notag\\ & !G \lif (\OProv(\gn{!G}) \lif \lfalse) \ollabel{G2-3}\\ & \qquad\text{from \olref{G2-2} by logic}\notag\\ & \OProv(\gn{ !G \lif (\OProv(\gn{!G}) \lif \lfalse) }) \ollabel{G2-4}\\ & \qquad\text{by from \olref{G2-3} by condition P1} \notag\\ & \OProv(\gn{!G}) \lif \OProv(\gn{ (\OProv(\gn{!G}) \lif \lfalse) }) \ollabel{G2-5}\\ & \qquad\text{from \olref{G2-4} by condition P2} \notag\\ & \OProv(\gn{!G}) \lif (\OProv(\gn{\OProv(\gn{!G})}) \lif \OProv(\gn{\lfalse})) \ollabel{G2-6}\\ & \qquad\text{from \olref{G2-5} by condition P2 and logic} \notag\\ & \OProv(\gn{!G}) \lif \OProv(\gn{\OProv(\gn{!G})}) \ollabel{G2-7}\\ & \qquad\text{by P3} \notag\\ & \OProv(\gn{!G}) \lif \OProv(\gn{\lfalse}) \ollabel{G2-8}\\ & \qquad \text{from \olref{G2-6} and \olref{G2-7} by logic}\notag\\ & \OCon \lif \lnot \OProv(\gn{!G}) \ollabel{G2-9}\\ & \qquad\text{contraposition of \olref{G2-8} and $\OCon \ident \lnot \OProv(\gn{\lfalse})$}\notag \\ & \OCon \lif !G \notag\\ & \qquad\text{from \olref{G2-1} and \olref{G2-9} by logic}\notagsource

The use of logic in the above just elementary facts from propositional logic, e.g., step G two, three uses ¬A(A)\Proves \lnot!A \liff (!A\lif \lfalse)source and step G two, eight uses A(BC),ABAC!A \lif (!B \lif !C), !A \lif !B \Proves !A \lif !Csource. The use of condition P2 in step G two, five and step G two, six relies on instances of P2, Prov(AB)(Prov(A)Prov(B))\OProv(\gn{!A \lif !B}) \lif (\OProv(\gn{!A}) \lif \OProv(\gn{!B}))source. In the first one, AG!A \ident !Gsource and BProv(G)!B \ident \OProv(\gn{!G}) \lif \lfalsesource; in the second, AProv(G)!A \ident \OProv(\gn{G})source and B!B \ident \lfalsesource.

The more abstract version of the second incompleteness theorem is as follows:

General second incompleteness theorem

Let T\Th{T}source be any consistent, axiomatized theory extending Q\Th{Q}source and let ProvT(y)\OProv[\Th{T}](y)source be any formula satisfying derivability conditions P1--P3 for T\Th{T}source. Then T\Th{T}source does not derive ConT\OCon[T]source.

Exercise deriving consistency from the Goedel sentence

Show that PA\Th{PA}source derives GPAConPA!G_{\Th{PA}} \lif \OCon[\Th{PA}]source.

Digress

The moral of the story is that no “reasonable” consistent theory for mathematics can derive its own consistency statement. Suppose T\Th{T}source is a theory of mathematics that includes Q\Th{Q}source and Hilbert's “finitary” reasoning (whatever that may be). Then, the whole of T\Th{T}source cannot derive the consistency statement of T\Th{T}source, and so, a fortiori, the finitary fragment can't derive the consistency statement of T\Th{T}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, ZFC\Th{ZFC}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 T\Th{T}source is a fixed point of ¬ProvT(y)\lnot \OProv[\Th{T}](y)source, i.e., a sentence G!Gsource such that

T¬ProvT(G)G.\Th{T} \Proves \lnot \OProv[\Th{T}](\gn{!G}) \liff !G.source

It is not derivable, because if TG\Th{T} \Proves !Gsource, (a) by derivability condition (1), TProvT(G)\Th{T} \Proves \OProv[\Th{T}](\gn{!G})source, and (b) TG\Th{T} \Proves !Gsource together with T¬ProvT(G)G\Th{T} \Proves \lnot \OProv[\Th{T}](\gn{!G}) \liff !Gsource gives T¬ProvT(G)\Th{T} \Proves \lnot \OProv[\Th{T}](\gn{!G})source, and so T\Th{T}source would be inconsistent. Now it is natural to ask about the status of a fixed point of ProvT(y)\OProv[\Th{T}](y)source, i.e., a sentence H!Hsource such that

TProvT(H)H.\Th{T} \Proves \OProv[\Th{T}](\gn{!H}) \liff !H.source

If it were derivable, TProvT(H)\Th{T} \Proves \OProv[\Th{T}](\gn{!H})source by condition (1), but the same conclusion follows if we apply modus ponens to the equivalence above. Hence, we don't get that T\Th{T}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 T\Th{T}source does derive H!Hsource.

We can make headway on this question if we generalize it a bit. The left-to-right direction of the fixed point equivalence, ProvT(H)H\OProv[\Th{T}](\gn{!H}) \lif !Hsource, is an instance of a general schema called a reflection principle: ProvT(A)A\OProv[\Th{T}](\gn{!A}) \lif !Asource. It is called that because it expresses, in a sense, that T\Th{T}source can “reflect” about what it can derive; basically it says, “If T\Th{T}source can derive A!Asource, then A!Asource is true,” for any A!Asource. 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 A!Asource itself is derivable. And that's it, as the next result shows.

Loeb theorem

Let T\Th{T}source be an axiomatizable theory extending Q\Th{Q}source, and suppose ProvT(y)\OProv[\Th{T}](y)source is a formula satisfying conditions P1--P3 from the section on the second incompleteness theorem. If T\Th{T}source derives ProvT(A)A\OProv[\Th{T}](\gn{!A}) \lif !Asource, then in fact T\Th{T}source derives A!Asource.

Put differently, if TA\Th{T} \Proves/ !Asource, then TProvT(A)A\Th{T} \Proves/ \OProv[\Th{T}](\gn{!A}) \lif !Asource. 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:

  1. Let XXsource be the sentence, “If XXsource is true, then Santa Claus exists.”

  2. Suppose XXsource is true.

  3. Then what it says holds; i.e., we have: if XXsource is true, then Santa Claus exists.

  4. Since we are assuming XXsource is true, we can conclude that Santa Claus exists, by modus ponens from (2) and (3).

  5. We have succeeded in deriving (4), “Santa Claus exists,” from the assumption (2), “XXsource is true.” By conditional proof, we have shown: “If XXsource is true, then Santa Claus exists.”

  6. But this is just the sentence XXsource. So we have shown that XXsource is true.

  7. 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 A!Asource, yields the proof of Löb's theorem. The trick is to apply the fixed-point lemma to the formula ProvT(y)A\OProv[\Th{T}](y) \lif !Asource. The fixed point of that corresponds to the sentence XXsource in the preceding sketch.

Proof

[Proof of Loeb theorem] Suppose A!Asource is a sentence such that T\Th{T}source derives ProvT(A)A\OProv[\Th{T}](\gn{!A}) \lif !Asource. Let B(y)!B(y)source be the formula ProvT(y)A\OProv[\Th{T}](y) \lif !Asource, and use the fixed-point lemma to find a sentence D!Dsource such that T\Th{T}source derives DB(D)!D \liff !B(\gn{!D})source. Then each of the following is derivable in T\Th{T}source:

D(ProvT(D)A)D is a fixed point of B(y)D(ProvT(D)A)from step L oneProvT(D(ProvT(D)A))from step L two by condition P1ProvT(D)ProvT(ProvT(D)A)from step L three using condition P2ProvT(D)(ProvT(ProvT(D))ProvT(A))from step L four using P2 againProvT(D)ProvT(ProvT(D))by derivability condition P3ProvT(D)ProvT(A)from step L five and step L sixProvT(A)Aby assumption of the theoremProvT(D)Afrom step L seven and step L eight(ProvT(D)A)Dfrom step L oneDfrom step L nine and step L tenProvT(D)from step L eleven by condition P1Afrom step L eight and step L twelve& !D \liff (\OProv[\Th{T}](\gn{!D}) \lif !A) \ollabel{L-1}\\ & \qquad \text{$!D$ is a fixed point of~$!B(y)$}\notag \\ & !D \lif (\OProv[\Th{T}](\gn{!D}) \lif !A) \ollabel{L-2}\\ & \qquad\text{from \olref{L-1}}\notag\\ & \OProv[\Th{T}](\gn{!D \lif (\OProv[\Th{T}](\gn{!D}) \lif !A)}) \ollabel{L-3}\\ & \qquad \text{from \olref{L-2} by condition P1}\notag \\ & \OProv[\Th{T}](\gn{!D}) \lif \OProv[\Th{T}](\gn{\OProv[\Th{T}](\gn{!D}) \lif !A}) \ollabel{L-4}\\ &\qquad \text{from \olref{L-3} using condition P2}\notag \\ & \OProv[\Th{T}](\gn{!D}) \lif (\OProv[\Th{T}](\gn{\OProv[\Th{T}](\gn{!D})}) \lif \OProv[\Th{T}](\gn{!A})) \ollabel{L-5}\\ &\qquad \text{from \olref{L-4} using P2 again} \notag\\ & \OProv[\Th{T}](\gn{!D}) \lif \OProv[\Th{T}](\gn{\OProv[\Th{T}](\gn{!D})}) \ollabel{L-6}\\ & \qquad\text{by !!{derivability} condition P3} \notag\\ & \OProv[\Th{T}](\gn{!D}) \lif \OProv[\Th{T}](\gn{!A}) \ollabel{L-7} \\ &\qquad\text{from \olref{L-5} and \olref{L-6}}\notag\\ & \OProv[\Th{T}](\gn{!A}) \lif !A \ollabel{L-8}\\ &\qquad\text{by assumption of the theorem} \notag\\ & \OProv[\Th{T}](\gn{!D}) \lif !A \ollabel{L-9}\\ &\qquad\text{from \olref{L-7} and \olref{L-8}}\notag\\ & (\OProv[\Th{T}](\gn{!D}) \lif !A) \lif !D \ollabel{L-10}\\ & \qquad \text{from \olref{L-1}}\notag \\ & !D \ollabel{L-11}\\ & \qquad\text{from \olref{L-9} and \olref{L-10}}\notag \\ & \OProv[\Th{T}](\gn{!D}) \ollabel{L-12}\\ & \qquad\text{from \olref{L-11} by condition~P1}\notag \\ & !A \qquad\qquad\text{from \olref{L-8} and \olref{L-12}}\notagsource

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 TProvT()\Th{T} \Proves \OProv[\Th{T}](\gn{\lfalse}) \lif \lfalsesource, then T\Th{T} \Proves \lfalsesource. If T\Th{T}source is consistent, T\Th{T} \Proves/ \lfalsesource. So, TProvT()\Th{T} \Proves/ \OProv[\Th{T}](\gn{\lfalse}) \lif \lfalsesource, i.e., TConT\Th{T} \Proves/ \OCon[\Th{T}]source. We can also apply it to show that H!Hsource, the fixed point of ProvT(x)\OProv[\Th{T}](x)source, is derivable. For since

TProvT(H)Hin particularTProvT(H)H\Th{T} & \Proves \OProv[\Th{T}](\gn{!H}) \liff !H\\ \intertext{in particular} \Th{T} & \Proves \OProv[\Th{T}](\gn{!H}) \lif !Hsource

and so by Löb's theorem, TH\Th{T} \Proves !Hsource.

Exercise comparing four reflection and provability claims

Let T\Th{T}source be a computably axiomatized theory, and let ProvT\OProv[\Th{T}]source be a derivability predicate for T\Th{T}source. Consider the following four statements:

  1. If TAT \Proves !Asource, then TProvT(A)T \Proves \OProv[\Th{T}](\gn{!A})source.

  2. TAProvT(A)T \Proves !A \lif \OProv[\Th{T}](\gn{!A})source.

  3. If TProvT(A)T \Proves \OProv[\Th{T}](\gn{!A})source, then TAT \Proves !Asource.

  4. TProvT(A)AT \Proves \OProv[\Th{T}](\gn{!A}) \lif !Asource

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 N\Struct{N}source be the structure with domain \Natsource and the standard interpretation for the symbols in the language of arithmetic. Then NA\Sat{N}{!A}source means “A!Asource is true in the standard interpretation.”

Definition of definability in the standard natural numbers

A relation R(x1,,xk)R(x_1,\dots,x_k)source of natural numbers is definable in N\Struct{N}source if and only if there is a formula A(x1,,xk)!A(x_1,\dots,x_k)source in the language of arithmetic such that for every n1,,nkn_1,\dots,n_ksource, R(n1,,nk)R(n_1,\dots,n_k)source if and only if NA(n¯1,,n¯k)\Sat{N}{!A(\num n_1,\dots,\num n_k)}source.

Put differently, a relation is definable in N\Struct{N}source if and only if it is representable in the theory TA\Th{TA}source, where TA={A:NA}\Th{TA} = \Setabs{!A}{\Sat{N}{!A}}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 N\Struct{N}source.

Proof

It is easy to check that the formula representing a relation in Q\Th{Q}source defines the same relation in N\Struct{N}source.

Now one can ask, is the converse also true? That is, is every relation definable in N\Struct{N}source computable? The answer is no. For example:

The halting relation is definable

The halting relation is definable in N\Struct{N}source.

Proof

Recall that the Kleene normal form theorem states that every partial computable function ffsource has an index eesource such that f(x)=U(μsT(e,x,s))f(x) = U(\umin{s}{T(e,x,s)})source for all xx \in \Natsource, where UUsource and TTsource are primitive recursive and therefore total. Thus, f(x)f(x)source is defined (i.e., the computation halts) iff there is an sssource such that T(e,x,s)T(e,x,s)source holds.

Now let HHsource be the halting relation, i.e.,

H={e,x:sT(e,x,s)}.H = \Setabs{\tuple{e,x}}{\lexists[s][T(e, x, s)]}.source

Let DT!D_Tsource define TTsource in N\Struct{N}source. Then

H={e,x:NsDT(e¯,x¯,s)},H = \Setabs{\tuple{e,x}}{\Sat{N}{\lexists[s][!D_T(\num e, \num x, s)]}},source

so sDT(z,x,s)\lexists[s][!D_T(z, x, s)]source defines HHsource in N\Struct{N}source.

Exercise defining Q theorem codes in arithmetic

Show that Q(n)n{#A#:QA}Q(n) \defiff n \in \Setabs{\Gn{!A}}{\Th{Q} \Proves !A}source is definable in arithmetic.

What about TA\Th{TA}source itself? Is it definable in arithmetic? That is: is the set {#A#:NA}\Setabs{\Gn{!A}}{\Sat{N}{!A}}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 D(x)!D(x)source defined it, i.e., NA\Sat{N}{!A}source iff ND(A)\Sat{N}{!D(\gn{!A})}source. By the fixed-point lemma, there is a formula A!Asource such that QA¬D(A)\Th{Q} \Proves !A \liff \lnot !D(\gn{!A})source, and hence NA¬D(A)\Sat{N}{!A \liff \lnot !D(\gn{!A})}source. But then NA\Sat{N}{!A}source if and only if N¬D(A)\Sat{N}{\lnot !D(\gn{!A})}source, which contradicts the fact that D(y)!D(y)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 LLsource, Tarski argued that an adequate notion of truth for LLsource would have to satisfy, for each sentence XXsource,

`XXsource' is true if and only if XXsource.

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 T(x)T(x)source, we can construct a sentence XXsource satisfying “XXsource if and only if not T(`X')T(\text{`$X$'})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