27.04.2015 Views

Computability and Logic

Computability and Logic

Computability and Logic

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

44 UNCOMPUTABILITY<br />

if p(b) ≤ p(a), we must have b ≤ a. Applying this observation to (1), we have<br />

(2)<br />

n + 2 j ≥ p(n)<br />

for any n. Letting i be as in Example 4.6 above, we have<br />

(3)<br />

p(m + i) ≥ 2m<br />

for any m. But applying (2) with n = m + i,wehave<br />

(4)<br />

m + i + 2 j ≥ p(m + i)<br />

for any m. Combining (3) <strong>and</strong> (4), we have<br />

(5)<br />

m + i + 2 j ≥ 2m<br />

for any m. Setting k = i + 2 j,wehave<br />

(6)<br />

m + k ≥ 2m<br />

for any m. But this is absurd, since clearly (6) fails for any m > k. We have proved:<br />

4.7 Theorem. The productivity function p is Turing uncomputable.<br />

Problems<br />

4.1 Is there a Turing machine that, started anywhere on the tape, will eventually halt<br />

if <strong>and</strong> only if the tape originally was not completely blank? If so, sketch the<br />

design of such a machine; if not, briefly explain why not.<br />

4.2 Is there a Turing machine that, started anywhere on the tape, will eventually halt<br />

if <strong>and</strong> only if the tape originally was completely blank? If so, sketch the design<br />

of such a machine; if not, briefly explain why not.<br />

4.3 Design a copying machine of the kind described at the beginning of the proof of<br />

theorem 4.2.<br />

4.4 Show that if a two-place function g is Turing computable, then so is the oneplace<br />

function f given by f (x) = g(x, x). For instance, since the multiplication<br />

function g(x, y) = xy is Turing computable, so is the square function f (x) = x 2 .<br />

4.5 A universal Turing machine is a Turing machine U such that for any other Turing<br />

machine M n <strong>and</strong> any x, the value of the two-place function computed by U for<br />

arguments n <strong>and</strong> x is the same as the value of the one-place function computed<br />

by M n for argument x. Show that if Turing’s thesis is correct, then a universal<br />

Turing machine must exist.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!