Good representations via complete clause-learning

Similar documents
Unifying hierarchies of fast SAT decision and knowledge compilation

A measured approach towards good SAT representations

SAT translations. Matthew Gwynne 1 Oliver Kullmann 2. Proof Complexity Banff, October 4, Computer Science, Swansea University, UK

SAT Solving: Theory and Practice of efficient combinatorial search

Minimal unsatisfiability and deficiency: recent developments

Algorithms for Satisfiability beyond Resolution.

Using linear algebra and graph theory for satisfiability decision

Solving Max SAT and #SAT on structured CNF formulas

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

Global constraints and decompositions

Proof Complexity of Quantified Boolean Formulas

Exact Max 2-SAT: Easier and Faster. Martin Fürer Shiva Prasad Kasiviswanathan Pennsylvania State University, U.S.A

Comp487/587 - Boolean Formulas

12345efghi UNIVERSITY OF WALES SWANSEA REPORT SERIES

On the Relative Efficiency of DPLL and OBDDs with Axiom and Join

SWANSEA UNIVERSITY REPORT SERIES

Attacking AES via SAT

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving

Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011

A New Look at BDDs for Pseudo-Boolean Constraints

Foundations of Artificial Intelligence

A Clause Tableau Calculus for MinSAT

Detecting Backdoor Sets with Respect to Horn and Binary Clauses

Interleaved Alldifferent Constraints: CSP vs. SAT Approaches

CS Introduction to Complexity Theory. Lecture #11: Dec 8th, 2015

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010

Tutorial 1: Modern SMT Solvers and Verification

Generating Models of a Matched Formula With a Polynomial Delay (Extended Abstract)

Short Proofs Without New Variables

NP-Completeness Part II

A Pigeon-Hole Based Encoding of Cardinality Constraints

Essential facts about NP-completeness:

NP-Complete Reductions 2

12345efghi UNIVERSITY OF WALES SWANSEA REPORT SERIES

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

The Potential and Challenges of CAD with Equational Constraints for SC-Square

18.10 Addendum: Arbitrary number of pigeons

Lecture 18: Inapproximability of MAX-3-SAT

Propositional Reasoning

Foundations of Artificial Intelligence

Backdoor Sets for DLL Subsolvers

Organization. Informal introduction and Overview Informal introductions to P,NP,co-NP and themes from and relationships with Proof complexity

Worst-Case Upper Bound for (1, 2)-QSAT

CS21 Decidability and Tractability

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

Classical Propositional Logic

ALGEBRAIC PROOFS OVER NONCOMMUTATIVE FORMULAS

Generalizations of Matched CNF Formulas

Lecture 4. 1 Circuit Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, Jonathan Katz

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010

Propositional Logic: Models and Proofs

Regular Resolution Lower Bounds for the Weak Pigeonhole Principle

Maximum 3-SAT as QUBO

Basing Decisions on Sentences in Decision Diagrams

Formal Verification Methods 1: Propositional Logic

An Introduction to Proof Complexity, Part II.

Complexity, P and NP

A New Approach to Proving Upper Bounds for MAX-2-SAT

Propositional Resolution

The Parameterized Complexity of k-flip Local Search for SAT and MAX SAT

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

Space complexity of cutting planes refutations

CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT

SAT, Coloring, Hamiltonian Cycle, TSP

NP-Complete Reductions 1

Phase Transition and Network Structure in Realistic SAT Problems

On Variable-Weighted 2-SAT and Dual Problems

Tight Size-Degree Lower Bounds for Sums-of-Squares Proofs

Decision Procedures for Satisfiability and Validity in Propositional Logic

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Resolution Lower Bounds for the Weak Pigeonhole Principle

Lecture 12 Scribe Notes

Resolution and Pebbling Games

CMSC 858F: Algorithmic Lower Bounds Fall SAT and NP-Hardness

Foundations of Artificial Intelligence

CS21 Decidability and Tractability

On the Sensitivity Conjecture for Disjunctive Normal Forms. Karthik C. S. (Weizmann Institute of Science)

Guest Lecture: Average Case depth hierarchy for,, -Boolean circuits. Boaz Barak

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT

Notes on Complexity Theory Last updated: October, Lecture 6

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness

CSC 2429 Approaches to the P vs. NP Question and Related Complexity Questions Lecture 2: Switching Lemma, AC 0 Circuit Lower Bounds

Nested Epistemic Logic Programs

Proof Complexity Meets Algebra

LOGIC PROPOSITIONAL REASONING

Toda s theorem in bounded arithmetic with parity quantifiers and bounded depth proof systems with parity gates

Chapter 7 Propositional Satisfiability Techniques

RESOLUTION OVER LINEAR EQUATIONS AND MULTILINEAR PROOFS

Lecture 2 Propositional Logic & SAT

Propositional Logic: Evaluating the Formulas

Inf2D 13: Resolution-Based Inference

Some Algebra Problems (Algorithmic) CSE 417 Introduction to Algorithms Winter Some Problems. A Brief History of Ideas

Dependency Schemes in QBF Calculi: Semantics and Soundness

A New 3-CNF Transformation by Parallel-Serial Graphs 1

Intro to Theory of Computation

Algorithm Design and Analysis

Generating SAT Instances with Community Structure

Property Checking By Logic Relaxation

Propositions. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 5.1, Page 1

Transcription:

Good representations via complete clause-learning Oliver Kullmann Swansea University, United Kingdom http://cs.swan.ac.uk/~csoliver Rome, September 27, 2012, Limits of Theorem Proving O Kullmann (Swansea University) September 27, 2012 1 / 13

Introduction Good representations of boolean functions Contrary to what I believed in my Cambridge talk this year, there are no good representations of PHP m m. Doesn t matter interesting theory, relevant applications (and relativisation can overcome the PHP-barrier). Collaboration with my student Matthew Gwynne. Project home page O Kullmann (Swansea University) September 27, 2012 2 / 13

CNF representations Representing boolean functions A is a (CNF-)representation of clause-set F a boolean function f if var(f ) var(f ) and the satisfying assignments of F projected to var(f ) are (precisely) the satisfying assignments of f. Important special case: var(f ) = var(f ), i.e., without using new variables (so F is equivalent to f ). Using QCNF we can say that F is a representation of f iff f = v var(f )\var(f ) F. Paradigmatic example for new variables: extension variables. O Kullmann (Swansea University) September 27, 2012 3 / 13

CNF representations Less powerful: Circuits (= effective CNF-representations) In the SAT context, a natural restriction on (CNF-)representations is to demand that evaluation of a total assignment for f is effective for F. Evaluation must be possible by unit-clause propagation. Lemma Such representations are basically the same as circuits. We will actually consider here only further restricted forms of representations. O Kullmann (Swansea University) September 27, 2012 4 / 13

CNF representations Example: PHP m m PHP m m as boolean function: analogous to all-different constraint; for that we need to consider the functional form, which requires every pigeon to sit in at most one hole; so we consider FPHP m m instead; useful as building block for CNF-representations (requiring some bijection). We have an effective representation of FPHP m m (as boolean function), namely the usual clause-set (including the injectivity-clauses), which even does not use new variables. O Kullmann (Swansea University) September 27, 2012 5 / 13

Good representations Stronger condition: Partial evaluation Consider a CNF-representation F of f : Now we want for all partial assignments ϕ for f such that ϕ f is unsatisfiable, that UCP for ϕ F yields the empty clause. That s needed for SAT solving! We call that a 1-soft representation. (More generally, k-soft means that for every clause C with f = C there is a tree resolution derivation F C using space at most k + 1.) O Kullmann (Swansea University) September 27, 2012 6 / 13

Good representations Partialising boolean function To boolean function f we associate boolean function ˆf, allowing to consider partial assignments: Variables v var(f ) are doubled: v 0, v 1 var(ˆf ). That v is unassigned is expressed by v 0 = v 1 = 0. If v 0 = v 1 = 1, then ˆf = 1. And if v ε = 1 and v ε = 0, then v = ε. ˆf true iff the corresponding partial assignment to f makes f unsatisfiable. ˆf is monotone. O Kullmann (Swansea University) September 27, 2012 7 / 13

Good representations Partialising FPHP m m The boolean function FPHP m m determines whether a bipartite graph with at most m vertices on each side admits a perfect matching (setting the missing edges to false). So we have a short circuit for FPHP m m (via perfect matching decision). However that s not useful for SAT (the underlying algorithm can only be exploited by constraint solving), since this doesn t translate back to FPHP m m. SAT-solving uses partial evaluation. O Kullmann (Swansea University) September 27, 2012 8 / 13

Good representations Relative 1-softness = monotone circuits From [BKNW09] follows: Monotone circuits for ˆf correspond effectively to CNF-representations of f of relative softness 1. Easiest to see is the direction from a monotone circuit for ˆf to a CNF-representation of f of relative softness 1: a monotone circuit which evaluates to 1 doesn t bother about inputs equal to 0 (which here means missing assignments) thus we can just plug in v for v 1 and v for v 0, and translate the circuit into a CNF, with negated output. The above theorem yields: There is no poly-size CNF-representation of relative softness 1 for FPHP m m. O Kullmann (Swansea University) September 27, 2012 9 / 13

The UC hierarchy Unit-refutation completeness UC k is the set of clause-sets F such that for every F = C there is a tree-resolution derivation F C using clause-space at most k + 1. Many equivalent characterisations, for example using generalised UCP. A(n) (absolute) k-soft representation F for f is a representation F UC k for f. O Kullmann (Swansea University) September 27, 2012 10 / 13

Hierarchy conjecture Unit-refutation completeness For the relative condition everything collapses to k = 1, since there are no restrictions on the new variables (so they can absorb higher k). Conjecture We have a true representation hierarchy for the absolute condition. Partial result: can show this when not using new variables (here the relative and absolute condition coincide). What is needed now is a hierarchy inside monotone circuits! O Kullmann (Swansea University) September 27, 2012 11 / 13

Unit-refutation completeness SLUR and clause-learning In [GK12, GK13] we show UC k = SLUR k where SLUR is the class of clause-sets where single look-ahead unit-resolution is guaranteed to succeed, and SLUR k generalises this via generalised UCP. This means: UC 1 is the class of clause-sets closed under clause learning, where the algorithm not just uses UCP, but also look-ahead with UCP (to set a variable). Note that here satisfiable clause-sets are most interesting. Finally, we can also use standard clause-learning, arriving at the hierarchy PC k ( propagation-completeness ). O Kullmann (Swansea University) September 27, 2012 12 / 13

Unit-refutation completeness End (references on the remaining slides). O Kullmann (Swansea University) September 27, 2012 13 / 13

Bibliography I Unit-refutation completeness Christian Bessiere, George Katsirelos, Nina Narodytska, and Toby Walsh. Circuit complexity and decompositions of global constraints. In Proceedings of the Twenty-First International Joint Conference on Artificial Intelligence (IJCAI-09), pages 412 418, 2009. Matthew Gwynne and Oliver Kullmann. Generalising unit-refutation completeness and SLUR via nested input resolution. Technical Report arxiv:1204.6529v4 [cs.lo], arxiv, October 2012. O Kullmann (Swansea University) September 27, 2012 14 / 13

Bibliography II Unit-refutation completeness Matthew Gwynne and Oliver Kullmann. Generalising and unifying SLUR and unit-refutation completeness. In Peter van Emde Boas, Frans C. A. Groen, Giuseppe F. Italiano, Jerzy Nawrocki, and Harald Sack, editors, SOFSEM 2013: Theory and Practice of Computer Science, volume 7741 of Lecture Notes in Computer Science (LNCS), pages 220 232. Springer, 2013. O Kullmann (Swansea University) September 27, 2012 15 / 13