Partial Recursive Functions
[44/77%]Prove that every primitive recursive function is everywhere defined.
Prove that if the function is primitive recursive, then the following functions are primitive recursive:
(permutation of arguments);
(cyclic permutation of arguments);
(introduction of a dummy argument);
(identification of arguments).
Which functions are obtained from the simplest functions using superpositions alone?
Prove that the functions and cannot be obtained from and using superpositions and primitive recursion schemes.
Prove that the following functions are primitive recursive:
;
;
;
;
(here );
(here ).
Which function is obtained from and by means of the primitive recursion scheme:
, ;
, ?
Prove that the following functions are primitive recursive:
;
;
.
Prove the following identities:
;
;
;
.
Let be primitive recursive functions. Prove that the following functions are primitive recursive:
;
;
Prove that if is obtained from primitive recursive functions and by means of the bounded -operator, then is primitive recursive.
Let the functions have the following property: for any natural values , one and only one of these functions equals . We say that the function is defined by cases, if
Prove that if the functions are primitive recursive, then is primitive recursive.
Prove that the function
(the Cantor pairing function) is a bijection between and (i.e., it numbers pairs of natural numbers).
Let and be such that
Prove that and are primitive recursive and , .
For each define the functions
(see problem III.1.13).
Let () be such that .
Prove the identities
Prove that the functions and are primitive recursive.
Prove that the functions are bijections between and (i.e., they number -tuples of natural numbers).
How can all partial recursive functions be obtained from one-place partial recursive functions and the functions ?
Call a one-place function a function of large spread, if it takes on every natural number as its value infinitely many times.
Let the pair of functions map onto . Prove that and are functions of large spread.
Let be an arbitrary primitive recursive function of large spread. Construct a primitive recursive function so that the functions and form a bijection between and .
Consider the Godel function
Prove that, whatever the finite sequence of natural numbers may be, the system of equations
has at least one solution .
Prove that if the functions are primitive recursive and is obtained from them by course-of-values recursion with delays, then the function is primitive recursive.
Prove that the function enumerating the Fibonacci numbers in order:
is primitive recursive.
Let the functions and be defined as follows:
Prove that if the functions and are primitive recursive, then the functions and are primitive recursive.
Let be defined by means of simultaneous recursion:
for all .
Prove that if the functions are primitive recursive, then the functions are primitive recursive.
Prove that every primitive recursive function is general recursive.
Prove that the superposition of general recursive functions is a general recursive function.
Prove that applying the primitive recursion operator to general recursive functions yields a general recursive function.
Give an example of a general recursive function from which the -operator yields a function that is not general recursive.
Prove that if the function is partial recursive, then the following functions are partial recursive:
(permutation of arguments);
(cyclic permutation of arguments);
(introduction of a dummy argument);
(identification of arguments).
Prove that:
there are exactly partial recursive functions;
there is a partial numerical function that is not partial recursive;
there is an everywhere defined numerical function that is not general recursive.
Prove that the following functions are partial recursive:
the nowhere defined function , i.e., the function with empty domain of definition;
a function defined at finitely many points.
Prove that if the functions , and are partial recursive, then the following functions are partial recursive:
;
;
;
;
;
.
Prove that the function , arising from the partial functions and by means of the primitive recursion operator, can be obtained by means of a special recursion of the form:
and superpositions from the functions and from problem III.1.13.
Prove that the function , obtained from and by means of the primitive recursion operator, can be obtained by means of iteration and superpositions from the functions and from problem III.1.13.
Prove that the function , obtained from the partial function by means of the -operator, can be obtained from the functions and from problem III.1.13 by means of superpositions and a -operator of the special form.
Prove that the function , obtained by means of the primitive recursion operator from everywhere defined functions and , can be obtained from these functions and the functions and from problems III.1.13, III.1.17, by means of superpositions and a -operator of the special form from problem III.1.29.
Let be the expansion of the number as an infinite decimal fraction. Prove that the function is general recursive.
Let be the expansion of the number as an infinite decimal fraction. Prove that the function is general recursive.
Let be the expansion of the number as an infinite decimal fraction. Prove that the function is general recursive.
Let be the expansion of the real number as an infinite decimal fraction. Call the number general recursive (constructive), if is a general recursive function of . Prove that algebraic numbers are general recursive.
Prove that:
for ;
;
;
;
;
.
Prove that every primitive recursive function can be obtained from the functions and by means of the operations of substitution, iteration, and addition of two functions (R. Robinson's theorem).
Prove that:
;
.
Prove that:
if is defined at some point , then
if is everywhere defined, then
there exists such that is everywhere defined, but
Let . Prove that can be obtained from , and by means of the operations of substitution, inversion, and addition of two functions.
Prove that every partial recursive function can be obtained from , by means of the operations of substitution, inversion, and addition of two functions (Yu. Robinson's theorem).
Consider the following Ackermann functions:
Call an everywhere defined function -majorized, if there is a natural number such that
Prove that:
and are general recursive;
;
;
;
the simplest functions are -majorized;
a function obtained by means of superposition from -majorized functions is -majorized;
a function obtained by means of primitive recursion from -majorized functions is -majorized;
the function is not primitive recursive.
Prove that there is no primitive recursive function universal for the family of all -ary primitive recursive functions.
Prove that there is no partial recursive function universal for the family of all -ary general recursive functions.