Literature.
[1] J. Komara. Recursive Functions. Downloadable lecture notes available through the web page of the course.
[2] J. Komara and P. J. Voda. Lecture Notes in Theory of Computability. 2001.
[3] J. Komara and P. J. Voda. Metamathematics of Computer Programming. 2001.
[4] I. Korec. Úvod do teórie algoritmov. Skriptá MFF UK, 1981.
Exercise. Define a p.r. function such that
This means that if is a p.r. index of a unary function then is a p.r. index of its unary iteration.
Exercise. (1 point) Find a well-formed p.r. index of which corresponds to the p.r. derivation of addition as an iteration of the successor function. Define the index with the help of .
Exercise. Define a p.r. function such that
This means that if is a constant and is a p.r. index of a binary function then is a p.r. index of the unary function defined by following parameterless primitive recursion:
Exercise. (1 point) Find a well-formed p.r. index of which corresponds to the derivation of the summation function by parameterless recursion. Define the index with the help of .
Exercise. Find a well-formed p.r. index of which corresponds to the derivation of the predecessor function by parameterless recursion. Define the index with the help of .
Exercise. (2 points) Find a well-formed p.r. index of which corresponds to the p.r. derivation of modified subtraction as an iteration of the predecessor function. Define the index with the help of .