On the Relative Efficiency of DPLL and OBDDs with Axiom and Join

Size: px
Start display at page:

Download "On the Relative Efficiency of DPLL and OBDDs with Axiom and Join"

Transcription

1 On the Relative Efficiency of DPLL and OBDDs with Axiom and Join Matti Järvisalo University of Helsinki, Finland September 16, CP M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 1 / 15

2 Background Two main approaches to industrial Boolean satisfiability solving Complete search-based methods: here DPLL and CDCL Compilation-based approaches: here OBDDs Understanding the relative efficiency of these approaches Study the power of the proof systems underlying solvers CDCL (with restarts) Resolution [PipatsrisawatD AIJ 10] DPLL tree-like resolution Separating CNF Proof Systems Proof system S does not polynomially simulate system S : there is an infinite family {F n } n of unsatisfiable CNF formulas s.t. for any n: there is a polynomial S -proof of F n w.r.t. n minimum-size S proofs of Fn are of exponential w.r.t. n For example: DPLL does not polynomially simulate CDCL [BeameKS JAIR 04; PipatsrisawatD AIJ 10] M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 2 / 15

3 Background Two main approaches to industrial Boolean satisfiability solving Complete search-based methods: here DPLL and CDCL Compilation-based approaches: here OBDDs Understanding the relative efficiency of these approaches Study the power of the proof systems underlying solvers CDCL (with restarts) Resolution [PipatsrisawatD AIJ 10] DPLL tree-like resolution Separating CNF Proof Systems Proof system S does not polynomially simulate system S : there is an infinite family {F n } n of unsatisfiable CNF formulas s.t. for any n: there is a polynomial S -proof of F n w.r.t. n minimum-size S proofs of Fn are of exponential w.r.t. n For example: DPLL does not polynomially simulate CDCL [BeameKS JAIR 04; PipatsrisawatD AIJ 10] M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 2 / 15

4 Previous Results Interest in the relative efficiency of SAT solving methods based on resolution and OBDDs [GrooteZ 03; AtseriasKV 04; SinzB 06; Segerlind 08; Peltier 08; TveretinaSZ 10;...] Power of OBDDs depends on the set of construction rules With quantifier elimination (+weakening): (unrestricted) resolution does not polynomially simulate OBDDs Without quantifier elimination: OBDD aj OBDD apply with Axiom and Join does not simulate (unrestricted) resolution Here we concentrate on the weaker OBDD aj [AtseriasKV CP 04] [TveretinaSZ JSAT 10] M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 3 / 15

5 Previous Results Interest in the relative efficiency of SAT solving methods based on resolution and OBDDs [GrooteZ 03; AtseriasKV 04; SinzB 06; Segerlind 08; Peltier 08; TveretinaSZ 10;...] Power of OBDDs depends on the set of construction rules With quantifier elimination (+weakening): (unrestricted) resolution does not polynomially simulate OBDDs Without quantifier elimination: OBDD aj OBDD apply with Axiom and Join does not simulate (unrestricted) resolution Here we concentrate on the weaker OBDD aj [AtseriasKV CP 04] [TveretinaSZ JSAT 10] M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 3 / 15

6 Goals Main Question Pinpoint the power of OBDD aj more exactly: Does it even polynomially simulate the Davis-Putnam-Logemann-Loveland procedure (DPLL) that is known to be exponentially weaker than clause learning / resolution? Does DPLL polynomially simulate OBDD aj? M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 4 / 15

7 Contributions of the Paper Main Theorem OBDDs constructed using the Axiom and Join rules and DPLL (equivalently, tree-like resolution) are polynomially incomparable. DPLL (with an optimal branching heuristic) does not polynomially simulate OBDD aj (using a suitable variable ordering) OBDD aj proof system (under any variable ordering) does not polynomially simulate DPLL Results from combining and extending previous results M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 5 / 15

8 Contributions of the Paper Main Theorem OBDDs constructed using the Axiom and Join rules and DPLL (equivalently, tree-like resolution) are polynomially incomparable. DPLL (with an optimal branching heuristic) does not polynomially simulate OBDD aj (using a suitable variable ordering) OBDD aj proof system (under any variable ordering) does not polynomially simulate DPLL Results from combining and extending previous results M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 5 / 15

9 DPLL [DavisPutnam 60; Davis-Logemann-Loveland 62] DPLL(F ) If F is empty report satisfiable and halt If F contains the empty clause return Else choose a variable x vars(f ) DPLL(F x ) DPLL(F x ) F x : Unit propagated F ; remove all clauses containing x and all occurrences of x from F ; repeating until fixpoint for all unit clauses. Practical implementations deterministic: implement a branching heuristic for choosing a variable here we do not restrict this non-deterministic choice. DPLL proof of unsat CNF F : a search tree of DPLL(F ) Size of a DPLL proof: the number of nodes in the tree DPLL and tree-like resolution are polynomially equivalent M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 6 / 15

10 OBDDs Binary decision diagram (BDD) over a set of Boolean variables V Rooted DAG with decision nodes labelled with distinct variables from V two terminal nodes 0 and 1 Each decision node v has two children, low(v) and high(v). Edge v low(v) (high(v), resp.) represents assigning v = 0 (1, resp.). z (x y z) Ordered (O)BDD: a total variable order enforced on on all paths from root to terminals Reduced OBDD: isomorphic subgraphs merged nodes with isomorphic children eliminated Unique (R)OBDD B(φ, ) for any CNF φ size(b(φ, )): the number of nodes. M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 7 / 15 0 y x 1

11 OBDD aj Proofs of CNFs Given an unsat CNF F and a variable order over vars(f ): An OBDD aj derivation of the OBDD for 0 A sequence ρ = (B 1 (φ 1, ),..., B m (φ m, )) of OBDDs, where B m (φ m, ) is the single-node OBDD representing 0 for each i = 1..m, either Axiom φ i is a clause in F, or Join φ i = φ j φ k for some B j (φ j, ) and B k (φ k, ), 1 j < k < i, in ρ. Size of OBDD aj proof ρ: Σ m i=1 size(b i(φ i, )). M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 8 / 15

12 Example variable ordering x y z (x y z) ( z) ( z) ( x y) x z y x y y z x x y z y M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 9 / 15

13 DPLL does not Polynomially Simulate OBDD aj Pebbling contradictions [Ben-SassonW 01] as witnessing formulas Peb(G) for a given DAG G: (x i,0 x i,1 ) for each source node (in-degree 0) i of G; ( x i,0 ) and ( x i,1 ) for each sink node (out-degree 0) i of G; ( xi1,a 1 x ik,a k x j,0 x j,1 ) for each non-source node j, where i 1,..., i k are the predecessors of j, and for each (a 1,..., a k ) {0, 1} k. Minimum-size tree-like resolution proofs of Peb(G n ) are 2Ω(n/ log n) [Ben-SassonW JACM 01] for a specific infinite family {G n } of DAGs with constant node in-degree [PaulTC 77] Equivalently for DPLL M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 10 / 15

14 Short OBDD aj Proofs for log-bounded In-degree: Idea Similar strategy as in short ordered resolution proofs for Peb(G n ) [Buresh-OppenheimP 07] Let G be a DAG on n nodes, and j a node in G with parents i 1,..., i k where k = O(log n). 1 Label each source j of G with axiom B((x j,0 x j,1 ), ). 2 Following an topological ordering of G n : Poly-size OBDDaj derivation of B((x j,0 x j,1 ), ) for non-source j OBDD of any n-variable formula is of size O(2 n /n) [LiawL 92] G has log-bounded node in-degree each derivation contains O(log n) variables each derivation polynomial-size wrt n poly-size OBDDaj derivation of B((x t,0 x t,1 ), ) for the sink t of G 3 Join B((x t,0 x t,1 ), ) with axioms B(( x t,0 ), ) and B(( x t,1 ), ). Result: polynomial-size OBDD aj -proof of Peb(G n ) M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 11 / 15

15 Short OBDD aj Proofs for log-bounded In-degree: Idea Similar strategy as in short ordered resolution proofs for Peb(G n ) [Buresh-OppenheimP 07] Let G be a DAG on n nodes, and j a node in G with parents i 1,..., i k where k = O(log n). 1 Label each source j of G with axiom B((x j,0 x j,1 ), ). 2 Following an topological ordering of G n : Poly-size OBDDaj derivation of B((x j,0 x j,1 ), ) for non-source j OBDD of any n-variable formula is of size O(2 n /n) [LiawL 92] G has log-bounded node in-degree each derivation contains O(log n) variables each derivation polynomial-size wrt n poly-size OBDDaj derivation of B((x t,0 x t,1 ), ) for the sink t of G 3 Join B((x t,0 x t,1 ), ) with axioms B(( x t,0 ), ) and B(( x t,1 ), ). Result: polynomial-size OBDD aj -proof of Peb(G n ) M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 11 / 15

16 OBDDaj does not Polynomially Simulate DPLL (1/3) Main Lemma OBDDaj cannot exploit a specific form of redundancy in CNFs Any iteratively added redundant clauses of the form x a b Introduce new variable x to stand for a b, where a and b are variables in the current formula The extension rule of Extended Resolution [Tseitin 68] OBDD aj cannot exploit any extensions Let F be an unsatisfiable CNF formula and E an extension to F. For any variable order over vars(f ) vars(e): F E has a OBDD aj proof of size s F has a OBDD aj proof of size s. Generalization of lemma in [TveretinaSZ JSAT 10] M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 12 / 15

17 OBDDaj does not Polynomially Simulate DPLL (2/3) Tree-like Resolution/DPLL simulates Resolution under extensions Known Arbitrary unsat CNF formula F Take any resolution proof π F = (C 1,..., C m = ) of F. Define extension of F : [Krajicek] Take new variables ei C i for i = 1,..., m 1 using the extension rule For any unsat CNF F : There is a DPLL proof of F E(π F ) of size O( π F ). Branch according to e1 e m 1 e i = 0 immediate conflict with unit propagation (due to soundness of resolution) All e i s 1 conflicting unit clauses in π F M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 13 / 15

18 Needed: An explicit witness {F n } n for which OBDDaj proofs are exponential wrt n Fn has polynomial DPLL proofs under suitable extensions Pigeon-Holes n + 1 pigeons cannot get individual n holes PHP n+1 n := n+1 i=1 ( n ) n n p i,j j=1 n+1 j=1 i=1 i =i+1 p i,j = 1 i th pigeon sits in the j th hole ( ) pi,j p i,j, There is no polynomial-size OBDD aj proof [TveretinaSZ JSAT 10] There is no polynomial-size RES proof of PHP n+1 n [Haken 86] There is an extension E such that PHP n+1 n E has polynomial-size resolution proof π F E [Cook 79] Explicit short proofs: [JärvisaloJ Constraint 09; TveretinaSZ JSAT 10] Final witness: ( PHP n+1 n E ) E(π F E ) M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 14 / 15

19 Needed: An explicit witness {F n } n for which OBDDaj proofs are exponential wrt n Fn has polynomial DPLL proofs under suitable extensions Pigeon-Holes n + 1 pigeons cannot get individual n holes PHP n+1 n := n+1 i=1 ( n ) n n p i,j j=1 n+1 j=1 i=1 i =i+1 p i,j = 1 i th pigeon sits in the j th hole ( ) pi,j p i,j, There is no polynomial-size OBDD aj proof [TveretinaSZ JSAT 10] There is no polynomial-size RES proof of PHP n+1 n [Haken 86] There is an extension E such that PHP n+1 n E has polynomial-size resolution proof π F E [Cook 79] Explicit short proofs: [JärvisaloJ Constraint 09; TveretinaSZ JSAT 10] Final witness: ( PHP n+1 n E ) E(π F E ) M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 14 / 15

20 Conclusions Main Theorem OBDDs constructed using the Axiom and Join rules and DPLL (equivalently, tree-like resolution) are polynomially incomparable. DPLL (with an optimal branching heuristic) does not polynomially simulate OBDD aj (using a suitable variable ordering) OBDD aj proof system (under any variable ordering) does not polynomially simulate DPLL M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, CP 15 / 15

EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams. Sanjit A. Seshia EECS, UC Berkeley

EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams. Sanjit A. Seshia EECS, UC Berkeley EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: Lintao Zhang Announcement Project proposals due

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving Matt Fredrikson mfredrik@cs.cmu.edu October 17, 2016 Matt Fredrikson SAT Solving 1 / 36 Review: Propositional

More information

Propositional and First Order Reasoning

Propositional and First Order Reasoning Propositional and First Order Reasoning Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p p Clause: disjunction of literals q \/ p \/ r given by

More information

An instance of SAT is defined as (X, S)

An instance of SAT is defined as (X, S) SAT: Propositional Satisfiability 22c:45 Artificial Intelligence Russell & Norvig, Ch. 7.6 Validity vs. Satisfiability Validity: A sentence is valid if it is true in every interpretation (every interpretation

More information

Unrestricted vs restricted cut in a tableau method for Boolean circuits

Unrestricted vs restricted cut in a tableau method for Boolean circuits Annals of Mathematics and Artificial Intelligence (2005) 44: 373 399 Springer 2005 Unrestricted vs restricted cut in a tableau method for Boolean circuits Matti Järvisalo, Tommi Junttila and Ilkka Niemelä

More information

Binary Decision Diagrams Boolean Functions

Binary Decision Diagrams Boolean Functions Binary Decision Diagrams Representation of Boolean Functions BDDs, OBDDs, ROBDDs Operations Model-Checking over BDDs 72 Boolean functions:b = {0,1}, f :B B B Boolean Functions Boolean expressions: t ::=

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 31. Propositional Logic: DPLL Algorithm Malte Helmert and Gabriele Röger University of Basel April 24, 2017 Propositional Logic: Overview Chapter overview: propositional

More information

Exponential Separations in a Hierarchy of Clause Learning Proof Systems

Exponential Separations in a Hierarchy of Clause Learning Proof Systems Electronic Colloquium on Computational Complexity, Report No. 72 (2013) Exponential Separations in a Hierarchy of Clause Learning Proof Systems Jan Johannsen Institut fur Informatik Ludwig-Maximilians-Universitat

More information

Sums of Products. Pasi Rastas November 15, 2005

Sums of Products. Pasi Rastas November 15, 2005 Sums of Products Pasi Rastas November 15, 2005 1 Introduction This presentation is mainly based on 1. Bacchus, Dalmao and Pitassi : Algorithms and Complexity results for #SAT and Bayesian inference 2.

More information

Propositional Logic: Evaluating the Formulas

Propositional Logic: Evaluating the Formulas Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere

More information

Organization. Informal introduction and Overview Informal introductions to P,NP,co-NP and themes from and relationships with Proof complexity

Organization. Informal introduction and Overview Informal introductions to P,NP,co-NP and themes from and relationships with Proof complexity 15-16/08/2009 Nicola Galesi 1 Organization Informal introduction and Overview Informal introductions to P,NP,co-NP and themes from and relationships with Proof complexity First Steps in Proof Complexity

More information

Propositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel

Propositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel Propositional Logic Methods & Tools for Software Engineering (MTSE) Fall 2017 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/

More information

Towards Understanding and Harnessing the Potential of Clause Learning

Towards Understanding and Harnessing the Potential of Clause Learning Journal of Artificial Intelligence Research 22 (2004) 319-351 Submitted 12/03; published 12/04 Towards Understanding and Harnessing the Potential of Clause Learning Paul Beame Henry Kautz Ashish Sabharwal

More information

Space complexity of cutting planes refutations

Space complexity of cutting planes refutations Space complexity of cutting planes refutations Nicola Galesi, Pavel Pudlák, Neil Thapen Nicola Galesi Sapienza - University of Rome June 19, 2015 () June 19, 2015 1 / 32 Cutting planes proofs A refutational

More information

Binary Decision Diagrams

Binary Decision Diagrams Binary Decision Diagrams An Introduction and Some Applications Manas Thakur PACE Lab, IIT Madras Manas Thakur (IIT Madras) BDDs 1 / 25 Motivating Example Binary decision tree for a truth table Manas Thakur

More information

LOGIC PROPOSITIONAL REASONING

LOGIC PROPOSITIONAL REASONING LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1

More information

CS156: The Calculus of Computation

CS156: The Calculus of Computation CS156: The Calculus of Computation Zohar Manna Winter 2010 It is reasonable to hope that the relationship between computation and mathematical logic will be as fruitful in the next century as that between

More information

Weak Resolution Trees with Lemmas - Resolution Refinements that Characterize DLL-Algorithms with Clause Learning

Weak Resolution Trees with Lemmas - Resolution Refinements that Characterize DLL-Algorithms with Clause Learning Weak Resolution Trees with Lemmas - Resolution Refinements that Characterize DLL-Algorithms with Clause Learning Samuel R. Buss Department of Mathematics University of California, San Diego La Jolla, CA

More information

Classical Propositional Logic

Classical Propositional Logic Classical Propositional Logic Peter Baumgartner http://users.cecs.anu.edu.au/~baumgart/ Ph: 02 6218 3717 Data61/CSIRO and ANU July 2017 1 / 71 Classical Logic and Reasoning Problems A 1 : Socrates is a

More information

Binary Decision Diagrams. Graphs. Boolean Functions

Binary Decision Diagrams. Graphs. Boolean Functions Binary Decision Diagrams Graphs Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant

More information

Decision Procedures for Satisfiability and Validity in Propositional Logic

Decision Procedures for Satisfiability and Validity in Propositional Logic Decision Procedures for Satisfiability and Validity in Propositional Logic Meghdad Ghari Institute for Research in Fundamental Sciences (IPM) School of Mathematics-Isfahan Branch Logic Group http://math.ipm.ac.ir/isfahan/logic-group.htm

More information

Tutorial 1: Modern SMT Solvers and Verification

Tutorial 1: Modern SMT Solvers and Verification University of Illinois at Urbana-Champaign Tutorial 1: Modern SMT Solvers and Verification Sayan Mitra Electrical & Computer Engineering Coordinated Science Laboratory University of Illinois at Urbana

More information

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT I LL TALK ABOUT Propositional Logic Terminology, Satisfiability, Decision Procedure First-Order Logic Terminology, Background Theories Satisfiability

More information

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Journal of Artificial Intelligence Research 1 (1993) 1-15 Submitted 6/91; published 9/91 Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Enrico Giunchiglia Massimo

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 8. Satisfiability and Model Construction Davis-Putnam-Logemann-Loveland Procedure, Phase Transitions, GSAT Joschka Boedecker and Wolfram Burgard and Bernhard Nebel

More information

Regular Resolution Lower Bounds for the Weak Pigeonhole Principle

Regular Resolution Lower Bounds for the Weak Pigeonhole Principle Regular Resolution Lower Bounds for the Weak Pigeonhole Principle Toniann Pitassi Department of Computer Science University of Toronto toni@cs.toronto.edu Ran Raz Department of Computer Science Weizmann

More information

Boolean decision diagrams and SAT-based representations

Boolean decision diagrams and SAT-based representations Boolean decision diagrams and SAT-based representations 4th July 200 So far we have seen Kripke Structures 2 Temporal logics (and their semantics over Kripke structures) 3 Model checking of these structures

More information

Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011

Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011 Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber 15-414 Aug 31, 2011 Why study SAT solvers? Many problems reduce to SAT. Formal verification CAD, VLSI Optimization AI, planning, automated

More information

Lecture 2 Propositional Logic & SAT

Lecture 2 Propositional Logic & SAT CS 5110/6110 Rigorous System Design Spring 2017 Jan-17 Lecture 2 Propositional Logic & SAT Zvonimir Rakamarić University of Utah Announcements Homework 1 will be posted soon Propositional logic: Chapter

More information

Topics in Model-Based Reasoning

Topics in Model-Based Reasoning Towards Integration of Proving and Solving Dipartimento di Informatica Università degli Studi di Verona Verona, Italy March, 2014 Automated reasoning Artificial Intelligence Automated Reasoning Computational

More information

Binary Decision Diagrams

Binary Decision Diagrams Binary Decision Diagrams Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant in 1986.

More information

Reordering Rule Makes OBDD Proof Systems Stronger

Reordering Rule Makes OBDD Proof Systems Stronger Reordering Rule Makes OBDD Proof Systems Stronger Sam Buss University of California, San Diego, La Jolla, CA, USA sbuss@ucsd.edu Dmitry Itsykson St. Petersburg Department of V.A. Steklov Institute of Mathematics

More information

Lower bounds for width-restricted clause learning on small width formulas

Lower bounds for width-restricted clause learning on small width formulas Electronic Colloquium on Computational Complexity, Report No. 85 (2010) Lower bounds for width-restricted clause learning on small width formulas Eli Ben-Sasson 1 and Jan Johannsen 2 1 Computer Science

More information

The Calculus of Computation: Decision Procedures with Applications to Verification. Part I: FOUNDATIONS. by Aaron Bradley Zohar Manna

The Calculus of Computation: Decision Procedures with Applications to Verification. Part I: FOUNDATIONS. by Aaron Bradley Zohar Manna The Calculus of Computation: Decision Procedures with Applications to Verification Part I: FOUNDATIONS by Aaron Bradley Zohar Manna 1. Propositional Logic(PL) Springer 2007 1-1 1-2 Propositional Logic(PL)

More information

Game Characterizations and the PSPACE-Completeness of Tree Resolution Space

Game Characterizations and the PSPACE-Completeness of Tree Resolution Space Game Characterizations and the PSPACE-Completeness of Tree Resolution Space Alexander Hertel & Alasdair Urquhart June 18, 2007 Abstract The Prover/Delayer game is a combinatorial game that can be used

More information

Reduced Ordered Binary Decision Diagrams

Reduced Ordered Binary Decision Diagrams Reduced Ordered Binary Decision Diagrams Lecture #12 of Advanced Model Checking Joost-Pieter Katoen Lehrstuhl 2: Software Modeling & Verification E-mail: katoen@cs.rwth-aachen.de December 13, 2016 c JPK

More information

An Introduction to Proof Complexity, Part II.

An Introduction to Proof Complexity, Part II. An Introduction to Proof Complexity, Part II. Pavel Pudlák Mathematical Institute, Academy of Sciences, Prague and Charles University, Prague Computability in Europe 2009, Heidelberg 2 Overview Part I.

More information

ZZ On the Interplay Between Proof Complexity and SAT Solving

ZZ On the Interplay Between Proof Complexity and SAT Solving ZZ On the Interplay Between Proof Complexity and SAT Solving JAKOB NORDSTRÖM, KTH Royal Institute of Technology This paper is intended as an informal and accessible survey of proof complexity for non-experts,

More information

Solving SAT Modulo Theories

Solving SAT Modulo Theories Solving SAT Modulo Theories R. Nieuwenhuis, A. Oliveras, and C.Tinelli. Solving SAT and SAT Modulo Theories: from an Abstract Davis-Putnam-Logemann-Loveland Procedure to DPLL(T) Mooly Sagiv Motivation

More information

RESOLUTION TREES WITH LEMMAS: RESOLUTION REFINEMENTS THAT CHARACTERIZE DLL ALGORITHMS WITH CLAUSE LEARNING

RESOLUTION TREES WITH LEMMAS: RESOLUTION REFINEMENTS THAT CHARACTERIZE DLL ALGORITHMS WITH CLAUSE LEARNING Logical Methods in Computer Science Vol. 4 (4:13) 2008, pp. 1 28 www.lmcs-online.org Submitted Jun. 24, 2008 Published Dec. 5, 2008 RESOLUTION TREES WITH LEMMAS: RESOLUTION REFINEMENTS THAT CHARACTERIZE

More information

Introduction to SAT (constraint) solving. Justyna Petke

Introduction to SAT (constraint) solving. Justyna Petke Introduction to SAT (constraint) solving Justyna Petke SAT, SMT and CSP solvers are used for solving problems involving constraints. The term constraint solver, however, usually refers to a CSP solver.

More information

Satisfiability Modulo Theories

Satisfiability Modulo Theories Satisfiability Modulo Theories Summer School on Formal Methods Menlo College, 2011 Bruno Dutertre and Leonardo de Moura bruno@csl.sri.com, leonardo@microsoft.com SRI International, Microsoft Research SAT/SMT

More information

CDM. Algorithms for Propositional Logic

CDM. Algorithms for Propositional Logic CDM Algorithms for Propositional Logic Klaus Sutner Fall 2017 1 Boolean Decision Problems SAT Solvers Refutation and Resolution Binary Decision Diagrams Decision Problems 3 Recall the standard decision

More information

Improved Separations of Regular Resolution from Clause Learning Proof Systems

Improved Separations of Regular Resolution from Clause Learning Proof Systems Journal of Artificial Intelligence Research 49 (2014) 669-703 Submitted 11/13; published 4/14 Improved Separations of Regular Resolution from Clause Learning Proof Systems Maria Luisa Bonet Lenguajes y

More information

1 Efficient Transformation to CNF Formulas

1 Efficient Transformation to CNF Formulas 1 Efficient Transformation to CNF Formulas We discuss an algorithm, due to Tseitin [?], which efficiently transforms an arbitrary Boolean formula φ to a CNF formula ψ such that ψ has a model if and only

More information

Algorithms for Satisfiability beyond Resolution.

Algorithms for Satisfiability beyond Resolution. Algorithms for Satisfiability beyond Resolution. Maria Luisa Bonet UPC, Barcelona, Spain Oaxaca, August, 2018 Co-Authors: Sam Buss, Alexey Ignatiev, Joao Marques-Silva, Antonio Morgado. Motivation. Satisfiability

More information

Worst-Case Upper Bound for (1, 2)-QSAT

Worst-Case Upper Bound for (1, 2)-QSAT Worst-Case Upper Bound for (1, 2)-QSAT Minghao Yin Department of Computer, Northeast Normal University, Changchun, China, 130117 ymh@nenu.edu.cn Abstract. The rigorous theoretical analysis of the algorithm

More information

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz )

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz ) Logic in AI Chapter 7 Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz ) Knowledge Representation represent knowledge in a manner that facilitates inferencing (i.e. drawing

More information

Using Graph-Based Representation to Derive Hard SAT instances

Using Graph-Based Representation to Derive Hard SAT instances Using Graph-Based Representation to Derive Hard SAT instances Gilles Audemard, Saïd Jabbour, and Lakhdar Saïs CRIL - Université d Artois - Lens, France {audemard,jabbour,sais}@cril.fr Abstract. In this

More information

A New Look at BDDs for Pseudo-Boolean Constraints

A New Look at BDDs for Pseudo-Boolean Constraints Journal of Artificial Intelligence Research 45 (22) 443-48 Submitted 3/2; published /2 A New Look at BDDs for Pseudo-Boolean Constraints Ignasi Abío Robert Nieuwenhuis Albert Oliveras Enric Rodríguez-Carbonell

More information

RESOLUTION TREES WITH LEMMAS: RESOLUTION REFINEMENTS THAT CHARACTERIZE DLL ALGORITHMS WITH CLAUSE LEARNING

RESOLUTION TREES WITH LEMMAS: RESOLUTION REFINEMENTS THAT CHARACTERIZE DLL ALGORITHMS WITH CLAUSE LEARNING RESOLUTION TREES WITH LEMMAS: RESOLUTION REFINEMENTS THAT CHARACTERIZE DLL ALGORITHMS WITH CLAUSE LEARNING SAMUEL R. BUSS, JAN HOFFMANN, AND JAN JOHANNSEN Department of Mathematics, University of California,

More information

Algorithmic Applications of Propositional Proof Complexity

Algorithmic Applications of Propositional Proof Complexity Algorithmic Applications of Propositional Proof Complexity Ashish Sabharwal A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy University of Washington

More information

CS156: The Calculus of Computation Zohar Manna Autumn 2008

CS156: The Calculus of Computation Zohar Manna Autumn 2008 Page 3 of 52 Page 4 of 52 CS156: The Calculus of Computation Zohar Manna Autumn 2008 Lecturer: Zohar Manna (manna@cs.stanford.edu) Office Hours: MW 12:30-1:00 at Gates 481 TAs: Boyu Wang (wangboyu@stanford.edu)

More information

The Complexity of Resolution Refinements

The Complexity of Resolution Refinements The Complexity of Resolution Refinements Joshua Buresh-Oppenheim Computer Science Department University of Toronto Toronto, ON bureshop@cs.toronto.edu Toniann Pitassi Computer Science Department University

More information

Propositional logic. Programming and Modal Logic

Propositional logic. Programming and Modal Logic Propositional logic Programming and Modal Logic 2006-2007 4 Contents Syntax of propositional logic Semantics of propositional logic Semantic entailment Natural deduction proof system Soundness and completeness

More information

Lower Bounds for Exact Model Counting and Applications in Probabilistic Databases

Lower Bounds for Exact Model Counting and Applications in Probabilistic Databases Lower Bounds for Exact Model Counting and Applications in Probabilistic Databases Paul Beame Jerry Li Sudeepa Roy Dan Suciu Computer Science and Engineering University of Washington Seattle, WA 98195 {beame,

More information

Artificial Intelligence

Artificial Intelligence Torralba and Wahlster Artificial Intelligence Chapter 11: Propositional Reasoning, Part II 1/69 Artificial Intelligence 11. Propositional Reasoning, Part II: SAT Solvers How to Efficiently Think About

More information

SAT translations. Matthew Gwynne 1 Oliver Kullmann 2. Proof Complexity Banff, October 4, Computer Science, Swansea University, UK

SAT translations. Matthew Gwynne 1 Oliver Kullmann 2. Proof Complexity Banff, October 4, Computer Science, Swansea University, UK (From to Matthew Gwynne 1 2 Computer Science, Swansea University, UK 1 http://cs.swan.ac.uk/~csmg (From to s 2 http://cs.swan.ac.uk/~csoliver Proof Complexity Banff, October 4, 2011 : case studies and

More information

A brief introduction to Logic. (slides from

A brief introduction to Logic. (slides from A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity

More information

Satisfiability Modulo Theories (SMT)

Satisfiability Modulo Theories (SMT) Satisfiability Modulo Theories (SMT) Sylvain Conchon Cours 7 / 9 avril 2014 1 Road map The SMT problem Modern efficient SAT solvers CDCL(T) Examples of decision procedures: equality (CC) and difference

More information

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Subbarao Kambhampati, Dieter Fox, Henry Kautz )

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Subbarao Kambhampati, Dieter Fox, Henry Kautz ) Logic in AI Chapter 7 Mausam (Based on slides of Dan Weld, Stuart Russell, Subbarao Kambhampati, Dieter Fox, Henry Kautz ) 2 Knowledge Representation represent knowledge about the world in a manner that

More information

Breaking local symmetries can dramatically reduce the length of propositional refutations

Breaking local symmetries can dramatically reduce the length of propositional refutations Electronic Colloquium on Computational Complexity, Report No. 68 (2010) Breaking local symmetries can dramatically reduce the length of propositional refutations Shir Ben-Israel Eli Ben-Sasson Dept. of

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Set 6: Knowledge Representation: The Propositional Calculus Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Outline Representing knowledge using logic Agent that reason logically A knowledge based agent Representing

More information

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

More information

Formal Verification Methods 1: Propositional Logic

Formal Verification Methods 1: Propositional Logic Formal Verification Methods 1: Propositional Logic John Harrison Intel Corporation Course overview Propositional logic A resurgence of interest Logic and circuits Normal forms The Davis-Putnam procedure

More information

Satisfiability Modulo Theories

Satisfiability Modulo Theories Satisfiability Modulo Theories Bruno Dutertre SRI International Leonardo de Moura Microsoft Research Satisfiability a > b + 2, a = 2c + 10, c + b 1000 SAT a = 0, b = 3, c = 5 Model 0 > 3 + 2, 0 = 2 5 +

More information

Satisifiability and Probabilistic Satisifiability

Satisifiability and Probabilistic Satisifiability Satisifiability and Probabilistic Satisifiability Department of Computer Science Instituto de Matemática e Estatística Universidade de São Paulo 2010 Topics Next Issue The SAT Problem The Centrality of

More information

Outline. Part 1: Motivation Part 2: Probabilistic Databases Part 3: Weighted Model Counting Part 4: Lifted Inference for WFOMC

Outline. Part 1: Motivation Part 2: Probabilistic Databases Part 3: Weighted Model Counting Part 4: Lifted Inference for WFOMC Outline Part 1: Motivation Part 2: Probabilistic Databases Part 3: Weighted Model Counting Part 4: Lifted Inference for WFOMC Part 5: Completeness of Lifted Inference Part 6: Query Compilation Part 7:

More information

Lecture 9: The Splitting Method for SAT

Lecture 9: The Splitting Method for SAT Lecture 9: The Splitting Method for SAT 1 Importance of SAT Cook-Levin Theorem: SAT is NP-complete. The reason why SAT is an important problem can be summarized as below: 1. A natural NP-Complete problem.

More information

Introduction to Logic

Introduction to Logic Introduction to Logic Alwen Tiu The Australian National University Summer Schools in Logic and Learning 26 January 6 February 2009, Canberra Alwen Tiu (ANU) Introduction to Logic SSLL 2009 1 / 101 Logic

More information

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT 1 Algebraic Methods In an algebraic system Boolean constraints are expressed as a system of algebraic equations or inequalities which has a solution if and only if the constraints are satisfiable. Equations

More information

A Pigeon-Hole Based Encoding of Cardinality Constraints 1

A Pigeon-Hole Based Encoding of Cardinality Constraints 1 A Pigeon-Hole Based Encoding of Cardinality Constraints 1 Saïd Jabbour Lakhdar Saïs Yakoub Salhi January 7, 2014 CRIL - CNRS, Université Lille Nord de France, Lens, France 1 Funded by ANR DEFIS 2009 Program,

More information

Symmetry Breaking can Dramatically Reduce the Length of Propositional Refutations. Shir Ben-Israel

Symmetry Breaking can Dramatically Reduce the Length of Propositional Refutations. Shir Ben-Israel Symmetry Breaking can Dramatically Reduce the Length of Propositional Refutations Shir Ben-Israel Symmetry Breaking can Dramatically Reduce the Length of Propositional Refutations Research Thesis Submitted

More information

I skärningspunkten mellan beviskomplexitet och SAT-lösning

I skärningspunkten mellan beviskomplexitet och SAT-lösning I skärningspunkten mellan beviskomplexitet och SAT-lösning Jakob Nordström Teorigruppen KTH Datavetenskap och kommunikation Docentföreläsning 6 november 2015 Jakob Nordström (KTH CSC) Beviskomplexitet

More information

An Introduction to SAT Solving

An Introduction to SAT Solving An Introduction to SAT Solving Applied Logic for Computer Science UWO December 3, 2017 Applied Logic for Computer Science An Introduction to SAT Solving UWO December 3, 2017 1 / 46 Plan 1 The Boolean satisfiability

More information

Rewriting for Satisfiability Modulo Theories

Rewriting for Satisfiability Modulo Theories 1 Dipartimento di Informatica Università degli Studi di Verona Verona, Italy July 10, 2010 1 Joint work with Chris Lynch (Department of Mathematics and Computer Science, Clarkson University, NY, USA) and

More information

A New 3-CNF Transformation by Parallel-Serial Graphs 1

A New 3-CNF Transformation by Parallel-Serial Graphs 1 A New 3-CNF Transformation by Parallel-Serial Graphs 1 Uwe Bubeck, Hans Kleine Büning University of Paderborn, Computer Science Institute, 33098 Paderborn, Germany Abstract For propositional formulas we

More information

Internals of SMT Solvers. Leonardo de Moura Microsoft Research

Internals of SMT Solvers. Leonardo de Moura Microsoft Research Internals of SMT Solvers Leonardo de Moura Microsoft Research Acknowledgements Dejan Jovanovic (SRI International, NYU) Grant Passmore (Univ. Edinburgh) Herbrand Award 2013 Greg Nelson What is a SMT Solver?

More information

Proof Complexity of Quantified Boolean Formulas

Proof Complexity of Quantified Boolean Formulas Proof Complexity of Quantified Boolean Formulas Olaf Beyersdorff School of Computing, University of Leeds Olaf Beyersdorff Proof Complexity of Quantified Boolean Formulas 1 / 39 Proof complexity (in one

More information

Part 1: Propositional Logic

Part 1: Propositional Logic Part 1: Propositional Logic Literature (also for first-order logic) Schöning: Logik für Informatiker, Spektrum Fitting: First-Order Logic and Automated Theorem Proving, Springer 1 Last time 1.1 Syntax

More information

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010 Lecture 9: Search 8 Victor R. Lesser CMPSCI 683 Fall 2010 ANNOUNCEMENTS REMEMBER LECTURE ON TUESDAY! EXAM ON OCTOBER 18 OPEN BOOK ALL MATERIAL COVERED IN LECTURES REQUIRED READINGS WILL MOST PROBABLY NOT

More information

Algebraic Dynamic Programming. Solving Satisfiability with ADP

Algebraic Dynamic Programming. Solving Satisfiability with ADP Algebraic Dynamic Programming Session 12 Solving Satisfiability with ADP Robert Giegerich (Lecture) Stefan Janssen (Exercises) Faculty of Technology Summer 2013 http://www.techfak.uni-bielefeld.de/ags/pi/lehre/adp

More information

Pythagorean Triples and SAT Solving

Pythagorean Triples and SAT Solving Pythagorean Triples and SAT Solving Moti Ben-Ari Department of Science Teaching Weizmann Institute of Science http://www.weizmann.ac.il/sci-tea/benari/ c 2017-18 by Moti Ben-Ari. This work is licensed

More information

Resolution and Pebbling Games

Resolution and Pebbling Games Resolution and Pebbling Games Nicola Galesi and Neil Thapen Abstract. We define a collection of Prover-Delayer games to characterise some subsystems of propositional resolution. We give some natural criteria

More information

VLSI CAD: Lecture 4.1. Logic to Layout. Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1

VLSI CAD: Lecture 4.1. Logic to Layout. Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1 VLSI CAD: Logic to Layout Rob A. Rutenbar University of Illinois Lecture 4.1 Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1 Some Terminology Satisfiability (called SAT for

More information

Planning as Satisfiability

Planning as Satisfiability Planning as Satisfiability Alan Fern * Review of propositional logic (see chapter 7) Planning as propositional satisfiability Satisfiability techniques (see chapter 7) Combining satisfiability techniques

More information

Representations of All Solutions of Boolean Programming Problems

Representations of All Solutions of Boolean Programming Problems Representations of All Solutions of Boolean Programming Problems Utz-Uwe Haus and Carla Michini Institute for Operations Research Department of Mathematics ETH Zurich Rämistr. 101, 8092 Zürich, Switzerland

More information

Logical Agents. Chapter 7

Logical Agents. Chapter 7 Logical Agents Chapter 7 Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem

More information

From SAT To SMT: Part 1. Vijay Ganesh MIT

From SAT To SMT: Part 1. Vijay Ganesh MIT From SAT To SMT: Part 1 Vijay Ganesh MIT Software Engineering & SMT Solvers An Indispensable Tactic for Any Strategy Formal Methods Program Analysis SE Goal: Reliable/Secure Software Automatic Testing

More information

Parameterized Complexity of DPLL Search Procedures

Parameterized Complexity of DPLL Search Procedures Parameterized Complexity of DPLL Search Procedures Olaf Beyersdorff 1, Nicola Galesi 2, and Massimo Lauria 2 1 Institut für Theoretische Informatik, Leibniz Universität Hannover, Germany 2 Dipartimento

More information

Backdoor Sets for DLL Subsolvers

Backdoor Sets for DLL Subsolvers Backdoor Sets for DLL Subsolvers Stefan Szeider Department of Computer Science Durham University DH1 3LE Durham, England, UK Abstract We study the parameterized complexity of detecting small backdoor sets

More information

Lecture 4: NP and computational intractability

Lecture 4: NP and computational intractability Chapter 4 Lecture 4: NP and computational intractability Listen to: Find the longest path, Daniel Barret What do we do today: polynomial time reduction NP, co-np and NP complete problems some examples

More information

Propositional Calculus

Propositional Calculus Propositional Calculus Dr. Neil T. Dantam CSCI-498/598 RPM, Colorado School of Mines Spring 2018 Dantam (Mines CSCI, RPM) Propositional Calculus Spring 2018 1 / 64 Calculus? Definition: Calculus A well

More information

#A32 INTEGERS 10 (2010), TWO NEW VAN DER WAERDEN NUMBERS: w(2; 3, 17) AND w(2; 3, 18)

#A32 INTEGERS 10 (2010), TWO NEW VAN DER WAERDEN NUMBERS: w(2; 3, 17) AND w(2; 3, 18) #A32 INTEGERS 10 (2010), 369-377 TWO NEW VAN DER WAERDEN NUMBERS: w(2; 3, 17) AND w(2; 3, 18) Tanbir Ahmed ConCoCO Research Laboratory, Department of Computer Science and Software Engineering, Concordia

More information

Resolution Lower Bounds for the Weak Pigeonhole Principle

Resolution Lower Bounds for the Weak Pigeonhole Principle Electronic Colloquium on Computational Complexity, Report No. 21 (2001) Resolution Lower Bounds for the Weak Pigeonhole Principle Ran Raz Weizmann Institute, and The Institute for Advanced Study ranraz@wisdom.weizmann.ac.il

More information

Lecture Notes on SAT Solvers & DPLL

Lecture Notes on SAT Solvers & DPLL 15-414: Bug Catching: Automated Program Verification Lecture Notes on SAT Solvers & DPLL Matt Fredrikson André Platzer Carnegie Mellon University Lecture 10 1 Introduction In this lecture we will switch

More information

CSE507. Introduction. Computer-Aided Reasoning for Software. Emina Torlak courses.cs.washington.edu/courses/cse507/17wi/

CSE507. Introduction. Computer-Aided Reasoning for Software. Emina Torlak courses.cs.washington.edu/courses/cse507/17wi/ Computer-Aided Reasoning for Software CSE507 courses.cs.washington.edu/courses/cse507/17wi/ Introduction Emina Torlak emina@cs.washington.edu Today What is this course about? Course logistics Review of

More information