Definition
A partial computable function or partial recursive function is, in the Godel-Kleene presentation, a member of the smallest set of partial functions on the natural numbers containing the initial functions and closed under composition, primitive recursion, and unbounded minimization.
For each , let be the smallest family of partial functions satisfying:
Interpretation
These operations are interpreted as follows:
Unbounded minimisation is defined by
Here means that the computation is defined. Thus the search diverges if:
- no zero is ever found, or
- some earlier computation diverges.
Properties
The initial functions are total. Composition and primitive recursion preserve totality when their constituent functions are total. Unbounded minimisation may produce a partial function even when is total.
The functions in are called the partial recursive functions. The total members are called the total recursive functions. By the equivalence theorem for standard models of computation, the partial recursive functions are exactly the partial computable functions.