Reducibility
[24/33%]Assume that both and are nonempty proper subsets of .
Show that if is recursive then .
Show that if the set differences and of sets and are both recursive, then .
Show that the set is not recursive.
The halting problem is complete.
Let be a nontrivial function-index set. Show that if EMP , then is not r.e. Thus, the following index sets are not r.e: , EMP, , Fin, Rec, Reg and Rev.
Let be an r.e. index set. Show that if and then . Thus, the following sets are not r.e.: .
Let be an r.e. function-index set. Show that if then there exists such that is a finite subset of . Thus, the following sets are not r.e.: Tot, .
Show that TOT and TOT.
(Revisited) Show, by the theorem, that .
Assume that and . Show that if and are r.e., then .
If is one-to-one, then we define . Show that there exists a recursive function such that for all one-to-one functions .
Show that there exists a recursive function such that .
Show that for every partial recursive function , there exists a recursive function such that .
Show that there is a recursive function such that for all ,
(Rice's theorem for r.e. index sets) For any finite set , we say (in any order) is a code of . Show that an index set is r.e. if and only if
-
and imply ;
-
implies that there exists such that is a finite subset of ; and
-
There exists an r.e. set that contains codes of all and only finite sets such that (i.e., for each such that is finite, contains at least one of its code, and for every and every such that .
For any partial recursive function , we write to denote its domain . Let be three partial recursive functions.
Show that there exists a partial recursive function such that , and for each , or or .
Show that there does not always exist a partial recursive function such that , and for each or or , and for each .
Define
Is a partial recursive function? Prove your answer.
Show that there exists an r.e. set such that is not r.e.
Show that if is an r.e. index set then is also r.e.
Let be the class of all recursive sets, the class of all r.e. sets which are not recursive, the class of all co-r.e. sets which are not r.e., and the class of all sets that are neither r.e. nor co-r.e. For each of the following sets, determine in which class , it belongs to.
.
.
.
.
.
.
, where is a fixed positive integer.
.
, where is the set of primes.
, where is the set of primes.
.
A set is called single-valued if for each , there exists at most one such that . Let . Show that EMP and EMP,
Show that there is a recursive predicate such that
Let COINF . Show that there exists a recursive predicate such that
Prove the following reductions:
TOT REC.
TOT COINF.
Let .
Show that there exists a recursive predicate such that
Show that Tot and Tot .
Let .
Show that there exists a recursive predicate such that
Show that REC .
A set is called productive if there exists a partial recursive function such that for every , if then and .
Show that if is productive then has an infinite r.e. subset.
Show that if then is productive.
Conclude from (a) and (b) above that a simple set cannot be a complete r.e. set.
Show that there exist two r.e. sets and such that and .