Cook's Theorem
[12/42%]Show that if , then all nonempty proper subsets of are NP-complete.
If is known to be -complete, is always -complete?
In the proof of Cook's theorem, we have used conditions (4.1) on ???-shaped windows over matrix to satisfy condition (4). Show that if we, instead, work with ???-shaped windows over matrix , then no conditions on these windows can satisfy condition (4). In other words, show that the following relation does not hold for any subset :
where denotes the th configuration corresponding to the assignments to variables .
Show that, in the proof of Cook's theorem, function is necessary. That is, no definition of subset can make the following true: is satisfiable if and only if .
In the proof of Cook's theorem, it is possible to remove condition (1), as long as we replace condition (4') by a new condition (4'') over six-square, ???-shaped windows. Find the subconditions over the six-square, ???-shaped windows that make equivalent to condition (4), without the assumption of condition (1).
A Boolean formula which is a product of literals is called an elementary product. A DNF (disjunctive normal form) is a sum of elementary products.
Prove that a DNF Boolean formula can be switched in polynomial time to a CNF formula (with possibly more variables) that preserves satisfiability.
Prove that if , then there is no polynomial-time algorithm that switches a CNF Boolean formula to a DNF formula, and preserves satisfiability.
Assume that and are two -complete sets. Show that and are not necessarily -complete, if . Is always -complete when ?
This exercise follows the notations defined in Exercise 3 of Section 7.1.
Show that there exists a polynomial-time computable, polynomially honest function such that its range is NPcomplete. [Hint: For any -complete set takes an instance of and a string as the input and decides whether is a witness to .]
Define . Show that there exists a polynomial-time computable, polynomially honest function such that is NP-complete. [Hint: Design a function like part (a), except that the problem is a minimization problem.]
Assume that . Let and be two sets that are complete for (i.e., and are NP-complete). Is necessarily in co-NP? Is necessarily co-NP-complete? Is it possible that is in ? Justify your answer.
Suppose that, in the proof of Cook's theorem, we drop condition (1) and replace condition by , which specifies some subconditions on five-square windows of one of the four shapes shown in Figure 7.11. Show that no such subconditions on the five-square windows can make (4) equivalent to .
Consider the alternative proof of Cook's theorem given in Example 7.33. Let be the set corresponding to the twelve windows of Figure 7.10; that is, if and only if is in one of the twelve forms in Figure 7.10, and satisfies the corresponding conditions given in the three cases. Show that if there exists a mapping such that if and only if , then is in .
In this exercise, we consider a different setting for the proof of Cook's theorem. Instead of attaching the state symbol to the tape symbol currently scanned by the tape head, we may define separate Boolean variables to represent the state and the position of the tape head. That is, in addition to variables (for only), we define, for each and each , a variable to mean that the state symbol of is , and for each pair , with , a variable to mean that, in the configuration , the tape head is scanning the th symbol. To prove Cook's theorem in this setting, then we need to define six Boolean functions , such that, for if and only if the condition below holds:
(1) For each is in exactly one state.
(2) For each , the head scans exactly one cell in .
(3) For each and each , the th cell of contains exactly one symbol.
(4) is the initial configuration of on input .
(5) is an accepting configuration.
(6) For each .
Assume that satisfy the condition that if and only if condition holds. Also let be
where if , and if . Find a counterexample to disprove that if and only if accepts . Find a new function satisfying that if and only if accepts .