SAT solving (CDCL)
Conflict-driven clause-learning solvers decide Boolean satisfiability on formulas with millions of variables, powering hardware and software verification, planning and computer-assisted mathematics.
On this page15 sections
Bounded model checking, equivalence checking, test generation, configuration and many combinatorial proofs reduce to SAT, so solver speed and proof certificates underpin industrial verification and several computer-assisted theorems.
Programs that solve huge true-or-false puzzles by learning from their dead ends, used to check chips and software.
- 1Millions of true/false rules to satisfy
- 2Guess, follow consequences, hit a conflict
- 3Learn a note about why it failed
- 4Jump back and never repeat that mistake
- 5Prove chips and programs correct
The problem. Boolean satisfiability (SAT) asks whether a propositional formula, usually in conjunctive normal form (CNF: an AND of clauses, each clause an OR of variables or their negations), has a satisfying assignment. SAT is NP-complete (Cook; Levin). The Strong Exponential Time Hypothesis conjectures that no algorithm beats roughly time for general CNF as clause width grows. Yet solvers decide industrial instances with millions of variables and tens of millions of clauses.
From DPLL to CDCL. The Davis–Putnam–Logemann–Loveland procedure (1960s) searches over partial assignments with unit propagation: if a clause has all but one literal false, the last must be true. Conflict-driven clause learning (CDCL) adds three ideas.
- On a conflict, analyse the implication graph (which assignments forced which) and derive a new learned clause that records why the conflict occurred, usually at the first unique implication point.
- Backjump non-chronologically to the decision level where the learned clause becomes unit, rather than undoing only the last decision.
- Keep the learned clause so the same dead end is not explored again.
GRASP (Marques-Silva and Sakallah, 1996) introduced the scheme. Chaff (2001) made it fast with two-watched-literal propagation, the VSIDS heuristic (prefer variables recently involved in conflicts), and restarts. Later additions: phase saving, learned-clause deletion by quality, and preprocessing/inprocessing such as variable elimination. Open-source solvers like Kissat and CaDiCaL descend from this line.
Certificates. An unsatisfiable answer can be checked: a CDCL run produces a resolution proof, a sequence of clauses each following from earlier ones. Solvers can emit these in formats such as DRAT so independent checkers verify the claim. Proofs for large problems can be huge.
Applications. Hardware and software verification, planning, scheduling, cryptanalysis, and computer-assisted mathematics (for example, settling bounds on Ramsey-type and colouring problems).
Theory versus practice. Resolution lower bounds show some formulas are hard for every CDCL solver. In the other direction, theorists can show CDCL with idealised choices simulates general resolution, but the actual deterministic heuristics (VSIDS, restarts) are poorly understood. Why they work on industrial instances, and what structure they exploit, is a central open question.
Go deeper
The full technical text.
The problem
Boolean satisfiability (SAT) asks whether a propositional formula, usually given in conjunctive normal form (CNF), has a satisfying assignment. SAT is -complete (Cook, Levin), and no algorithm running in time for some fixed is known for CNF formulas with 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.
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 (Heule 2017), and the empty hexagon number (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 stands
CDCL solvers produce resolution proofs, and resolution has exponential lower bounds, for example on random -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 -hard, so resolution is not automatable unless . 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 neighbours
Local 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 -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.
Words on this page (12)
- Boolean satisfiability (SAT)
- Asking whether true/false values can be assigned to variables so a logical formula comes out true.
- CNF (conjunctive normal form)
- A formula written as a list of clauses that must all hold, each clause being an 'or' of variables or their opposites.
- SAT solver
- A program that decides satisfiability, often handling millions of variables in practice.
- DPLL
- The classic search algorithm for SAT that guesses values and backtracks on contradictions.
- CDCL
- Conflict-driven clause learning: DPLL plus learned clauses and jumping back several levels at once.
- unit propagation
- If a rule has only one way left to be satisfied, set that variable accordingly and follow the consequences.
- resolution proof
- A proof that combines clauses step by step until it derives an obvious contradiction.
- NP-complete
- Among the hardest problems whose answers can be checked quickly; SAT was the first one shown to be so.
- formal verification
- Mathematically proving that a chip or program meets its specification.
- literal
- A variable or its negation, such as x or not-x; clauses are built from literals.
- VSIDS
- A decision heuristic that prefers variables that took part in recent conflicts.
- implication graph
- A record of which variable settings forced which others; the solver analyses it after a conflict to learn a new clause.
New to this? Read first (3)
- Boolean satisfiability problem (Wikipedia)Explains the problem and its role in complexity and practice.
- Conflict-driven clause learning (Wikipedia)A step-by-step account of how modern solvers work.
- DPLL algorithm (Wikipedia)The simpler ancestor, good for seeing the core idea first.
Understanding map
map of the whole wiki →What to read before SAT solving (CDCL) (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Step 2
- Step 3
- SAT solving (CDCL)You are here
- Then
Open problems & questions
Progress timeline
- Mar 17, 2026Deterministic VSIDS-variant CDCL beats DPLLRelated to: Deterministic CDCL with VSIDS and restarts: polynomial-size refutations on bounded-treewidth CNFssource
Samar, Vinyals and Ganesh proved that a deterministic CDCL configuration with a VSIDS variant solves Ordering Principle formulas in polynomial time (SAT 2026).
- Mar 26, 2024Empty hexagon number verified in Leansource
Heule and Scheucher's SAT proof that every 30 points in general position contain an empty convex hexagon had its encoding verified in Lean and its proof checked by a verified checker.
- Apr 3, 2020Hard examples for common decision heuristicsRelated to: Deterministic CDCL with VSIDS and restarts: polynomial-size refutations on bounded-treewidth CNFssource
Vinyals showed that CDCL with VMTF, CHB and some VSIDS/LRB implementations needs exponential time on formulas with short resolution proofs (AAAI 2020).
- Apr 3, 2019Resolution is not automatableRelated to: Deterministic CDCL with VSIDS and restarts: polynomial-size refutations on bounded-treewidth CNFssource
Atserias and Müller proved NP-hardness of finding near-shortest resolution refutations.
- May 3, 2016Boolean Pythagorean triplessource
A cube-and-conquer run produced a DRAT proof of almost 200 terabytes, settling a question of Ronald Graham.
- Feb 1, 2011CDCL and resolutionsource
Pipatsrisawat and Darwiche showed that CDCL with nondeterministic decisions and restarts p-simulates general resolution; Atserias, Fichte and Thurley (JAIR 2011) showed that CDCL with random decisions and many restarts handles bounded-width resolution. Month is the journal issue.
- Jan 1, 2011CDCL simulates resolution with idealised decisionsRelated to: Deterministic CDCL with VSIDS and restarts: polynomial-size refutations on bounded-treewidth CNFssource
Pipatsrisawat and Darwiche proved a polynomial simulation of general resolution using nondeterministic decisions and restarts (AIJ 2011; month approximate).
- Jun 1, 2001Chaffsource
Moskewicz et al. showed that watched literals, VSIDS and restarts made CDCL fast enough for industrial verification; month given as the conference month (DAC 2001).