Recursive and Recursively Enumerable Sets
[48/81%]Prove that the following predicates are primitive recursive:
;
;
;
divides ;
is even;
and are relatively prime;
;
.
Prove that if and are recursive (primitive recursive) predicates, then the following predicates are also recursive (primitive recursive):
;
;
;
;
;
, if is g.r. (p.r.).
Prove that if the predicate is recursive (primitive recursive), then the predicates and are also recursive (primitive recursive).
Prove that if the predicate is primitive recursive, then is a recursively enumerable set.
Prove that there exists a set that is not recursively enumerable.
Prove that any finite set of natural numbers is primitive recursive.
Prove that a set of -tuples is recursive (primitive recursive) if and only if its characteristic function is general recursive (primitive recursive).
Prove that if is a general recursive (primitive recursive) function and is a fixed number, then the set of solutions of the equation is recursive (primitive recursive).
Let the function be partial recursive but not general recursive. Prove that the domain of definition of the function is primitive recursive.
Prove that if the sets and are recursive (primitive recursive), then the sets , , are also recursive (primitive recursive).
Prove that if the sets and are recursively enumerable, then the sets and are recursively enumerable.
Prove that every primitive recursive set is recursively enumerable.
Let the sets and differ by finitely many elements. Prove that:
if is recursive, then is recursive;
if is recursively enumerable, then is recursively enumerable.
Prove that if a set and its complement are recursively enumerable, then is recursive (Post's theorem).
Let . Set
where is defined in problem III.1.14. Prove that:
is primitive recursive if and only if is primitive recursive;
is recursive if and only if is recursive;
is recursively enumerable if and only if is recursively enumerable.
Let be a nonempty set. Prove that is recursively enumerable if and only if there is a primitive recursive function such that .
Let be a nonempty set of -tuples. Prove that the set is recursively enumerable if and only if there are one-place primitive recursive functions such that
Let the general recursive function satisfy the condition: for all . Prove that the range of values of the function is recursive.
Prove that an infinite set is recursive if and only if is the range of values of a strictly increasing general recursive function.
Prove that a nonempty set is recursive if and only if is the range of values of a monotonically (not necessarily strictly) increasing general recursive function.
Prove that every infinite recursively enumerable set contains an infinite recursive subset.
Prove that every infinite recursively enumerable set can be represented as for some 1--1 general recursive function .
Prove that the graph of a general recursive function is recursive.
Prove that if the graph of a function is recursively enumerable, then the function is partial recursive.
Prove that the full preimage of a recursive set under a general recursive function is recursive.
Let be a recursive set, a general recursive function with , . Prove that is recursive.
Let be recursively enumerable sets, and a recursive set such that , . Prove that is recursive.
Let be general recursive functions, with a 1--1 function. Suppose also that for all . Prove that if is recursive, then is recursive.
Let be recursively enumerable sets. Prove that there exist recursively enumerable sets , such that , .
Prove that:
a function obtained by means of superposition from functions with recursively enumerable graph has recursively enumerable graph;
a function obtained by means of the primitive recursion scheme from functions with recursively enumerable graph has recursively enumerable graph;
a function obtained by means of the -operator from a function with recursively enumerable graph has recursively enumerable graph;
the graph of any partial recursive function is recursively enumerable.
Prove that a function is partial recursive if and only if its graph is recursively enumerable (the graph theorem).
Prove that the domain of definition of a partial recursive function is a recursively enumerable set.
Prove that the range of values of a partial recursive function is recursively enumerable.
Prove that any recursive set is recursively enumerable.
Prove that a set of -tuples is recursively enumerable if and only if its partial characteristic function is partial recursive.
Prove that:
the image of a recursively enumerable set under a partial recursive function is recursively enumerable;
the full preimage of a recursively enumerable set under a partial recursive function is recursively enumerable.
Prove that the set of solutions of the equation
is recursively enumerable, if is a partial recursive -ary function.
Prove that if is a partial recursive function, then the set is recursively enumerable.
Let be pairwise disjoint recursively enumerable sets of -tuples, partial recursive functions. Prove that , defined as follows:
is partial recursive.
Prove that any partial recursive function is representable in Kleene normal form, i.e., in the form
where is a suitable primitive recursive function, and is the function from problem III.1.13 (cf. problem III.2.25).
Prove that a partial function is representable in the form
for a suitable primitive recursive function if and only if the graph of the function is primitive recursive.
Let be defined by means of recursion on two variables:
Prove that if the functions are general recursive, then the function is general recursive.
Prove that the set
where is the function from problem III.2.25, is recursively enumerable but not recursive.
Prove that if the domain of definition of a partial recursive function is a recursive set, then has a recursive extension.
Prove that if is a partial recursive function universal for the class of all one-place partial recursive functions, then the set is recursively enumerable but not recursive.
Find a partial recursive function that has no general recursive extension.
Find a partial recursive function not representable in the form
for any general recursive function .
Prove that if is a partial recursive function universal for the class of all one-place partial recursive functions, then the set
is not recursively enumerable.