This section draws from background developed in Section 1.1 and in particular in Subsection 1.1.1 . Nevertheless, we will need to indulge in some repetition here, aiming to make this section self-sufficient on one hand, and, on the other, making the underlying logic that we use and discuss here more formal than we managed to get away with so far, 101 since in the present section logic will not be just a tool, but primarily will be an object for study—precision is called for!
We will prove here a semantic version of Gödel’s first incompleteness theorem that relies on computability techniques. In this form the theorem states that any “reasonable” axiomatic system that attempts to have as theorems precisely all the “true” (first-order) formulae of formal arithmetic 102 will fail to be complete in this sense: There will be infinitely many true formulae that are not theorems. Imitating Cantor’s separation of infinities of sets, between “small” (enumerable) and “large” (non-enumerable) we will show that the set of true formulae of arithmetic is “computably large” (non c.e., indeed, productive ) while the set of provable formulae is “computably small” (c.e.). Thus the two cannot coincide.
The qualifier reasonable could well be replaced by practical: One must be able to tell, algorithmically, whether or not a formula is an axiom—how else can one check a proof, let alone write one? “True” means true in the standard interpretation of the abstract symbols of the formal arithmetic, terminology that we will carefully introduce in what follows.
Now, in order to “do” axiomatic arithmetic we need, first of all, a first-order (logical) language, which we use to write down formulae and proofs. Before we get to the language—that is, the set of “important” strings, namely, terms and formulae, of our axiomatic arithmetic—we need an alphabet. This alphabet has two parts: One that is standard in all logical languages ( logical symbols ) that we employ to do mathematics, namely
(1) Two symbols, υ and #, used to generate all the (infinitely many) formal names of variables of natural number type. These names are
(2) The logical part also contains the following symbols (see also Subection 1.1.1 )
¬, ∨, =, ∀,(,)
The other part of the alphabet is specific to doing arithmetic. It contains the special symbols
0, S , +, ×, @, <
These are the nonlogical symbols for arithmetic, which we—in principle—can interpret any way we please, but we will interpret them in the standard (expected) way, namely,
| Abstract (language) symbol | Concrete interpretation |
|---|---|
| 0 | 0 (zero) |
| S |
x . x + 1 |
| + |
xy . x + y |
| × |
xy.x × y |
| @ |
xy . x y |
| < |
xy.x < y |
We next turn to the definition of the objects , technically known as terms , which the language can express—beyond the obvious objects that are the variables and the constant 0.
2.11.0.25 Definition. A term is a variable or the symbol 0, or—assuming that t and s designate terms—any of St , ( t + s ), ( t × s ), ( t @ s ). If a term is variable-free it is called closed . □
One forms formulae now in the standard way (see also Subsection 1.1.1 ) starting with the atomic formulae, and then building more complicated ones using the connectives and the quantifier.
2.11.0.26 Definition. An atomic formula has one of the forms t = s or t < s . □
2.11.0.27 Definition. A formula, or well-formed-formula (wff) is one of:
(a) atomic
or, assuming that
and
stand for formulae, and x stands for any variable,
(b) (¬
)
(c) (
∨
)
(d) ((∀ x )
)
A formula with no free variables is closed ; it is also called a sentence . □
Unlike the case of Subsection 1.1.1 , we adopt here only three logical operators since, as we know, all the others, namely, ∧, →, ≡, ∃, can be introduced by definitions, such as “
→
means ¬
∨
”, etc. The priorities of p. 8 hold for all these derived operators as well.
In all that follows, t, s will stand for any terms;
,
,
,
will stand for any formulae; and x, y, z, in this section and in Subsection 2.11.1 , will stand for any formal variable—such as υ ## υ , etc.
They are all metavariables ( syntactic variables ).
Each of these may be embellished by subscripts and/or primes, thus we can effectively generate infinitely many metavariables of each sort.
As outlined in Subection 1.1.1 , one omits redundant brackets by adopting priorities for the various connectives and operations. The priority sequence from highest (least scope) to lowest is taken to be
S , @, ×, +
for operations. For the logical operations ∀,¬ and ∨ priorities are as in Subsection 1.1.1 , p. 8.
Pivotal in this (and the next sub-) section is the expression “
x ( x )↑” (cf. 2.3.0.9 ) of computability. We will want to know that it is definable by a formula in the language of arithmetic so that its central relevance to the incompleteness problem of arithmetic can be established. What “definable” means hinges on what we mean when we say that “a closed formula of arithmetic is true”.
Thus we immediately visit the semantics of the language of arithmetic. The traditional way to do so is to define the so-called Tarski semantics of any first-order language, and then apply it to the special case of the language of arithmetic—as was done in Tourlakis (2003a, 2008). Instead we will take a shortcut here, following Smullyan (1992).
2.11.0.28 Definition. (Interpretation of Closed Terms in
) The meaning or interpretation of any closed term t , in symbols t
, is some member k of
, defined as follows (cf. the table on p. 222). We will write t
= k .
(1) 0
= 0
(2) ( St )
= t
+ 1
(3) ( t + s )
= t
+ s
(4) ( t × s )
= t
· s
(5) ( t @ s )
= ( t
) s
The symbol = above, and the symbols + and · on its right, are the informal equals, plus and times over
, respectively. As usual, we will write ab rather than a · b when a and b are natural numbers. □
2.11.0.29 Definition. (Numerals) For any natural number n the (meta)symbol ñ is a short name for the closed term
and it is called a numeral (for n ). □
Clearly,
denotes the formal 0, since, in this case, we have an empty S -prefix in ( N ) above. Intuitively, ñ is a formal representation of n in the language of arithmetic. Conversely,
2.11.0.30 Example. (Interpretation of Numerals) For every n , we have ñ
= n . We can see this by induction on n : For n = 0, we have
= 0
= 0—the first equality by the previous remark, the second by (1) in 2.11.0.28 . We next fix n and take the I.H. that ñ
= n .
For the I.S. we compute as follows:
□
Lastly, we define when a closed formula in the language of arithmetic is true. This is done by induction on the complexity of a formula, that is, the number of occurrences (counting repetitions) of the symbols ¬, ∨, ∀ in the formula.
Recall from Subsection 1.1.1 , p. 7, that
( x ) means that x is the only free variable of formula
.
2.11.0.31 Definition. (Truth of Formulae) For closed t and s , t < s and t = s are true precisely when t
< s
and t
= s
are true over
.
For closed formulae
and
, ¬
is true iff
is not;
⋁
is true iff at least one of
or
are. (∀ x )
( x ) is true iff, for all n ∈
,
(
) is true.
We embark now on stating and proving Gödel’s First Incompleteness Theorem. As this speaks of any recursive axiomatization of arithmetic, that is, any first-order theory that attempts to prove all the true sentences of arithmetic, starting from a recognizable set of special axioms, we will outline what such an axiomatic system would look like, what its components, (1)–(4) must be.
(1) A recursive set of strings: The well-formed formulae (wff).
(2) A recursive subset of wff that characterize the “behavior” of (the symbols of) arithmetic: These are the special (or nonlogical ) axioms for arithmetic. We will leave them unspecified, beyond the requirement of them forming a recursive set, so that the requirement that the incompleteness theorem “speaks of any recursive axiomatization of arithmetic” is met. 103
(3) The logical axioms (see Subsection 1.1.1 )
(4) The modus ponens rule of inference (see Subsection 1.1.1 )
2.11.0.32 Remark.
(I) Intuitively, (1) above says that there is an algorithm that, for every string over the following alphabet
will decide the string’s membership in wff—i.e., whether or not the string parses correctly as a formula. The reader with some programming under his belt, who has not skipped over Subection 1.1.1 , will not have any trouble believing that he can actually write a program that does just that. We will not expand at such level of detail here. 104
(II) The symbol “;” in ( B ) will be justified shortly.
(III) But what do we mean, mathematically , when we say that a set of strings is recursive? After all, until now all our recursive sets were sets of numbers (or of tuples of numbers). Well, nothing has changed! Imagine that the symbols in our alphabet ( B ) above, in precisely the order given , are just (strange) symbols for the numbers 1 through 15. Then any String over the alphabet denotes a number base 16 105 (if you are comfortable with hexadecimal numbers like BBC —i.e., 3004 in decimal—then you have to also be with what I have just said). For example, (∀ v # v ) v # v = 0 denotes (in decimal notation) 5804772525881.
Thus, to speak of a set of strings over ( B ) is the same as talking about a subset of
.
Notation. For any string T over the alphabet ( B ),
T
= x means that x is the decimal value of the string T . Thus we can recast the concluding example above in the notation
(∀ v # v ) v # v = 0
= 5804772525881.
(IV) We have said right at the beginning that the set of axioms must be reasonable, i.e., recognizable. That is precisely what item (2) above asks for, when stipulating recursiveness. Since there are in principle infinitely many different ways to choose axioms for arithmetic, the correct approach is to “stipulate” recursiveness—as in “let us assume that the axioms are chosen to be recursive”—rather than expect it to be an inevitable fact.
Indeed, the set of all true formulae of arithmetic is a fine set of axioms for arithmetic, since from that axiom set precisely all true statements of arithmetic are derivable (the tools of Subsection 1.1.1 lead immediately to this obvious fact).
Except for one thing: This set of axioms is not recognizable! See 2.11.0.36 .
But don’t we want to be able to recognize all the axioms, including the logical ones? Yes, but this latter, fixed, set of axioms that does not change from one mathematical theory to another, can be proved to form a recursive (recognizable) set. Intuitively, a formula can be recognized to be a logical axiom just because of its form (cf. 1.1.1 ). Again the details are elementary but very tedious and we will omit them.
We know that the union of two recursive sets is recursive, thus the full set of axioms is recursive once we designed the special axiom set to satisfy (2).
(V) It is also worth observing that the single rule of inference, modus ponens, is recognizable by its form. That is, there is a recursive relation of three arguments, MP ( x , y , z ), which is true precisely when, for some formulae
and
, we have either x =
, y =
→
, and z =
; or x =
→
, y =
, and z =
, where (see Subsection 1.1.1 )
→
abbreviates ¬
⋁
.
2.11.0.33 Lemma. (Informal) The set of all theorems of an axiomatic arithmetic as this has been described in (1)–(4) above is c.e.
Proof. ( Informal ) We will use the symbol “;” of the alphabet ( B ) as “glue” to concatenate all the formulae in any given proof that we may write. I.e., we explicitly write “;” once between every pair of consecutive formulae
of a proof. We thus convert the sequence to a single string (over ( B ))
We can think of any expression (string) like ( i ) above as a base-16 notation of a number.
Now let us have the relation P ( x , y ) stand for the statement: For some proof
, it is the case that y =
and x =
n
.
It can be proved that P ( x , y ) is recursive: Intuitively, one first needs to express the (given in decimal) numbers x and y in base 16, that is, convert them into strings over ( B ).
One can now test (algorithmically; being able to tell an axiom from a non axiom and to perform modus ponens algorithmically helps here!) whether or not the string obtained from y has the form ( i ) and , if so, whether it is the “glued form” of a proof whose last formula is the string extracted from x . If the test succeeds, then P ( x , y ) is true, else it is false.
Let next Θ( x ) stand for “the representation of x in base 16 is a string that is a theorem of arithmetic”. Then Θ( x ) ≡ (∃ y ) P ( x , y ) and we are done by the projection theorem.
2.11.0.34 Corollary. The set of all closed theorems (theorems that are sentences) of an axiomatic arithmetic as this has been described in (1)–(4) above is c.e.
Proof. Computably build two lists simultaneously: List1 is that of the preceding lemma. For each sentence enumerated in List1, copy it in List2.
Following Smullyan (1992) we will call a recursive axiomatization of arithmetic correct iff all the nonlogical axioms are true in the standard interpretation given in this subsection. For example, the Peano axiomatization is correct.
Since the only rule of inference is modus ponens and we have
,
→
taut
, it follows that all the theorems of a correct axiomatization are true in the standard interpretation. But are all truths theorems?
Let us call Complete Arithmetic , for short CA, the set
{
S
: S is a true sentence of arithmetic}
We now have:
2.11.0.35 Theorem. (Gödel’s First Incompleteness Theorem) Every correct and recursive axiomatic system for arithmetic that satisfies (1)–(4) above is incomplete in the sense that its set of closed theorems cannot equal the set CA .
Proof . In view of Corollary 2.11.0.34 , it suffices to prove that CA is not c.e. To this end, consider the two sets of sentences below:
and
Before we proceed, let me note that “
↑” is an abbreviation of a formula of arithmetic—in other words, it can be written down, in principle, using no more than the symbols from the alphabet ( B ), and this formula will say (i.e, will be true iff) “
( a ) ↑ holds” (see next subsection). Thus,
Now, given any a ∈
, we can construct the formula
↑, which, using a different abbreviation, is ¬(∃ y ) T (
, y ). That is, the function f that on input a outputs
↑
is, intuitively, computable. 106 Thus
by (2), since (2) says a ∈
iff f ( a ) ∈
. On the other hand,
by (1). Thus,
is not c.e., while Q is c.e. But CA ∩ Q =
, thus CA cannot be c.e. by closure properties.
Note the emphasized “every” in the theorem. It draws attention to the fact that we have not fixed any particular “reasonable” theory: whatever we have said holds for all correct, recursive theories that axiomatize arithmetic.
The main result in the above proof was that CA is not c.e., a fact derivable irrespective of correctness. Thus, that the set of theorems of the axiomatic theory does not equal CA holds even without the correctness assumption. On the other hand, it would be unreasonable to expect an “incorrect” axiomatization to have all its closed theorems in CA anyway.
2.11.0.36 Corollary. CA is productive.
Proof. By (3) above and 2.8.0.17 we have that
is productive. Then, by 2.8.0.25 and CA ∩ Q =
, we have that CA is productive.
The corollary and 2.8.0.22 establish that not only we miss infinitely many true arithmetic sentences in any recursive axiomatization of arithmetic, but, moreover, we can algorithmically list an infinite subset of these missed true sentences.
Pause. Why “subset”?
Indeed, the recursive axiomatization has a c.e. set of closed theorems W x , by 2.11.0.34 . By correctness, we have that W x
CA. By 2.8.0.22 we can build an infinite c.e. set, W y — in CA —that avoids all of W x .
2.11.1 Supplement:
( x ) ↑ is Expressible in the Language of Arithmetic
The title of this subsection means that there is a formula of arithmetic, let us call it
( x ), such that, for all n ,
( n ) ↑ is true iff
(
) is true—the latter in the sense of Definition 2.11.0.31 .
2.11.1.1 Definition. A relation R ( x ) over the natural numbers—that is, a relation in the metatheory of formal arithmetic—is expressed (also called defined ) by a formula of arithmetic,
( x ), iff for all n , ∈
, we have
R ( n ) is true iff
(
) is true
Suppressing reference to
( x ) we can also say that R ( x ) is expressible (or definable , in the language of arithmetic).
The definition can be extended in the obvious way in the case of relations of many variables.
Let us next define the set of arithmetical relations on the set of natural numbers. 107
2.11.1.2 Definition. The set of arithmetical relations is the smallest set of relations over the set of natural numbers that satisfies:
It contains the “initial” relations (of three variables) z = x + y , z = x · y , and z = x y , where the exponentiation is the “ex” of Example 2.1.2.14 but we have here reverted to the standard notation.
Moreover,
(1) If Q (
) and P (
) are in the set, then so are ¬ Q (
) and Q (
) ⋁ P (
).
(2) If R ( y ,
) is in the set, then so is (∀ y ) R ( y ,
).
(3) If Q (
) is in the set, then so are all its explicit transformations.
Explicit transformations [Smullyan (1961) and Bennett (1962)] are exactly the following: substitution of any constant into a variable, expansion of the variables-list by “don’t care” variables (arguments), permutation of variables, identification of variables—that is, Grzegorczyk operations (ii)–(iv) (cf. 2.1.2.6 ), albeit applied to relations.
![]()
Clearly the set of arithmetical relations is closed under the remaining Boolean connectives and (∃ y ).
2.11.1.3 Lemma. Every arithmetical relation is expressible in the language of arithmetic, over the alphabet (B) of p. 225 .
Proof. We proceed by induction along the cases of Definition 2.11.1.2. The basis contains three cases, z = x + y and z = x · y and z = x y .
We argue that the metamathematical relation z = x + y is expressed by the formal z = x + y of arithmetic.
This requires us (cf. 2.11.1.1 ) to establish for all m , n , k :
Indeed,
The verifications for the relations z = xy and z = x y are omitted being entirely analogous. We leave it to the reader to verify that if R (
) and Q (
) are expressed by the formulae
(
) and
(
) respectively, then ¬ R (
) and R (
) ∨ Q (
) are expressed by ¬
(
) and
(
) ∨
(
), respectively.
Next, we show that (∀ y ) R ( y ,
r ) is defined by (∀y)
( y ,
r ), if R ( y ,
r ) is defined by
(y,
r ). We are given, for any c , b 1 , ..., b r in
, that
Now, we fix b 1 , ..., b r in
. (∀ y ) R ( y , b 1 , ..., b r ) holds iff for all c ∈
we have that R ( c , b 1 , ..., b r ) holds. By (**) this is equivalent to saying “for all c ∈
we have
is true”. By 2.11.0.31 the latter says precisely (∀ x )
( x ,
) is true.
We next look into explicit transformations. Let then Q ( y ,
r ) be defined by the formula
( y ,
r ). Then, for any fixed i ∈
, Q ( i ,
r ) is clearly defined by
, since for all a , b 1 , ..., b r we have Q ( a , b 1 , ..., b r ) is true iff
is true; in particular, Q ( i , b 1 , ..., b r ) is true iff
is true.
The case of identifying or permuting variables being trivial, we conclude by looking at the case of adding one “don’t care” variable (a case that is extensible by a trivial induction to any fixed number). So let
(
r ) define Q (
r ) and let z be a new informal variable.
I will argue that
(
r ) ∧ z = z defines the relation R =
:
We have, on one hand, for all b 1 , ..., b r :
On the other hand, for all c , b 1 , ..., b r , Q ( b 1 , ..., b r ) ≡ R ( c , b 1 , ..., b r ) and, since
=
is true ( 2.11.0.31 ),
Along with (* * *) we get
Thus, to show that
x ( x ) ↑ is expressible in the language of arithmetic it suffices, because of the preceding lemma, to prove that it is arithmetical. In turn, since
x ( x ) ↑≡ ¬(∃ y ) T ( x , x , y ), it suffices to prove that the Kleene predicate is arithmetical.
It will so follow if we can prove that every function f ∈
has an arithmetical graph, for then if χ T is the characteristic function of T , we will have that χ T ( x , y , z ) = w —and therefore χ T ( x , y , z ) = 0 by explicit transformation—is arithmetical. 108
Items (7)–(10) below are due to Grzegorczyk (1953).
2.11.1.4 Lemma. The following relations are arithmetical .
(1) x = 0 ( and hence x ≠ 0)
(2) x ≤ y ( and hence x < y )
(3) z = x ∸ y
(4) x | y
(5) Pr ( x )
(6) Seq ( z )
(7) Next ( x , y ) ( meaning x < y are consecutive primes )
(8) pow ( z , x , y ) ( meaning x > 1 and x y is the highest power of x dividing z )
(9) Ω( z ) ( meaning z has the form
for some n )
(10) y = p n
(11) z = exp( x , y ) (cf. 2.1.2.40 )
We need not worry about bounding our quantifications, for it is not our purpose to show these relations in
* . Indeed we know from earlier work that they are in this set. This time we simply want to show that they are arithmetical.
Proof .
(1) x = 0 (and hence x ≠ 0): x = 0 is an explicit transform of x = y + z ; x ≠ 0 is obtained by negation.
(2) x ≤ y (and hence x < y ): This is equivalent to (∃ z ) ( x + z = y ).
(3) z = x ∸ y : This is equivalent to z = 0 ⋀ x < y ⋁ x = z + y .
(4) x | y : This is equivalent to (∃ z ) y = xz (I am using “implied multiplication” throughout: “ xy ” rather than “ x × y ” or “ x · y ”).
(5) Pr ( x ): This is equivalent to x > 1 ⋀ (∀ y )( y | x → y = 1 ⋁ y = x ).
(6) Seq ( z ): This is equivalent to z > 1 ⋀ (∀ x )(∀ y )( Pr ( x ) ⋀ Pr ( y ) ⋀ x < y ⋀ y | z → x | z ).
(7) Next ( x , y ): This is equivalent to Pr ( x ) ⋀ Pr ( y ) ⋀ x < y ⋀ ¬(∃ z )( Pr ( z ) ⋀ x < z ⋀ z < y ).
(8) pow ( z , x , y ): This is equivalent to x > 1 ⋀ x y | z ⋀ ¬ x y +1 | z . 109
(9) Ω( z ): This is equivalent to Seq ( z ) ⋀ ¬4 | z ⋀ (∀ x ) (∀ y )( N ext ( x , y ) ⋀ y | z → (∃ w )( pow ( z , x , w ) ⋀ pow ( z , y , w + 1))).
(10) y = p n : This is equivalent to (∃ z ) (Ω( z ) ⋀ pow ( z , y , n + 1)).
(11) z = exp( x , y ): This is equivalent to (∃w)( pow ( y , w , z ) ⋀ w = p x ).
We can now prove the following theorem that concludes the business of this subsection.
2.11.1.5 Theorem. For every f ∈
, its graph y = f (
) is arithmetical.
Proof . We do induction over
(cf. 2.1.2.4 ):
(1) Basis . There are three graphs to work with here: y = x + 1, y = 0 and y = x (or, fancily, y = x i ; or more fancily, y =
. They all are explicit transforms of y = x + z .
(2) Composition. Say, the property is true for the graphs of f , g 1 , ..., g n . This is the I.H. How about y =
? Well, this graph is equivalent to
and we are done by the I.H.
(3) Primitive recursion. This is the part that benefits from the work we put into 2.11.1.4 . Here’s why: Assume (I.H.) that the graphs of h and g are arithmetical, and let f be given for all x ,
by
Now, to state z = f ( x ,
) is equivalent to stating
The trouble with the “relation” (i) above is that it is not a relation at all, because it has a variable-length prefix: (∃ m 0 )(∃ m 1 ) . . . (∃ m x ). We invoke coding to salvage the argument. Let us use a single number,
to represent all the m i , for i = 0, ..., x . Clearly,
m i = exp( i , m ), for i = 0, ..., x
We can now rewrite (i) as
The above is arithmetical because of the I.H. Some parts of it are more complicated than others. For example, the part
is equivalent to
(∃ u )(∃ v )( u = exp( w + 1, m ) ⋀ v = exp( w , m ) ⋀ u = g ( w ,
, v ))
The above is arithmetical by the I.H. and the preceding lemma. This completes the proof.
x . x + 1