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.

5.2. SIMULATING ABACUS MACHINES BY TURING MACHINES 55<br />

Figure 5-11. Abbreviated s− flow chart.<br />

1 on the tape <strong>and</strong> the nth block, repositions all strokes but the rightmost in the nth<br />

block immediately to the right of the leftmost 1, erases the rightmost 1, <strong>and</strong> then halts<br />

scanning the leftmost 1. In both cases, the effect is to place the leftmost 1 in the block<br />

representing the value just where the leftmost 1 was initially. Again readers may wish<br />

to try to fill in the details of the design for themselves, as an exercise. (Our design<br />

will be given shortly.)<br />

The proof that all abacus-computable functions are Turing computable is now<br />

finished, except for the two steps that we have invited readers to try as exercises. For<br />

the sake of completeness, we now present our own solutions to these exercises: our<br />

own designs for the second <strong>and</strong> third stages of the construction reducing an abacus<br />

computation to a Turing computation.<br />

For the second stage, we describe what goes into the boxes in Figure 5-11. The<br />

top block of the diagram contains a chart identical with the material from node 1a to<br />

sa (inclusive) of the s+ flow chart. The arrow labelled 1:R from the bottom of this<br />

block corresponds to the one that goes right from node sa in the s+ flow chart.<br />

The ‘Is [s] = 0?’ box contains nothing but the shafts of the two emergent arrows:<br />

They originate in the node shown at the top of that block.

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

Saved successfully!

Ooh no, something went wrong!