Mathematical logic and foundations Computability theory Theorem
Kleene's recursion theorem
Builds on Computable functionGödel numbering
Statement
Fix a standard Gödel numbering of programs, and let be the partial computable function of one argument computed by program . Let be a total computable function. Then there is such that as partial functions.
Remarks
By the smn theorem, there is a total computable such that whenever is defined. The composite is total computable, so it equals for some . Put . Then .
An equivalent form: for every partial computable there is with for all . Here means that both sides are undefined, or both are defined and equal. Example: with one gets a program that outputs its own number on every input, a "quine".
The function need not have a fixed point ; the theorem only gives a fixed point of the programs' behaviour. For instance has no fixed point in , but some and compute the same function.
Going deeper
For a student
The recursion theorem justifies definitions in which a program calls itself by index, which is how general recursion is handled inside computability theory. Its proof is a diagonal argument and is closely related to the diagonal lemma used in Gödel's incompleteness theorems. It gives a short proof of Rice's theorem and of the undecidability of the halting problem.
Reading path
To understand this page from the ground up, read these 3 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Computable function concept
- Gödel numbering concept
- Kleene's recursion theorem statement
Further reading
About this page
| Tag | F3Z30M606H |
|---|---|
| URI | m2://F3Z30M606H |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 03D20 |
| Status | This copy of the site has no build data. Run m2 status F3Z30M606H. |
| About | Computable function |
| Uses | Computable function, Gödel numbering |
| Same as | |
| Changed | 2 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- 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.