■ Change #556 · wiki.edited
SAT solving (CDCL): Normalize Markdown to canonical form
body
## The problemBoolean satisfiability (SAT) asks whether a propositional formula, usually given in conjunctive normal form (CNF), has a satisfying assignment. SAT is $\mathsf{NP}$-complete (Cook, Levin), and no algorithm running in time $(2-\varepsilon)^{n}$ for some fixed $\varepsilon>0$ is known for CNF formulas with $n$ variables and unbounded clause width; the Strong Exponential Time Hypothesis conjectures that none exists. Yet solvers routinely decide industrial instances with millions of variables and tens of millions of clauses.## From DPLL to CDCL− The Davis–Putnam–Logemann–Loveland procedure (1960–62) searches over partial assignments, applying *unit propagation* (a clause with all but one literal false forces the last one). *Conflict-driven clause learning* (CDCL) adds three ideas. When propagation produces a conflict, the solver analyses the implication graph and derives a new clause, usually at the first unique implication point, that records why the conflict occurred. It then *backjumps* non-chronologically to the level where that clause becomes unit. And the learned clause is kept so the same dead end is not explored again. GRASP (Marques-Silva and Sakallah, 1996) introduced this scheme.+ The Davis–Putnam–Logemann–Loveland procedure (1960–62) searches over partial assignments, applying _unit propagation_ (a clause with all but one literal false forces the last one). _Conflict-driven clause learning_ (CDCL) adds three ideas. When propagation produces a conflict, the solver analyses the implication graph and derives a new clause, usually at the first unique implication point, that records why the conflict occurred. It then _backjumps_ non-chronologically to the level where that clause becomes unit. And the learned clause is kept so the same dead end is not explored again. GRASP (Marques-Silva and Sakallah, 1996) introduced this scheme.− Chaff (Moskewicz et al., 2001) made it fast with two-watched-literal propagation, the VSIDS activity heuristic, and restarts. Later solvers added phase saving, learned-clause deletion guided by clause quality (such as literal block distance), and preprocessing and *inprocessing* (variable elimination, subsumption, vivification). Current open-source solvers such as Kissat and CaDiCaL descend from this line; according to the University of Freiburg, Kissat won the SAT Competition 2024.+ Chaff (Moskewicz et al., 2001) made it fast with two-watched-literal propagation, the VSIDS activity heuristic, and restarts. Later solvers added phase saving, learned-clause deletion guided by clause quality (such as literal block distance), and preprocessing and _inprocessing_ (variable elimination, subsumption, vivification). Current open-source solvers such as Kissat and CaDiCaL descend from this line; according to the University of Freiburg, Kissat won the SAT Competition 2024.## Certificates− An unsatisfiability claim can be checked: a CDCL run is a resolution refutation, and solvers emit proofs in formats such as DRAT that independent, even formally verified, checkers validate. This turned SAT solvers into trustworthy tools for mathematics. Examples include the Boolean Pythagorean triples problem (Heule, Kullmann and Marek 2016; an unsatisfiability proof of almost 200 terabytes, found by *cube-and-conquer* on 800 cores in about two days), the fifth Schur number $S(5)=160$ (Heule 2017), and the empty hexagon number $h(6)=30$ (Heule and Scheucher, 2024), whose SAT encoding was then verified in Lean and whose proof was checked by a formally verified checker (Subercaseaux et al., ITP 2024).+ An unsatisfiability claim can be checked: a CDCL run is a resolution refutation, and solvers emit proofs in formats such as DRAT that independent, even formally verified, checkers validate. This turned SAT solvers into trustworthy tools for mathematics. Examples include the Boolean Pythagorean triples problem (Heule, Kullmann and Marek 2016; an unsatisfiability proof of almost 200 terabytes, found by _cube-and-conquer_ on 800 cores in about two days), the fifth Schur number $S(5)=160$ (Heule 2017), and the empty hexagon number $h(6)=30$ (Heule and Scheucher, 2024), whose SAT encoding was then verified in Lean and whose proof was checked by a formally verified checker (Subercaseaux et al., ITP 2024).## Where the theory standsCDCL solvers produce resolution proofs, and resolution has exponential lower bounds, for example on random $k$-CNF and on pigeonhole formulas. So worst-case guarantees cannot be better than resolution's. In the other direction, CDCL with nondeterministic decisions and enough restarts polynomially simulates general resolution (Pipatsrisawat and Darwiche 2011), and with random decisions and many restarts it efficiently refutes formulas with bounded-width resolution refutations (Atserias, Fichte and Thurley 2011); neither result covers the deterministic heuristics used in practice. Atserias and Müller (FOCS 2019; J. ACM 2020) showed that finding a near-shortest resolution refutation is $\mathsf{NP}$-hard, so resolution is not automatable unless $\mathsf{P}=\mathsf{NP}$. Why industrial instances are easy is therefore not explained by proof-complexity results; this is the subject of the open problem on CDCL efficiency.## Limits and neighboursLocal search is often better on random satisfiable instances, and quantum algorithms have not been shown to help: Brehm and Weggemans (Quantum, 2026) found that the fault-tolerant speedups of quantum backtracking and Grover search for $k$-SAT largely vanish, even asymptotically, once minimal structure is added to random instances, when compared against the 2023 SAT Competition main-track winner. SAT is also a component of satisfiability modulo theories (SMT), maximum satisfiability and model counting.
hash 1d22bf57a5517fecb03dcf8ac4c5d7307281d9f5236b54d34a62038e696f420d
previous 80cbb93b2a53e36b8139ce7268845fcb4de7635efaa3dab8a2bd0e7634c51d86