Docsity

4 Questions for Combinatorial Optimization: Algorithms and Complexity | CMSC 858, Assignments of Computer Science

Toggle sidebar
bg1
Spring 2004 CMSC 858: Homework 8 William Gasarch
Due Friday April 21
COURSE WEBSITE: www.cs.umd.edu/∼gasarch/858/858.html
1. (0 points) Write your name clearly. Write which HW this is on top of your paper
clearly. Staple the HW so its not loose pages. Where and when will the final be?
2. (50 points) For each k= 1,2,3, . . . try to do the proof that SAT ≤p
rSATk, modeled
after the proof that SAT ≤p
rSAT12. For which kdoes the proof work out nicely
(perhaps with minor modification)? For which kdoes the proof not work out? What
step breaks down?
3. (50 points) Let
SATi,j ={φ: #(φ)≡i(mod j)}
Let i, j be constants. Show that if SATi,j ∈P then SAT ∈R.
4. (0 points- do not hand in, but do for your own benefit)
(a) Write down a Boolean Formula φ(x1, x2, y1, y2) such that φ(a, b, c, d) is true iff
(a, b)(c, d) where is the lex ordering.
(b) Give an algorithm that will, given n, construct a Boolean Formula φ(x1, . . . , xn, y1, . . . , yn)
such that φ(a1, . . . , an, b1, . . . , bn) is true iff (a1, . . . , an)(b1, . . . , bn). Your al-
gorithm should run in time p(n) for some polynomial n.
1

Partial preview of the text

Download 4 Questions for Combinatorial Optimization: Algorithms and Complexity | CMSC 858 and more Assignments Computer Science in PDF only on Docsity!

Spring 2004 CMSC 858: Homework 8 William Gasarch

Due Friday April 21

COURSE WEBSITE: www.cs.umd.edu/∼gasarch/858/858.html

  1. (0 points) Write your name clearly. Write which HW this is on top of your paper clearly. Staple the HW so its not loose pages. Where and when will the final be?
  2. (50 points) For each k = 1, 2 , 3 ,... try to do the proof that SAT ≤pr SATk, modeled after the proof that SAT ≤pr SAT 12. For which k does the proof work out nicely (perhaps with minor modification)? For which k does the proof not work out? What step breaks down?
  3. (50 points) Let SATi,j = {φ : #(φ) ≡ i (mod j)} Let i, j be constants. Show that if SATi,j ∈ P then SAT ∈ R.
  4. (0 points- do not hand in, but do for your own benefit)

(a) Write down a Boolean Formula φ(x 1 , x 2 , y 1 , y 2 ) such that φ(a, b, c, d) is true iff (a, b)  (c, d) where  is the lex ordering. (b) Give an algorithm that will, given n, construct a Boolean Formula φ(x 1 ,... , xn, y 1 ,... , yn) such that φ(a 1 ,... , an, b 1 ,... , bn) is true iff (a 1 ,... , an)  (b 1 ,... , bn). Your al- gorithm should run in time p(n) for some polynomial n.