Alan Turing
Alan Mathison Turing (1912–1954) was a British mathematician, logician, and codebreaker who founded theoretical computer science with the abstract "Turing machine," helped break German Enigma ciphers in World War II, and pioneered the conceptual foundations of artificial intelligence and mathematical biology. Key result: he proved (1936) that there exist well-defined mathematical questions no algorithm can decide, formalizing the very notion of "computation." Where it applies: computability theory, cryptanalysis, AI, morphogenesis. When: principally 1936–1952.
A single, simple, idealized device — reading and writing symbols on a tape according to a finite table of rules — captures everything that can be mechanically computed. From this one abstraction follow both the universality of computers (one machine can simulate any other) and hard limits (some problems have no algorithmic solution at all). Computation, intelligence, and even biological form can be analyzed as rule-governed symbol or state manipulation.
Formal Statement
A Turing machine is a 7-tuple where:
- — finite set of internal states,
- — finite input alphabet (with blank ),
- — finite tape alphabet, , ,
- — the transition function,
- — start state,
- — halting states.
The machine operates on an infinite tape divided into cells, with a head scanning one cell at a time.
The transition rule applied at each step is:
Derivation hint: read symbol in state , write , move head one cell in direction , enter state — this is the entire dynamics. A function is Turing-computable when some machine, started with encoded on its tape, halts with written:
Derivation hint: denotes halting; denotes a fixed binary/unary encoding. Computability means halting with the correct output on every input.
There exists a single Turing machine that, given an encoding of any Turing machine together with an input , simulates on :
Derivation hint: encode 's transition table as data on 's tape; reads the current simulated state and scanned symbol, looks up the encoded rule, and updates the simulated configuration step by step.
There is no Turing machine that decides, for every , whether halts on . Formally the language
is not decidable. Derivation hint: the set is recognizable (simulate and accept if it halts) but not decidable — proven by diagonalization below. A consequence is the negative answer to Hilbert's Entscheidungsproblem:
Derivation hint: reduce HALT to logical validity — a halting computation can be encoded as a first-order sentence, so deciding validity would decide halting.
Why It Holds / Derivation
Step 1. Assume for contradiction a total machine exists with
Step 2. Build a machine that takes a single input and runs on (machine fed its own description). Then does the opposite of what predicts:
- if says " halts on ," then loops forever;
- if says " does not halt," then halts.
Step 3. Feed its own description: run .
Step 4. Consider the two cases:
- If halts on , then by construction must have predicted "does not halt" — contradiction.
- If loops on , then predicted "halts" — also contradiction.
Step 5. Both branches are impossible, so cannot exist. Hence HALT is undecidable.
∎Born in Maida Vale, London, on 23 June 1912, Turing showed early mathematical brilliance, entering King's College, Cambridge in 1931 and being elected a Fellow at 22 for work on the central limit theorem. His 1936 computability paper, written before he turned 24, redefined the foundations of mathematics. He earned a PhD at Princeton (1938) under Alonzo Church, served as the leading scientific mind at Bletchley Park during the war, and afterward worked on the ACE computer at the National Physical Laboratory and the Manchester Baby/Mark I. Prosecuted in 1952 under Britain's anti-homosexuality laws and subjected to chemical "treatment," he died on 7 June 1954 of cyanide poisoning, ruled a suicide. He received a posthumous royal pardon in 2013.
Building Intuition
Think of a Turing machine as the most patient clerk imaginable: an infinitely long ledger (tape), a pencil, and a tiny rulebook taped to the desk. The clerk reads the current symbol, consults the rule for "(my mood, this symbol)," writes something, shuffles one space left or right, and changes mood. Nothing else is allowed — no intuition, no creativity, no memory beyond the current mood and the marks on the ledger. The astonishing claim (the Church–Turing thesis) is that anything any human or machine could ever compute by a definite procedure can be done by this clerk. The universal machine is then a clerk whose ledger contains a description of another clerk's rulebook — software running on hardware. And the halting argument shows that no clerk, however clever the rulebook, can reliably foresee whether an arbitrary fellow clerk will ever finish.
Worked Examples
Given: a number represented in unary as consecutive 1's, e.g. . We want a machine that outputs (i.e. ).
Construction. States , alphabet . Start at the leftmost 1.
- — scan right across all 1's.
- — at the first blank, write a 1 and accept.
Trace for (tape ): 1. reads 1, move R (×3 times), now scanning the blank after the last 1. 2. reads : write 1, enter . Tape now reads .
Number of steps: transitions.
Given: a Turing machine with states and tape alphabet , restricted to a tape window of cells. How many distinct configurations (instantaneous descriptions) exist?
Reasoning. A configuration is specified by:
- the current state: choices,
- the head position: choices,
- the tape contents over cells: choices.
Compute: , so .
Interpretation: if the machine runs longer than this many steps without halting on this bounded tape, it must have repeated a configuration and is therefore looping — a finite, decidable check for bounded space, in sharp contrast to the unbounded halting problem.
Common Misconceptions
"Turing proved that some math problems are too hard for computers — meaning they need more time/memory." No. Undecidability is not about resources; HALT cannot be solved by any algorithm with any finite amount of time or memory. It is a logical impossibility, distinct from the complexity questions (like P vs NP) about how much time a solvable problem needs.
"The Turing Test defines what intelligence is." Turing proposed the imitation game as an operational replacement for the vague question "can machines think?" — a behavioral criterion, deliberately sidestepping metaphysics. It is a practical test, not a definition of consciousness or understanding, as Searle's Chinese Room argument later stressed.
One might hope that every function with a clear definition is computable. The Busy Beaver function — the maximum number of 1's a halting -state Turing machine can print — is perfectly well-defined yet not computable. If we could compute , we could solve the halting problem (run each -state machine for at most -related bounds and detect non-halting), which is impossible. also grows faster than any computable function. This is a concrete, finite-flavored function that defeats all algorithms.
Connections
Turing's machine is provably equivalent in power to Alonzo Church's Lambda Calculus and to Kurt Gödel's General Recursive Functions — the convergence of these independent formalisms is the empirical backbone of the Church–Turing Thesis. The undecidability of HALT is the computational mirror of Gödel's Incompleteness Theorems: both use diagonalization to expose limits of formal systems. Turing's hierarchy of oracle machines launched Computability Theory and the study of Turing Degrees, while bounding the time of computable problems leads into Computational Complexity Theory and the P versus NP Problem.
Real-World Applications
Historical Development
Subtleties & Limits
The Church–Turing thesis is a definition-grade conjecture, not a theorem: it asserts that "effectively computable" equals "Turing-computable," but "effectively computable" is informal, so it cannot be proved — only supported by the equivalence of all known models. Two live frontiers extend it. The physical Church–Turing thesis asks whether physically realizable processes (quantum computers, relativistic or analog devices, hypothetical hypercomputation) could compute non-Turing-computable functions; this remains open and tied to deep physics. Separately, while what is computable is settled, how efficiently is not — the P versus NP problem, the central open question of complexity theory, asks whether every efficiently checkable problem is efficiently solvable, and remains unresolved.
See Also
Turing Machine · Turing Test · Halting Problem · Church–Turing Thesis · Gödel's Incompleteness Theorems · Lambda Calculus · P versus NP Problem · Enigma Machine · Reaction–Diffusion Systems · Busy Beaver Function