| Function |
Intuitive meaning |
Definition
|
| Primitive recursive function |
Function can be computed using a bounded for-loop (i.e. a for-loop that is bounded and where the looping variable is not modified in the body of the loop) |
Can be obtained from the basic functions (zero, successor, identity/projection functions) using a finite number of applications of composition and primitive recursion.
|
| Partial recursive function (recursive total or partial function) |
Function can be computed using a while-loop or an unbounded for-loop |
Can be obtained from the basic functions (zero, successor, identity/projection functions) using a finite number of applications of composition, primitive recursion, and minimization (search operator).
|
| Recursive function (recursive total function) |
|
Can be obtained from the basic functions (zero, successor, identity/projection functions) using a finite number of applications of composition, primitive recursion, and minimization (search operator), and the partial function is total.
|