Dipartimento di Elettronica Informazione e Bioingegneria. Cognitive Robotics. SATplan. Act1. Pre1. Fact. G. Gini Act2
|
|
- Branden Patrick
- 5 years ago
- Views:
Transcription
1 Dipartimento di Elettronica Informazione e Bioingegneria Cognitive Robotics SATplan Pre Act1 Act2 Fact
2 why SAT (satisfability)? 2 Classical planning has been observed as a form of logical deduction. Planning as satisfiability offers a new solution to planning problems = formulates a planning problem as a propositional satisfiability problem. The Mathematical Analysis of Logic, Cambridge, 1847 The Calculus of Logic, Cambridge and Dublin Mathematical journal, vol. 3, 1848 George Boole
3 Propositional logic 3 Syntax The proposition symbols S 1, S 2 etc are sentences, as well as S 1,, S 1 S 2 S 1 S 2 S 1 S 2 Semantics Each model specifies true/false for each proposition symbol models can be enumerated automatically Rules for evaluating truth with respect to a model m are the truth tables
4 Valid, satisfiable, not satisfiable 4 Validity and satisfiability are connected to inference : 1. A sentence is valid if it is true in all models: KB αiff (KB α) is valid 2. A sentence is satisfiable if it is true in some model 3. A sentence is unsatisfiable if it is true in no models KB αiff (KB α) is unsatisfiable
5 Propositional satisfiability (SAT) 5 Given a propositional formula, does it have a model (satisfying assignment)? SAT is decidable Usually formulae in clausal normal form (CNF) CNF Formula is a conjunction of clauses C1 C2 Each clause is a disjunction of literals L1 v L2 v L3, Each literal is variable or its negation P, -P, Q, -Q,
6 Converting to CNF 6 Eliminate implies P implies Q => -P v Q Push negation down -(P Q) => -P v -Q -(P v Q) => -P -Q Clausify using De Morgan s laws E.g. P v (Q R) => (P v Q) (P v R)
7 How do we solve SAT? 7 Systematic methods Truth tables Davis Putnam procedure Local search methods GSAT WalkSAT Tabu search, SA, Exotic methods DNA, quantum computing,
8 Truth tables 8 Enumerate all possible truth assignments P Q R C1=P v Q C2=-Q v -R C1&C2 T T T T F F T T F T T T T F T T T T T F F
9 Davis Putnam procedure 9 Davis, Logemann and Loveland Consider (X or Y) & (-X or Z) & (-Y or Z) & try X=true remove clauses which are satisfied, obtain (-X or Z) & (-Y or Z) & Simplify clauses containing X, obtain ( Z) & (-Y or Z) & can now deduce that Z must be true at any point, may have to backtrack and try X=false instead
10 Procedure DPLL 10 DPLL/Davis-Putnam-Logemann-Loveland Backtraking depth-first search Unit propagation to reduce search function DPLL(C) if C is a consistent set of literals then return true; if C contains an empty clause then return false; for every unit clause l in C, C=unit-propagate(l, C); *l T for every literal l pure in C, C=pure-literal-assign(l, C); *-l F l := choose-literal(c); return DPLL(CΛl) OR DPLL(CΛnot(l)); Properties: Complete Space complexity: O(n) Time complexity: O(1.618^n)
11 Planning as SAT 11 Traditional view Planning = deducibility (theorem proving) New view Planning = propositional satisfiability of a sentence = finding a model of a set of axioms? Advantage: more efficient algorithms for satisfiability than for planning Problem: formalize planning problem in propositional logic
12 Planning as SAT 12 test the satisfiability of the sentence: initial state all possible action descriptions goal Sentence contains propositions for every action occurrence A model will assign T to the actions that are part of the correct plan and F to the others An assignment that corresponds to an incorrect plan will not be a model because of inconsistency with the assertion that the goal is T. If the planning is unsolvable the sentence will be unsatisfiable.
13 Planning as Propositional Formulas 13 Encoding a planning problem to a propositional formula is based on: Restrict the planning problem to a problem of finding a plan of known length n Open world assumption: unknown propoitions are left unspecified Transform the bounded planning problem into a satisfiability problem. Each state and action is mapped to propositions that describe states and actions at each step, from step 0 (initial state) to step n (goal state) Since planning as satisfiability can only deal with bounded planning problems, the algorithm is iteratively run for different tentative lengths until a plan is found
14 Architecture of SAT planner 14 Compiler take a planning problem as input, guess a plan length, and generate a propositional logic formula, which if satisfied, implies the existence of a solution plan Symbol table record the correspondence between propositional variables and the planning instance Simplifier use fast techniques such as unit clause propagation and pure literal elimination to shrink the CNF formula Solver use systematic or stochastic methods to find a satisfying assignment. If the formula is unsatisfiable, then the compiler generates a new encoding reflecting a longer plan length Decoder translate the result of solver into a solution plan.
15 Architecture of SAT planner 15 Increment time bound if Unsatisfiable Init State Goal Actions Compiler CNF Simplifier CNF Solver Satisfying Assignment Decoder Plan Symbol Table CNF = conjunctive normal form
16 Encoding the problem 16 Reduction of first order logic to propositions KB in first order logic : x King(x) Greedy(x) Evil(x) King(John), King(Richard), Greedy(John), Greeedy (Richard) Instantiating in all possible ways, we have a propositionalized KB: King(John), King(Richard), Greedy(John), Greeedy (Richard), Evil(John), Evil(Richard) Efficiency of SAT compilers depends on the number of clauses (time complexity can be exponential in the size of the formula)
17 Encoding actions Regular = each ground action is represented by a different logical variable Drive(truck3,Seattle,Renton,t) p1 2. Simple action splitting Drive(truck3,Seattle,Renton,t) Drive1(truck3,t)&Drive2(Seattle,t)&Drive3(Renton,t) p1 p2 p3 Each action described by a conjunction of variables
18 the dinner example 18 Initial Conditions: (and (garbage) (cleanhands) (quiet)) Goal: (and (dinner) (present) (not (garbage)) Actions: Cook :p (cleanhands) :e (dinner) Wrap :p (quiet) :e (present) Carry :p :e (and (not (garbage)) (not (cleanhands)) Dolly :p :e (and (not (garbage)) (not (quiet)))
19 Encoding dinner planning 19 INIT: the initial state is completely specified at time zero, including all properties false garb0 ^ cleanh0 ^ quiet0 ^ dinner0 ^ present0 GOAL: all desired goal properties are asserted to be true at time 2n (n is the length of plan) garb2 ^ dinner2 ^ present2 A P,E: Actions imply their preconditions and effects (preconditions at t-1, effects at t) ( carry1 v dinner2) ^ ( carry1 v cleanh0)
20 axioms 20 Precondition axioms: action occurrence requires the preconditions to be satisfied Action execution axioms: prevent simultaneous actions use only if they interfere with each other Successor-state axioms: all the situations in which a proposition is true see situation calculus
21 Frame Axioms 21 Frame axioms constrain unaffected fluents 1. Classical frame State which fluents are left unchanged by an action At(truck1,Kent,t1)&Drive(truck3,Seattle,Renton,t)=> At(truck1,Kent,t+1) combine with at-least-one axiom to ensure that some actions occurs 2. Explanatory frame Enumerate the set of actions that could have occurred in order to account for a state change combine with exclusion axiom to enforce the constraints in the resulting plan
22 SATPLAN algorithm 22 a planning problem upper limit to the plan length function SATPLAN(problem, T max )- return solution or failure for T= 0 to T max do cnf,mapping TRANSLATE-TO_SAT(problem,T) assignment SAT-SOLVER(cnf) if assignment is not null then return EXTRACT-SOLUTION(assignment, mapping) return failure Example for Tmax = set-level heuristics from graphplan (all literals of the goal are in the graph and are not mutex
23 Complexity of SAT encoding 23 Number of propositions from the original planning problem? Given act = number of operators (actions) o = number of objects in the domain P = maximum number of arguments in any action T = steps The number of propositional symbols generated is T X act X o P often many millions. To reduce, symbol splitting
24 Compare Graphplan with SAT 24 Both convert parameterized action schemata into a finite propositional structure representing the space of possible plans up to a given length planning graph a CNF formula Both use local consistency methods before resorting to exhaustive search mutex propagation propositional simplification Both iteratively expand their propositional structure until they find a solution planning graph is extends when no solution is found propositional logic formula is recreated for a longer plan length Planning graph can be automatically converted into CNF notation for solution with SAT solvers
25 Translation of Plan Graph to SAT 25 Pre1 Act1 Fact Pre2 Act2 Fact Act1 Act2 Act1 Pre1 Pre2 Act1 Act2
26 Graphplan-based Encodings 26 Example: rocket domain load and move operators Translation begins at goal-layer of the graph, and works backwards. 1. Initial state holds at layer 1 and goals hold at the highest layer. 2. Precondition axiom: operators imply their preconditions Load(A,R,L,2) (At(A,L,1) At(R,L,1) 3. Each fact at level i implies the disjunction of all the operators at level i-1 that have it as an add-effect, e.g. In(A,R,3) (Load(A,R,L,2) v Load(A,R,P,2) v Maintain(In(A,R),2)) 4. Conflicting actions are mutually exclusive, e.g. Load(A,R,L,2) v Move(R,L,P,2)
27 SAT plan - conclusion 27 Expanded with extensions to planning language good results in competitions Real application: Interleaving Planning and execution monitoring see Partially SAT based reactive control system for the NASA Deep SpaceOne autonomous aircraft
Planning as Search. Progression. Partial-Order causal link: UCPOP. Node. World State. Partial Plans World States. Regress Action.
Planning as Search State Space Plan Space Algorihtm Progression Regression Partial-Order causal link: UCPOP Node World State Set of Partial Plans World States Edge Apply Action If prec satisfied, Add adds,
More informationPlanning Graphs and Graphplan
Sec. 11.4 p.1/20 Planning Graphs and Graphplan Section 11.4 Sec. 11.4 p.2/20 Outline The planning graph Planning graph example The graphplan algorithm Using planning graphs for heuristics Additional reference
More informationSatisfiability. Michail G. Lagoudakis. Department of Computer Science Duke University Durham, NC SATISFIABILITY
Satisfiability Michail G. Lagoudakis Department of Computer Science Duke University Durham, NC 27708 COMPSCI 271 - Spring 2001 DUKE UNIVERSITY Page 1 Why SAT? Historical Reasons The first NP-COMPLETE problem
More informationPlanning as Satisfiability: Boolean vs non-boolean encodings
Planning as Satisfiability: Boolean vs non-boolean encodings Matthew J. Slack Final Year Project Report BSc. Computer Science! Department of Computer Science The University of York 15 th March 2000-1 -
More informationActivity Planning and Execution I: Operator-based Planning and Plan Graphs. Assignments
Activity Planning and Execution I: Operator-based Planning and Plan Graphs Slides draw upon material from: Prof. Maria Fox, Univ Strathclyde Brian C. Williams 16.410-13 October 4 th, 2010 Assignments Remember:
More informationDM841 DISCRETE OPTIMIZATION. Part 2 Heuristics. Satisfiability. Marco Chiarandini
DM841 DISCRETE OPTIMIZATION Part 2 Heuristics Satisfiability Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Mathematical Programming Constraint
More informationCSC2542 SAT-Based Planning. Sheila McIlraith Department of Computer Science University of Toronto Summer 2014
CSC2542 SAT-Based Planning Sheila McIlraith Department of Computer Science University of Toronto Summer 2014 1 Acknowledgements Some of the slides used in this course are modifications of Dana Nau s lecture
More informationDeductive Methods, Bounded Model Checking
Deductive Methods, Bounded Model Checking http://d3s.mff.cuni.cz Pavel Parízek CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Deductive methods Pavel Parízek Deductive Methods, Bounded
More informationPROPOSITIONAL LOGIC (2)
PROPOSITIONAL LOGIC (2) based on Huth & Ruan Logic in Computer Science: Modelling and Reasoning about Systems Cambridge University Press, 2004 Russell & Norvig Artificial Intelligence: A Modern Approach
More informationFinite Model Generation for Isabelle/HOL Using a SAT Solver
Finite Model Generation for / Using a SAT Solver Tjark Weber webertj@in.tum.de Technische Universität München Winterhütte, März 2004 Finite Model Generation for / p.1/21 is a generic proof assistant: Highly
More informationChapter 6 Planning-Graph Techniques
Lecture slides for Automated Planning: Theory and Practice Chapter 6 Planning-Graph Techniques Dana S. Nau CMSC 722, AI Planning University of Maryland, Spring 2008 1 Motivation A big source of inefficiency
More informationSatisfiability (SAT) Applications. Extensions/Related Problems. An Aside: Example Proof by Machine. Annual Competitions 12/3/2008
15 53:Algorithms in the Real World Satisfiability Solvers (Lectures 1 & 2) 1 Satisfiability (SAT) The original NP Complete Problem. Input: Variables V = {x 1, x 2,, x n }, Boolean Formula Φ (typically
More informationIntelligent Agents. Planning Graphs - The Graph Plan Algorithm. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University
Intelligent Agents Planning Graphs - The Graph Plan Algorithm Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: July 9, 2015 U. Schmid (CogSys) Intelligent Agents
More informationCSC2542 Planning-Graph Techniques
1 Administrative Announcements Discussion of tutorial time Email me to set up a time to meet to discuss your project in the next week. Fridays are best CSC2542 Planning-Graph Techniques Sheila McIlraith
More information1.4 Normal Forms. We define conjunctions of formulas as follows: and analogously disjunctions: Literals and Clauses
1.4 Normal Forms We define conjunctions of formulas as follows: 0 i=1 F i =. 1 i=1 F i = F 1. n+1 i=1 F i = n i=1 F i F n+1. and analogously disjunctions: 0 i=1 F i =. 1 i=1 F i = F 1. n+1 i=1 F i = n
More informationComputer-Aided Program Design
Computer-Aided Program Design Spring 2015, Rice University Unit 1 Swarat Chaudhuri January 22, 2015 Reasoning about programs A program is a mathematical object with rigorous meaning. It should be possible
More information4.1 Review - the DPLL procedure
Applied Logic Lecture 4: Efficient SAT solving CS 4860 Spring 2009 Thursday, January 29, 2009 The main purpose of these notes is to help me organize the material that I used to teach today s lecture. They
More informationSAT Solver. CS 680 Formal Methods Jeremy Johnson
SAT Solver CS 680 Formal Methods Jeremy Johnson Disjunctive Normal Form A Boolean expression is a Boolean function Any Boolean function can be written as a Boolean expression s x 0 x 1 f Disjunctive normal
More informationSet 9: Planning Classical Planning Systems. ICS 271 Fall 2013
Set 9: Planning Classical Planning Systems ICS 271 Fall 2013 Outline: Planning Classical Planning: Situation calculus PDDL: Planning domain definition language STRIPS Planning Planning graphs Readings:
More informationMassively Parallel Seesaw Search for MAX-SAT
Massively Parallel Seesaw Search for MAX-SAT Harshad Paradkar Rochester Institute of Technology hp7212@rit.edu Prof. Alan Kaminsky (Advisor) Rochester Institute of Technology ark@cs.rit.edu Abstract The
More informationExample: Map coloring
Today s s lecture Local Search Lecture 7: Search - 6 Heuristic Repair CSP and 3-SAT Solving CSPs using Systematic Search. Victor Lesser CMPSCI 683 Fall 2004 The relationship between problem structure and
More informationAn Introduction to SAT Solvers
An Introduction to SAT Solvers Knowles Atchison, Jr. Fall 2012 Johns Hopkins University Computational Complexity Research Paper December 11, 2012 Abstract As the first known example of an NP Complete problem,
More informationAn Evaluation of Blackbox Graph Planning
An Evaluation of Blackbox Graph Planning John Duchi, James Connor, and Bruce Lo jduchi@stanford.edu, jconnor@stanford.edu, brucelo@cs.stanford.edu, I. Introduction Stanford University CS227: Assignment
More informationNormal Forms for Boolean Expressions
Normal Forms for Boolean Expressions A NORMAL FORM defines a class expressions s.t. a. Satisfy certain structural properties b. Are usually universal: able to express every boolean function 1. Disjunctive
More informationCS-E3200 Discrete Models and Search
Shahab Tasharrofi Department of Information and Computer Science, Aalto University Lecture 7: Complete and local search methods for SAT Outline Algorithms for solving Boolean satisfiability problems Complete
More informationA Pearl on SAT Solving in Prolog (extended abstract)
A Pearl on SAT Solving in Prolog (extended abstract) Jacob M. Howe and Andy King 1 Introduction The Boolean satisfiability problem, SAT, is of continuing interest because a variety of problems are naturally
More informationPlanning. Introduction
Planning Introduction Planning vs. Problem-Solving Representation in Planning Systems Situation Calculus The Frame Problem STRIPS representation language Blocks World Planning with State-Space Search Progression
More informationPractical SAT Solving
Practical SAT Solving Lecture 5 Carsten Sinz, Tomáš Balyo May 23, 2016 INSTITUTE FOR THEORETICAL COMPUTER SCIENCE KIT University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz
More informationBoolean Functions (Formulas) and Propositional Logic
EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving Part I: Basics Sanjit A. Seshia EECS, UC Berkeley Boolean Functions (Formulas) and Propositional Logic Variables: x 1, x 2, x 3,, x
More informationSymbolic Methods. The finite-state case. Martin Fränzle. Carl von Ossietzky Universität FK II, Dpt. Informatik Abt.
Symbolic Methods The finite-state case Part I Martin Fränzle Carl von Ossietzky Universität FK II, Dpt. Informatik Abt. Hybride Systeme 02917: Symbolic Methods p.1/34 What you ll learn How to use and manipulate
More informationLearning Techniques for Pseudo-Boolean Solving and Optimization
Learning Techniques for Pseudo-Boolean Solving and Optimization José Faustino Fragoso Fremenin dos Santos September 29, 2008 Abstract The extension of conflict-based learning from Propositional Satisfiability
More informationNotes for Chapter 12 Logic Programming. The AI War Basic Concepts of Logic Programming Prolog Review questions
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions The AI War How machines should learn: inductive or deductive? Deductive: Expert => rules =>
More informationSet 9: Planning Classical Planning Systems. ICS 271 Fall 2014
Set 9: Planning Classical Planning Systems ICS 271 Fall 2014 Planning environments Classical Planning: Outline: Planning Situation calculus PDDL: Planning domain definition language STRIPS Planning Planning
More informationKnowledge Representation and Reasoning Logics for Artificial Intelligence
Knowledge Representation and Reasoning Logics for Artificial Intelligence Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science University at Buffalo, The State
More informationFull CNF Encoding: The Counting Constraints Case
Full CNF Encoding: The Counting Constraints Case Olivier Bailleux 1 and Yacine Boufkhad 2 1 LERSIA, Université de Bourgogne Avenue Alain Savary, BP 47870 21078 Dijon Cedex olivier.bailleux@u-bourgogne.fr
More informationFinding Rough Set Reducts with SAT
Finding Rough Set Reducts with SAT Richard Jensen 1, Qiang Shen 1 and Andrew Tuson 2 {rkj,qqs}@aber.ac.uk 1 Department of Computer Science, The University of Wales, Aberystwyth 2 Department of Computing,
More informationValidating Plans with Durative Actions via Integrating Boolean and Numerical Constraints
Validating Plans with Durative Actions via Integrating Boolean and Numerical Constraints Roman Barták Charles University in Prague, Faculty of Mathematics and Physics Institute for Theoretical Computer
More informationSolving 3-SAT. Radboud University Nijmegen. Bachelor Thesis. Supervisors: Henk Barendregt Alexandra Silva. Author: Peter Maandag s
Solving 3-SAT Radboud University Nijmegen Bachelor Thesis Author: Peter Maandag s3047121 Supervisors: Henk Barendregt Alexandra Silva July 2, 2012 Contents 1 Introduction 2 1.1 Problem context............................
More informationLecture 14: Lower Bounds for Tree Resolution
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 14: Lower Bounds for Tree Resolution David Mix Barrington and Alexis Maciel August
More informationThe Satisfiability Problem [HMU06,Chp.10b] Satisfiability (SAT) Problem Cook s Theorem: An NP-Complete Problem Restricted SAT: CSAT, k-sat, 3SAT
The Satisfiability Problem [HMU06,Chp.10b] Satisfiability (SAT) Problem Cook s Theorem: An NP-Complete Problem Restricted SAT: CSAT, k-sat, 3SAT 1 Satisfiability (SAT) Problem 2 Boolean Expressions Boolean,
More informationChapter 2 PRELIMINARIES
8 Chapter 2 PRELIMINARIES Throughout this thesis, we work with propositional or Boolean variables, that is, variables that take value in the set {true, false}. A propositional formula F representing a
More informationFoundations of AI. 8. Satisfiability and Model Construction. Davis-Putnam, Phase Transitions, GSAT and GWSAT. Wolfram Burgard & Bernhard Nebel
Foundations of AI 8. Satisfiability and Model Construction Davis-Putnam, Phase Transitions, GSAT and GWSAT Wolfram Burgard & Bernhard Nebel Contents Motivation Davis-Putnam Procedure Average complexity
More informationCS-E3220 Declarative Programming
CS-E3220 Declarative Programming Lecture 5: Premises for Modern SAT Solving Aalto University School of Science Department of Computer Science Spring 2018 Motivation The Davis-Putnam-Logemann-Loveland (DPLL)
More informationLogic: TD as search, Datalog (variables)
Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from Chpt 12) June, 8, 2017 CPSC 322, Lecture 23 Slide 1 Lecture Overview Recap Top
More informationWhere the hard problems are. Toby Walsh Cork Constraint Computation Centre
Where the hard problems are Toby Walsh Cork Constraint Computation Centre http://4c.ucc.ie/~tw Where the hard problems are That s easy Passing your finals Finding a job Where the hard problems are That
More informationTheorem proving. PVS theorem prover. Hoare style verification PVS. More on embeddings. What if. Abhik Roychoudhury CS 6214
Theorem proving PVS theorem prover Abhik Roychoudhury National University of Singapore Both specification and implementation can be formalized in a suitable logic. Proof rules for proving statements in
More informationChapter 27. Other Approaches to Reasoning and Representation
Chapter 27. Other Approaches to Reasoning and Representation The Quest for Artificial Intelligence, Nilsson, N. J., 2009. Lecture Notes on Artificial Intelligence Summarized by Ha, Jung-Woo and Lee, Beom-Jin
More informationCombinational Equivalence Checking
Combinational Equivalence Checking Virendra Singh Associate Professor Computer Architecture and Dependable Systems Lab. Dept. of Electrical Engineering Indian Institute of Technology Bombay viren@ee.iitb.ac.in
More informationUnrestricted Backtracking Algorithms for Satisfiability
From: AAAI Technical Report FS-01-04. Compilation copyright 2001, AAAI (www.aaai.org). All rights reserved. Unrestricted Backtracking Algorithms for Satisfiability I. Lynce, L. Baptista and J. Marques-Silva
More informationHelsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 100
Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 100 Teknillisen korkeakoulun tietojenkäsittelyteorian laboratorion tutkimusraportti 100 Espoo 2006 HUT-TCS-A100
More informationKnowledge Representation and Reasoning Logics for Artificial Intelligence
Knowledge Representation and Reasoning Logics for Artificial Intelligence Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science University at Buffalo, The State
More informationSAT Solvers. Ranjit Jhala, UC San Diego. April 9, 2013
SAT Solvers Ranjit Jhala, UC San Diego April 9, 2013 Decision Procedures We will look very closely at the following 1. Propositional Logic 2. Theory of Equality 3. Theory of Uninterpreted Functions 4.
More informationMarkov Logic: Representation
Markov Logic: Representation Overview Statistical relational learning Markov logic Basic inference Basic learning Statistical Relational Learning Goals: Combine (subsets of) logic and probability into
More informationBoolean Representations and Combinatorial Equivalence
Chapter 2 Boolean Representations and Combinatorial Equivalence This chapter introduces different representations of Boolean functions. It then discusses the applications of these representations for proving
More informationApplying Integer Programming to AI Planning
Applying Integer Programming to AI Planning Thomas Vossen Michael Ball Robert H. Smith School of Business and Institute for Systems Research University of Maryland College Park, MD 20742 USA {tvossen,
More informationCMU-Q Lecture 6: Planning Graph GRAPHPLAN. Teacher: Gianni A. Di Caro
CMU-Q 15-381 Lecture 6: Planning Graph GRAPHPLAN Teacher: Gianni A. Di Caro PLANNING GRAPHS Graph-based data structure representing a polynomial-size/time approximation of the exponential search tree Can
More informationDPLL(Γ+T): a new style of reasoning for program checking
DPLL(Γ+T ): a new style of reasoning for program checking Dipartimento di Informatica Università degli Studi di Verona Verona, Italy June, 2011 Motivation: reasoning for program checking Program checking
More informationClassical Planning Problems: Representation Languages
jonas.kvarnstrom@liu.se 2017 Classical Planning Problems: Representation Languages History: 1959 3 The language of Artificial Intelligence was/is logic First-order, second-order, modal, 1959: General
More informationHeuristic Backtracking Algorithms for SAT
Heuristic Backtracking Algorithms for SAT A. Bhalla, I. Lynce, J.T. de Sousa and J. Marques-Silva IST/INESC-ID, Technical University of Lisbon, Portugal fateet,ines,jts,jpmsg@sat.inesc.pt Abstract In recent
More informationFoundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution
Foundations of AI 9. Predicate Logic Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution Wolfram Burgard, Andreas Karwath, Bernhard Nebel, and Martin Riedmiller 09/1 Contents Motivation
More informationBITCOIN MINING IN A SAT FRAMEWORK
BITCOIN MINING IN A SAT FRAMEWORK Jonathan Heusser @jonathanheusser DISCLAIMER JUST TO BE CLEAR.. This is research! Not saying ASICs suck I am not a cryptographer, nor SAT solver guy WTF REALISED PHD RESEARCH
More informationMulti Domain Logic and its Applications to SAT
Multi Domain Logic and its Applications to SAT Tudor Jebelean RISC Linz, Austria Tudor.Jebelean@risc.uni-linz.ac.at Gábor Kusper Eszterházy Károly College gkusper@aries.ektf.hu Abstract We describe a new
More informationBetter test results for the graph coloring and the Pigeonhole Problems using DPLL with k-literal representation
Proceedings of the 7 th International Conference on Applied Informatics Eger, Hungary, January 28 31, 2007. Vol. 2. pp. 127 135. Better test results for the graph coloring and the Pigeonhole Problems using
More informationEECS 219C: Formal Methods Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley
EECS 219C: Formal Methods Boolean Satisfiability Solving Sanjit A. Seshia EECS, UC Berkeley The Boolean Satisfiability Problem (SAT) Given: A Boolean formula F(x 1, x 2, x 3,, x n ) Can F evaluate to 1
More informationAutomated Theorem Proving: DPLL and Simplex
#1 Automated Theorem Proving: DPLL and Simplex One-Slide Summary An automated theorem prover is an algorithm that determines whether a mathematical or logical proposition is valid (satisfiable). A satisfying
More informationCSc Parallel Scientific Computing, 2017
CSc 76010 Parallel Scientific Computing, 2017 What is? Given: a set X of n variables, (i.e. X = {x 1, x 2,, x n } and each x i {0, 1}). a set of m clauses in Conjunctive Normal Form (CNF) (i.e. C = {c
More informationEXTENDING SAT SOLVER WITH PARITY CONSTRAINTS
TKK Reports in Information and Computer Science Espoo 2010 TKK-ICS-R32 EXTENDING SAT SOLVER WITH PARITY CONSTRAINTS Tero Laitinen TKK Reports in Information and Computer Science Espoo 2010 TKK-ICS-R32
More informationEECS 219C: Computer-Aided Verification Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley
EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving Sanjit A. Seshia EECS, UC Berkeley Project Proposals Due Friday, February 13 on bcourses Will discuss project topics on Monday Instructions
More information(QiuXin Hui) 7.2 Given the following, can you prove that the unicorn is mythical? How about magical? Horned? Decide what you think the right answer
(QiuXin Hui) 7.2 Given the following, can you prove that the unicorn is mythical? How about magical? Horned? Decide what you think the right answer is yourself, then show how to get the answer using both
More informationSAT-Solving: Performance Analysis of Survey Propagation and DPLL
SAT-Solving: Performance Analysis of Survey Propagation and DPLL Christian Steinruecken June 2007 Abstract The Boolean Satisfiability Problem (SAT) belongs to the class of NP-complete problems, meaning
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Tuomas Sandholm Carnegie Mellon University Computer Science Department [Read Chapter 6 of Russell & Norvig] Constraint satisfaction problems (CSPs) Standard search problem:
More informationDefinition: A context-free grammar (CFG) is a 4- tuple. variables = nonterminals, terminals, rules = productions,,
CMPSCI 601: Recall From Last Time Lecture 5 Definition: A context-free grammar (CFG) is a 4- tuple, variables = nonterminals, terminals, rules = productions,,, are all finite. 1 ( ) $ Pumping Lemma for
More informationOn Resolution Proofs for Combinational Equivalence Checking
On Resolution Proofs for Combinational Equivalence Checking Satrajit Chatterjee Alan Mishchenko Robert Brayton Department of EECS U. C. Berkeley {satrajit, alanmi, brayton}@eecs.berkeley.edu Andreas Kuehlmann
More informationMixed Integer Linear Programming
Mixed Integer Linear Programming Part I Prof. Davide M. Raimondo A linear program.. A linear program.. A linear program.. Does not take into account possible fixed costs related to the acquisition of new
More informationStochastic greedy local search Chapter 7
Stochastic greedy local search Chapter 7 ICS-275 Winter 2016 Example: 8-queen problem Main elements Choose a full assignment and iteratively improve it towards a solution Requires a cost function: number
More informationalgorithms, i.e., they attempt to construct a solution piece by piece and are not able to offer a complete solution until the end. The FM algorithm, l
The FMSAT Satisfiability Solver: Hypergraph Partitioning meets Boolean Satisfiability Arathi Ramani, Igor Markov framania, imarkovg@eecs.umich.edu February 6, 2002 Abstract This report is intended to present
More informationABT with Clause Learning for Distributed SAT
ABT with Clause Learning for Distributed SAT Jesús Giráldez-Cru, Pedro Meseguer IIIA - CSIC, Universitat Autònoma de Barcelona, 08193 Bellaterra, Spain {jgiraldez,pedro}@iiia.csic.es Abstract. Transforming
More informationCS 512, Spring 2017: Take-Home End-of-Term Examination
CS 512, Spring 2017: Take-Home End-of-Term Examination Out: Tuesday, 9 May 2017, 12:00 noon Due: Wednesday, 10 May 2017, by 11:59 am Turn in your solutions electronically, as a single PDF file, by placing
More informationExam Topics. Search in Discrete State Spaces. What is intelligence? Adversarial Search. Which Algorithm? 6/1/2012
Exam Topics Artificial Intelligence Recap & Expectation Maximization CSE 473 Dan Weld BFS, DFS, UCS, A* (tree and graph) Completeness and Optimality Heuristics: admissibility and consistency CSPs Constraint
More informationFunctional Logic Programming. Kristjan Vedel
Functional Logic Programming Kristjan Vedel Imperative vs Declarative Algorithm = Logic + Control Imperative How? Explicit Control Sequences of commands for the computer to execute Declarative What? Implicit
More informationof m clauses, each containing the disjunction of boolean variables from a nite set V = fv 1 ; : : : ; vng of size n [8]. Each variable occurrence with
A Hybridised 3-SAT Algorithm Andrew Slater Automated Reasoning Project, Computer Sciences Laboratory, RSISE, Australian National University, 0200, Canberra Andrew.Slater@anu.edu.au April 9, 1999 1 Introduction
More informationImplementation of a Sudoku Solver Using Reduction to SAT
Implementation of a Sudoku Solver Using Reduction to SAT For this project you will develop a Sudoku solver that receives an input puzzle and computes a solution, if one exists. Your solver will: read an
More informationDecision Procedures. An Algorithmic Point of View. Decision Procedures for Propositional Logic. D. Kroening O. Strichman.
Decision Procedures An Algorithmic Point of View Decision Procedures for Propositional Logic D. Kroening O. Strichman ETH/Technion Version 1.0, 2007 Part I Decision Procedures for Propositional Logic Outline
More informationSystem Description: iprover An Instantiation-Based Theorem Prover for First-Order Logic
System Description: iprover An Instantiation-Based Theorem Prover for First-Order Logic Konstantin Korovin The University of Manchester School of Computer Science korovin@cs.man.ac.uk Abstract. iprover
More informationDaniel S. Weld. University of Washington, Box Seattle, WA 98195{2350 USA. Technical Report UW-CSE ; to appear in AI Magazine, 1999
Recent Advances in AI Planning Daniel S. Weld Department of Computer Science & Engineering University of Washington, Box 352350 Seattle, WA 98195{2350 USA Technical Report UW-CSE-98-10-01; to appear in
More informationSAT Solver Heuristics
SAT Solver Heuristics SAT-solver History Started with David-Putnam-Logemann-Loveland (DPLL) (1962) Able to solve 10-15 variable problems Satz (Chu Min Li, 1995) Able to solve some 1000 variable problems
More informationSet 5: Constraint Satisfaction Problems Chapter 6 R&N
Set 5: Constraint Satisfaction Problems Chapter 6 R&N ICS 271 Fall 2017 Kalev Kask ICS-271:Notes 5: 1 The constraint network model Outline Variables, domains, constraints, constraint graph, solutions Examples:
More informationUniversity of Innsbruck
STI INNSBRUCK SEMANTIC TECHNOLOGY INSTITUTE University of Innsbruck Semantic Technology Institute Exploring Propositional Local-Search Procedures for Tableau-based Reasoning in the Description Logic ALC
More informationA Stochastic Non-CNF SAT Solver
A Stochastic Non-CNF SAT Solver Rafiq Muhammad and Peter J. Stuckey NICTA Victoria Laboratory, Department of Computer Science and Software Engineering, The University of Melbourne, Victoria 3010, Australia
More informationImproving Coq Propositional Reasoning Using a Lazy CNF Conversion
Using a Lazy CNF Conversion Stéphane Lescuyer Sylvain Conchon Université Paris-Sud / CNRS / INRIA Saclay Île-de-France FroCoS 09 Trento 18/09/2009 Outline 1 Motivation and background Verifying an SMT solver
More informationBoolean Satisfiability Solving Part II: DLL-based Solvers. Announcements
EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving Part II: DLL-based Solvers Sanjit A. Seshia EECS, UC Berkeley With thanks to Lintao Zhang (MSR) Announcements Paper readings will be
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition,
More informationPropositional logic (Ch. 7)
Propositional logic (Ch. 7) Announcements Writing 3 due Sunday - ideally use for project - if you haven't decided project by then, you will have to redo this work Logic: definitions We say that two sentences
More informationMathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 9 Normal Forms
Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras Lecture - 9 Normal Forms In the last class we have seen some consequences and some equivalences,
More informationOn the Relation between SAT and BDDs for Equivalence Checking
On the Relation between SAT and BDDs for Equivalence Checking Sherief Reda 1 Rolf Drechsler 2 Alex Orailoglu 1 1 Computer Science & Engineering Department University of California, San Diego La Jolla,
More informationSAT and Termination. Nao Hirokawa. Japan Advanced Institute of Science and Technology. SAT and Termination 1/41
SAT and Termination Nao Hirokawa Japan Advanced Institute of Science and Technology SAT and Termination 1/41 given 9 9-grid like Sudoku Puzzle 1 8 7 3 2 7 7 1 6 4 3 4 5 3 2 8 6 fill out numbers from 1
More informationAshish Sabharwal Computer Science and Engineering University of Washington, Box Seattle, Washington
MODEL CHECKING: TWO DECADES OF NOVEL TECHNIQUES AND TRENDS PHD GENERAL EXAM REPORT Ashish Sabharwal Computer Science and Engineering University of Washington, Box 352350 Seattle, Washington 98195-2350
More informationLecture 17 of 41. Clausal (Conjunctive Normal) Form and Resolution Techniques
Lecture 17 of 41 Clausal (Conjunctive Normal) Form and Resolution Techniques Wednesday, 29 September 2004 William H. Hsu, KSU http://www.kddresearch.org http://www.cis.ksu.edu/~bhsu Reading: Chapter 9,
More informationA proof-producing CSP solver: A proof supplement
A proof-producing CSP solver: A proof supplement Report IE/IS-2010-02 Michael Veksler Ofer Strichman mveksler@tx.technion.ac.il ofers@ie.technion.ac.il Technion Institute of Technology April 12, 2010 Abstract
More informationPropositional Calculus: Boolean Functions and Expressions. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson
Propositional Calculus: Boolean Functions and Expressions CS 270: Mathematical Foundations of Computer Science Jeremy Johnson Propositional Calculus Objective: To provide students with the concepts and
More information