Literature.
[1] 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.
Course of values functions. In the following examples use the method of course values sequences to show that the functions in question are primitive recursive.
Hint. First, rewrite the definiton to the standard course of values recursion with monadic discrimination.
Exercise. (bonus 1 point) The binary size function has the following course of values recursive definition (with binary discrimination):
Hint. First, rewrite the definiton to the standard course of values recursion with monadic discrimination.
Exercise. (bonus 1 point) The pair size function has the following course of values recursive definition (with pair discrimination):
Hint. First, rewrite the definiton to the standard course of values recursion with monadic discrimination.
Theorem. Primitive recursive functions are closed under course of values recursive definitions.