Docsity

CMSC 652 Homework 7: SAT and Sparse Sets - Prof. William Gasarch, Assignments of Computer Science

Toggle sidebar
bg1
Fall 2007 CMSC 652: Homework 7 William Gasarch
Due Oct 29
COURSE WEBSITE: ”http://www.cs.umd.edu/˜gasarch/652/652.html”
1. (40 points) Show that if there exists a sparse set Ssuch that SAT ≤mSthen
SAT ∈P.
2. (40 points) Show that if there exists a sparse set Ssuch that SAT17 ≤mSthen
SAT17 ∈P.
3. (20 points) Assume that SAT ∈R. Devise a “good” randomized algorithm for
the following PROMISE PROBLEM:
PROMISE: The input is satisfiable.
REQUIREMENT ON OUTPUT: Output a satisfying assignment.
(Note- if the input is NOT satisfiable then we make NO demands on what the
algorithm does.)
You get to define “good” but be reasonable. You NEED NOT include an
analysis, but make sure that your definition of “good” is rigorous.
1

Partial preview of the text

Download CMSC 652 Homework 7: SAT and Sparse Sets - Prof. William Gasarch and more Assignments Computer Science in PDF only on Docsity!

Fall 2007 CMSC 652: Homework 7 William Gasarch

Due Oct 29

COURSE WEBSITE: ”http://www.cs.umd.edu/˜gasarch/652/652.html”

  1. (40 points) Show that if there exists a sparse set S such that SAT ≤m S then SAT ∈ P.
  2. (40 points) Show that if there exists a sparse set S such that SAT 17 ≤m S then SAT 17 ∈ P.
  3. (20 points) Assume that SAT ∈ R. Devise a “good” randomized algorithm for the following PROMISE PROBLEM: PROMISE: The input is satisfiable. REQUIREMENT ON OUTPUT: Output a satisfying assignment. (Note- if the input is NOT satisfiable then we make NO demands on what the algorithm does.) You get to define “good” but be reasonable. You NEED NOT include an analysis, but make sure that your definition of “good” is rigorous.