Diagonalization (Cantor/Turing argument)
[36/67%]Write out the details of the proof, using diagonalization, that is uncountable.
Prove that the set is not recursively enumerable. Hint. For the universal Turing machine , consider the function (concatenation with a nonempty symbol).
Prove that there exists a p.r.f. that cannot be extended to any g.r.f. , that is, such that for all . Hint. For the universal Turing machine , consider the arithmetic function .
Let be any set (not necessarily countable). Show that there does not exist a one-to-one correspondence between set and the set of all subsets of .
Show that the set of all one-to-one, increasing functions from to N is uncountable.
What are wrong with the following diagonalization proofs?
We show that there exists a partial recursive function which is not enumerated in . Define . Then, by the existence of the universal DTM, we can see that is partial recursive. Thus, we have obtained a partial recursive function that is different from every at input , .
We show that the set is not r.e. Suppose, by way of contradiction, that REC is r.e. Then, there exists a recursive function whose range is equal to REC. Define . Since each is recursive, it is decidable whether . Therefore, is a recursive set. But this is a contradiction, since for every .
Assume that is a set with the following properties: (i) is recursive for all , and (ii) for all recursive functions for some . Show that is not an r.e. set.
Show that the class of primitive recursive functions is effectively enumerable (in the sense that there is an r.e. set such that (i) is primitive recursive, for all , and (ii) for all primitive recursive function for some ).
Show that there exists a recursive function that is not primitive recursive.
Show that set is not a recursive set.
We say two sets and are recursively separable if there exists a recursive set such that and . Show that for any , sets and are not recursively separable, where .
Show that there exists a set such that both and are infinite but neither has an infinite r.e. subset.
Show that there exist two r.e. sets and such that and .
Describe the detail of the 3-worktape DTM of Theorem 6.16. In particular, describe how works using input as both the machine code for and as the input to , while it is stored in the read-only input tape.
Find a recursive language that is not context-sensitive.
Show that the set of functions from to is uncountable.
Show that there exists a co-r.e. set that is not r.e.
We say a partial recursive function is extendable if there exists a recursive function such that whenever . Show that there exists a partial recursive function that is not extendable.
Show that TOT is not r.e.
Show that there exists a simple set.
Prove that the set of points of the segment is uncountable.
Prove that the set of real-valued functions defined on the segment has cardinality greater than .
Prove that the set of all subsets of a set has cardinality greater than .
We say that a sequence of natural numbers grows faster than a sequence if . Prove that:
for every sequence of natural numbers there exists a sequence growing faster than it;
if a set of sequences has the property that for every sequence there exists a sequence from growing faster than , then the set is uncountable.
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.
Prove that the following functions are not partial 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.
Let be the set of all infinite sequences over . Show that is uncountable using a proof by diagonalization.
Let be a Turing-recognizable language consisting of descriptions of Turing machines, , where every is a decider. Prove that some decidable language is not decided by any decider whose description appears in . (Hint: You may find it helpful to consider an enumerator for .)
Let . Show that is undecidable relative to .
Show that for any language , a language exists, where and .
- Prove that there exist two languages and that are Turing-incomparable-that is, where and .
- Read the definition of a 2DFA (two-headed finite automaton) given in Problem 5.26. Prove that P contains a language that is not recognizable by a 2DFA.
Problem 5.26: A two-headed finite automaton (2DFA) is a deterministic finite automaton that has two read-only, bidirectional heads that start at the left-hand end of the input tape and can be independently controlled to move in either direction. The tape of a 2DFA is finite and is just large enough to contain the input plus two additional blank tape cells, one on the left-hand end and one on the right-hand end, that serve as delimiters. A 2DFA accepts its input by entering a special accept state.
Prove that an oracle exists for which .