Mathematical logic and foundations Theorem
Equivalence of Turing machines and partial recursive functions
Builds on Turing machineGeneral recursive function
Statement
Let and let be a partial function. Code a tuple as the input string , and code an output as the string . Then the following are equivalent.
- The function is partial recursive.
- There is a Turing machine with the following property for every : halts on the code of exactly when is defined. In that case halts with the code of on its tape.
Remarks
From recursive functions to machines: one builds machines for the zero, successor and projection functions, and shows that Turing-computable functions are closed under composition, primitive recursion and minimisation. Minimisation is a loop that tests in turn and stops at the first zero. From machines to recursive functions: configurations are coded as numbers, and the step function on codes is primitive recursive. Then is obtained by searching with for the first halting time and decoding the output, as in Kleene's T predicate. In particular, every partial recursive function is obtained with at most one use of minimisation. The theorem is part of the evidence for the Church–Turing thesis, but it is a theorem about two formal models, while the thesis is not a formal statement. The choice of unary coding is not essential: any of the usual codings, such as binary numerals, gives the same class of functions.
Going deeper
For a student
The theorem lets one move freely between programs and recursive definitions. To show that a function is computable, it is often easier to write a recursive definition than to design a machine. To show that a set is undecidable, one argues with machines, for example with the halting problem, and then transfers the result to recursive functions. The same method of coding configurations by numbers shows that register machines and the lambda calculus define the same class.
Reading path
To understand this page from the ground up, read these 7 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Function concept
- Natural numbers object
- Primitive recursive function concept
- Set concept
- General recursive function definition
- Turing machine definition
- Equivalence of Turing machines and partial recursive functions statement
Further reading
About this page
| Tag | Q7CB3ET9P8 |
|---|---|
| URI | m2://Q7CB3ET9P8 |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 03D10, 03D20, 68Q04 |
| Status | This copy of the site has no build data. Run m2 status Q7CB3ET9P8. |
| About | Turing machine, General recursive function |
| Uses | Turing machine, General recursive function |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.