To prove that a new problem \(\mathcal{A}\) is NP-hard, you must show that a known NP-hard problem \(\mathcal{B}\) can be solved in polynomial time, given a polynomial time solver for \(\mathcal{A}\). This is called “a reduction from \(\mathcal{B}\).”
(On board.)
Find another solution, besides the one shown at left.
Explain why the configuration on the right has no solution.
We are going to reduce from puzzle configurea3SAT. What do we assume that we have, and what do we need to be able to do with it?
Given a 3CNF formula, we need to make a puzzle configuration out of it.
Find a 3CNF formula that gets translated into the puzzle on the left.
Find a 3CNF formula that gets translated into the puzzle on the right.
Prove: If the formula is satisfiable, then the puzzle has a solution.
Prove: If the puzzle is solvable, then the formula is satisfiable.
Polynomial time?