From 3-SAT to Clique

Construct one graph vertex per literal occurrence and prove that selecting a clique of the right size is equivalent to choosing consistent clause witnesses.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Edges permit mutually compatible choices
  2. A satisfying assignment supplies the inverse witness

Edges permit mutually compatible choices

For a formula with \(m\) clauses, make one vertex for each literal occurrence. Add an edge between choices in different clauses unless they use opposite literals of the same variable. Put no edges within a clause. A clique of size \(m\) necessarily chooses one vertex per clause, and its pairwise consistency lets an assignment make every chosen literal true. Values for unchosen variables can be arbitrary.

A satisfying assignment supplies the inverse witness

Choose one true literal in each clause of a satisfying assignment. No chosen pair contradicts, so every pair is connected and the chosen vertices form the required clique. Therefore the mapping preserves both yes- and no-instances. Materializing the edges can take quadratic size in the literal count, acceptable for this polynomial-time claim. Reduction correctness separates the construction from the two witness arguments. Fine-grained complexity requires a tighter size calculation when transferring exponent bounds.[1][2]

References

  1. Michael Sipser, Introduction to the Theory of Computation ↩
  2. MIT OpenCourseWare, Automata, Computability, and Complexity: Lecture Notes ↩