Proof of the Recursion Theorem
The recursion theorem guarantees that recursive definitions produce well-defined functions on the natural numbers. This fundamental result justifies the definition of addition, multiplication, exponentiation, and sequences by recursion.
Theorem Statement
Let be a set, , and a function. Then there exists a unique function such that:
- ,
- for all .
More generally, given , there exists a unique with and .
Proof
Existence. We construct as the union of "partial recursive functions."
Call a set an -approximation if:
- is a function (i.e., each natural number maps to at most one value),
- ,
- ,
- for all .
Claim 1: For each , there exists a unique -approximation .
Proof by induction: The -approximation is . Given the -approximation , define , which is the unique -approximation.
Claim 2: If , then and agree on .
Proof by induction on : for , both give . If and agree on , then .
Definition of : Set . By Claim 2, this is a well-defined function with domain .
Verification: . For any : .
Uniqueness. Suppose both satisfy the conditions. By induction:
- .
- If , then .
So .
Applications
Using the recursion theorem, we define:
Addition: For each , define by and , where is the successor. Then .
Multiplication: , . Then .
Exponentiation: , . Then .
Each definition is justified by the recursion theorem with appropriate choices of and .
The recursion theorem requires the axiom of replacement (or at least the axiom of union) to form . In ZFC, replacement guarantees that is a set, so its union exists. Without replacement, the recursion theorem can fail in certain models.