Recursive and primitive recursive sets and predicates
[26/58%]Let be a decidable set, and let and be general recursive functions. Prove that the function
is also general recursive.
Let be a decidable set, and let and be g.r.f.'s. Prove that the function
is also general recursive.
Define
Is a partial recursive function? Prove your answer.
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 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 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.
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 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 the graph of a general recursive function is 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.
Prove that any recursive set is recursively enumerable.
Prove that if the domain of definition of a partial recursive function is a recursive set, then has a recursive extension.
Prove that every recursive set is -reducible to any nonempty set with nonempty complement.