How many different formulas in 3-conjunctive normal form can be made using \(n\) variables \(x_1, x_2, \ldots, x_n\)?
Find an upper bound on the length of a formula (counting literals, connectives, and parentheses).
Note: Length is polynomial (3SAT is in NP), but the number of instances of 3SAT is superpolynomial.
Polynomial time solver (so DNF-SAT is in P)
for each clause
if the clause does not contain a literal and its negation
return true
return false
Argument is bogus because repeatedly distributing is going to be superpolynomial time.
To prove that problem \(A\) is NP-hard, reduce a known NP-hard problem to \(A\).
3Color: Given a graph \(G\), is there a coloring of \(G\) that uses only 3 colors?
See the Jamboard.
Suppose a 3-coloring (using red, green, blue) of the first gadget makes \(u\) and \(v\) both green. What color(s) could \(z\) be?
Suppose a 3-coloring (using red, green, blue) of the first gadget makes \(u\) green and \(v\) blue. What color(s) could \(z\) be?
Suppose a 3-coloring (using red, green, blue) of the second gadget makes \(w\), \(x\), and \(y\) all green. What color(s) could \(z\) be?