What Turing wrote in 1936
The machine in Turing Daily comes from a paper Alan Turing sent to the London Mathematical Society in 1936, when he was 23. It was received on 28 May, read to the society on 12 November and printed in its Proceedings at the end of that year, under the title On Computable Numbers, with an Application to the Entscheidungsproblem.1
The question
The Entscheidungsproblem, German for "decision problem", had been set out in 1928 by David Hilbert and Wilhelm Ackermann.2 It asks for a definite method that decides, for any statement written in formal logic, whether that statement can be proved. Turing met the question in Max Newman's lectures on the foundations of mathematics at Cambridge in 1935.3 To show that no such method exists, he first needed something nobody had pinned down: an exact description of what a definite method is.
A person with a pencil
In 1936 a computer was a person who carried out calculations. Turing's machine is a careful model of that person, and section 9 of the paper builds it up from there:
Computing is normally done by writing certain symbols on paper. We may suppose this paper is divided into squares like a child's arithmetic book.
He argued that nothing in calculation needs the page to be two-dimensional, so the paper can be a single strip of squares: the tape. A person can only take in a few squares at a glance, so the machine looks at one. A person can only be in a limited number of states of mind:
We will also suppose that the number of states of mind which need be taken into account is finite.
Then he broke the person's work into "simple operations", steps so small that it is hard to imagine dividing them further: change one symbol, or shift attention to a nearby square. Put together, these are the steps of the Turing Daily machine. Read the symbol under the head, write, move one cell, change state.
Turing's words for it
Turing did not call it a Turing machine. He wrote about computing machines, and called the ones whose every step is fixed in advance "automatic machines", or a-machines. His states were "m-configurations". The square under the head was the "scanned square" and its symbol the "scanned symbol". An m-configuration together with a scanned symbol he called the "configuration", and the configuration decides what the machine does next. That pair is one cell of a Turing Daily rule table: the column is the state, the row is the symbol.
The name Turing machine came from Alonzo Church, who used it in his review of the paper in 1937.4
Machines that should not stop
Turing's machines also differ from the modern textbook version in one way. Turing's machines were meant to compute the digits of a real number, one after another, forever. A good machine never stopped printing digits, and he called it circle-free. A machine that got stuck, or went on moving without ever printing another digit, he called circular, and that was the failure. In Turing Daily it is the other way round: the machine should stop on ✓, and one that runs forever fails.
He also kept his tape tidier than modern descriptions do. The digits went on every other square, which he called F-squares. The squares between them, the E-squares, held rough working that could be erased.
The example machines in section 3 of the paper print their digits on alternate squares, and the second one also does its rough working on E-squares. Both are written out in Turing's first two machines.
One machine for every machine
Section 6 describes a universal machine. Given a description of any other machine written on its tape, it computes the same sequence that machine would. The description is just a row of symbols, so a table of rules can itself be data on a tape, read and followed by another table. A computer that runs whatever program you load into it rests on the same idea.
The answer
With the machine defined, Turing showed in section 8 that no machine can read the description of an arbitrary machine and decide whether it is circle-free, and that no machine can decide whether an arbitrary machine ever prints 0. In section 11 he showed that a method for the Entscheidungsproblem would give a way to decide the second question, so no such method exists.
He was not the first to that answer. Alonzo Church, at Princeton, had reached it earlier in 1936 with a different formal system, the lambda calculus.5 When Turing learned of it, he added an appendix, dated 28 August 1936, showing that the functions his machines can compute are exactly the ones Church's system can define. That autumn he went to Princeton, where he wrote his doctorate under Church.6
Turing's version lasted because it is easy to picture: a tape, a head and a short table of rules. His argument that these can do whatever a person following rules with a pencil can do is why his machine is still the usual answer to the question of what it means to compute something.
The argument of section 8, in the form it is usually taught today, is in Machines that never stop.
Sources
- A. M. Turing, On Computable Numbers, with an Application to the Entscheidungsproblem, Proceedings of the London Mathematical Society s2-42 (1936), 230–265.
- David Hilbert and Wilhelm Ackermann, Grundzüge der theoretischen Logik, Springer, 1928.
- King's College, Cambridge, Alan Mathison Turing, 1912–54.
- Alonzo Church, review of A. M. Turing, On computable numbers, Journal of Symbolic Logic 2 (1937), 42–43.
- Alonzo Church, A note on the Entscheidungsproblem, Journal of Symbolic Logic 1 (1936), 40–41.
- J. J. O'Connor and E. F. Robertson, Alan Mathison Turing, MacTutor History of Mathematics.