Definition 2.1.1 (Partial recursive function).
The class of recursive functions is the smallest class of partial functions
of the form
that contains the basic functions:
and is closed under:
-
Compositions: if
is partial recursive and so are ,
then the function
given by
is partial recursive.
-
Primitive recursion: Given partial recursive functions
and
, the
function
defined by
|
-
Minimisation: Suppose
is partial recursive. Then the function
that maps
to the least
such that
(if it exists) is partial recursive.
Notation: .
The class of functions produced by the same conditions but excluding minimisation is called the class of
primitive recursive functions.
A partial recursive function that is defined everywhere is called a total recursive function.