Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Boolos et al. Computability and Logic, 5ed, CUP, 2007.pdf
Скачиваний:
593
Добавлен:
10.08.2013
Размер:
2.33 Mб
Скачать

216

REPRESENTABILITY OF RECURSIVE FUNCTIONS

In this example we are using induction (‘in the metalanguage’) to prove something about a theory that does not have induction as an axiom (‘in the object language’): we prove that something is a theorem of Q for every m by proving it is a theorem for 0, and that if it is a theorem for m, then it is a theorem for m . Again, this sort of proof can be ‘formalized’ in P.

16.4* Robinson Arithmetic

This optional section is addressed to readers who wish to compare our treatment of the matters with which we have been concerned in this chapter with other treatments in the literature. In the literature, the label Q is often used to refer not to our minimal arithmetic but to another system, called Robinson arithmetic, for which we use the label R. To obtain the axioms of R from those of Q, add

(Q0)

x

= 0

 

y x

=

y

 

 

 

 

and replace (Q7)–(Q10) by

(Q11) x < y z(z + x = y).

We have already mentioned an extremely natural nonstandard model for Q, called the system of ordinal numbers, in which (Q0) fails. There is also an extremely natural nonstandard model for R, called the system of cardinal numbers, in which (Q10) fails; though it would take us too far afield to develop this model here, a simplified version suffices to show that some theorems of Q are not theorems of R. Thus Q is in some respects weaker and in some respects stronger than R, and vice versa.

By Theorem 16.16, every recursive function is representable in Q. Careful rereading of the proof reveals that all the facts it required about order are these, that the following are theorems:

(1)

a < b, whenever a< b

(2)

x < 0

(3)

0 < y y = 0

and for any b the following:

 

(4)

x < b x < b x = b

(5)

b < y & y = b b < y.

Clearly (1) is a theorem of R, since if a < b, then for some c, c + a = b, and then c + a = b is a consequence of (Q1)–(Q4). Also (2), which is axiom (Q7), is a theorem of R. For first z + 0 = z = 0 by (Q3) and (Q1), which gives us 0 < 0,

PROBLEMS

217

and then second z + y = (z + y ) = 0 by (Q4) and (Q1), which gives us y < 0. But these two, together with (Q0), give us (2). Also (3), which is axiom (Q9), is a

theorem of R. For 0 < y y = 0 follows from 0 < 0, and for the opposite direction, (Q0) gives y = 0 z(y = z ), while (Q3) gives y = z z + 0 = y, and (Q11)

gives z(z + 0 = y) 0 < y, and (3) is a logical consequence of these three.

It turns out that (4) and (5) are also theorems of R, and hence every recursive function is representable in R. Proofs have been relegated to the problems at the end of the chapter because we do not need any results about R for our later work. All we need for the purposes of proving the celebrated Godel¨ incompleteness theorems and their attendant lemmas and corollaries in the next chapter is that there is some correct, finitely axiomatizable theory in the language of arithmetic in which all recursive functions are representable. We chose minimal arithmetic because it is easier to prove representability for it; except in this regard Robinson arithmetic would really have done no worse and no better.

Problems

16.1Show that the class of arithmetical relations is closed under substitution of recursive total functions. In other words, if P is an arithmetical set and f a recursive total function, and if Q(x) P( f (x)), then Q is an arithmetical set, and similarly for n-place relations and functions.

16.2Show that the class of arithmetical relations is closed under negation, conjunction, disjunction, and universal and existential quantification, and in particular that every semirecursive relation is arithmetical.

16.3A theory T is inconsistent if for some sentence A, both A and A are theorems of T . A theory T in the language of arithmetic is called ω-inconsistent if for some formula F(x), x F(x) is a theorem of T , but so is F(n) for each natural number n. Let T be a theory in the language of arithmetic extending Q. Show:

(a)If T proves any incorrect -rudimentary sentence, then T is inconsistent.

(b)If T proves any incorrect -rudimentary sentence, then T is ω-inconsistent.

16.4Extend Theorem 16.3 to generalized -rudimentary sentences.

16.5Let R be the set of triples (m, a, b) such that m codes a formula φ(x, y) and Q proves

y(φ(a,

Show that R is semirecursive.

y) y = b).

16.6For R as in the preceding problem, show that R is the graph of a two-place partial function.

16.7A universal function is a two-place recursive partial function F such that for

any one-place recursive total or partial function f there is an m such that f (a) = F(m, a) for all a. Show that a universal function exists.

218

REPRESENTABILITY OF RECURSIVE FUNCTIONS

The result of the preceding problem was already proved in a completely different way (using the theory of Turing machines) in Chapter 8 as Theorem 8.5. After completing the preceding problem, readers who skipped section 8.3 may turn to it, and to the related problems at the end of Chapter 8.

16.8A set P is (positively) semidefinable in a theory T by a formula φ(x) if for every n, φ(n) is a theorem of T if and only if n is in P. Show that every semirecursive set is (positively) semidefinable in Q and any ω-consistent extension of Q.

16.9Let T be a consistent, axiomatizable theory containing Q. Show that:

(a)Every set (positively) semi-definable in T is semirecursive.

(b)Every set definable in T is recursive.

(c)Every total function representable in T is recursive.

16.10Using the recursion equations for addition, prove:

(a)x + (y + 0) = (x + y) + 0.

(b)x + (y + z) = (x + y) + z x + (y + z ) = (x + y) + z .

The associative law for addition,

x + (y + z) = (x + y) + z

then follows by mathematical induction (‘on z’). (You may argue informally, as at the beginning of section 16.3. The proofs can be ‘formalized’ in P, but we are not asking you to do so.)

16.11Continuing the preceding problem, prove:

(c)x + y = (x + y) ,

(d)x + y = y + x.

The latter is the commutative law for addition.

16.12Continuing the preceding problems, prove the associative and distributive and commutative laws for multiplication:

(e)x · (y + z) = x · y + x · z,

(f)x · (y · z) = (x · y) · z,

(g)x · y = y · x.

16.13(a) Consider the following nonstandard order relation on the natural numbers: m <1 n if and only if m is odd and n is even, or m and n have the same parity (are both odd or both even) and m < n. Show that if there is a natural number having a property P then there is a <1-least such natural number.

(b)Consider the following order on pairs of natural numbers: (a, b) <2 (c, d) if and only if either a < c or both a = c and b < d. Show that if there is a pair of natural numbers having a property P then there is a <2-least such pair.

(c)Consider the following order on finite sequences of natural numbers: (a0, . . . , am ) <3 (b0, . . . , bn ) if and only if either m < n or both m = n and the following condition holds: that either am < bm or else for some i < m, ai < bi while for j > i we have a j = b j . Show that if there is a sequence of natural numbers having a property P then there is a <3-least such sequence.

16.14Consider a nonstandard interpretation of the language {0, , <} in which the domain is the set of natural numbers, but the denotation of < is taken to be the

PROBLEMS

219

relation <1 of Problem 16.13(a). Show that by giving suitable denotations to 0 and , axioms (Q1)–(Q2) and (Q7)–(Q10) of Q can be made true, while the sentence x(x = 0 y x = y ) is made false.

16.15Consider a nonstandard interpretation of the language {0, , <, +} in which the domain is the set of pairs of natural numbers, and the denotation of < is

taken to be the relation <2 of Problem 16.13(b). Show that by giving suitable denotations to 0 and and +, axioms (Q1)–(Q4) and (Q7)–(Q10) of Q can be

made true, while both the sentence of the preceding problem and the sentencey(1 + y = y + 1) are made false.

16.16Consider an interpretation of the language {0, , +, ·, <} in which the domain

is the set of natural numbers plus one additional object called , where the relations and operations on natural numbers are as usual, ∞ = ∞, x + ∞ = ∞ + x = ∞ for any x, 0 · ∞ = ∞ · 0 = 0 but x · ∞ = ∞ · x = ∞ for any x = 0, and x < for all x, but not < y for any y = ∞. Show that axioms (Q0)–(Q9) and (Q11) are true on this interpretation, but not axiom (Q10).

16.17Show that, as asserted in the proof of Lemma 16.14, for each m the following is a theorem of Q:

m < y (y = 0 & y = 1 & . . . & y = m).

16.18Show that if the induction axioms are added to (Q1)–(Q8), then (Q9) and (Q10) become theorems. The following problems pertain to the optional section 16.4.

16.19Show that the following are theorems of R for any b:

(a)x + b = x + b .

(b)b < x b < x .

(c)x < y x < y.

16.20Show that the following are theorems of R for any b:

(a)x < b x < b x = b.

(b)b < y & y = b b < y.

16.21Show that adding induction to R produces the same theory (Peano arithmetic P) as adding induction to Q.