Chapter 7: Q2E (page 322)
Answer each part TRUE or FALSE
Short Answer
(a) is true.
(b) true.
(c) is true.
(d) is true.
(e) is false.
(f) is false.
Chapter 7: Q2E (page 322)
Answer each part TRUE or FALSE
(a) is true.
(b) true.
(c) is true.
(d) is true.
(e) is false.
(f) is false.
All the tools & learning materials you need for study success - in one app.
Get started for freeSay that two Boolean formulas are equivalentif they have the same set of variables and are true on the same set of assignments to those variables (i.e., they describe the same Boolean function). A Boolean formula is minimalif no shorter Boolean formula is equivalent to it. Let MIN-FORMULAbe the collection of minimal Boolean formulas. Show that if P = NP,
Let be any unary language. Show that if A is NP-complete, then P = NP. (Hint: Consider a polynomial time reduction f from SATto A. For a formula , let be the reduced formula where variables x1, x2, x3, and x4 in are set to the values 0, 1, 0, and 0, respectively. What happens when you apply f to all of these exponentially many reduced formulas?)
Modify the algorithm for context-free language recognition in the proof of Theorem 7.16 to give a polynomial time algorithm that produces a parse tree for a string, given the string and a CFG, if that grammar generates the string.
Let be the subset sum problem in which all numbers are represented in unary. Why does the completeness proof for fail to show is complete? Show that
Show thatis a prime number in binary} ?. (Hint: For, the multiplicative group is relatively prime toand } is both cyclic and of orderifis prime. You may use this fact without justifying it. The stronger statementis now known to be true, but it is more difficult to prove.)
What do you think about this solution?
We value your feedback to improve our textbook solutions.