Primitive recursive function: Difference between revisions

Content deleted Content added
m Automated conversion
this said the computable functions aren't recursively enumerable; they are too!
Line 64:
Now consider the function ''g''(''x'')=S(''f''<sub>''x''</sub>(''x'')). ''g'' lies on the diagonal of this matrix and simply adds one to the value it finds. This function is computable (by the above), but clearly no primitive recursive function exists which computes it as it differs from each possible primitive recursive function by at least one value. Thus there must be computable functions which are not primitive recursive.
 
Note that this argument can be applied to any class of functions that can be enumerated in this way. In(One othermight words,think this implies that any explicit list of the computable functions cannot be complete, but that's false because of the [[undecidability]] of the [[Halting Problem]].)
 
One can also explicitly exhibit a simple 1-ary computable function which is recursively defined for any natural number, but which is not primitive recursive, see [[Ackermann function]].