338
ELEMENTS
OF
MATHEMATICAL LOGIC
Now recall the transformation of words in associative calculus.
The operation of substitution following g6delization of an associa-
tive calculus reduces to the above inclusion operation. Consequently,
transformation of words in associate calculus
is
also associated
only with primitive recursive functions.
These conclusions
will
be useful in the discussion of general
recursive functions.
12.8.
A COMPUTABLE BUT
NOT
PRIMITIVE
RECURSIVE FUNCTION
So
far,
we
have dealt
with
primitive recursive functions. The
very nature of the derivation
of
such functions shows that
all
primi-
tive recursive functions are computable. But
is
the converse true?
Are
all computable functions primitive recursive
?
The
answer
is
no.
We
know this from the
work
Pkter
and Ackermann who, almost
simultaneously and in entirely different ways, constructedexamples
of
a
computable but not primitive recursive function. Let us follow
Phter's reasoning.
Pe'ter
was
the first to notice that the
set
of primitively recur-
sive
functions
is
countable. Indeed, the class of primitive functions
is
countable (since the number of different variables
xi
and con-
stants
q
is
countable). Consequently, the
class
of primitive recur-
sive functions, derived
by
a single application of operations
IV
or
V
of Section
12.6,
is
also countable, since the set of the sets
+,
x,,
xL.
. .
.,
xnL
used in operation
IV
is
countable,
as
is
the set of
pairs
+,
x
for operation
V;
this must be
so
since these sets
are
formed from elements of
a
countable
class.
Further, the set of primitively recursive functions derived by
means of
two
applications of operations
IV
or
V
is
countable, and
so
on. By the same reasoning, the set of primitive recursive func-
tions
is,
in general, countable. In particular,
the
set
of primitive
functions
of
one variable
is
countable (because it
is
contained in
this countable
set).
Pgter succeeded in
actualby
numbeving
all the primitive recur-
sive functions of one variable, that is, in arranging them into
a
se-
quence
so
that from the form of
a
function one can determine
its
num-
ber,
while
(conversely)
the
form of
the
function
is
given by
the