Reduction argument
[35/77%]Implement a machine computing the reduction function from the proof of Theorem 170 on p. 446 in the case of the alphabet .
Theorem 170: The problem is undecidable.
Prove the algorithmic undecidability of the test-data completeness problem . The problem consists of triples such that the state occurs in the computation of the Turing machine on input .
Prove the algorithmic undecidability of the zero problem . The problem consists of codes of Turing machines such that for all . Hint. Reduce to .
Prove the algorithmic undecidability of the following equivalence problem . The problem consists of pairs such that the machines and are equivalent. Hint. Reduce to .
Prove the algorithmic undecidability of the test-data completeness problem . The problem consists of triples such that the state occurs in the computation of the Turing machine on input .
Prove the algorithmic undecidability of the zero problem . The problem consists of codes of Turing machines such that for all . Hint. Reduce to .
Prove the algorithmic undecidability of the following equivalence problem . The problem consists of pairs such that the machines and are equivalent. Hint. Reduce to .
Prove the algorithmic undecidability of the constant problem . The problem consists of those such that the Turing machine returns the same result on any input, whenever it halts at all. Hint. Reduce the complement of to .
Prove the algorithmic undecidability of the growth problem . The problem consists of those such that the Turing machine computes an arithmetic function and holds for all , whenever both values are defined. Hint. Reduce the complement of to .
A set is called single-valued if for each , there exists at most one such that . Let . Show that EMP and EMP,
Assume that by a reduction function with time bound . Also assume that . What can you say about the time complexity of set ?
Prove that CNF-Sat 3Sat.
In this exercise, we study an alternative proof for Example 7.25. Let us replace conditions (1) and (2) by condition (3): For every , there is a triple such that (i) , and (ii) if then . Translate this condition into a Boolean formula over variables and show that is satisfiable if and only if has a threedimensional matching .
Construct the following reductions:
3SAT .
.
.
Consider the following variations of the problem 3Sat:
3Sat-Exactly-One: Given a 3-CNF , determine whether there is an assignment on variables in that assigns value TRUE to exactly one literal in each clause of .
3Sat-Not-All: Given a 3-CNF , determine whether there is an assignment on variables in that assigns value TRUE to either one or two literals (but not all three literals) in each clause of .
Show that 3Sat, 3Sat-Exact-One and 3Sat-Not-All are polynomial time equivalent under .
HC .
IS.
GIso DGIso.
SAT CNF-SAT.
.
.
.
.
Let . Show that is undecidable.
ᴬ Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape when it is run on input . Formulate this problem as a language and show that it is undecidable.
ᴬ Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.
Consider the problem of determining whether a single-tape Turing machine ever writes a blank symbol over a nonblank symbol during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.
A useless state in a Turing machine is one that is never entered on any input string. Consider the problem of determining whether a Turing machine has any useless states. Formulate this problem as a language and show that it is undecidable.
Consider the problem of determining whether a Turing machine on an input ever attempts to move its head left when its head is on the left-most tape cell. Formulate this problem as a language and show that it is undecidable.
Show that the Post Correspondence Problem is undecidable over the binary alphabet .
Let . Is decidable? Prove your answer.
ᴬ Let be the model with universe and the "less than" relation. Show that is decidable.
ᴬ Let HALF-CLIQUE . Show that HALF-CLIQUE is NP-complete.
A cut in an undirected graph is a separation of the vertices into two disjoint subsets and . The size of a cut is the number of edges that have one endpoint in and the other in . Let
Show that MAX-CUT is NP-complete. You may assume the result of Problem 7.26. (Hint: Show that MAX-CUT. The variable gadget for variable is a collection of nodes labeled with and another nodes labeled with , where is the number of clauses. All nodes labeled are connected with all nodes labeled . The clause gadget is a triangle of three edges connecting three nodes labeled with the literals appearing in the clause. Do not use the same node in more than one clause gadget. Prove that this reduction works.)
A subset of the nodes of a graph is a dominating set if every other node of is adjacent to some node in the subset. Let
Show that it is NP-complete by giving a reduction from VERTEX-COVER.