show that factorial function is promitive recursive
The factorial function defined as
Such that
From the definition of the factorial, we have that:
Thus fac is obtained by primitive recursion from the constant 1 and the primitive recursive function mult.
Hence fac is primitive recursive.
Comments
Leave a comment