Professional Documents
Culture Documents
PNP
PNP
Example 2: 3-colorability
3-colorability
3-colorability
Quick verification of 3-colorability
Quick verification of 3-colorability
Does P = NP?
For our examples (Sudoku and 3-coloring), it is
not known if they are in P.
P vs. NP
Problems in P: efficient discovery of a solution
Problems in NP: efficient verification of a solution
Example: 3-colorability
Random k-SAT:
Fix n, m, k, and choose m clauses at random
Study the percentage of random formulas that are satisfiable
Random k-SAT
Random k-SAT:
Fix n, m, k, and choose clauses at random
(Monasson et al., Nature 1999) As the clause-to-variable
ratio increases, we see a phase transition in SAT:
random formulas switch from being almost all satisfiable to
almost all unsatisfiable
100
Percent Satisfiable
Relative Run Time
Percent Satisfiable
80 Relative Run Time
60
40
20
Looks like this
is where the 0
hard 0 5 10
formulas are!
Clause-to-variable ratio m
n
Random k-SAT
What do the formulas undergoing this transition
from almost all satisfiable to almost all
unsatisfiable look like, on average?
(Mezard et al. Science 2002) For random k-SAT, there
are actually three phases:
1. a replica-symmetric phase where the solutions are all in one
big cluster together, then
2. a replica-symmetry-breaking satisfiable (RSB) phase with
exponentially many clusters of solutions, each cluster being
far from all the others, and finally
3. a replica-symmetry-breaking unsatisfiable phase with no
solutions.
Here the distance measure is Hamming distance:
e.g. (1,1,1,1) and (0,0,0,0) have distance 4,
(1,0,0,0) and (0,0,0,0) have distance 1
The RSB Satisfiable Phase of k-SAT
Exponentially many clusters of solutions, each cluster
being far from all the others
(0,0,,0)
(0,0,,0)