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.
[CL] Remark. In the sequel do not use the non-strict version of the function from the module Standard; it plays the role of if-then-else construct.
Exercise. Show that the characterstic function of the equality predicate is primitive recursive.
Exercise. (1 point) Show that primitive recursive functions are closed under the operator of bounded minimalization.
Remark. Prove the claim for the special case in the following theory.
[CL] Remark. You can test your solution by interpreting the theory. Choose non-local interpretation and set component identifier suffix to the string _b
Theorem. Primitive recursive functions are closed under the operator of bounded minimalization.
[CL] Syntax. Examples:
Atomic formulas: , .
Propositional connectives: , , , , , , .
Bounded quantification: , , , .
Notational conventions: .
Theorem. Primitive recursive functions are closed under explicit definitions of predicates with bounded formulas.
Theorem. The standard comparision predicates are primitive recursive.
Proof. The claim follows from
[CL] Remark. From now on you can use the builtin comparison predicates.
Theorem. Primitive recursive functions are closed under definitions of functions with bounded minimalization.