Random SAT Instances a la Carte

Size: px
Start display at page:

Download "Random SAT Instances a la Carte"

Transcription

1 Random SAT Instances a la Carte Carlos Ansótegui María Luisa Bonet DIEI, UdL, Lleida, Spain LSI, UPC, Barcelona, Spain Jordi Levy IIIA, CSIC, Barcelona, Spain CCIA 08, Empuries Random SAT Instances a la Carte p.1

2 SAT SAT is a central problem in computer science The problem is NP-complete in the worst case State-of-the-art solvers are of practical use with real-world instances Objective: Design solvers that perform well on industrial instances Random SAT Instances a la Carte p.2

3 SAT Competitions SAT competitions evaluate ideas, techniques and solvers Competitions use benchmarks: Randomly generated Industrial Crafted Random SAT Instances a la Carte p.3

4 SAT Competitions SAT competitions evaluate ideas, techniques and solvers Competitions use benchmarks: Randomly generated Unlimited in number Families of instances: one for every number of vars Generated on demand: fair in competitions Parameterized degree of dificulty Industrial Crafted Random SAT Instances a la Carte p.3

5 SAT Competitions SAT competitions evaluate ideas, techniques and solvers Competitions use benchmarks: Randomly generated Unlimited in number Families of instances: one for every number of vars Generated on demand: fair in competitions Parameterized degree of dificulty Industrial Limited in number Specially valuable Crafted Random SAT Instances a la Carte p.3

6 General Objective Create generators of random instances with properties similar to industrial ones to test solvers Stated as 10th challenge by Kautz&Sellman in Ten Challenges in Propositional Reasoning and Search : Develop a generator for problem instances that have computational properties that are more similar to real-world instances[...] While hundreds of specific [industrial] problems are available, it would be useful to be able to randomly generate similar problems by the thousands for testing purposes Also Rina Dechter in her book proposes the same objective Random SAT Instances a la Carte p.4

7 Progress on this Objective Number of occurrence of variables follow similar distributions as in industrial Similar ratio clause/variables Instances generated around the transition point (not trivially sat or unsat) Use of an external measure of complexity (Strahler) to generate instances parameterized by dificulty Strahler similar to industrial Similar behaviour w.r.t. solvers Sizes of clauses follows similar distribution as in industrial Study structure in industrial instances and try to obtain similar random instances Random SAT Instances a la Carte p.5

8 Strahler as a Measure of the Hardness Strahler of a Tree (1) str( ) = 0 ( ) str t 1 t = 2 str( t 1 ) + 1 if str( t 1 ) = str( t 2 ) max{str( t 1 ),str( t 2 )} otherwise (2) Depth of the biggest complete tree that can be embedded (3) Minimum number of pointers (memory) that we need in order to traverse it Random SAT Instances a la Carte p.6

9 Strahler as a Measure of the Hardness Strahler of a Tree (1) str( ) = 0 ( ) str t 1 t = 2 str( t 1 ) + 1 if str( t 1 ) = str( t 2 ) max{str( t 1 ),str( t 2 )} otherwise (2) Depth of the biggest complete tree that can be embedded (3) Minimum number of pointers (memory) that we need in order to traverse it Random SAT Instances a la Carte p.6

10 Strahler as a Measure of the Hardness Strahler of a Tree (1) str( ) = 0 ( ) str t 1 t = 2 str( t 1 ) + 1 if str( t 1 ) = str( t 2 ) max{str( t 1 ),str( t 2 )} otherwise (2) Depth of the biggest complete tree that can be embedded (3) Minimum number of pointers (memory) that we need in order to traverse it Strahler of an (unsatisfiable) Formula = minimum Strahler of a refutation Random SAT Instances a la Carte p.6

11 Strahler as a Measure of the Hardness Strahler of a Tree (1) str( ) = 0 ( ) str t 1 t = 2 str( t 1 ) + 1 if str( t 1 ) = str( t 2 ) max{str( t 1 ),str( t 2 )} otherwise (2) Depth of the biggest complete tree that can be embedded (3) Minimum number of pointers (memory) that we need in order to traverse it Strahler of an (unsatisfiable) Formula = minimum Strahler of a refutation = Space needed to refute a formula [Ben-Sasson, Galesi 2003; Esteban, Toran 2001] = Hardness of a formula [Kullmann 2003] Random SAT Instances a la Carte p.6

12 Strahler of (Classical) Random 3-CNF % strahler / vars 2 % strahler / vars vars 400 vars 500 vars ratio clauses / var vars Random SAT Instances a la Carte p.7

13 Strahler of Industrial Instances instance unsat/sat #vars(n) space (s) 100 s/n sat solver competition 2005 vmpc27 sat vmpc30 sat depots3_ks99i sat driverlog2_v0li sat ferry6_ks99i sat ferry6_ks99a sat ferry7_ks99a sat satellite2_v0li sat ssa cnf unsat ssa cnf unsat ssa cnf unsat bf cnf unsat bf cnf unsat bf cnf unsat bf cnf unsat Random SAT Instances a la Carte p.8

14 Generator: Probability Distribution f(x) = ln(b)/(b-1)*b^x Given a continuous prob. distribution function φ(x;b) = ln(b) b 1 bx Define P(v;b,n) φ(v/n;b) taking n equidistant points: P(v;b,n) = n 1 i=0 ln(b) b 1 bv/n ln(b) b 1 1 b1/n = bi/n 1 b b v/n Random SAT Instances a la Carte p.9

15 Input: Output: F = for i = 1 to m do repeat Ci = Geometric Generator n,m,k,b a k-sat instance with n variables and m clauses for j = 1 to k do c = rand([0 1)) v = 0 while c > Pr(v;b,n)do v = v + 1 c = c P(v;b,n) rand([0 1)) C i = C i ( 1) rand({0,1}) v until C i is not a tautology or simplifiable F = F {C i } 0 P(0; b, n) i P(1; b, n) i P(2; b, n) 1 ] P(n 1; b, n) Random SAT Instances a la Carte p.10

16 Input: Output: Geo-Regular Algorithm n,m,k,b a k-sat instance with n variables and m clauses bag = for v = 1 to n do bag = bag {P(v;B,n) k m 2 copies of v} bag = bag {P(v;B,n) k m 2 copies of v} endfor repeat F = for i = 1 to m do C i = random multiset of k literals from bag bag = bag \ C i F = F {C i } until F does not contain tautologies or simplifiable clauses Random SAT Instances a la Carte p.11

17 Percentage of unsat vs. clause/variable % unsatisfiable 50 geometric % unsatisfiable 50 geo-regular 25 b=1 b=2 b=4 b=8 b=16 25 b=1 b=2 b=4 b=8 b= clause/420 ratio clause/300 ratio Random SAT Instances a la Carte p.12

18 Phase transition point as a function of b 4.5 geometric geo-regular clause/variable ratio at crossover point b Random SAT Instances a la Carte p.13

19 Strahler vs. number of variables b=1 b=2 b=4 b=8 b=16 geometric 15 b=1 b=2 b=4 b=8 b=16 geo-regular strahler strahler variables variables Random SAT Instances a la Carte p.14

20 Strahler/vars vs. vars geometric b=1 b=2 b=4 b=8 b=16 geo-regular b=1 b=2 b=4 b=8 b= strahler/variable 0.03 strahler/variable variables variables Random SAT Instances a la Carte p.15

21 Strahler/vars vs. as a function of b geo-reg, n=300 geometric, variable= strahler/n b Random SAT Instances a la Carte p.16

22 Powerlaw distribution Recent Progress Have phase transition point For α = 0.75 we get m/n = 2.87 We get Strahler/vars 0.59% for vars 2000 therefore problems are easy We have studied the quotient time needed by minisat time needed by kcnfs For geometric distr. the quotient is bigger than 1 (even for big b) For powerlaw distr. the quotient is smaller than 1 for b=0.75 Random SAT Instances a la Carte p.17

Mapping CSP into Many-Valued SAT

Mapping CSP into Many-Valued SAT Mapping CSP into Many-Valued SAT Carlos Ansótegui 1,María Luisa Bonet 2,JordiLevy 3, and Felip Manyà 1 1 Universitat de Lleida (DIEI, UdL) 2 Universitat Politècnica de Catalunya (LSI, UPC) 3 Artificial

More information

Boolean Functions (Formulas) and Propositional Logic

Boolean 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 information

Structure Features for SAT Instances Classification

Structure Features for SAT Instances Classification Structure Features for SAT Instances Classification Carlos Ansótegui a, Maria Luisa Bonet b, Jesús Giráldez-Cru c, Jordi Levy c a Universitat de Lleida (DIEI, UdL) b Universitat Politècnica de Catalunya

More information

Nina Narodytska Samsung Research/CMU

Nina Narodytska Samsung Research/CMU Recent trends in MaxSAT solving Nina Narodytska Samsung Research/CMU Outline 1. Boolean satisfiability 2. Boolean (un)satisfiability (MaxSAT) 3. Counting (un)satisfiability 2 Outline Boolean satisfiability

More information

Foundations 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 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 information

On the implementation of a multiple output algorithm for defeasible argumentation

On the implementation of a multiple output algorithm for defeasible argumentation On the implementation of a multiple output algorithm for defeasible argumentation Teresa Alsinet 1, Ramón Béjar 1, Lluis Godo 2, and Francesc Guitart 1 1 Department of Computer Science University of Lleida

More information

EECS 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 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 information

Seminar decision procedures: Certification of SAT and unsat proofs

Seminar decision procedures: Certification of SAT and unsat proofs Seminar decision procedures: Certification of SAT and unsat proofs Wolfgang Nicka Technische Universität München June 14, 2016 Boolean satisfiability problem Term The boolean satisfiability problem (SAT)

More information

CS-E3200 Discrete Models and Search

CS-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 information

Integrating a SAT Solver with Isabelle/HOL

Integrating a SAT Solver with Isabelle/HOL Integrating a SAT Solver with / Tjark Weber (joint work with Alwen Tiu et al.) webertj@in.tum.de First Munich-Nancy Workshop on Decision Procedures for Theorem Provers March 6th & 7th, 2006 Integrating

More information

EECS 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 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

4.1 Review - the DPLL procedure

4.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 information

March dl: Adding Adaptive Heuristics and a New Branching Strategy

March dl: Adding Adaptive Heuristics and a New Branching Strategy Journal on Satisfiability, Boolean Modeling and Computation 2 (2006) 47-59 March dl: Adding Adaptive Heuristics and a New Branching Strategy Marijn J.H. Heule m.j.h.heule@ewi.tudelft.nl Hans van Maaren

More information

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

Satisfiability. 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 information

The implementation is written in Python, instructions on how to run it are given in the last section.

The implementation is written in Python, instructions on how to run it are given in the last section. Algorithm I chose to code a version of the WALKSAT algorithm. This algorithm is based on the one presented in Russell and Norvig p226, copied here for simplicity: function WALKSAT(clauses max-flips) returns

More information

Lookahead Saturation with Restriction for SAT

Lookahead Saturation with Restriction for SAT Lookahead Saturation with Restriction for SAT Anbulagan 1 and John Slaney 1,2 1 Logic and Computation Program, National ICT Australia Ltd., Canberra, Australia 2 Computer Sciences Laboratory, Australian

More information

Formally Certified Satisfiability Solving

Formally Certified Satisfiability Solving SAT/SMT Proof Checking Verifying SAT Solver Code Future Work Computer Science, The University of Iowa, USA April 23, 2012 Seoul National University SAT/SMT Proof Checking Verifying SAT Solver Code Future

More information

Learning a SAT Solver from Single-

Learning a SAT Solver from Single- Learning a SAT Solver from Single- Bit Supervision Daniel Selsman, Matthew Lamm, Benedikt Bunz, Percy Liang, Leonardo de Moura and David L. Dill Presented By Aditya Sanghi Overview NeuroSAT Background:

More information

SAT Solver Heuristics

SAT 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 information

versat: A Verified Modern SAT Solver

versat: A Verified Modern SAT Solver Computer Science, The University of Iowa, USA Satisfiability Problem (SAT) Is there a model for the given propositional formula? Model: assignments to the variables that makes the formula true. SAT if

More information

Chapter 2 PRELIMINARIES

Chapter 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 information

Decision 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. 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 information

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

An Improved Separation of Regular Resolution from Pool Resolution and Clause Learning 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

More information

Postponing Optimization to Speed Up MAXSAT Solving

Postponing Optimization to Speed Up MAXSAT Solving Postponing Optimization to Speed Up MAXSAT Solving Jessica Davies 1 and Fahiem Bacchus 2 1 MIAT, UR 875, INRA, F-31326 Castanet-Tolosan, France jessica.davies@toulouse.inra.fr 2 Department of Computer

More information

Circuit versus CNF Reasoning for Equivalence Checking

Circuit versus CNF Reasoning for Equivalence Checking Circuit versus CNF Reasoning for Equivalence Checking Armin Biere Institute for Formal Models and Verification Johannes Kepler University Linz, Austria Equivalence Checking Workshop 25 Madonna di Campiglio,

More information

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

CDCL SAT Solvers. Joao Marques-Silva. Theory and Practice of SAT Solving Dagstuhl Workshop. April INESC-ID, IST, ULisbon, Portugal CDCL SAT Solvers Joao Marques-Silva INESC-ID, IST, ULisbon, Portugal Theory and Practice of SAT Solving Dagstuhl Workshop April 2015 The Success of SAT Well-known NP-complete decision problem [C71] The

More information

Where Can We Draw The Line?

Where Can We Draw The Line? Where Can We Draw The Line? On the Hardness of Satisfiability Problems Complexity 1 Introduction Objectives: To show variants of SAT and check if they are NP-hard Overview: Known results 2SAT Max2SAT Complexity

More information

WalkSAT: Solving Boolean Satisfiability via Stochastic Search

WalkSAT: Solving Boolean Satisfiability via Stochastic Search WalkSAT: Solving Boolean Satisfiability via Stochastic Search Connor Adsit cda8519@rit.edu Kevin Bradley kmb3398@rit.edu December 10, 2014 Christian Heinrich cah2792@rit.edu Contents 1 Overview 1 2 Research

More information

Linear Time Unit Propagation, Horn-SAT and 2-SAT

Linear Time Unit Propagation, Horn-SAT and 2-SAT Notes on Satisfiability-Based Problem Solving Linear Time Unit Propagation, Horn-SAT and 2-SAT David Mitchell mitchell@cs.sfu.ca September 25, 2013 This is a preliminary draft of these notes. Please do

More information

vs. state-space search Algorithm A Algorithm B Illustration 1 Introduction 2 SAT planning 3 Algorithm S 4 Experimentation 5 Algorithms 6 Experiments

vs. state-space search Algorithm A Algorithm B Illustration 1 Introduction 2 SAT planning 3 Algorithm S 4 Experimentation 5 Algorithms 6 Experiments 1 2 vs. state-space search 3 4 5 Algorithm A Algorithm B Illustration 6 7 Evaluation Strategies for Planning as Satisfiability Jussi Rintanen Albert-Ludwigs-Universität Freiburg, Germany August 26, ECAI

More information

SAT Solver. CS 680 Formal Methods Jeremy Johnson

SAT 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 information

Lingeling Essentials POS 2014

Lingeling Essentials POS 2014 Lingeling Essentials Design and Implementation Aspects Armin Biere Johannes Kepler University Linz, Austria POS 2014 5th Workshop on Pragmatics of SAT 2014 SAT 2014 / FLoC 2014 Vienna Summer of Logic Vienna,

More information

The Community Structure of SAT Formulas

The Community Structure of SAT Formulas The Community Structure of SAT Formulas Carlos Ansótegui 1, Jesús Giráldez-Cru 2, and Jordi Levy 2 1 DIEI, Univ. de Lleida carlos@diei.udl.cat 2 IIIA-CSIC {jgiraldez,levy}@iiia.csic.es Abstract. The research

More information

Deductive Methods, Bounded Model Checking

Deductive 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 information

Exact Max-SAT solvers for over-constrained problems

Exact Max-SAT solvers for over-constrained problems J Heuristics (2006) 12: 375 392 DOI 10.1007/s10732-006-7234-9 Exact Max-SAT solvers for over-constrained problems Josep Argelich Felip Manyà C Science + Business Media, LLC 2006 Abstract We present a new

More information

NiVER: Non Increasing Variable Elimination Resolution for Preprocessing SAT instances

NiVER: Non Increasing Variable Elimination Resolution for Preprocessing SAT instances NiVER: Non Increasing Variable Elimination Resolution for Preprocessing SAT instances Sathiamoorthy Subbarayan 1 and Dhiraj K Pradhan 2 1 Department of Innovation, IT-University of Copenhagen, Copenhagen,

More information

Design and Results of TANCS-2000 Non-Classical (Modal) Systems Comparison

Design and Results of TANCS-2000 Non-Classical (Modal) Systems Comparison Design and Results of TANCS-2000 Non-Classical (Modal) Systems Comparison Fabio Massacci 1 and Francesco M. Donini 2 1 Dip. di Ingegneria dell Informazione Università di Siena Via Roma 56, 53100 Siena,

More information

Survey Propagation Revisited, or where is all the satisfaction coming from. Lukas Kroc, Ashish Sabharwal, Bart Selman

Survey Propagation Revisited, or where is all the satisfaction coming from. Lukas Kroc, Ashish Sabharwal, Bart Selman Survey Propagation Revisited, or where is all the satisfaction coming from Lukas Kroc, Ashish Sabharwal, Bart Selman Uncertainty in Artificial Intelligence July 2007 1 Talk Outline Introduction What is

More information

Improved Exact Solver for the Weighted Max-SAT Problem

Improved Exact Solver for the Weighted Max-SAT Problem Adrian Faculty of Engineering and Computer Sciences Ulm University Adrian.Kuegel@uni-ulm.de Abstract Many exact Max-SAT solvers use a branch and bound algorithm, where the lower bound is calculated with

More information

SAT 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 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 information

arxiv: v2 [cs.lo] 19 Dec 2015

arxiv: v2 [cs.lo] 19 Dec 2015 Fast Blocked Clause Decomposition with High Quality Jingchao Chen arxiv:1507.00459v2 [cs.lo] 19 Dec 2015 School of Informatics, Donghua University 2999 North Renmin Road, Songjiang District, Shanghai 201620,

More information

CCEHC: An Efficient Local Search Algorithm for Weighted Partial Maximum Satisfiability (Extended Abstract)

CCEHC: An Efficient Local Search Algorithm for Weighted Partial Maximum Satisfiability (Extended Abstract) CCEHC: An Efficient Local Search Algorithm for Weighted Partial Maximum Satisfiability (Extended Abstract) Chuan Luo 1, Shaowei Cai 2, Kaile Su 3, Wenxuan Huang 4 1 Institute of Computing Technology, Chinese

More information

arxiv: v1 [cs.lo] 17 Oct 2013

arxiv: v1 [cs.lo] 17 Oct 2013 Effectiveness of pre- and inprocessing for CDCL-based SAT solving Andreas Wotzlaw, Alexander van der Grinten, and Ewald Speckenmeyer Institut für Informatik, Universität zu Köln, Pohligstr. 1, D-50969

More information

ESE535: Electronic Design Automation CNF. Today CNF. 3-SAT Universal. Problem (A+B+/C)*(/B+D)*(C+/A+/E)

ESE535: Electronic Design Automation CNF. Today CNF. 3-SAT Universal. Problem (A+B+/C)*(/B+D)*(C+/A+/E) ESE535: Electronic Design Automation CNF Day 21: April 21, 2008 Modern SAT Solvers ({z}chaff, GRASP,miniSAT) Conjunctive Normal Form Logical AND of a set of clauses Product of sums Clauses: logical OR

More information

Preprocessing in Pseudo-Boolean Optimization: An Experimental Evaluation

Preprocessing in Pseudo-Boolean Optimization: An Experimental Evaluation Preprocessing in Pseudo-Boolean Optimization: An Experimental Evaluation Ruben Martins Inês Lynce Vasco Manquinho IST/INESC-ID, Technical University of Lisbon, Portugal 20/09/2009 Lisbon, Portugal Motivation

More information

New Encodings of Pseudo-Boolean Constraints into CNF

New Encodings of Pseudo-Boolean Constraints into CNF New Encodings of Pseudo-Boolean Constraints into CNF Olivier Bailleux, Yacine Boufkhad, Olivier Roussel olivier.bailleux@u-bourgogne.fr boufkhad@liafa.jussieu.fr roussel@cril.univ-artois.fr New Encodings

More information

2SAT Andreas Klappenecker

2SAT Andreas Klappenecker 2SAT Andreas Klappenecker The Problem Can we make the following boolean formula true? ( x y) ( y z) (z y)! Terminology A boolean variable is a variable that can be assigned the values true (T) or false

More information

Watching Clauses in Quantified Boolean Formulae

Watching Clauses in Quantified Boolean Formulae Watching Clauses in Quantified Boolean Formulae Andrew G D Rowley University of St. Andrews, Fife, Scotland agdr@dcs.st-and.ac.uk Abstract. I present a way to speed up the detection of pure literals and

More information

BITCOIN MINING IN A SAT FRAMEWORK

BITCOIN 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 information

Improving WPM2 for (Weighted) Partial MaxSAT

Improving WPM2 for (Weighted) Partial MaxSAT Improving WPM2 for (Weighted) Partial MaxSAT Carlos Ansótegui 1, Maria Luisa Bonet 2, Joel Gabàs 1, and Jordi Levy 3 1 DIEI, Univ. de Lleida carlos@diei.udl.cat joel.gabas@diei.udl.cat 2 LSI, UPC bonet@lsi.upc.edu

More information

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

On Proof Systems Behind Efficient SAT Solvers. DoRon B. Motter and Igor L. Markov University of Michigan, Ann Arbor On Proof Systems Behind Efficient SAT Solvers DoRon B. Motter and Igor L. Markov University of Michigan, Ann Arbor Motivation Best complete SAT solvers are based on DLL Runtime (on unsat instances) is

More information

What's the difference between the entailment symbol with the equals vs the entailment symbol with one line? Single turnstile meaning

What's the difference between the entailment symbol with the equals vs the entailment symbol with one line? Single turnstile meaning Propositional connectives, satisfying values, Get expression from venn diagram Definitions (tautology, satisfiability, etc) and basic entailment and arrow rule 3-sat to 2-sat, turning a cnf into arrow

More information

Computational problems. Lecture 2: Combinatorial search and optimisation problems. Computational problems. Examples. Example

Computational problems. Lecture 2: Combinatorial search and optimisation problems. Computational problems. Examples. Example Lecture 2: Combinatorial search and optimisation problems Different types of computational problems Examples of computational problems Relationships between problems Computational properties of different

More information

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch]

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch] NP Completeness Andreas Klappenecker [partially based on slides by Jennifer Welch] Overview We already know the following examples of NPC problems: SAT 3SAT We are going to show that the following are

More information

Using Community Structure to Detect Relevant Learnt Clauses

Using Community Structure to Detect Relevant Learnt Clauses Using Community Structure to Detect Relevant Learnt Clauses Carlos Ansótegui 1, Jesús Giráldez-Cru 2, Jordi Levy 2, and Laurent Simon 3 1 DIEI, Universitat de Lleida carlos@diei.udl.cat 2 Artificial Intelligence

More information

An Analysis and Comparison of Satisfiability Solving Techniques

An Analysis and Comparison of Satisfiability Solving Techniques An Analysis and Comparison of Satisfiability Solving Techniques Ankur Jain, Harsha V. Madhyastha, Craig M. Prince Department of Computer Science and Engineering University of Washington Seattle, WA 98195

More information

Problem-Sensitive Restart Heuristics for the DPLL Procedure

Problem-Sensitive Restart Heuristics for the DPLL Procedure Problem-Sensitive Restart Heuristics for the DPLL Procedure Carsten Sinz and Markus Iser Research Group Verification meets Algorithm Engineering Institute for Theoretical Computer Science University of

More information

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

Satisfiability (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 information

Example: Map coloring

Example: 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 information

Captain Jack: New Variable Selection Heuristics in Local Search for SAT

Captain Jack: New Variable Selection Heuristics in Local Search for SAT Captain Jack: New Variable Selection Heuristics in Local Search for SAT Dave Tompkins, Adrian Balint, Holger Hoos SAT 2011 :: Ann Arbor, Michigan http://www.cs.ubc.ca/research/captain-jack Key Contribution:

More information

Speeding Up the ESG Algorithm

Speeding Up the ESG Algorithm Speeding Up the ESG Algorithm Yousef Kilani 1 and Abdullah. Mohdzin 2 1 Prince Hussein bin Abdullah Information Technology College, Al Al-Bayt University, Jordan 2 Faculty of Information Science and Technology,

More information

Improving Unsatisfiability-based Algorithms for Boolean Optimization

Improving Unsatisfiability-based Algorithms for Boolean Optimization Improving Unsatisfiability-based Algorithms for Boolean Optimization Vasco Manquinho, Ruben Martins, and Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal {vmm,ruben,ines}@sat.inesc-id.pt

More information

Dynamic Variable Filtering for Hard Random 3-SAT Problems

Dynamic Variable Filtering for Hard Random 3-SAT Problems Dynamic Variable Filtering for Hard Random 3-SAT Problems Anbulagan, John Thornton, and Abdul Sattar School of Information Technology Gold Coast Campus, Griffith University PMB 50 Gold Coast Mail Centre,

More information

CS154, Lecture 18: PCPs, Hardness of Approximation, Approximation-Preserving Reductions, Interactive Proofs, Zero-Knowledge, Cold Fusion, Peace in

CS154, Lecture 18: PCPs, Hardness of Approximation, Approximation-Preserving Reductions, Interactive Proofs, Zero-Knowledge, Cold Fusion, Peace in CS154, Lecture 18: PCPs, Hardness of Approximation, Approximation-Preserving Reductions, Interactive Proofs, Zero-Knowledge, Cold Fusion, Peace in the Middle East There are thousands of NP-complete problems

More information

Boolean Satisfiability: The Central Problem of Computation

Boolean Satisfiability: The Central Problem of Computation Boolean Satisfiability: The Central Problem of Computation Peter Kogge SAT Notre Dame CSE 34151: Theory of Computing: Fall 2017 Slide 1 (p. 299) SAT: Boolean Satisfiability wff: well-formed-formula constructed

More information

Improving Glucose for Incremental SAT Solving with Assumptions: Application to MUS Extraction. Gilles Audemard Jean-Marie Lagniez and Laurent Simon

Improving Glucose for Incremental SAT Solving with Assumptions: Application to MUS Extraction. Gilles Audemard Jean-Marie Lagniez and Laurent Simon Improving Glucose for Incremental SAT Solving with Assumptions: Application to MUS Extraction Gilles Audemard Jean-Marie Lagniez and Laurent Simon SAT 2013 Glucose and MUS SAT 2013 1 / 17 Introduction

More information

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

SAT 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 information

of 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

of 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 information

The First and Second Max-SAT Evaluations

The First and Second Max-SAT Evaluations Journal on Satisfiability, Boolean Modeling and Computation 4 (28) 251-278 The First and Second Max-SAT Evaluations Josep Argelich INESC-ID Lisboa Rua Alves Redol 9, 1-29 Lisboa, Portugal Chu-Min Li Université

More information

A Proof Engine Approach to Solving Combinational Design Automation Problems

A Proof Engine Approach to Solving Combinational Design Automation Problems A Proof Engine Approach to Solving Combinational Design Automation Problems Gunnar Andersson, Per Bjesse, Byron Cook Prover Technology {guan,bjesse,byron}@prover.com Ziyad Hanna Intel Corporation ziyad.hanna@intel.com

More information

ABT with Clause Learning for Distributed SAT

ABT 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 information

Normal Forms for Boolean Expressions

Normal 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 information

Parallelizing Partial MUS Enumeration

Parallelizing Partial MUS Enumeration Parallelizing Partial MUS Enumeration Wenting Zhao and Mark Liffiton Department of Computer Science Illinois Wesleyan University {wzhao,mliffito}@iwu.edu http://www.iwu.edu/~mliffito/marco/ ICTAI November

More information

A Lightweight Component Caching Scheme for Satisfiability Solvers

A Lightweight Component Caching Scheme for Satisfiability Solvers A Lightweight Component Caching Scheme for Satisfiability Solvers Knot Pipatsrisawat and Adnan Darwiche {thammakn,darwiche}@cs.ucla.edu Computer Science Department University of California, Los Angeles

More information

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

DPLL(Γ+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 information

From Decimation to Local Search and Back: A New Approach to MaxSAT

From Decimation to Local Search and Back: A New Approach to MaxSAT From Decimation to Local Search and Back: A New Approach to MaxSAT Shaowei Cai 1,2, Chuan Luo 3, Haochen Zhang 1 1 State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences,

More information

Full CNF Encoding: The Counting Constraints Case

Full 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 information

The Impact of Branching Heuristics in Propositional Satisfiability Algorithms

The Impact of Branching Heuristics in Propositional Satisfiability Algorithms The Impact of Branching Heuristics in Propositional Satisfiability Algorithms João Marques-Silva Technical University of Lisbon, IST/INESC, Lisbon, Portugal jpms@inesc.pt URL: http://algos.inesc.pt/~jpms

More information

System Description: iprover An Instantiation-Based Theorem Prover for First-Order Logic

System 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 information

Simple mechanisms for escaping from local optima:

Simple mechanisms for escaping from local optima: The methods we have seen so far are iterative improvement methods, that is, they get stuck in local optima. Simple mechanisms for escaping from local optima: I Restart: re-initialise search whenever a

More information

Algorithms for SAT and k-sat problems

Algorithms for SAT and k-sat problems Algorithms for SAT and k-sat problems On solutions that don t require bounded treewidth Pauli Miettinen Pauli.Miettinen@cs.Helsinki.FI Department of Computer Science - p. 1/23 - p. 2/23 Problem definitions

More information

Resolution and Clause Learning for Multi-Valued CNF

Resolution and Clause Learning for Multi-Valued CNF Resolution and Clause Learning for Multi-Valued CNF David Mitchell mitchell@cs.sfu.ca Simon Fraser University Abstract. Conflict-directed clause learning (CDCL) is the basis of SAT solvers with impressive

More information

Parallel Search for Boolean Optimization

Parallel Search for Boolean Optimization Parallel Search for Boolean Optimization Ruben Martins, Vasco Manquinho, and Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal {ruben,vmm,ines}@sat.inesc-id.pt Abstract. The predominance

More information

Improving Coq Propositional Reasoning Using a Lazy CNF Conversion

Improving 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 information

Preprocessing in Incremental SAT

Preprocessing in Incremental SAT Preprocessing in Incremental SAT Alexander Nadel 1 Vadim Rivchyn 1,2 Ofer Strichman 2 alexander.nadel@intel.com rvadim@tx.technion.ac.il ofers@ie.technion.ac.il 1 Design Technology Solutions Group, Intel

More information

Blocked Literals are Universal

Blocked Literals are Universal Blocked Literals are Universal Marijn J.H. Heule 1, Martina Seidl 2, and Armin Biere 2 1 Department of Computer Science, The University of Texas at Austin, USA marijn@cs.utexas.edu 2 Institute for Formal

More information

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

Symbolic 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 information

Symbolic and Concolic Execution of Programs

Symbolic and Concolic Execution of Programs Symbolic and Concolic Execution of Programs Information Security, CS 526 Omar Chowdhury 10/7/2015 Information Security, CS 526 1 Reading for this lecture Symbolic execution and program testing - James

More information

18733: Applied Cryptography S17. Mini Project. due April 19, 2017, 11:59pm EST. φ(x) := (x > 5) (x < 10)

18733: Applied Cryptography S17. Mini Project. due April 19, 2017, 11:59pm EST. φ(x) := (x > 5) (x < 10) 18733: Applied Cryptography S17 Mini Project due April 19, 2017, 11:59pm EST 1 SMT Solvers 1.1 Satisfiability Modulo Theory SMT (Satisfiability Modulo Theories) is a decision problem for logical formulas

More information

1 Definition of Reduction

1 Definition of Reduction 1 Definition of Reduction Problem A is reducible, or more technically Turing reducible, to problem B, denoted A B if there a main program M to solve problem A that lacks only a procedure to solve problem

More information

Chapter 27. Other Approaches to Reasoning and Representation

Chapter 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 information

SAT Solvers in the Context of Cryptography

SAT Solvers in the Context of Cryptography SAT Solvers in the Context of Cryptography v2.0 Presentation at Montpellier Mate Soos UPMC LIP6, PLANETE team INRIA, SALSA Team INRIA 10th of June 2010 Mate Soos (UPMC LIP6, PLANETE team SAT INRIA, solvers

More information

Chapter 5 USING PROBLEM STRUCTURE FOR EFFICIENT CLAUSE LEARNING

Chapter 5 USING PROBLEM STRUCTURE FOR EFFICIENT CLAUSE LEARNING 78 Chapter 5 USING PROBLEM STRUCTURE FOR EFFICIENT CLAUSE LEARNING Given the results about the strengths and limitations of clause learning in Chapter 4, it is natural to ask how the understanding we gain

More information

Learning Techniques for Pseudo-Boolean Solving and Optimization

Learning 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 information

Fixed-Parameter Algorithm for 2-CNF Deletion Problem

Fixed-Parameter Algorithm for 2-CNF Deletion Problem Fixed-Parameter Algorithm for 2-CNF Deletion Problem Igor Razgon Igor Razgon Computer Science Department University College Cork Ireland A brief introduction to the area of fixed-parameter algorithms 2

More information

C N O S N T S RA R INT N - T BA B SE S D E L O L C O A C L S E S A E RC R H

C N O S N T S RA R INT N - T BA B SE S D E L O L C O A C L S E S A E RC R H LECTURE 11 & 12 CONSTRAINT-BASED LOCAL SEARCH Constraint-based Local Search Problem given in CSP form : a set of variables V={V1, V2,, Vn} a set of constraints C={C1, C2,, Ck} i.e. arithmetic or symbolic

More information

MajorSat: A SAT Solver to Majority Logic

MajorSat: A SAT Solver to Majority Logic MajorSat: A SAT Solver to Majority Logic Speaker : Ching-Yi Huang Authors: Yu-Min Chou, Yung-Chih Chen *, Chun-Yao Wang, Ching-Yi Huang National Tsing Hua University, Taiwan * Yuan Ze University, Taiwan

More information

On the Resolution Complexity of Graph non-isomorphism

On the Resolution Complexity of Graph non-isomorphism On the Resolution Complexity of Graph non-isomorphism Jacobo Torán Institut für Theoretische Informatik Universität Ulm Oberer Eselsberg D-89069 Ulm, Germany jacobo.toran@uni-ulm.de Abstract For a pair

More information

Randomness and Computation March 25, Lecture 5

Randomness and Computation March 25, Lecture 5 0368.463 Randomness and Computation March 25, 2009 Lecturer: Ronitt Rubinfeld Lecture 5 Scribe: Inbal Marhaim, Naama Ben-Aroya Today Uniform generation of DNF satisfying assignments Uniform generation

More information

Andrew Reynolds Liana Hadarean

Andrew Reynolds Liana Hadarean 425,7 3!7441$ 89028147 30,7 #0, 7 9 209.&8 3 $ Andrew Reynolds Liana Hadarean July 15, 2010 1 . 34 0/ 020398 University of Iowa Andrew Reynolds, Cesare Tinelli, Aaron Stump Liana Hadarean, Yeting Ge, Clark

More information