Satisfiability
Victor W. Marek
Computer Science
University of Kentucky
Spring Semester 2005
Satisfiability – p.1/97 Satisfiability story
ie×
Á Satisfiability - invented in the of XX century by philosophers and mathematicians (Wittgenstein, Tarski)
ie×
Á Shannon (late ) applications to what was then known as electrical engineering
ie× ie×
Á Fundamental developments: and – both mathematics of it, and fundamental algorithms
ie×
Á - progress in computing speed and solving moderately large problems
Á Emergence of “killer applications” in Computer Engineering, Bounded Model Checking
Satisfiability – p.2/97 Current situation
Á SAT solvers as a class of software
Á Solving large cases generated by industrial applications
Á Vibrant area of research both in Computer Science and in Computer Engineering
¯ Various CS meetings (SAT, AAAI, CP)
¯ Various CE meetings (CAV, FMCAD, DATE)
¯ CE meetings Stressing applications
Satisfiability – p.3/97 This Course
Á Providing mathematical and computer science foundations of SAT
¯ General mathematical foundations
¯ Two- and Three- valued logics
¯ Complete sets of functors
¯ Normal forms (including ite)
¯ Compactness of propositional logic
¯ Resolution rule, completeness of resolution, semantical resolution
¯ Fundamental algorithms for SAT
¯ Craig Lemma
Satisfiability – p.4/97 And if there is enough of time and will...
Á Easy cases of SAT
¯ Horn
¯ 2SAT
¯ Linear formulas
Á And if there is time (but notes will be provided anyway)
¯ Expressing runs of polynomial-time NDTM as SAT, NP completeness
¯ “Mix and match”
¯ Learning in SAT, partial closure under resolution
¯ Bounded Model Checking
Satisfiability – p.5/97 Various remarks
Á Expected involvement of Dr. Truszczynski
Á An extensive set of notes (> 200 pages), covering most of topics will be provided f.o.c. to registered students (in installments)
Á No claim to absolute correctness made
Á Syllabus: http://www.cs.uky.edu/ marek/htmldid.dir/686.html
Á Homeworks every other week
Á Midterm
Á Individually-negotiated project a ¯ Write your own SAT solver
¯ Modify Chaff
¯ Use SAT solver for some reasonable task
Á Questions?
aHic Rhodes, Hic Salta
Satisfiability – p.6/97 Basic concepts
Á Sets and operations on sets
Á Relations
Á Partial orderings (posets)
Á Elements’ classification
Á Lattices
Á Boolean Algebras
Á Chains in posets, Zorn Lemma
Á Well-orderings, ordinals, induction
Á Inductive proofs
Á Inductive definability
Satisfiability – p.7/97 Fixpoint theorem
Á Complete Lattices
Á Monotone operators (functions) in lattices
Á (Knaster-Tarski Fixpoint Theorem) If is a complete lattice and ! is
monotone operator in then possesses a fixpoint. In fact fixpoints of form a
complete lattice under the ordering of , and thus there is a least and largest
fixpoint of
Á Continuous monotone functions
Á The least fixpoint (but not the largest fixpoint) of a continuous operator reached
in or less steps
Á Generalizations of fixpoint theorem
Satisfiability – p.8/97 Syntax of propositional logic
Á Variables of some (problem-dependent) set Var
Á For each set Var a separate propositional logic
Á
Inductive definition of the set of formulas Î aÖ
Á Thinking about formulas as binary trees, the rank of formula
Satisfiability – p.9/97 Semantics
Á Valuations of variables
Á Partial valuations of variables
Á Two-valued logic and valuations
Á Type Bool
Á Tables for operations in Bool
Á Valuations acting on formulas
Á Valuations uniquely extend from variables to formulas
Á Characterizing valuations as complete sets of literals
Á Characterizing valuations as sets of variables
Á
Two-valued truth function ¾
Á Satisfaction relation j
Á Consistent theories
Satisfiability – p.10/97 Localization and joint-consistency
Á Interactions between sets of variables
Á Restrictions of valuations
Á ¾ Ä
Localization theorem: If ½ ¾ and Î aÖ , is a valuation of ¾ ,
½
¼ ¼