Recovering and Exploiting Structural Knowledge from CNF Formulas

Slides:



Advertisements
Similar presentations
Exploiting SAT solvers in unbounded model checking
Advertisements

Automated Theorem Proving
Hybrid BDD and All-SAT Method for Model Checking Orna Grumberg Joint work with Assaf Schuster and Avi Yadgar Technion – Israel Institute of Technology.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Proofs from SAT Solvers Yeting Ge ACSys NYU Nov
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
Abstract Answer Set Solver. Todolist Print the rules of Fig 1.
Properties of SLUR Formulae Ondřej Čepek, Petr Kučera, Václav Vlček Charles University in Prague SOFSEM 2012 January 23, 2012.
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:
3/25  Monday 3/31 st 11:30AM BYENG 210 Talk by Dana Nau Planning for Interactions among Autonomous Agents.
1 Boolean Satisfiability in Electronic Design Automation (EDA ) By Kunal P. Ganeshpure.
Search in the semantic domain. Some definitions atomic formula: smallest formula possible (no sub- formulas) literal: atomic formula or negation of an.
Last time Proof-system search ( ` ) Interpretation search ( ² ) Quantifiers Equality Decision procedures Induction Cross-cutting aspectsMain search strategy.
ECE 667 Synthesis and Verification of Digital Systems
Leonardo de Moura Microsoft Research. Many approaches Graph-based for difference logic: a – b  3 Fourier-Motzkin elimination: Standard Simplex General.
Binary Decision Diagrams (BDDs)
Logics for Data and Knowledge Representation Propositional Logic: Reasoning Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Boolean Satisfiability and SAT Solvers
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011 TexPoint fonts used in EMF. Read the TexPoint manual before you.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View BDDs.
Efficient Synthesis of Feature Models Article Review By: Sigal Berkovitz & Yohai Vidergor.
1 P P := the class of decision problems (languages) decided by a Turing machine so that for some polynomial p and all x, the machine terminates after at.
LDK R Logics for Data and Knowledge Representation Propositional Logic: Reasoning First version by Alessandro Agostini and Fausto Giunchiglia Second version.
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
Finding Models for Blocked 3-SAT Problems in Linear Time by Systematical Refinement of a Sub- Model Gábor Kusper Eszterházy Károly.
Nikolaj Bjørner Microsoft Research DTU Winter course January 2 nd 2012 Organized by Flemming Nielson & Hanne Riis Nielson.
Automated Reasoning in Propositional Logic Problem Given: KB: a set of sentence  : a sentence Answer: KB  ?
Inference in Propositional Logic (and Intro to SAT) CSE 473.
1 Boolean Satisfiability (SAT) Class Presentation By Girish Paladugu.
Automated Reasoning in Propositional Logic Russell and Norvig: Chapters 6 and 9 Chapter 7, Sections 7.5—7.6 CS121 – Winter 2003.
© 2012 IBM Corporation Perfect Hashing and CNF Encodings of Cardinality Constraints Yael Ben-Haim Alexander Ivrii Oded Margalit Arie Matsliah SAT 2012.
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
Inference in Propositional Logic (and Intro to SAT)
Hybrid BDD and All-SAT Method for Model Checking
Inference and search for the propositional satisfiability problem
Richard Anderson Lecture 26 NP-Completeness
Computability and Complexity
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
Richard Anderson Lecture 26 NP-Completeness
… and now for the Final Topic:
A Boolean Paradigm in Multi-Valued Logic Synthesis
Propositional Calculus: Boolean Algebra and Simplification
CMSC Discrete Structures
ICS 353: Design and Analysis of Algorithms
Complexity 6-1 The Class P Complexity Andrei Bulatov.
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
SAT-Based Area Recovery in Technology Mapping
Binary Decision Diagrams
ECE 667 Synthesis and Verification of Digital Circuits
Richard Anderson Lecture 28 NP-Completeness
Yes, No, Maybe... BooleanAlgebra 12/10/2018.
Chapter 34: NP-Completeness
Heuristic Minimization of Two Level Circuits
Automated Reasoning in Propositional Logic
Richard Anderson Lecture 26 NP-Completeness
Gábor Kusper  Research Institute for Symbolic Computation (RISC-Linz)
Tautology Decision May be able to use unateness to simplify process
Canonical Computation without Canonical Data Structure
CSE 589 Applied Algorithms Spring 1999
Instructor: Aaron Roth
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
Solving Non-clausal Formulas with DPLL search
Faster Extraction of High-Level Minimal Unsatisfiable Cores
CMSC Discrete Structures
Presentation transcript:

Recovering and Exploiting Structural Knowledge from CNF Formulas Richard Ostrowski, Eric Gregoire, Bertrand Mazure, and Lakhdar Sais Presenter: Ashique

What the paper talks about The motivation behind the research on efficient SAT solvers Useful structural knowledge can be lost due to CNF representation Extracting gates out of the CNF formula is a step to recover that underlying structure Graphical representation of clauses facilitates such extraction Other techniques that minimizes the number of Gates Techniques that eliminate clauses and variables

Couple of definitions An equation or gate is of the form y = f( x1 ,x2 ,x3 …… ,xn) where f is a standard connective among {∨, ∧, ⇔} and where y and xi are propositional variables. y is called the output variable (definable) and xi s are called input variables. A propositional variable z is an output variable for a set of gates iff z is an output variable of at least one gate in the set. An input variable for a set of gates is an input variable of a gate which is not an output variable of the set of gates.

Graph of clauses

Partial graph of clauses

Extraction of Æ and Ç gates

Computational complexity Building a graph is quadratic in the size of the set of the clauses  Representation of the graph is space consuming A dynamic approach without representing the graph explicitly is taken

Exploiting structure knowledge Once the gates are extracted various properties are used to minimize the number of gates, simplify them and reduce the number of clauses and variables All these reductions prune the search space

Properties of , gates , is commutative and associative (a , a , B) is equivalent to B : (a , b , c) is equivalent to (: a , b , c) (: a , : b , : c) is equivalent to (: a , b , c) (l , A1), (l , A2), …… (l , Am) is SAT iff (A1 , A2) …… (Am-1 , Am) is SAT Let  be a set of gates, B ½  a set of equivalence gates, b 2 B such that its output variable y occurs only in B and  ‘ the set of gates obtained by the substitution of y with its definition and removing b from  , then  is satisfiable is  ‘ is satisfiable Let Σ be a set of gates, any equivalence gate of Σ containing a literal which does not occur elsewhere in Σ, can be removed from Σ without loss of satisfiability.

Properties Æ and Ç gates a = f(b, c, b) with f ∈ {∨, ∧} is equivalent to a = f(b, c) a = ∨(b, c, ¬b) (resp. a = ∧(b, c, ¬b)) is equivalent to a (resp. ¬a) ¬a = ∨(b, c, d) (resp. ¬a = ∧(b, c, d)) is equivalent to a = ∧(¬b, ¬c, ¬d)

Simplication of remaining clause sets Blocked clause : A clause c of a CNF formula Σ is blocked iff there is a literal l ∈ c such that for all c' ∈ Σ with ¬l ∈ c' the resolvent of c and c' is tautological. Let c be a clause belonging to a CNF formula Σ such that c is blocked. Σ is satisfiable iff Σ\{c} is satisfiable.

nf-blocked clause A clause c belonging to a CNF formula Σ is non-fundamental iff c is either tautological or is subsumed by another clause from Σ. A clause c belonging to a CNF formula Σ is nf-blocked iff there exists a literal l from c such that. there does not exist any resolvent in l, or such that all resolvents are not fundamental. Let c be a clause belonging to a CNF formula Σ s.t. c is nf-blocked. Σ is satifiable iff Σ\{c} is satisfiable.

nf-blocked example continued Blocked clauses and clauses containing a pure literal are nf-blocked

Variable elimination using nf-blocked clause Any clause c from a CNF formula Σ can be nf-blocked, introducing additional clauses in Σ. Transitive closure of two-literal clauses In order to eliminate a variable, we just need to nf-block all clauses where it occurs

Some more reduction techniques A clause c belonging to a CNF formula  is redundant iff  \{c} ² c. A clause c from a CNF formula Σ is u-redundant iff the unsatisfiability of Σ ∧ ¬c can be obtained using unit propagation. Let  be a CNF formula, a subsuming resolvent is a resolvent from two clauses from  that subsumes at least one clause of  .

How costly is it?

Performance vis-à-vis other algorithms

The reason behind such performance

Future directions Branching heuristics that also take all the equations into account Exploiting the intrinsic property of each type of equation Simplification of Boolean formulas