1 Linear-time Reductions of Resolution Proofs Omer Bar-Ilan Oded Fuhrmann Shlomo Hoory Ohad Shacham Ofer Strichman Technion.

Slides:



Advertisements
Similar presentations
Exploiting SAT solvers in unbounded model checking
Advertisements

Hybrid BDD and All-SAT Method for Model Checking Orna Grumberg Joint work with Assaf Schuster and Avi Yadgar Technion – Israel Institute of Technology.
Time-Space Tradeoffs in Resolution: Superpolynomial Lower Bounds for Superlinear Space Chris Beck Princeton University Joint work with Paul Beame & Russell.
1 Local Restarts in SAT Solvers Vadim Ryvchin and Ofer Strichman Technion, Haifa, Israel.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
Proofs from SAT Solvers Yeting Ge ACSys NYU Nov
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
Time-Space Tradeoffs in Resolution: Superpolynomial Lower Bounds for Superlinear Space Chris Beck Princeton University Joint work with Paul Beame & Russell.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View SAT.
1/30 SAT Solver Changki PSWLAB SAT Solver Daniel Kroening, Ofer Strichman.
IBM Labs in Haifa © 2005 IBM Corporation Adaptive Application of SAT Solving Techniques Ohad Shacham and Karen Yorav Presented by Sharon Barner.
Interpolants from Z3 proofs Ken McMillan Microsoft Research TexPoint fonts used in EMF: A A A A A.
The Theory of NP-Completeness
A Scalable Algorithm for Minimal Unsatisfiable Core Extraction Nachum Dershowitz¹ Ziyad Hanna² Alexander Nadel¹, ² 1 Tel-Aviv University 2 Intel SAT’06.
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Reduction of Interpolants for Logic Synthesis John Backes Marc Riedel University of Minnesota Dept.
SAT and Model Checking. Bounded Model Checking (BMC) A.I. Planning problems: can we reach a desired state in k steps? Verification of safety properties:
Tuning SAT-checkers for Bounded Model-Checking A bounded guided tour Ofer Strichman Carnegie Mellon University.
On-The-Fly Resolve Trace Minimization Ohad Shacham and Karen Yorav IBM Haifa Research Laboratory.
Technion 1 Generating minimum transitivity constraints in P-time for deciding Equality Logic Ofer Strichman and Mirron Rozanov Technion, Haifa, Israel.
Formal Verification Group © Copyright IBM Corporation 2008 IBM Haifa Labs SAT-based unbounded model checking using interpolation Based on a paper “Interpolation.
1 A theory-based decision heuristic for DPLL(T) Dan Goldwasser Ofer Strichman Shai Fine Haifa university TechnionIBM-HRL.
A Compressed Breadth-First Search for Satisfiability DoRon B. Motter and Igor L. Markov University of Michigan, Ann Arbor.
1 Abstraction Refinement for Bounded Model Checking Anubhav Gupta, CMU Ofer Strichman, Technion Highly Jet Lagged.
Ofer Strichman, Technion 1 Decision Procedures in First Order Logic Part II – Equality Logic and Uninterpreted Functions.
SAT Solving Presented by Avi Yadgar. The SAT Problem Given a Boolean formula, look for assignment A for such that.  A is a solution for. A partial assignment.
On Solving Presburger and Linear Arithmetic with SAT Ofer Strichman Carnegie Mellon University.
1 Linear-time Reductions of Resolution Proofs Omer Bar-Ilan Oded Fuhrmann Shlomo Hoory Ohad Shacham Ofer Strichman Technion.
Daniel Kroening and Ofer Strichman 1 Decision Procedures in First Order Logic Decision Procedures for Equality Logic.
Binary Decision Diagrams (BDDs)
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
On Bridging Simulation and Formal Verification Eugene Goldberg Cadence Research Labs (USA) VMCAI-2008, San Francisco, USA.
Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011 TexPoint fonts used in EMF. Read the TexPoint manual before you.
1 Agenda Modeling problems in Propositional Logic SAT basics Decision heuristics Non-chronological Backtracking Learning with Conflict Clauses SAT and.
Introduction to Satisfiability Modulo Theories
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View BDDs.
Unification Algorithm Input: a finite set Σ of simple expressions Output: a mgu for Σ (if Σ is unifiable) 1. Set k = 0 and  0 = . 2. If Σ  k is a singleton,
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
On the Relation between SAT and BDDs for Equivalence Checking Sherief Reda Rolf Drechsler Alex Orailoglu Computer Science & Engineering Dept. University.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View BDDs.
Boolean Satisfiability Present and Future
Resolution proof system Presenter Valeriy Balabanov NTU, GIEE, AlCom lab.
Accelerating Random Walks Wei Wei and Bart Selman.
Preprocessing in Incremental SAT Alexander Nadel 1, Vadim Ryvchin 1,2, and Ofer Strichman 2 1 – Intel, Haifa, Israel 2 – Technion, Haifa, Israel SAT’12,
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
1 The Theory of NP-Completeness 2 Review: Finding lower bound by problem transformation Problem X reduces to problem Y (X  Y ) iff X can be solved by.
Daniel Kroening and Ofer Strichman 1 Decision Procedures in First Order Logic Decision Procedures for Equality Logic.
Extracting Minimum Unsatisfiable Cores with a Greedy Genetic Algorithm Jianmin Zhang, Sikun Li, and Shengyu Shen School of Computer Science, National University.
Resolution Proofs as a Data Structure for Logic Synthesis John Backes Marc Riedel Electrical.
Hybrid BDD and All-SAT Method for Model Checking
Resolution proof system
Gábor Kusper University of Linz RISC Austria
(xy)(yz)(xz)(zy)
A theory-based decision heuristic for DPLL(T)
Solving Linear Arithmetic with SAT-based MC
Deriving small unsatisfiable cores with dominators
Simple Circuit-Based SAT Solver
Mining backbone literals in incremental SAT
SAT-Based Area Recovery in Technology Mapping
ECE 667 Synthesis and Verification of Digital Circuits
Decision Procedures An Algorithmic Point of View
Resolution Proofs for Combinational Equivalence
Efficient MUS Extraction with Resolution
Decision heuristics based on an Abstraction/Refinement model
Solving Non-clausal Formulas with DPLL search
Faster Extraction of High-Level Minimal Unsatisfiable Cores
Verifying Clausal Proofs, DRUPing and Interpolants SAT/SMT Seminar
Presentation transcript:

1 Linear-time Reductions of Resolution Proofs Omer Bar-Ilan Oded Fuhrmann Shlomo Hoory Ohad Shacham Ofer Strichman Technion

2 Resolution Binary resolution: …or, more generally:

3 SAT and resolution proofs Resolution is sound and complete for CNF formulas There exists a decision procedure that deduces the empty clause if and only if the input formula is unsatisfiable. Modern SAT solvers are implicit resolution engines Learn new clauses through resolution. Upon request, they produce a resolution proof.

4 Uses of the resolution graphs Extraction of unsatisfiable core The subset of original clauses that were used in the proof Incremental satisfiability Which learned clauses can be reused in the next instance Computing Interpolants For unbounded SAT-based model checking

5 Resolution graph / unsat core () unsatisfiable core

6 The smaller the better Many techniques for shrinking the proof / core All exponential Most popular: run-till-fix Smaller proofs  shorter verification time As a result – short time outs. A good criterion: By how much can you shrink the core in the first T sec? ?

7 In this work we investigate... Linear-time Reductions of Resolution Proofs (linear in the size of the proof graph) We propose two techniques: 1. Recycle – units 1. Recycle – pivots

8 1. Recycle-units / observation When learning (resolving) a new clause in SAT, The resolving clauses are not satisfied Hence, the resolution-variable is unassigned l l 1 : l l 2 l 1 l 2

9 1. Recycle-units Suppose that the pivot’s constant value is learned later on. We will use it to simplify the resolution proof.

10 1. Recycle-units / easy case

11 1. Recycle-units / easy case

12 1. Recycle-units

13 1. Recycle-units Reduced proof by 4 clauses Reduced core by 1 clause

14 1. Recycle-units / beware of cycles By making this connection we created cyclic reasoning

15 1. Recycle-units / beware of cycles Solution: mark antecedents of units apply only to marked nodes

16 1. Recycle-units / beware of cycles A little tricky to make efficient. The graph changes all the time. Inefficient to update antecedents relations. Solution Maintain a DAG G ( E, U ) U = units ( u 1, u 2 ) 2 E if u 1 is an antecedent of u 2 Do not connect a unit if it creates a cycle in G. Otherwise update G.

17 2. Recycle pivots / Theory A restriction on general resolution: Regular resolution no pivot is used twice along a path Not Regular 2 is used twice

18 2. Recycle pivots / Theory A restriction on general resolution: Regular resolution no pivot is used twice along a path. Still sound and complete But, computationally weaker. There are formulas in which regular proof >> general proof Because sometimes this forces a tree resolution We make the graph regular as long as it does not require splitting nodes

19 2. Recycle-pivots / Example (tree)

20 2. Recycle-pivots / Example (tree) {2} {-2} {2,1}{2,-1} {2,-1,-2} {2,-1}

21 2. Recycle-pivots / Example (tree)

22 2. Recycle-pivots / DAGs Resolution graphs are DAGs So, a node is on more than one path to the empty clause

23 2. Recycle-pivots / DAGs Resolution graphs are DAGs So, a node is on more than one path to the empty clause

24 2. Recycle-pivots / DAGs

25 2. Recycle-pivots / DAGs Does A dominate B ? Dominance relation can be found in O(|E| log |V|) A B e Problem: need to be updated each time.

26 2. Recycle-pivots / DAGs Our current implementation: Stop propagating information across nodes with more than one child {2} {-2} {2,1}{2,-1} {2,-1,-2} {2,-1}

27 Experiments / Core-size 67 unsat instances from the public IBM benchmarks that tool run-till-fix more than 10 sec.

28 Experiments / Proof-size 67 unsat instances from the public IBM benchmarks that tool run-till-fix more than 10 sec.

29 Thank you