Willis Lemasters Grant Conklin. Searching a tree recursively one branch at a time, abandoning any branch which does not satisfy the search constraints.

Slides:



Advertisements
Similar presentations
The behavior of SAT solvers in model checking applications K. L. McMillan Cadence Berkeley Labs.
Advertisements

Exploiting SAT solvers in unbounded model checking
Automated Theorem Proving
Boolean Satisfiability
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
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
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Effective Propositional Reasoning CSE 473 – Autumn 2003.
Logic.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
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:
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
1 Boolean Satisfiability in Electronic Design Automation (EDA ) By Kunal P. Ganeshpure.
Presented by Ed Clarke Slides borrowed from P. Chauhan and C. Bartzis
GRASP-an efficient SAT solver Pankaj Chauhan. 6/19/ : GRASP and Chaff2 What is SAT? Given a propositional formula in CNF, find an assignment.
Existential Graphs and Davis-Putnam April 3, 2002 Bram van Heuveln Department of Cognitive Science.
Resolution versus Search: Two Strategies for SAT Brad Dunbar Shamik Roy Chowdhury.
GRASP SAT solver Presented by Constantinos Bartzis Slides borrowed from Pankaj Chauhan J. Marques-Silva and K. Sakallah.
SAT Algorithms in EDA Applications Mukul R. Prasad Dept. of Electrical Engineering & Computer Sciences University of California-Berkeley EE219B Seminar.
1 Completeness and Complexity of Bounded Model Checking.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2007.
ECI 2007: Specification and Verification of Object- Oriented Programs Lecture 4.
Knowledge Representation II (Inference in Propositional Logic) CSE 473 Continued…
ENGG3190 Logic Synthesis “Boolean Satisfiability” Winter 2014 S. Areibi School of Engineering University of Guelph.
GRASP: A Search Algorithm for Propositional Satisfiability EE878C Homework #2 2002/11/1 KAIST, EECS ICS Lab Lee, Dongsoo.
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.
SAT Solver Math Foundations of Computer Science. 2 Boolean Expressions  A Boolean expression is a Boolean function  Any Boolean function can be written.
Satisfiability Introduction to Artificial Intelligence COS302 Michael L. Littman Fall 2001.
Logics for Data and Knowledge Representation Propositional Logic: Reasoning Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Boolean Satisfiability and SAT Solvers
Quantified Formulas - Decision Procedure Daniel Kroening, Ofer Strichman Presented by Changki Hong 07 NOV 08.
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE COS302 MICHAEL L. LITTMAN FALL 2001 Satisfiability.
Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011 TexPoint fonts used in EMF. Read the TexPoint manual before you.
Automated Theorem Proving: Resolution and Davis-Putnam Intermediate Logic.
Logical Agents Chapter 7. Knowledge bases Knowledge base (KB): set of sentences in a formal language Inference: deriving new sentences from the KB. E.g.:
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.
Automated reasoning with propositional and predicate logics Spring 2007, Juris Vīksna.
1 The Wumpus Game StenchBreeze Stench Gold Breeze StenchBreeze Start  Breeze.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2009.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
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.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Solving the Logic Satisfiability problem Solving the Logic Satisfiability problem Jesus De Loera.
CS182 Intelligent Machines: Reasoning, Actions and Plans Section 4.
Satisfiability and SAT Solvers CS 270 Math Foundations of CS Jeremy Johnson.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
Inference in Propositional Logic (and Intro to SAT) CSE 473.
1 Boolean Satisfiability (SAT) Class Presentation By Girish Paladugu.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Inference in Propositional Logic (and Intro to SAT)
Inference and search for the propositional satisfiability problem
Gábor Kusper University of Linz RISC Austria
EA C461 – Artificial Intelligence Logical Agent
Resolution in the Propositional Calculus
(xy)(yz)(xz)(zy)
Lazy Proofs for DPLL(T)-Based SMT Solvers
Directional Resolution: The Davis-Putnam Procedure, Revisited
ECE 667 Synthesis and Verification of Digital Circuits
Logics for Data and Knowledge Representation
Artificial Intelligence: Agents and Propositional Logic.
Advanced consistency methods Chapter 8
GRASP-an efficient SAT solver
Presentation transcript:

Willis Lemasters Grant Conklin

Searching a tree recursively one branch at a time, abandoning any branch which does not satisfy the search constraints.

Modifying a boolean equation to remove variables.

This refers to the problem of determining if there is a combination of values for the variables in a Boolean formula which cause the formula to evaluate as TRUE.

The tree representing all the possible combinations of values for the variables in a Boolean formula is searched using a backtracking search until a path is found which causes the formula to evaluate as TRUE.

The variables in a Boolean formula are progressively eliminated in a way which forces the formula to continually have the option of evaluating to TRUE. At the end, the formula will either evaluate to TRUE, or there will be no valid variable values which allow that possibility after the elimination of some variable, in which case there is no way the formula can possibly evaluate to TRUE.

Created in 1960 by Martin Davis and Hilary Putnam Resolution based algorithm for deciding satisfiability. Proved that restricting the amount of resolution performed along the ordering of the propositions is enough to decide satisfiability. Was not given much attention.

Analysis of its runtime focuses mainly on its exponential worst case rather than its efficiency in certain situations. Quickly replaced by the Davis-Putnam Procedure which is a minor modification of this algorithm.

Directional Resolution: DR Input: A cnf theory φ, o = Q 1, …, Q n. Output: The decision of whether φ is satisfiable. If it is, the directional extension E o (φ) equivalent to φ. 1. Initialize: generate a partition of clauses, bucket 1, …, bucket n, where bucket i contains all the clauses whose highest literal is Q i. 2. For i = n to 1 do: If there is a unit clause in bucket i, do unit resolution in bucket i else resolve each pair {(α V Q i ), (β V¬Q i )} bucket i. If γ = α V β is empty, return “φ is unsatisfiable". else add γ to the bucket of its highest variable. 3. Return “φ is satis_able" and E o (φ) = U i bucket i.

Was introduced in 1962 by Davis, Logemann, and Loveland. A minor syntactic change from DP- resolution. They replaced the resolution rule with a splitting rule. This removed the exponential memory explosion which caused the exponential worst-case run time.

This change caused the algorithm to no longer be resolution or variable elimination based. Instead the algorithm became a backtracking search algorithm. Most work done in the field of propositional satisfiability quotes the backtracking version and not the resolution version.

DP(φ): Input: A cnf theory φ. Output: A decision of whether φ is satisfiable. 1. Unit_propagate(φ); 2. If the empty clause generated return(false); 3. else if all variables are assigned return(true); 4. else 5. Q = some unassigned variable; 6. return(DP(φ ∧ ¬Q) V DP(φ ∧ Q))

BacktrackingResolution Worst-case time O( exp( n ))O (n exp (w* )) w* ≤ n Average time < O( exp (n ))O (n exp (w* )) w* ≤ n SpaceO( n )O (n exp (w* )) w* ≤ n Outputone solutionknowledge base n: number of variables w*: induced width

1. Davis, Logemann, and Loveland (Davis, M., Logemann, G., and Loveland, D. (1962). "A machine program for theorem proving." Communications of the ACM, 5(7): ) 2. Davis and Putnam (Davis, M. and Putnam, H. (1960). "A computing procedure for quantification theory." Journal of the ACM, 7(3): ) 3. Rish and Dechter (Irina Rish and Rina Dechter. "Resolution versus Search: Two Strategies for SAT." Journal of Automated Reasoning, 24, , 2000.)