An Improved Separation of Regular Resolution from Pool Resolution and Clause Learning

Similar documents
Resolution and Clause Learning for Multi-Valued CNF

A proof-producing CSP solver: A proof supplement

Deductive Methods, Bounded Model Checking

Chapter 2 PRELIMINARIES

SAT Solvers. Ranjit Jhala, UC San Diego. April 9, 2013

Constraint Satisfaction Problems

Normal Forms for Boolean Expressions

PROPOSITIONAL LOGIC (2)

Boolean Satisfiability Solving Part II: DLL-based Solvers. Announcements

EECS 219C: Formal Methods Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley

3 No-Wait Job Shops with Variable Processing Times

SAT Solver. CS 680 Formal Methods Jeremy Johnson

DPLL(Γ+T): a new style of reasoning for program checking

CS-E3220 Declarative Programming

Exact Algorithms Lecture 7: FPT Hardness and the ETH

Consistency and Set Intersection

The Resolution Width Problem is EXPTIME-Complete

EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley

Chapter 5 USING PROBLEM STRUCTURE FOR EFFICIENT CLAUSE LEARNING

Mapping CSP into Many-Valued SAT

Symbolic Methods. The finite-state case. Martin Fränzle. Carl von Ossietzky Universität FK II, Dpt. Informatik Abt.

Satisfiability (SAT) Applications. Extensions/Related Problems. An Aside: Example Proof by Machine. Annual Competitions 12/3/2008

Reductions and Satisfiability

Lower Bounds for Cutting Planes (Extended Abstract)

Finding Strongly Connected Components

Learning Techniques for Pseudo-Boolean Solving and Optimization

Propositional Resolution Part 3. Short Review Professor Anita Wasilewska CSE 352 Artificial Intelligence

Definition: A context-free grammar (CFG) is a 4- tuple. variables = nonterminals, terminals, rules = productions,,

Principles of AI Planning. Principles of AI Planning. 7.1 How to obtain a heuristic. 7.2 Relaxed planning tasks. 7.1 How to obtain a heuristic

== is a decent equivalence

Seminar decision procedures: Certification of SAT and unsat proofs

PCP and Hardness of Approximation

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

Reductions. Linear Time Reductions. Desiderata. Reduction. Desiderata. Classify problems according to their computational requirements.

Lecture 14: Lower Bounds for Tree Resolution

SAT-CNF Is N P-complete

Boolean Representations and Combinatorial Equivalence

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1

Abstract. A graph G is perfect if for every induced subgraph H of G, the chromatic number of H is equal to the size of the largest clique of H.

Andrew Reynolds Liana Hadarean

SAT/SMT Solvers and Applications

The Resolution Algorithm

Handout 9: Imperative Programs and State

Circuit versus CNF Reasoning for Equivalence Checking

CDCL SAT Solvers. Joao Marques-Silva. Theory and Practice of SAT Solving Dagstuhl Workshop. April INESC-ID, IST, ULisbon, Portugal

Ch9: Exact Inference: Variable Elimination. Shimi Salant, Barak Sternberg

Foundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution

BDD-Guided Clause Generation

Fundamental Properties of Graphs

CS-E3200 Discrete Models and Search

On Proof Systems Behind Efficient SAT Solvers. DoRon B. Motter and Igor L. Markov University of Michigan, Ann Arbor

Matching Theory. Figure 1: Is this graph bipartite?

Zchaff: A fast SAT solver. Zchaff: A fast SAT solver

Copyright 2000, Kevin Wayne 1

The Satisfiability Problem [HMU06,Chp.10b] Satisfiability (SAT) Problem Cook s Theorem: An NP-Complete Problem Restricted SAT: CSAT, k-sat, 3SAT

4.1 Review - the DPLL procedure

A Scalable Algorithm for Minimal Unsatisfiable Core Extraction

Practical SAT Solving

Formally Certified Satisfiability Solving

Multi Domain Logic and its Applications to SAT

Graph Algorithms. Tours in Graphs. Graph Algorithms

The Structure of Bull-Free Perfect Graphs

Improving Coq Propositional Reasoning Using a Lazy CNF Conversion

Euclidean TSP Between Two Nested Convex Obstacles

Combinational Equivalence Checking

Propositional Logic. Part I

NP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions.

A Simplied NP-complete MAXSAT Problem. Abstract. It is shown that the MAX2SAT problem is NP-complete even if every variable

Reduced branching-factor algorithms for constraint satisfaction problems

Some Applications of Graph Bandwidth to Constraint Satisfaction Problems

Satisfiability. Michail G. Lagoudakis. Department of Computer Science Duke University Durham, NC SATISFIABILITY

Rank Bounds and Integrality Gaps for Cutting Planes Procedures

Adding New Bi-Asserting Clauses for Faster Search in Modern SAT Solvers

LOGIC-BASED TRUTH MAINTENANCE SYSTEMS. EECS 344 Winter, 2008

COMP4418 Knowledge Representation and Reasoning

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

Module 4. Constraint satisfaction problems. Version 2 CSE IIT, Kharagpur

Fixed Parameter Algorithms

The Encoding Complexity of Network Coding

Heuristic Backtracking Algorithms for SAT

QuteSat. A Robust Circuit-Based SAT Solver for Complex Circuit Structure. Chung-Yang (Ric) Huang National Taiwan University

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36

Improving Eliminate-Irrelevance for ACL2

First-Order Proof Tactics in Higher Order Logic Theorem Provers Joe Hurd p.1/24

Lecture 5: Suffix Trees

Formally-Proven Kosaraju s algorithm

versat: A Verified Modern SAT Solver

Backtracking and Induction in ACL2

6.034 Notes: Section 3.1

Discrete mathematics

Topic 3: Propositions as types

Localization in Graphs. Richardson, TX Azriel Rosenfeld. Center for Automation Research. College Park, MD

Logic and Proof course Solutions to exercises from chapter 6

STABILITY AND PARADOX IN ALGORITHMIC LOGIC

Better test results for the graph coloring and the Pigeonhole Problems using DPLL with k-literal representation

Boolean Satisfiability: The Central Problem of Computation

Lecture 9 - Matrix Multiplication Equivalences and Spectral Graph Theory 1

Lecture 3: Graphs and flows

A Satisfiability Procedure for Quantified Boolean Formulae

Lecture Notes on Real-world SMT

Transcription:

An Improved Separation of Regular Resolution from Pool Resolution and Clause Learning Maria Luisa Bonet and Sam Buss Theory and Applications of Satisfiability Testing SAT 2012 Trento, Italy July 17, 2012

Introduction SAT algorithms SAT algorithms - Remarkably successful Routinely solve industrial instances with 100,000 s of variables. Mostly based on depth-first search. (DPLL) Use a suite of methods to speed search: clause learning, fast backtracking, restarts, implementation tuning. Find satisfying assignment or generate a resolution refutation. Algorithms lift to a useful fragments of first-order logic. (SMT solvers.) Questions for this talk: What is the logical complexity of SAT algorithms in terms of prooof systems? How does DPLL with clause learning compare to resolution?

Introduction Clause learning is the main heuristic that has a logical justification. Fundamental idea: Set a trial (partial) satisfying assignment. When blocked, use this counter-example to learn a new clause. The new clause helps avoid repeatedly searching the same part of the solution space. GRASP: Marques-Silva & Sakallah [1999]. Several heuristics are used to decide which clauses to learn, e.g., First-UIP. These are all encompassed by input resolution, aka trivial resolution. (Beame-Kautz-Sabarwal [2004].) Input resolution corresponds to contradictions that can be discovered by unit propagation. Easy to decide if a given clause can be derived by input resolution.

Relation to resolution Relationship to resolution? [Folklore?] Resolution simulates all current DPLL-based algorithms, including with clause learning, restarts, and pure literal selection. DPLL with clause learning and restarts: Theorem [BKS 2004] Non-greedy DPLL with clause learning and restarts simulates full resolution. Proof idea: Simulate a resolution refutation, using a new restart for each clause in the refutation. Ignore contradictions (hence: non-greedy) until able to learn the desired clause. Theorem [Pipatsrisawat-Darwiche, 2010] (Greedy) DPLL with clause learning and (many!) restarts simulates full resolution. [Atserias, Fichte, Thurley 11] - related results for bounded width.

Relation to resolution DPLL and clause learning without restarts [BKS 04; H-B-P-vG 08; B-H-J 08] It is possible to add new variables and clauses that preserve (un)satisfiability, so that DPLL with clause learning can refute the augmented set of clauses if and only if resolution can refute the original set of clauses. In this way, DPLL with clause learning can effectively p-simulate resolution. These new variables and clauses are proof trace extensions or variable extensions. Drawback: The variable extensions yields contrived sets of clauses, and the resulting DPLL executions are unnatural.

Key definitions Def n. A proof (or a depth-first traversal of a proof) is regular provided no variable is resolved on twice in any branch. Defn. A pool of literals is a the set of literals that have been set true at any point during during a depth-first traversal (or, during a DPLL search). Def n. A proof (or, DPLL search) is greedy provided that no falsified clauses are ignored. That is, the search terminates once the pool has falsified some clause. Def n. A proof (or, DPLL search) is unit-propagating provided that it does not ignore contradictions that can found by unit propagation after setting the pool literals true.

Pool resolution Pool resolution [Van Gelder, 2005] introduced pool resolution as a system that can simulate DPLL clause learning without restarts. Pool resolution consists of: a. A degenerate resolution inference rule, where the resolution literal may be missing from either hypothesis. If so, the conclusion is equal to one of the hypotheses. b. A dag-like degenerate resolution refutation with a regular depth-first traversal. The degenerate rule is needed to learn more clauses. The regular depth-first traversal corresponds to the fact that DPLL algorithms do not change the value of literals without backtracking. Thm [VG 05] Pool resolution p-simulates DPLL clause learning without restarts.

regwrti regwrti [Buss-Hoffmann-Johannsen 08] gave a system that is equivalent to non-greedy DPLL clause learning without restarts. w-resolution: C D (C \{x}) (D \{x}) where x / C and x / D. [BHJ] uses tree-like proofs with lemmas to simulate dag like proofs. A lemma must be earlier derived in left-to-right order. A lemma is input if derived by an input subderivation (allowing lemmas in the subderivation). Thm [BHJ]. Resolution trees with input lemmas simulates general resolution (i.e., with arbitrary lemmas).

regwrti Defn A regwrti derivation is a regular tree-like w-resolution with input lemmas. Thm [BHJ] regwrti p-simulates DPLL clause learning without restarts. Conversely, non-greedy DPLL clause learning (without restarts) p-simulates regwrti. The above theorem allows very general schemes of clause learning. The greedy case still open: No exact formal system is known to be p-equivalent. However, regwrti is a reasonable conjecture.

Fact: DPLL clause learning without restarts (and regwrti and pool resolution) simulates regular resolution. Thm [AJPU 2002] Regular resolution does not p-simulate resolution. [APJU] gave two examples of separations. Graph tautologies expressing the existence of a minimal element in a linear order, obfuscated by making the axioms more complicated. A Stone principle about pebbling dag s. [Urquhart 11] - an example using obfuscated pebbling principles. The (non-obfuscated) graph tautologies were originally introduced by [Krishnamurthy 85]. Regular refutations were given by [Stålmarck, 96] and [Bonet-Galesi 99].

Graph tautologies The (negations of the) graph tautologies, GT n have the following clauses. The intuition is that x i,j means i j for some linear order. Transitivity: x i,j,x j,k,x k,i distinct i,j,k < n. No minimum: j i x j,i. These have polynomial size, regular resolution refutations [Stålmarck, Bonet-Galesi],.

We use the term guarded graph tautologies (GGT n ) for [AJPU] s obfuscated graph tautologies. In these, initial clauses x i,j,x j,k,x k,i are replaced by x i,j,x j,k,x k,i,x r,s and x i,j,x j,k,x k,i,x r,s for some r = r(i,j,k) and s = s(i,j,k). (All i,j,k,r,s distinct.) The non-regular refutation of GGT n comes from resolving the two above clauses to derive x i,j,x j,k,x k,i, for all i,j,k, and then using the (regular) refutation of GT n.

Theorem [Bonet-Buss] There are polynomial size pool refutations and also regrti refutations of the GGT n clauses. Consequently, DPLL clause learning without restarts can show the unsatisfiability of the GGT n clauses in polynomial time. Note that w-resolution is not needed, only resolution. Proof is very detailed and technical. Proof sketch: Next two slides... Parts of the following corollary were already shown by [BKS] and Van Gelder using proof trace extensions: Corollary Regular resolution does not simulate regwrti, or pool resolution, or DPLL clause learning without restarts.

Proof sketch. Idea is to have a partially defined bipartite ordering π on the vertices of the underlying graph. The clause ( π) contains the negations of the literals set true in π (i.e., states that π does not hold). Initially π is empty. The refutation is constructed in stages, in left-to-right order. At each stage, the goal is to give a subderivation of a clause ( π). This is done by considering a regular refutation of GGT n π, and then weakening to get ( π), and then replacing GT n initial clauses with GGT n clauses as needed. In some cases, it is possible to further transform the refutation (by introducing extra side literals) so as to keep the partially completed refutation valid. But in some cases, there is an initial axiom x i,j,x j,k,x k,i which cannot be derived from its GGT n initial clauses without violating regularity.

In these cases, we instead add a subproof that learns x i,j,x j,k,x k,i. ( π1 ) x i,j,x j,k,x k,i,x r.s x i,j,x j,k,x k,i,x r.s x i,j,x j,k,x k,i. ( π2 ) x i,j,x j,k,c 1. ( π3 ) x i,j,c 2. ( π) The regularity condition will hold. Side literals C 1,C 2 can be chosen to make the resolution inferences valid. Each ( π i ) is a bipartite partial restriction that will be handled in later stages. The omitted parts contain inferences to ensure this. This construction is needed only polynomially many time since there are only polynomially many GT n initial clauses.

Greedy, unit propagating DPLL with clause learning. The same proof techniques can be extended to give the following improvement: Thm [Bonet-Buss] The GGT n clauses can be proved to be unsatisfiable by a polynomial time, greedy, unit propagating DPLL proof search with clause learning and without restarts. Proof technique: The essential idea is to follow the variable selection order implicit in the regwrti proof of the GGT n proof.

Open Question. Can this be extended? For instance, is it possible that pool resolution or even regwrti p-simulates full resolution? In this case, (non-greedy) DPLL clause learning without restarts will simulate full resolution. The GGT n tautologies had been conjectured to separate DPLL clause learning from resolution, but our theorem above disproves. The other two candidates are the Stone tautologies, and Urquhart s obfuscated pebbling tautologies. But...

Recent results Thm. [Bonet-Buss-Johannsen] The obfuscated pebbling tautologies have polynomial size regwrti derivations. Thm. [Bu-Kolodziejczyk] The Stone tautologies have polynomial size reqwrti derivations. Conjecture: regwrti p-simulates pool resolution. Possibly: regwrti p-simulates resolution. If so, DPLL with clause learning and no restarts p-simulates resolution.

Thank you Thank you!