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.
Derive Fibonacci sequence as a p.r. function by showing that the function
is primitive recursive.
Exercise. (1 point) Consider the binary predicate which holds if the number is the code of an -tuple. Note that this includes the case when or . Show that the predicate is primitive recursive.
Exercise. (1 point) Consider the ternary function which generalizes the projection functions and to accept tuples, i.e. the application yields the -th element of the -tuple provided . Show that the function is primitive recursive.