Bounded Universal Expansion for Preprocessing QBF

Size: px
Start display at page:

Download "Bounded Universal Expansion for Preprocessing QBF"

Transcription

1 SAT 2007 Bounded Universal Expansion for Preprocessing QBF Uwe Bubeck and Hans Kleine Büning International Graduate School Dynamic Intelligent Systems, University of Paderborn

2 Outline Introduction Bounded Expansion Variable Selection Refinements Results and Conclusion Uwe Bubeck (U Paderborn) Bounded Universal Expansion 2

3 Bounded Universal Expansion Introduction

4 Universals and Complexity Universals make QBF more difficult: must consider both values for each universal existentials may have different values depending on preceding universals x 1 x 2 y (y x 1 x 2 ) ( y x 1 ) ( y x 2 ) y depends on x 1 and x 2 quantifier ordering must be respected x y (x y) ( x y) y x (x y) ( x y) So let us focus on the universals! Uwe Bubeck (U Paderborn) Bounded Universal Expansion 4

5 Semantics of Quantifiers Quantifiers are actually abbreviations: x φ(x) is true if and only if φ[x/0] is true and φ[x/1] is true x φ(x) is true if and only if φ[x/0] is true or φ[x/1] is true we can eliminate them by expansion. Uwe Bubeck (U Paderborn) Bounded Universal Expansion 5

6 Bounded Universal Expansion Bounded Expansion

7 Expansion Procedure 1/3 x φ(x) is true if and only if φ[x/0] is true and φ[x/1] is true Duplicate the matrix of the formula. For dominated existentials, we need two separate instances. Example: y 1 x 1 x 2 y 2 φ(x 1, x 2, y 1, y 2 ) y 1 x 2 y (0) 2 y (1) 2 φ(0, x 2, y 1, y (0) 2 ) φ(1, x 2, y 1, y (1) 2 ) Uwe Bubeck (U Paderborn) Bounded Universal Expansion 7

8 Expansion Procedure 2/3 Longer Example: Exponential Growth! Uwe Bubeck (U Paderborn) Bounded Universal Expansion 8

9 Expansion Procedure 3/3 How to avoid exponential blowup? Do not expand all universals! Try to eliminate as many as possible under bounded expansion costs. Leave expensive universals to other solvers / techniques. Uwe Bubeck (U Paderborn) Bounded Universal Expansion 9

10 Expansion for Preprocessing Hypothesis: we can make it easier for QBF solvers by first removing carefully selected cheap or rewarding universals. QBF Formula Preprocessing by expansion Original QBF Solver Crucial for success: accurate a priori cost estimates suitable selection strategy Uwe Bubeck (U Paderborn) Bounded Universal Expansion 10

11 Bounded Expansion Enforce tight bounds: global size limit C global : Φ cur C global Φ Suitable values: 2 4 prevents flooding solver with huge formulas individual cost limit C single : c x C single Φ cur Suitable values: 0.5 leave expensive universals to the solver Uwe Bubeck (U Paderborn) Bounded Universal Expansion 11

12 Bounded Universal Expansion Variable Selection

13 Variable Locality x 1 y 1 x 2,x 3 y 2,y 3 (φ(x 1, y 1, x 2, y 2 ) ψ(x 1, y 1, x 3, y 3 )) x 1 and y 1 occur in the whole formula, x 2 / y 2 and x 3 / y 3 are only used locally in φ resp. ψ. when expanding x 3, we only need to duplicate y 3 and clauses in ψ. take into account variable connectivity: start with locally connected variables and compute the transitive closure (see Quantor [Biere 04]) Uwe Bubeck (U Paderborn) Bounded Universal Expansion 13

14 Expansion Order 1/2 Quantor always expands from the innermost block. X φ Our Hypothesis: For a preprocessor, it might be rewarding to expand from further outside. X φ Reasons: subsequent solver might do inner universals more efficiently preprocessor has more time for cost computations universals further outside might actually be cheaper Uwe Bubeck (U Paderborn) Bounded Universal Expansion 14

15 Expansion Order 2/2 Φ = x 1 y 1 x 2,x 3 y 2,y 3 x 4,x 5 y 4,y 5 (φ ψ) In which order to expand the universals? Further left, we have more dependent existentials right to left x 5, x 4, x 3,... appears best but what if Φ can be rewritten as Φ = x 1 y 1 ( x 2 y 2 x 4 y 4 φ) ( x 3 y 3 x 5 y 5 ψ)? If φ < ψ, it is cheaper to expand x 4,x 2 before x 5,x 3... or what if x 2 or x 3 are particularly rewarding? ( goal orientation) Uwe Bubeck (U Paderborn) Bounded Universal Expansion 15

16 Cost Estimates 1/2 Scheduling of eliminations requires tight a priori estimates of expansion costs: duplicate clauses with dependent existentials D x when x = 0: remove clauses with x and occurrences of +x when x = 1: remove clauses with +x and occurrences of x Estimate: c x s(d x ) - s( x) - o(x) - s(x) - o( x) In Quantor, D x = Y r (innermost existentials). We expand far less universals and can therefore afford to compute D x. Uwe Bubeck (U Paderborn) Bounded Universal Expansion 16

17 Cost Estimates 2/2 Only subsequent existentials propagate connectivity, universals never do. Example: y 1 x 1 y 2 x 2 y 3,y 4 (x 1 y 2 ) (y 2 y 3 ) ( y 2 x 2 ) (y 4 x 2 ) ( y 3 y 1 ) ( y 1 y 4 ) (x 1 y 2 ) (y 2 y 3 ) ( y 2 x 2 ) (y 4 x 2 ) ( y 3 y 1 ) ( y 1 y 4 ) X (x 1 y 2 ) (y 2 y 3 ) ( y 2 x 2 ) (y 4 x 2 ) ( y 3 y 1 ) ( y 1 y 4 ) (x 1 y 2 ) (y 2 y 3 ) ( y 2 x 2 ) (y 4 x 2 ) ( y 3 y 1 ) ( y 1 y 4 ) Only y 2 and y 3 depend on x 1, only underlined clauses are affected by expansion X Uwe Bubeck (U Paderborn) Bounded Universal Expansion 17

18 Bounded Universal Expansion Refinements

19 Goal Orientation 1/2 Expanding just because it is cheap lacks foresight. we need more goal orientation Suitable goal: obtaining unit literals Φ = x y 1,y 2 (x y 1 ) ( y 1 y 2 ) y 2 must be true propagate Φ = x y 1,y 2 (x y 1 ) y 1 Uwe Bubeck (U Paderborn) Bounded Universal Expansion 19

20 Goal Orientation 2/2 Discover new unit literals through expansion: x 1,x 2 y 1,y 2 (x 1 y 1 ) ( y 1 y 2 ) (x 2 y 1 y 2 ) When x 1 = 0, we obtain a new unit literal y 1 formula collapses But x 2 has a lower cost estimate! take into account units obtained for x i = 0 or x i = 1 No need to balance costs and goals: unit propagations have direct impact on costs Uwe Bubeck (U Paderborn) Bounded Universal Expansion 20

21 Q-Resolution 1/5 We can also eliminate existential variables y i through resolution: resolve all clauses containing positive y i with all clauses containing negative y i y i y i y i y i Uwe Bubeck (U Paderborn) Bounded Universal Expansion 21

22 Q-Resolution 2/5 Resolution is often problematic: generates large clauses produces excessive numbers of new clauses Solution: estimate resolution costs c y and only resolve if resolution is cheap: c y < C res Φ cur, C res 0 resolution reduces expansion costs Uwe Bubeck (U Paderborn) Bounded Universal Expansion 22

23 Q-Resolution 3/5 Before expanding a universal x, resolve only on dependent existentials y D x. eliminates y and its soon-to-be-created copy y. may save duplicating some clauses in the expansion. Example: let {(y y 2 ), (y y 3 ), ( y y 4 )} φ and y, y 2 D x, but y 3, y 4 D x. resolvents: {(y 2 y 4 ), ( y 3 y 4 )} Cost estimate (δ: assumed rate of duplication): c y x (1 + δ) c y (1 - δ) (s(y) + s( y)) Uwe Bubeck (U Paderborn) Bounded Universal Expansion 23

24 Q-Resolution 4/5 Resolution can also cut dependencies: x D x y y connects x to the existentials in D x y D x y no dependent existentials Uwe Bubeck (U Paderborn) Bounded Universal Expansion 24

25 Q-Resolution 5/5 x no dependent no dependent existentials existentials D x D x existentials in D x no longer depend on x Expansion of x does not need to duplicate y when one phase of y only occurs in clauses with variables v D x and v x. Uwe Bubeck (U Paderborn) Bounded Universal Expansion 25

26 Quantifier Shifting 1/2 After expanding a universal x i, we can reorder the prefix by moving existentials y j D xi : x 1 y 1 x 2 y 2 y 3 x X 3 y 4 x 4 y 5 Duplicate dependent existentials in situ x 1 y 1 x 2 y 2 y 3 y 4 (0) y 4 (1) x 4 y 5 (0) y 5 (1) Assume y 4,y 4 D x2 x 1 y 1 y 4 (0) y 4 (1) x 2 y 2 y 3 x 4 y 5 (0) y 5 (1) Uwe Bubeck (U Paderborn) Bounded Universal Expansion 26

27 Quantifier Shifting 2/2 Quantifier Shifting Strategy: Given an existential y j, if the next universal x i further outside does not dominate y j (y j D xi ), move y j in front of x i. Information about variable dependencies already available for universal expansion solvers can benefit from these calculations Uwe Bubeck (U Paderborn) Bounded Universal Expansion 27

28 Bounded Universal Expansion Results and Conclusion

29 Implementation written in Java on top of our logic framework ProverBox [ can perform standard simplifications: unit propagation pure literal detection universal reduction dual binary clause detection subsumption (forward only initially) fully automatic with reasonable default parameters Uwe Bubeck (U Paderborn) Bounded Universal Expansion 29

30 Experiments Chosen Parameters: Global size limit C global = 2 Individual cost limit C single = 0.5 Resolution cost limit C res = 0.05 Experiment Setup: state-of-the-art solvers skizzo and SQBF 12 benchmark families from the QBFLIB, in total 688 instances time limit 300 sec. for each instance, give-up mode Uwe Bubeck (U Paderborn) Bounded Universal Expansion 30

31 Results - skizzo 1/2 Increase in number of solved problems: Adder ASP Blocks Connect3 Counter CounterFactual Evader-Pursuer k_branch_n k_path_n RobotsD2 Sortnet Szymanski Uwe Bubeck (U Paderborn) Bounded Universal Expansion 31

32 Results - skizzo 2/2 Speedup (including preprocessing time): 100,0 52,2 10,0 6,3 5,9 2,0 2,1 1,5 1,4 1,0 1,0 1,0 1,0 1,0 0,8 0,4 0,1 Adder ASP Blocks Connect3 Counter CounterFactual Evader-Pursuer k_branch_n k_path_n RobotsD2 Sortnet Szymanski Total Uwe Bubeck (U Paderborn) Bounded Universal Expansion 32

33 Results - SQBF 1/2 Increase in number of solved problems: Adder ASP Blocks Connect3 Counter CounterFactual Evader-Pursuer k_branch_n k_path_n RobotsD2 Sortnet Szymanski Uwe Bubeck (U Paderborn) Bounded Universal Expansion 33

34 Results - SQBF 2/2 Speedup (including preprocessing time): 100,0 10,0 1,0 21,7 14,6 4,8 3,6 3,8 3,8 1,7 2,0 1,0 1,1 1,4 1,0 0,7 0,1 Adder ASP Blocks Connect3 Counter CounterFactual Evader-Pursuer k_branch_n k_path_n RobotsD2 Sortnet Szymanski Total Uwe Bubeck (U Paderborn) Bounded Universal Expansion 34

35 Preprocessing Costs % of time spent on preprocessing (SQBF): Adder ASP Blocks Connect3 Counter CounterFactual Evader-Pursuer k_branch_n k_path_n RobotsD2 Sortnet Szymanski Total Uwe Bubeck (U Paderborn) Bounded Universal Expansion 35

36 Summary Summary of Results: skizzo skizzo+pre SQBF SQBF+pre solved time solved time solved time solved time , , , ,014 skizzo+pre: 10% more problems in 48% of time SQBF+pre: 43% more problems in 27% of time Only 2 benchmark families where preprocessing decreased number of solved instances boundedness lowers risk of negative effects Uwe Bubeck (U Paderborn) Bounded Universal Expansion 36

37 Conclusion QBF Solvers indeed benefit from expanding carefully selected universal variables in a preprocessing step. Future Work: other strategies for variable selection more sophisticated quantifier shifting Uwe Bubeck (U Paderborn) Bounded Universal Expansion 37

Limmat, Compsat, Funex. Quantor

Limmat, Compsat, Funex. Quantor About the SAT Solvers Limmat, Compsat, Funex and the QBF Solver Quantor May 2003 Armin Biere Computer Systems Institute ETH Zürich, Switzerland SAT 03, Santa Margherita Ligure, Portofino, Italy Separate

More information

Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination

Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination Florian Lonsing (joint work with Armin Biere and Martina Seidl) Institute for Formal Models and Verification (FMV) Johannes

More information

Quantified Boolean Formulas: Complexity and Expressiveness

Quantified Boolean Formulas: Complexity and Expressiveness Dagstuhl SAT Interactions 2012 Quantified Boolean Formulas: Complexity and Expressiveness Uwe Bubeck University of Paderborn 20.11.2012 Outline Introduction Free Variables and Equivalence Complexity Expressiveness

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

Quantified Boolean Formulas Part 1

Quantified Boolean Formulas Part 1 Quantified Boolean Formulas Part 1 Uwe Egly Knowledge-Based Systems Group Institute of Information Systems Vienna University of Technology Results of the SAT 2009 application benchmarks for leading solvers

More information

Reasoning with Quantified Boolean Formulas

Reasoning with Quantified Boolean Formulas Reasoning with Quantified Boolean Formulas Martina Seidl Institute for Formal Models and Verification Johannes Kepler University Linz 1 What are QBF? Quantified Boolean formulas (QBF) are formulas of propositional

More information

Fast DQBF Refutation

Fast DQBF Refutation Fast DQBF Refutation Bernd Finkbeiner and Leander Tentrup Saarland University Abstract. Dependency Quantified Boolean Formulas (DQBF) extend QBF with Henkin quantifiers, which allow for non-linear dependencies

More information

Warm-Up Problem. Is the following true or false? 1/35

Warm-Up Problem. Is the following true or false? 1/35 Warm-Up Problem Is the following true or false? 1/35 Propositional Logic: Resolution Carmen Bruni Lecture 6 Based on work by J Buss, A Gao, L Kari, A Lubiw, B Bonakdarpour, D Maftuleac, C Roberts, R Trefler,

More information

Symmetry Breaking in Quantified Boolean Formulae

Symmetry Breaking in Quantified Boolean Formulae Symmetry Breaking in Quantified Boolean Formulae Gilles Audemard and Saïd Jabbour and Lakhdar Saïs CRIL - CNRS, FRE 2499 Université d Artois - Lens, France {audemard,jabbour,sais}@cril.univ-artois.fr Abstract

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

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

Incremental QBF Solving by DepQBF

Incremental QBF Solving by DepQBF Incremental QBF Solving by DepQBF Florian Lonsing and Uwe Egly Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group http://www.kr.tuwien.ac.at/ Abstract. The logic

More information

Validating QBF Invalidity in HOL4

Validating QBF Invalidity in HOL4 Interactive Theorem Proving (ITP) 14 July, 2010 Quantified Boolean Formulae Quantified Boolean Formulae Motivation System Overview Related Work QBF = propositional logic + quantifiers over Boolean variables

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

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

Exploiting QBF Duality on a Circuit Representation

Exploiting QBF Duality on a Circuit Representation Proceedings of the Twenty-Fourth AAAI Conference on Artificial Intelligence (AAAI-10) Exploiting QBF Duality on a Circuit Representation Alexandra Goultiaeva and Fahiem Bacchus Department of Computer Science

More information

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München Complexity Theory Jörg Kreiker Chair for Theoretical Computer Science Prof. Esparza TU München Summer term 2010 Lecture 16 IP = PSPACE 3 Goal and Plan Goal IP = PSPACE Plan 1. PSPACE IP by showing QBF

More information

Solving QBF with Combined Conjunctive and Disjunctive Normal Form

Solving QBF with Combined Conjunctive and Disjunctive Normal Form Solving QBF with Combined Conjunctive and Disjunctive Normal Form Lintao Zhang Microsoft Research Silicon Valley Lab 65 La Avenida, Mountain View, CA 94043, USA lintaoz@microsoft.com Abstract Similar to

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

Model-Based Transformations for Quantified Boolean Formulas

Model-Based Transformations for Quantified Boolean Formulas Model-Based Transformations for Quantified Boolean Formulas Uwe Bubeck Dissertation in Computer Science submitted to the Faculty of Electrical Engineering, Computer Science and Mathematics University of

More information

Introduction Algorithms Applications MINISAT. Niklas Sörensson Chalmers University of Technology and Göteborg University

Introduction Algorithms Applications MINISAT. Niklas Sörensson Chalmers University of Technology and Göteborg University SAT ALGORITHMS AND APPLICATIONS nik@cschalmersse Chalmers University of Technology and Göteborg University Empirically Successful Classical Automated Reasoning a CADE-20 Workshop 22nd - 23th July, 2005

More information

Principles of AI Planning

Principles of AI Planning Principles of 5. Planning as search: progression and regression Malte Helmert and Bernhard Nebel Albert-Ludwigs-Universität Freiburg May 4th, 2010 Planning as (classical) search Introduction Classification

More information

Lecture 2: Symbolic Model Checking With SAT

Lecture 2: Symbolic Model Checking With SAT Lecture 2: Symbolic Model Checking With SAT Edmund M. Clarke, Jr. School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 (Joint work over several years with: A. Biere, A. Cimatti, Y.

More information

The Potential and Challenges of CAD with Equational Constraints for SC-Square

The Potential and Challenges of CAD with Equational Constraints for SC-Square The Potential and Challenges of with Equational Constraints for SC-Square Matthew England (Coventry University) Joint work with: James H. Davenport (University of Bath) 7th International Conference on

More information

Boolean Propagation Based on Literals for Quantified Boolean Formulae

Boolean Propagation Based on Literals for Quantified Boolean Formulae Boolean Propagation Based on Literals for Quantified Boolean Formulae Igor Stéphan 1 Abstract. This paper proposes a new set of propagation rules for quantified Boolean formulae based on literals and generated

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

A PSPACE Subclass of Dependency Quantified Boolean Formulas and Its Effective Solving

A PSPACE Subclass of Dependency Quantified Boolean Formulas and Its Effective Solving Preprint from 33th AAAI Conference on Artificial Intelligence (AAAI-19), January 2019, Honolulu, USA A PSPACE Subclass of Dependency Quantified Boolean Formulas and Its Effective Solving Christoph Scholl,1

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

An Alternative Representation for QBF

An Alternative Representation for QBF An Alternative Representation for QBF Anja Remshagen 1 and Klaus Truemper 2 1 Department of Computer Science, University of West Georgia, Carrollton, Georgia, USA 2 Department of Computer Science, University

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

An Smodels System with Limited Lookahead Computation

An Smodels System with Limited Lookahead Computation An Smodels System with Limited Lookahead Computation Gayathri Namasivayam and Miros law Truszczyński Department of Computer Science, University of Kentucky, Lexington, KY 40506-0046, USA Abstract. We describe

More information

Strong AI vs. Weak AI Automated Reasoning

Strong AI vs. Weak AI Automated Reasoning Strong AI vs. Weak AI Automated Reasoning George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving Artificial intelligence can be classified into two categories:

More information

Quantifier structure in search based procedures for QBFs

Quantifier structure in search based procedures for QBFs 1 Quantifier structure in search based procedures for QBFs Enrico Giunchiglia, Massimo Narizzano, Armando Tacchella Abstract The best currently available solvers for Quantified Boolean Formulas (QBFs)

More information

Learning for Quantified Boolean Logic Satisfiability

Learning for Quantified Boolean Logic Satisfiability From: AAAI-02 Proceedings. Copyright 2002, AAAI (www.aaai.org). All rights reserved. Learning for Quantified Boolean Logic Satisfiability Enrico Giunchiglia and Massimo Narizzano and Armando Tacchella

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

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

Extending DPLL-Based QBF Solvers to Handle Free Variables

Extending DPLL-Based QBF Solvers to Handle Free Variables Extending DPLL-Based QBF Solvers to Handle Free Variables Will Klieber, Mikoláš Janota, Joao Marques-Silva, Edmund Clarke July 9, 2013 1 Open QBF Closed QBF: All variables quantified; answer is True or

More information

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19 PROPOSITIONAL LOGIC VL Logik: WS 2018/19 (Version 2018.2) Martina Seidl (martina.seidl@jku.at), Armin Biere (biere@jku.at) Institut für Formale Modelle und Verifikation BOX Game: Rules 1. The game board

More information

1 PSPACE-Completeness

1 PSPACE-Completeness CS 6743 Lecture 14 1 Fall 2007 1 PSPACE-Completeness Recall the NP-complete problem SAT: Is a given Boolean formula φ(x 1,..., x n ) satisfiable? The same question can be stated equivalently as: Is the

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

Solving QBF with Free Variables

Solving QBF with Free Variables Solving QBF with Free Variables William Klieber 1, Mikoláš Janota 2, Joao Marques-Silva 2,3, and Edmund Clarke 1 1 Carnegie Mellon University, Pittsburgh, PA, USA 2 IST/INESC-ID, Lisbon, Portugal 3 University

More information

A Collection of Problems in Propositional Logic

A Collection of Problems in Propositional Logic A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems

More information

Principles of AI Planning

Principles of AI Planning Principles of AI Planning 5. Planning as search: progression and regression Albert-Ludwigs-Universität Freiburg Bernhard Nebel and Robert Mattmüller October 30th, 2013 Introduction Classification Planning

More information

Fixed-parameter tractable reductions to SAT. Vienna University of Technology

Fixed-parameter tractable reductions to SAT. Vienna University of Technology Fixed-parameter tractable reductions to SAT Ronald de Haan Stefan Szeider Vienna University of Technology Reductions to SAT Problems in NP can be encoded into SAT in poly-time. Problems at the second level

More information

An Empirical Perspective on Ten Years of QBF Solving

An Empirical Perspective on Ten Years of QBF Solving An Empirical Perspective on Ten Years of QBF Solving Paolo Marin 2, Massimo Narizzano 1, Luca Pulina 3, Armando Tacchella 1, and Enrico Giunchiglia 1 1 DIBRIS, Università di Genova, Via Opera Pia, 13 16145

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

Quantified Synthesis of Reversible Logic

Quantified Synthesis of Reversible Logic Quantified Synthesis of Reversible Logic Robert Wille 1 Hoang M. Le 1 Gerhard W. Dueck 2 Daniel Große 1 1 Group for Computer Architecture (Prof. Dr. Rolf Drechsler) University of Bremen, 28359 Bremen,

More information

An Efficient Decision Procedure for Functional Decomposable Theories Based on Dual Constraints

An Efficient Decision Procedure for Functional Decomposable Theories Based on Dual Constraints An Efficient Decision Procedure for Functional Decomposable Theories Based on Dual Constraints Khalil Djelloul Laboratoire d Informatique Fondamentale d Orléans. Bat. 3IA, rue Léonard de Vinci. 45067 Orléans,

More information

Indicator Constraints in Mixed-Integer Programming

Indicator Constraints in Mixed-Integer Programming Indicator Constraints in Mixed-Integer Programming Andrea Lodi University of Bologna, Italy - andrea.lodi@unibo.it Amaya Nogales-Gómez, Universidad de Sevilla, Spain Pietro Belotti, FICO, UK Matteo Fischetti,

More information

Proving QBF-Hardness in Bounded Model Checking for Incomplete Designs

Proving QBF-Hardness in Bounded Model Checking for Incomplete Designs Proving QBF-Hardness in Bounded Model Checking for Incomplete Designs Christian Miller and Christoph Scholl and Bernd Becker Institute of Computer Science University of Freiburg, Germany millerc scholl

More information

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

Lecture 7: The Polynomial-Time Hierarchy. 1 Nondeterministic Space is Closed under Complement

Lecture 7: The Polynomial-Time Hierarchy. 1 Nondeterministic Space is Closed under Complement CS 710: Complexity Theory 9/29/2011 Lecture 7: The Polynomial-Time Hierarchy Instructor: Dieter van Melkebeek Scribe: Xi Wu In this lecture we first finish the discussion of space-bounded nondeterminism

More information

International Workshop on Quantified Boolean Formulas Informal Workshop Report 2

International Workshop on Quantified Boolean Formulas Informal Workshop Report 2 International Workshop on Quantified Boolean Formulas 2013 1 Informal Workshop Report 2 Florian Lonsing, Martina Seidl florian.lonsing@tuwien.ac.at, martina.seidl@jku.at July 10, 2013 1 This work was partially

More information

Dependency Schemes in QBF Calculi: Semantics and Soundness

Dependency Schemes in QBF Calculi: Semantics and Soundness Dependency Schemes in QBF Calculi: Semantics and Soundness Olaf Beyersdorff and Joshua Blinkhorn School of Computing, University of Leeds, UK {O.Beyersdorff,scjlb}@leeds.ac.uk Abstract. We study the parametrisation

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

CSCI 1590 Intro to Computational Complexity

CSCI 1590 Intro to Computational Complexity CSCI 1590 Intro to Computational Complexity PSPACE-Complete Languages John E. Savage Brown University February 11, 2009 John E. Savage (Brown University) CSCI 1590 Intro to Computational Complexity February

More information

Compressing BMC Encodings with QBF

Compressing BMC Encodings with QBF Compressing BMC Encodings with QBF Toni Jussila 1 Armin Biere 2 Institute for Formal Models and Verification Johannes Kepler University, Linz, Austria Abstract Symbolic model checking is PSPACE complete.

More information

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information

First-order resolution for CTL

First-order resolution for CTL First-order resolution for Lan Zhang, Ullrich Hustadt and Clare Dixon Department of Computer Science, University of Liverpool Liverpool, L69 3BX, UK {Lan.Zhang, U.Hustadt, CLDixon}@liverpool.ac.uk Abstract

More information

A Unit Resolution Approach to Knowledge Compilation. 2. Preliminaries

A Unit Resolution Approach to Knowledge Compilation. 2. Preliminaries A Unit Resolution Approach to Knowledge Compilation Arindama Singh and Manoj K Raut Department of Mathematics Indian Institute of Technology Chennai-600036, India Abstract : Knowledge compilation deals

More information

On evaluating decision procedures for modal logic

On evaluating decision procedures for modal logic On evaluating decision procedures for modal logic Ullrich Hustadt and Renate A. Schmidt Max-Planck-Institut fur Informatik, 66123 Saarbriicken, Germany {hustadt, schmidt} topi-sb.mpg.de Abstract This paper

More information

CS-E3220 Declarative Programming

CS-E3220 Declarative Programming CS-E3220 Declarative Programming Lecture 7: Advanced Topics in ASP Aalto University School of Science Department of Computer Science Spring 2018 Motivation Answer sets and the stable model semantics allows

More information

A Solver for Quantified Formula Problem Q-ALL SAT

A Solver for Quantified Formula Problem Q-ALL SAT Dec 8, 2008 A Solver for Quantified Formula Problem Q-ALL SAT Anja Remshagen Department of Computer Science, University of West Georgia Klaus Truemper Department of Computer Science, University of Texas

More information

Bounded-width QBF is PSPACE-complete

Bounded-width QBF is PSPACE-complete Bounded-width QBF is PSPACE-complete Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain atserias@lsi.upc.edu Sergi Oliva Universitat Politècnica de Catalunya Barcelona, Spain oliva@lsi.upc.edu

More information

Sequent calculus for predicate logic

Sequent calculus for predicate logic CHAPTER 13 Sequent calculus for predicate logic 1. Classical sequent calculus The axioms and rules of the classical sequent calculus are: Axioms { Γ, ϕ, ϕ for atomic ϕ Γ, Left Γ,α 1,α 2 Γ,α 1 α 2 Γ,β 1

More information

Propositional Resolution

Propositional Resolution Artificial Intelligence Propositional Resolution Marco Piastra Propositional Resolution 1] Deductive systems and automation Is problem decidible? A deductive system a la Hilbert (i.e. derivation using

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

SAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments. Lintao Zhang

SAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments. Lintao Zhang SAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments Requirements for SAT solvers in the Real World Fast & Robust Given a problem instance, we want to solve it quickly Reliable

More information

A Non-Prenex, Non-Clausal QBF Solver with Game-State Learning

A Non-Prenex, Non-Clausal QBF Solver with Game-State Learning A Non-Prenex, Non-Clausal QBF Solver with Game-State Learning William Klieber, Samir Sapra, Sicun Gao, and Edmund Clarke Computer Science Department Carnegie Mellon University Pittsburgh, Pennsylvania

More information

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World Agenda Artificial Intelligence 10. Propositional Reasoning, Part I: Principles How to Think About What is True or False 1 Introduction Álvaro Torralba Wolfgang Wahlster 2 Propositional Logic 3 Resolution

More information

Cardinality Networks: a Theoretical and Empirical Study

Cardinality Networks: a Theoretical and Empirical Study Constraints manuscript No. (will be inserted by the editor) Cardinality Networks: a Theoretical and Empirical Study Roberto Asín, Robert Nieuwenhuis, Albert Oliveras, Enric Rodríguez-Carbonell Received:

More information

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems

More information

Propositional Reasoning

Propositional Reasoning Propositional Reasoning CS 440 / ECE 448 Introduction to Artificial Intelligence Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri Spring 2010 Intro to AI (CS

More information

Sat-Solving Based on Boundary Point Elimination

Sat-Solving Based on Boundary Point Elimination Sat-Solving Based on Boundary Point Elimination Eugene Goldberg, Pete Manolios Northeastern University, USA HVC-2010, October 5-7, Haifa, Israel Outline Introduction BPE-SAT Experimental results and conclusions

More information

SAT in Formal Hardware Verification

SAT in Formal Hardware Verification SAT in Formal Hardware Verification Armin Biere Institute for Formal Models and Verification Johannes Kepler University Linz, Austria Invited Talk SAT 05 St. Andrews, Scotland 20. June 2005 Overview Hardware

More information

Mathematical Logic Part Three

Mathematical Logic Part Three Mathematical Logic Part hree riday our Square! oday at 4:15PM, Outside Gates Announcements Problem Set 3 due right now. Problem Set 4 goes out today. Checkpoint due Monday, October 22. Remainder due riday,

More information

Experiments with Reduction Finding

Experiments with Reduction Finding Experiments with Reduction Finding Charles Jordan 1 and Lukasz Kaiser 2 1 ERATO Minato Project, JST & Hokkaido University 2 LIAFA, CNRS & Université Paris Diderot skip@ist.hokudai.ac.jp, kaiser@liafa.univ-paris-diderot.fr

More information

Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form.

Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form. Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form. Valentin Stockholm University October 2016 Revision: CNF and DNF of propositional

More information

AI Programming CS S-09 Knowledge Representation

AI Programming CS S-09 Knowledge Representation AI Programming CS662-2013S-09 Knowledge Representation David Galles Department of Computer Science University of San Francisco 09-0: Overview So far, we ve talked about search, which is a means of considering

More information

Validating QBF Validity in HOL4

Validating QBF Validity in HOL4 Validating QBF Validity in HOL4 Ramana Kumar and Tjark Weber Computer Laboratory, University of Cambridge, UK {rk436,tw333}@cam.ac.uk Abstract. The Quantified Boolean Formulae (QBF) solver Squolem can

More information

Propositional Calculus: Formula Simplification, Essential Laws, Normal Forms

Propositional Calculus: Formula Simplification, Essential Laws, Normal Forms P Formula Simplification, Essential Laws, Normal Forms Lila Kari University of Waterloo P Formula Simplification, Essential Laws, Normal CS245, Forms Logic and Computation 1 / 26 Propositional calculus

More information

IC3, PDR, and Friends

IC3, PDR, and Friends IC3, PDR, and Friends Arie Gurfinkel Department of Electrical and Computer Engineering University of Waterloo arie.gurfinkel@uwaterloo.ca Abstract. We describe the IC3/PDR algorithms and their various

More information

Bounded Relational Analysis of Free Data Types

Bounded Relational Analysis of Free Data Types Bounded Relational Analysis of Free Data Types A. Dunets S. Schellhorn W. Reif Department of Computer Science University of Augsburg The Second International Conference on Tests and Proofs Prato, Italy

More information

The Achilles Heel of QBF

The Achilles Heel of QBF The Achilles Heel of QBF Carlos Ansotegui, Carla P. Gomes, and Bart Selman Dept. Computer Science Cornell University Ithaca, NY 14853 Abstract In recent years we have seen significant progress in the area

More information

The Query Containment Problem: Set Semantics vs. Bag Semantics. Phokion G. Kolaitis University of California Santa Cruz & IBM Research - Almaden

The Query Containment Problem: Set Semantics vs. Bag Semantics. Phokion G. Kolaitis University of California Santa Cruz & IBM Research - Almaden The Query Containment Problem: Set Semantics vs. Bag Semantics Phokion G. Kolaitis University of California Santa Cruz & IBM Research - Almaden PROBLEMS Problems worthy of attack prove their worth by hitting

More information

A new semantics for logic programs capturing the stable model semantics: the extension semantics

A new semantics for logic programs capturing the stable model semantics: the extension semantics A new semantics for logic programs capturing the stable model semantics: the extension semantics Belaïd Benhamou and Pierre Siegel Université Aix-Marseille, CMI Laboratoire des Sciences de L Information

More information

Evaluating QBFs via Symbolic Skolemization

Evaluating QBFs via Symbolic Skolemization Evaluating QBFs via Symbolic Skolemization Marco Benedetti Istituto per la Ricerca Scientifica e Tecnologica (IRST) Via Sommarive 18, 38055 Povo, Trento, Italy benedetti@itc.it Abstract. We describe a

More information

Static Program Analysis

Static Program Analysis Static Program Analysis Lecture 16: Abstract Interpretation VI (Counterexample-Guided Abstraction Refinement) Thomas Noll Lehrstuhl für Informatik 2 (Software Modeling and Verification) noll@cs.rwth-aachen.de

More information

On Conflicts and Strategies in QBF

On Conflicts and Strategies in QBF Nikolaj Bjørner 1, Mikoláš Janota 2 and William Klieber 3 1 Microsoft Research, Redmond, USA 2 Microsoft Research, Cambridge, UK 3 CERT/SEI, Carnegie Mellon University Abstract QBF solving techniques can

More information

Handout: Proof of the completeness theorem

Handout: Proof of the completeness theorem MATH 457 Introduction to Mathematical Logic Spring 2016 Dr. Jason Rute Handout: Proof of the completeness theorem Gödel s Compactness Theorem 1930. For a set Γ of wffs and a wff ϕ, we have the following.

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

Non-CNF QBF Solving with QCIR

Non-CNF QBF Solving with QCIR Non-CNF QBF Solving with QCIR Charles Jordan Graduate School of Information Science and Technology Hokkaido University Will Klieber Software Engineering Institute Carnegie Mellon University Martina Seidl

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

Algebraic Methods. Motivation: Systems like this: v 1 v 2 v 3 v 4 = 1 v 1 v 2 v 3 v 4 = 0 v 2 v 4 = 0

Algebraic Methods. Motivation: Systems like this: v 1 v 2 v 3 v 4 = 1 v 1 v 2 v 3 v 4 = 0 v 2 v 4 = 0 Motivation: Systems like this: v v 2 v 3 v 4 = v v 2 v 3 v 4 = 0 v 2 v 4 = 0 are very difficult for CNF SAT solvers although they can be solved using simple algebraic manipulations Let c 0, c,...,c 2 n

More information

Equivalences. Proposition 2.8: The following equivalences are valid for all formulas φ, ψ, χ: (φ φ) φ. Idempotency Idempotency Commutativity

Equivalences. Proposition 2.8: The following equivalences are valid for all formulas φ, ψ, χ: (φ φ) φ. Idempotency Idempotency Commutativity Substitution Theorem Proposition 2.7: Let φ 1 and φ 2 be equivalent formulas, and ψ[φ 1 ] p be a formula in which φ 1 occurs as a subformula at position p. Then ψ[φ 1 ] p is equivalent to ψ[φ 2 ] p. 84

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

Analysis of Incomplete Circuits using Dependency Quantified Boolean Formulas

Analysis of Incomplete Circuits using Dependency Quantified Boolean Formulas Analysis of Incomplete Circuits using Dependency Quantified Boolean Formulas Ralf Wimmer, Karina Wimmer, Christoph Scholl, Bernd Becker Institute of Computer Science, Albert-Ludwigs-Universität Freiburg,

More information

Refutation of Products of Linear Polynomials

Refutation of Products of Linear Polynomials Refutation of Products of Linear Polynomials Jan Horáček and Martin Kreuzer Faculty of Informatics and Mathematics University of Passau, D-94030 Passau, Germany Jan.Horacek@uni-passau.de, Martin.Kreuzer@uni-passau.de

More information

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39 Bounded Model Checking with SAT/SMT Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39 Recap: Symbolic Model Checking with BDDs Method used by most industrial strength model checkers:

More information

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae 1/15 Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Sylvie Coste-Marquis Daniel Le Berre Florian Letombe Pierre Marquis CRIL, CNRS FRE 2499 Lens, Université d Artois,

More information