Content deleted Content added
mNo edit summary |
miscellanous small changes |
||
Line 1:
'''Primitive recursive functions''' are a class of functions which form an important building block on the way to a full formalization of computability. They are defined using [[recursion]] and [[composition]] as central operations. The primitive recursive functions are a strict [[subset]] of the [[recursive function|recursive functions]] (which are exactly those functions
which we call "[[
Line 39:
=== Example primitive recursive function definitions ===
Line 105:
Many other familiar functions can be shown to be primitive recursive; some examples include [[conditional|conditionals]], [[exponentiation]], [[primality testing]], and [[Mathematical induction|course-of-values induction]], and the primitive recursive functions can be extended to operate on other objects such as integer and rational numbers.
===
Line 117:
The primitive recursive functions can be computably numbered. This numbering is unique on the definitions of functions, though not unique on the actual functions themselves (as every function can have an infinite number of definitions --- consider simply composing by the [[identity function|identity operator]]). The numbering is computable in the sense that
Line 141:
The set of primitive recursive functions does not encompass everything that we think of as computable. Nevertheless they form an important class and many of the functions normally studied in number theory, and approximations to real-valued functions, are primitive recursive.
In order to formalize the full class of computable functions, we must introduce an additional operator to the above: the ''unbounded search'' operator (see [[Recursive function]]).
|