Niveau: Supérieur Learning in SAT Saıd Jabbour Inria-Microsoft Joint Centre 28 rue Jean Rostand 91893 Orsay Cedex, France LIX Seminar, January 21, 2010
Inria-Microsoft Joint Centre 28 rue Jean Rostand 91893 Orsay Cedex, France
LIX Seminar, January 21, 2010
Outline
SAT : Definitions and Motivations
Architecture of Modern SAT Solvers
Definitions and notations
Classical Learning (CDCL)
Learning for Backjumping : an extention
Learning for Subsumption
Learning for Dynamic Assignment Reordering
Practical Benefits
Conclusion and perspectives
SAT?
IGiven a CNF formulaF
(a∨b∨c)∧(¬a∨b)∧(¬b∨c)∧(¬c∨a)
IF ?admits a model
IFis satisfiable :{a=true,b=true,c=true}is a model
IF ∪ {(¬a∨ ¬b∨ ¬c)}is unsatisfiable
IBad news : SAT is NP-Complete [Cook 71] IGood news : Modern SAT solvers can solve structured instances with millions of variables and clauses in few seconds !
Moder
n
SAT
solvers
:
architecture
Resolution
Resolution is a well-known refutation system for sets of clauses F(the axioms), or, equivalently, propositional formulae in CNF. It operates with the single resolution rule.
(C∨x) (D∨ ¬x) ————————-(C∨D)←resolvent
A resolution refutationRFofFsequence of clauses C1 , . .is a . , Cs s.t.
Ieach Ck is either inFor is the resolvent of two clauses Ci and Cj with i, j<k, and ICs is the empty clause⊥
Resolution:an
(x∨y)
xe
y
amp
(¬z)
(x)
el
z
y
x
(¬y)
⊥
z
y
x
(¬y∨z)
(¬x)
y
(¬x∨y)
Resolution
There are several popular restrictions to resolution :
ITree-like resolution: in whichRFmust be a tree.
IRegular resolutionin which no variable may be resolved: more than once in any path inRFfrom an axiom to the empty clause.
Each of these is provably exponentially weaker than general resolution.
Learning
I
Conflict Driven Clause Learning (CDCL) [J. M. Silva et al. 96, M. Moskewicz et al. 01]is a fundamental component of Modern SAT solvers
I
I
Modern SAT solvers≈General resolution[Knot 09]
DPLL-like solver≈Tree-Like resolution
et
al.
Definitionsandonatitnos
CNF :F= (¬x1∨ ¬x2∨x3)∧(¬x1∨x2)∧(¬x2∨ ¬x3)∧(¬x3)
Partial interpretation:ρ:X⊆ V(F)→ {faux,vrai}
Simplification:F |ρdenotes the formula simplified byρ