Cambridge · May 28, 1936

Turing’s Universal Machine

Portrait of Alan Turing
Alan TuringPhotograph by Elliott & Fry, 1951

Can a mechanical procedure decide which statements can be proved? A 23-year-old answers Hilbert’s question, and invents the computer on the way. In 1935, at the University of Cambridge, the English mathematician Alan Turing hears the British mathematician Max Newman lecture on Hilbert’s decision problem. What would a mechanical procedure be, exactly? Turing thinks about what a person does when working out a calculation on paper: reading and writing symbols one at a time, following rules, in one state of mind or another. He boils it down to a machine. It has a tape divided into squares, and a head that reads one square at a time. The head can write or erase a symbol there, and move one square left or right. A table says what to do next, for each state the machine can be in and each symbol it can read. Turing calls these states m-configurations: the machine’s counterpart of a person’s state of mind.

One of Turing’s examples shows how much such a table can do. Just ten lines keep the machine writing forever, without ever repeating itself: 0 0 1 0 1 1 0 1 1 1 0 …, each run of 1s one longer than the last. To make the next run longer, the machine has to remember how long the last one was. So it ticks off that run’s 1s, with an x in the empty square beside each, then writes one more 1 than it ticked off, rubbing out the ticks as it goes. The tape is its memory, as in every computer since.

Turing’s second example of a machine at work: a head moves along a tape of squares, reading one square at a time, printing and erasing symbols as its table of instructions says, and so writes the figures 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, with ever longer runs of 1s The tape m-config. Symbol Operations Then
Drag the slider to run Turing’s example back and forth. Its m-configurations are b, o, q, p, and f; the one it’s in shows under the head. For each, and each symbol it reads, the table says what to do: print (P) or erase (E) a symbol, move right (R) or left (L), and which m-configuration to go on in. ə marks where the tape starts.

Then comes his big idea. A machine’s table is itself a list of symbols, so it can be written on a tape. “It is possible to invent a single machine which can be used to compute any computable sequence,” Turing writes: a universal machine, which reads another machine’s description and does whatever that machine would do. One computing machine, given the right program, can do the work of every other.

With it, he answers Hilbert. No machine, he shows, can decide for every machine whether it will ever print a 0: if one could, a machine could be made to ask it about itself and do the opposite. So no mechanical procedure can decide, for every statement, whether it can be proved. Turing sends in his paper on May 28, 1936. Weeks earlier, at Princeton, the American logician Alonzo Church has reached the same answer by another route. Turing shows that their two ideas of what can be computed amount to the same thing, and goes to Princeton to work with Church. The view that they capture everything that can be computed by following rules is now called the Church–Turing thesis.

No fixed procedure can settle every question, and as Tarski showed three years earlier, there’s no universal criterion of truth. And while brains, our biological computers, come up with new ideas, nobody yet knows how to program a computer to do that. But once people have put forward their ideas and criticisms, working out which ideas still face criticisms nobody has addressed is mechanical. So Leibniz’s dream survives in a smaller form, because Veritula does just that: it shows which ideas are rationally adoptable, given the criticisms so far.

Criticism of #5870 by Alonzo Church​·​#5874

Some problems can’t be solved by any effective calculation: I’ve found one in elementary number theory. So no mechanical procedure can decide, for every statement of logic, whether it can be proved.

Criticism of #5870 by Alan Turing​·​#5875

No machine can decide, for every statement of logic, whether it can be proved. If one could, it could decide whether any machine ever prints a 0, and a machine that asked it that about itself could be made to do the opposite.

Revision of #5866 by Alan Turing​·​#5876​·​Compare with #5867

Whatever a person can compute by following rules, a simple machine can compute, reading and writing symbols on a tape. And a single machine, given a description of any other on its tape, can do whatever that machine does: one universal machine can compute anything that can be computed at all.

The state of the discussion

Hilbert’s program now has four pending criticisms. Turing revises Lovelace’s engine of symbols, and Turing’s universal machine has none, so it’s rationally adoptable.

Use arrow keys ← →, the Previous and Next buttons above, or the timeline below to move through the history.Swipe left or right, or use the Previous and Next buttons above or the timeline below, to move through the history.

Sources:

  • Church, “A Note on the Entscheidungsproblem”, Journal of Symbolic Logic 1 (1936), 40–41
  • Church, “An Unsolvable Problem of Elementary Number Theory”, American Journal of Mathematics 58 (1936), 345–363
  • Turing, “On Computable Numbers, with an Application to the Entscheidungsproblem”, Proceedings of the London Mathematical Society 42 (1936–37), 230–265

Researched and written with the help of AI, from the sources named. AI can make mistakes. Veritula doesn’t claim perfect historical accuracy; the sources are there to check against.

The full discussion

Can One Machine Do It All?

Dennis Hackethal started this discussion about 2 hours ago.

Search​·​Activity

Babbage designed a machine that could carry out any calculation, and Lovelace saw that it could do far more than arithmetic. Turing explained why one machine can do the work of every other, and Deutsch argued that it has to be a quantum computer.


Discussions can branch out indefinitely. You may need to scroll sideways.
The discussion as it was on May 28, 1936. Chronicle discussions are read-only. Jump to the present
Gottfried Wilhelm Leibniz’s avatar
Gottfried Wilhelm LeibnizHistorical profile​·​#5870​·​September 8, 1930​·​AI-assisted
2nd of 2 versions​·​revised by David HilbertHistorical profile

Every question of mathematics can be answered: there is no “we will not know.” All of mathematics can be written in one system of symbols and rules that proves every true statement, and a mechanical procedure can decide, for any statement, whether it can be proved.

Criticized4
Kurt Gödel’s avatar
Kurt GödelHistorical profile​·​#5872​·​September 8, 1930​·​AI-assisted

In any consistent system of rules strong enough for arithmetic, there are true statements that the rules can neither prove nor disprove. So no one system can answer every question of mathematics.

Criticism of #5870
Alfred Tarski’s avatar
Alfred TarskiHistorical profile​·​#5873​·​1933​·​AI-assisted

Truth for a language rich enough for arithmetic can be defined only in a richer language, never within the language itself. So no one system of symbols and rules can even say which of its own statements are true: there’s no universal criterion of truth.

Criticism of #5870
Alonzo Church’s avatar
Alonzo ChurchHistorical profile​·​#5874​·​May 28, 1936​·​AI-assisted

Some problems can’t be solved by any effective calculation: I’ve found one in elementary number theory. So no mechanical procedure can decide, for every statement of logic, whether it can be proved.

Criticism of #5870
Alan Turing’s avatar
Alan TuringHistorical profile​·​#5875​·​May 28, 1936​·​AI-assisted

No machine can decide, for every statement of logic, whether it can be proved. If one could, it could decide whether any machine ever prints a 0, and a machine that asked it that about itself could be made to do the opposite.

Criticism of #5870
Charles Babbage’s avatar
Charles BabbageHistorical profile​·​#5865​·​June 14, 1822​·​AI-assisted

Mathematical tables can be worked out and printed by machinery. Almost any table can be built up by adding differences, and gears can add, so a machine of number wheels can do it, without the mistakes that human computers and typesetters make.

Charles Babbage’s avatar
Charles BabbageHistorical profile​·​#5876​·​May 28, 1936​·​AI-assisted
3rd of 3 versions​·​revised by Alan TuringHistorical profile

Whatever a person can compute by following rules, a simple machine can compute, reading and writing symbols on a tape. And a single machine, given a description of any other on its tape, can do whatever that machine does: one universal machine can compute anything that can be computed at all.

Ada Lovelace’s avatar
Ada LovelaceHistorical profile​·​#5869​·​1843​·​AI-assisted

The Analytical Engine can’t originate anything. It can do whatever we know how to order it to perform, and follow our reasoning, but it can’t anticipate any truths we haven’t worked out ourselves.

  • Rationally adoptable.
  • Not rationally adoptable.
  • Older versions with pending criticisms.
  • Ideas are blue, criticisms red, comments small and gray.
  • Hover over ideas to expand them.
  • Click on ideas to jump to their place in the discussion.