Primitive recursive function: Difference between revisions

Content deleted Content added
T2l3r (talk | contribs)
m Corrected a misspelled "recursive"
mNo edit summary
Line 52:
:(Note that for the sake of simplicity, the order of the arguments has been switched from the "standard" definition to fit the requirements of primitive recursion, i.e. sub(''a'',''b'') corresponds to ''b''-''a''. This could easily be rectified using composition with suitable projections.)
 
Many other familiar functions can be shown to be primitive recursive; some examples include [[conditional|conditionals]], [[exponentiation]], [[primality test|primality testing]], and [[Mathematical induction|course-of-values induction]], and the primitive recursive functions can be extended to operate on other objects such as integerintegers and rational numbers.
 
=== Limitations of the primitive recursive functions ===