7

Show that proving 2SAT is not NP-Complete would prove that 3SAT is not in P.

Or eqivalently -

Show that proving 3SAT is in P would prove that 2SAT is NP-Complete.

I can see there is an easy reduction from 2SAT to 3SAT and it seems like it is the key here, but I can't quite prove the statement above. Can anyone help?

Ben Danon
  • 125
  • 1
  • 1
  • 7

3 Answers3

7

This is (sort of) a trick question. This is not about a connection between 2SAT and 3SAT, it is that if 3SAT is in P, then anything which is in NP and has at least one true instance and one false instance becomes NP-complete! Let's imagine that we are in a world where 3SAT is in P.

Now consider the simple problem 1-VAR-SAT, which is SAT where we have one variable, and at most two clauses. There are 3 1-VAR-SAT problems, $x$, $!x$, and $x \vee !x$. The last is the only unsolvable one.

Turns out, if 3SAT is in P, then 1-VAR-SAT is NP-complete! Here is the model.

Take a 3SAT instance, and solve it (that's polynomial time, 3SAT is in P). If the problem is solvable, output $x$. If it is unsolvable, output $x \vee !x$. We have turned a 3SAT instance into a 1-VAR-SAT problem, which is solvable if and only if the original is solvable, in polynomial time!

7

Another way to put it:

  • 2-SAT is in P and in NP.
  • if any problem in P (or in NP) is not NP complete, then P!=NP.
  • so if 2-SAT is not NP-complete, then P!=NP.
  • if P!=NP, then NP-complete problems are not in P.
  • so if 2-SAT is not NP-complete, then P!=NP and 3-SAT (being NP-complete) is not in P

equivalently (easier):

  • 3-SAT is NP-complete.
  • if an NP-complete problem is in P, then P=NP.
  • if P=NP, then every problem in P is NP-complete.
  • 2-SAT is in P (and in NP).
  • so if 3-SAT is in P, then P=NP and every P (and NP) problem is NP-complete, including 2-SAT.
Albert Hendriks
  • 2,481
  • 16
  • 35
2

Hint: If 3SAT is in P then P=NP and so every non-trivial problem in NP is NP-complete. (Non-trivial means that it's not the empty language nor the complete language.)

Yuval Filmus
  • 280,205
  • 27
  • 317
  • 514