Turing and the limits of computation
图灵与可计算性
Follow the 1936 paper from a clerk with paper to universal simulation, undecidability and the limits of a perfect program checker.
turing-computabilityCould a machine check every other machine?
Imagine a program inspector. Give it any program and input, and it promises an eventual, correct answer: “this run will stop” or “this run will continue forever.” Waiting for the program to finish is insufficient. If it is still running tomorrow, it might stop the next day. The inspector must settle both cases.
This is a modern entry into the problem Alan Turing addressed in On Computable Numbers, with an Application to the Entscheidungsproblem. The German word means “decision problem.” The aim was to settle, by a general mechanical procedure, whether an arbitrary formula of the relevant logical calculus is provable. Before proving that no such procedure exists, Turing had to explain what counts as mechanical calculation. His starting point was a person following rules with paper, not a modern electronic computer. Turing, sections 1, 9 and 11
Dates need two labels. Andrew Hodges’s bibliography records publication in two parts in November and December 1936, within a journal volume dated 1937. It also lists a separate correction in volume 43. Thus a catalogue year alone does not tell the whole publication story. The Oxford-hosted copy used here is a later transcription; its website print date is not the paper’s publication date. Hodges, mathematical-logic bibliography
A finite rulebook, with room to keep writing
Turing separates a finite set of internal states from an extendable tape divided into cells. The machine observes a cell, consults its state and rulebook, writes or changes a symbol, moves, and changes state. An entire configuration includes the tape, head position and internal state. Having finitely many control states therefore does not mean having only finitely many possible configurations. Turing, sections 1–2
Here is our own tiny example, using a modern convention. Write a nonnegative integer as a row of that many 1 symbols; zero is an empty row. Start on the first 1, or on a blank for zero. State scan has two rules:
| Current state | Read | Write | Move | Next state |
|---|---|---|---|---|
| scan | 1 | 1 | right | scan |
| scan | blank | 1 | stay | halt |
Starting from 111, the head passes three marks, adds a fourth and stops. The result is 1111. On input of length , this convention takes transitions. “Stay” and a named halt state are choices for this teaching table, not a reproduction of Turing’s original notation.
Notice what makes the argument work. There is a finite input, a first blank immediately after its marks, and a head that moves toward that blank. We have proved termination for this particular program on its specified inputs. Nothing in undecidability prevents such proofs.
Descriptions can become data
A rulebook can itself be encoded as a finite string. A simulator can read that description and reproduce the described machine’s steps. Turing develops this route through standard descriptions and a universal machine in sections 5–7. “Universal” concerns the range of computations that can be simulated; it does not promise that every simulation finishes quickly, or finishes at all. Turing, sections 5–7
The modern halting argument now needs one more idea: feed a description to the program it describes. Suppose the promised inspector, , always halts and correctly decides whether program halts on input . Construct a program that receives a program description :
- Ask whether that program halts on its own description.
- If the answer is yes, enter an endless loop.
- If the answer is no, halt immediately.
Now run on its own description. If the inspector says it halts, loops; if it says it loops, halts. Both answers contradict the promised correctness. The contradictory object is an always correct, always terminating inspector for every program and input. Ordinary interpreters and useful restricted checkers remain possible. This is a modern teaching proof, distinct from the original paper’s detailed construction. MIT, Theory of Computation, lecture 8
Turing’s original “circular” terminology requires care. In section 2, it concerns producing only finitely many output digits of a specified kind. A machine can keep taking steps forever yet fail to produce further such digits. Calling every nonhalting machine “circle-free” would misread the definition. Section 8 first treats circle-freeness and then whether a machine ever prints a specified symbol. Our halting story explains the family resemblance without relabelling those exact historical predicates. Turing, sections 2 and 8
A theorem, a thesis and a resource limit are different claims
Alonzo Church’s April 1936 paper had already proposed a formal account of effective calculability and demonstrated an unsolvable problem. Its opening footnote credits Kleene, Herbrand, Gödel and Rosser for distinct parts of the surrounding work. Turing acknowledges Church in his introduction. This was a converging research conversation, not a lone invention without predecessors. Church, pages 345–346
Two formal models can be proved equivalent by constructing simulations between them. Identifying that formal class with every intuitively effective procedure is a further claim, usually called the Church–Turing thesis. Turing explicitly discusses the intuitive character of this step in section 9; Church likewise describes a proposed identification. Neither a theorem about formal models nor that thesis establishes that all cognition has been explained. Turing, section 9, Church, page 346
Keep three questions separate when judging an AI system:
| Question | What would answer it? |
|---|---|
| Is there an algorithm for every instance? | A computability argument with a specified input class |
| Can that algorithm run within our budget? | Time, memory and input-size analysis |
| Does this trained system perform reliably? | Tests on the intended distribution and failure cases |
A long runtime is not a proof of undecidability. A high benchmark score does not overturn an impossibility theorem. A checker may remain useful by limiting the language, accepting incomplete answers such as “unknown,” or checking a supplied proof. Those qualifications change the promise that the diagonal argument contradicts.
Test the promise before accepting the conclusion
- How many transitions does our unary incrementer take on zero? Answer: one. It starts at a blank, writes
1and enters halt. An input convention is part of the problem. - A program runs for a million steps without stopping. Have we proved it never stops? Answer: no. A finite observation alone supplies no bound on when a later halt might occur.
- A checker proves termination for every program in a deliberately restricted language. Does it contradict the halting theorem? Answer: no. It does not promise a decision for every arbitrary program and input.
- A machine continually moves but writes only three designated output digits. Is it circle-free under the original paper’s definition? Answer: no. It produces only finitely many such digits, even though its activity continues.
Read the machine paper separately from the imitation game
A useful reading sequence is the original paper’s finite-state description, encoding, universal simulation, diagonal argument and application to logic. Read Church’s introductory pages alongside it to identify the difference between defining a model and defending its coverage. Use the MIT lecture for a modern proof rather than silently substituting that proof into a historical quotation.
The Turing test belongs to his 1950 discussion of machine intelligence. It asks a different question from the 1936 computability paper. The McCulloch–Pitts article offers another connection: when comparing finite neural networks with universal computation, check what storage and external apparatus the comparison permits. A model’s power always comes with a model’s conditions.
Make a prediction, then check
A machine keeps moving but outputs only three designated digits. What is it in the original terminology?
Learning objectives
- Explain universal simulation through states,tape and encoded rules,distinguishing finite control from unbounded configurations.
- State the scope of the halting contradiction and distinguish original circle-freeness,modern halting and the Church–Turing thesis.
Prerequisites & connections
This article can be used as an entry point.
Explore related knowledge →References
- On Computable Numbers, with an Application to the Entscheidungsproblem — later transcription
Alan M. Turing · 1936 - Alan Turing’s Scientific Papers — Mathematical Logic
Andrew Hodges - An Unsolvable Problem of Elementary Number Theory
Alonzo Church · 1936 - Theory of Computation, Lecture8: Undecidability
Michael Sipser; MIT OpenCourseWare · 2020
Version1 · Editorial status: Recorded technical checks completed
View technical check record (AI)
Codex · 2026-09-05 · Codex technical check: source and edition locations,full bilingual rereading,and verification of original logical and numerical examples; no independent human peer review.
- Reread both languages; checked the two-case halting contradiction and unary termination proof; separated original theorem,modern example and informal thesis.
- Group verification actually executed:101 unary inputs,4 OR/XOR and dual switch encodings,6 exact feedback sequences,60 delayed steps,512 class triples and finite regulator policies. Numerical checks validate teaching examples,not historical evidence.
Source locations checked:
- On Computable Numbers, with an Application to the Entscheidungsproblem — later transcription · Read§1–2 definitions,§5–6 description/universal simulation,§8 circular/circle-free and symbol-printing problems,§9 intuitive coverage,§11 decision formulation; differentiated modern halting proof. Transcription and OCR defects not adopted.
- Alan Turing’s Scientific Papers — Mathematical Logic · Live bibliography line23 records November23 and December23,1936 parts,1937 volume and43:544–546 correction. Article uses month precision and attributes bibliography.
- An Unsolvable Problem of Elementary Number Theory · Read scan cover and original345–346 including April1936 issue, effective calculability proposal and footnote3 credits/equivalence; no claim to verify entire paper.
- Theory of Computation, Lecture8: Undecidability · Read official lecture description and transcript coverage of diagonalization and halting reduction; article proof distinguished from original1936 predicates.
Related topics