Approximate Counting CSPs Hunt for Galois Connection

Size: px
Start display at page:

Download "Approximate Counting CSPs Hunt for Galois Connection"

Transcription

1 Approximate Counting CSPs Hunt for Galois Connection Andrei A. Bulatov Simon Fraser University La Trobe University 203

2 2/36 Constraint Satisfaction Problem Decision: Given a conjunctive formula R decide if it is satisfiable ( 2 x y) R ( z, ) K Counting: Given a conjunctive formula R ( 2 x y) R ( z, ) K find the number of satisfying assignments If all relations are from set Γ, the problem is denoted CSP(Γ), #CSP(Γ)

3 3 / 36 Examples: #SAT, Linear Equations #3-SAT: = #CSP( C 3 ) Instance: A propositional formula Φ= C K C n in 3-CNF. Objective: How many satisfying assignments are there? #Linear Equations: Instance: A system of linear equations a a n x x + K + a L + K + a m nm x x m m = = b b n = #CSP( F ) Objective: How many solutions are there?

4 4/36 CSP and Galois Connection For a relation R an n-ary operation f on the same set is a r r r polymorphism of R if for any a a K, a R, 2, r r r f a, a, K, an ) R ( 2 n f is a polymorphism of Γ if it is a polymorphism of every relation from Γ Theorem (Jeavons; 998) Let Γ and be constraint languages on a set D such that every polymorphism of Γ is also polymorphism of. Then CSP( ) is poly time reducible to CSP(Γ).

5 5/36 More CSPs, More Galois Connections CSP usual polymorphisms QCSP surjective operations CSPs with global const. usual polymorphisms (almost) Counting usual polymorphisms Optimization multi-morphisms fractional polymorphisms weighted polymorphisms

6 6/36 More CSPs, More Galois Connections Approximate optimization fractional polymorphisms 2 QCSP + disjunction surjective hyperoperations Approximate counting????

7 7/36 Outline How Galois connection works Galois connection for counting Partition functions and `Galois connection

8 8/36 How It Works Suppose we have a CSP R ( z, x) R2 ( y) K First rewrite it as follows: Is the sentence y, zkr ( z, x) R2( y) K true? Now suppose that has a `definition Then we can substitute and transform R 2 R2( y) = t Q( t) Q( t, y) y, zkr ( z, x) ( t Q( t) Q( t, y)) K y, z, tkr ( z, x) Q( t) Q( t, y) K Therefore CSP({ R, R2, K}) CSP({ R, Q, R3, K })

9 9/36 How It Works 2 Relation R is pp-definable in Γ if R( x) = y Φ( y), where Φ is a conjunctive formula using relations from Γ is pp-definable in Γ if every its relation is. Theorem (Jeavons; 998) Let Γ and be constraint languages on a set D such that is pp-definable in Γ. Then CSP( ) is poly time reducible to CSP(Γ). r r r r

10 0/36 How It Works 3 Galois Correspondence (Geiger, 968; BKKR, 970; ) Let Γ and be constraint languages on a set D. Then is pp-definable in Γ if and only if every polymorphism of Γ is also a polymorphism of.

11 /36 More Galois Connections conjunctive formulas (no quantifiers) -formulas -formulas partial operations works for any kind of CSP surjective operations works for QCSP unary functions More complicated for fractional polymorphisms, multimorphisms, etc.

12 2/36 G.C. for Counting CSPs Suppose we have a #CSP R z, We cannot rewrite as a sentence Suppose that has a `definition R 2 Then we substitute and transform This is not a counting CSP R ( 2 y x) R ( ) K x y, zkr ( z, x) R ( ) K, 2 y R2( y) = t Q( t) Q( t, y) ( z, x) ( t Q( t) Q( t, )) K y tkr ( z, x) Q( t) Q( t, ) K y

13 3/36 G.C. for Counting CSPs 2 Theorem (B.,Dalmau; 2003) Let Γ and be constraint languages on a set D such that is pp-definable in Γ. Then #CSP( ) is poly time reducible to #CSP(Γ). Reduction is through interpolation

14 4/36 Approximate Counting Algorithm Alg is an ε-approximation algorithm for a counting CSP if it is polynomial time and for any instance P of the problem it outputs number Alg(P) such that # P Alg( P) # P < ε Alg is said to be an FPRAS if take P and ε as input and returns number Alg(P) satisfying the condition above in time polynomial in P and /ε AP-reductions are reductions that preserve approximation

15 5/36 AP-Reductions Definitions by conjunctive formulas are AP-reductions If has a definition R( y, t) = Q( t) Q( t, y), then R 2 CSP({ R}) CSP({ Q}) However, interpolation is not an NP-reduction Moreover, the usual Galois connection does not work for APreductions

16 6/36 Example Let R be the following ternary relation R = and Q = 0 0 I claim CSP({ Q}) CSP({ R}) AP k 2 Algorithm: - Insert k R s for each S - Solve the problem - Divide by (2 k ) s and round down

17 7/36 Max-Quantifiers and AP-Reductions Let Φ( x, K, xn, y, K, ym ) be a conjunctive formula in language Γ, and for an assignment ϕ to x, K, x n let #ϕ denote the number of extensions of ϕ that satisfy Φ. Let M be the maximum of these values. We say that Φ is a max-implementation of R if ϕ ( x r ) R # ϕ = M Theorem (B., Hedayaty, 20) If there is a max-implementation of R in Γ, then #CSP(Γ Γ {R}) is AP-reducible to #CSP(Γ)

18 8/36 Max-Co-Clones We write R( x, K, xn ) = max y, K, ymφ( x, K, xn, y, K, y The max-co-clone Γ of a constraint language Γ consists of all relations that can be expressed using: Relations in Γ The equality relation Conjunction Max-quantification m Problem: Find a Galois correspondence for max-co-clones )

19 9/36 Co-Clones all relations self complement upsets affine downsets =, trivial monotone

20 20/36 Boolean Approximate Counting Theorem (Dyer,Goldberg,Jerrum, 2007) Let Γ be a constraint language over {0,}. Then either #CSP(Γ) is solvable in polynomial time; or it is as hard to approximate as #BIS; or it is as hard to approximate as #SAT.

21 2/36 G.C. for Max-Quantification Problem: Find a Galois correspondence for max-co-clones In the Boolean case every max-co-clone is a regular co-clone It is not the case for larger sets Every max-co-clone is a partial co-clone Therefore G.C. should be with some class of partial functions What class??

22 22/36 What We Would Like To Separate with G.C. Bipartite #k-coloring : Input. A bipartite graph Objective. Find the number of its k-colorings It is believed that the hierarchy FPRAS Bip-3-Col Bip-5-Col Bip-7-Col is strict

23 23/36 k-existential Quantifiers If Φ is a formula with free variables x, K, x n and y, a tuple, satisfies a K,a n Ψ( x, K, xn ) = k yφ( x, K, xn, y) iff Φ( a, K, a, b) is true for at least k values b. n = If D = k then k = The k-existential co-clone Γ k, k Nof Γ consists of all relations definable from Γ and equality by conjunction and k-existential quantifier

24 24/36 K-Surjective Operations A (partial) operation f : D n D is said to be k-surjective if for any A, K, An D with A = = A n = k the set f A, contains at least k elements K K, A ) ( n For a constraint language Γ and a set k N, the set of all k-surjective polymorphisms of Γ is denoted by m(k)-pol(γ) Theorem (B.,Hedayaty; 202) For any constraint language Γ, for any k N, Inv( m( k) Pol( Γ)) = Γ k

25 25 / 36 Weighted #CSP Γ is a set of functions f: D R (natural, real, complex) Instance of #CSP(Γ): R ( 2 x y) R ( z, ) K f y) f ( z, ) ( 2 x K Given an instance I the weight of a mapping σ: V D is computed as w σ ) = f ( σ ( x), σ ( y)) f ( σ ( z), σ ( x), σ ( )) K ( 2 x Then Z( I ) = σ: V D w( σ )

26 26 / 36 Counting Problems: Fourier Coefficients Let f :{0, } R be a function and Fourier coefficient n + S = { i, K, ik} {, K, n} fˆ( S) = 2 n fˆ ( S) x, K, x is given by n f ( x n {0,}, K, x n )( ) x i + L+ x i k

27 27 / 36 ω-clones We can define ω-clones similar to co-clones: - becomes product - becomes summation - also add a `trivial operation of multiplying by a constant Γ denotes the set of all functions that can be obtained from Γ applying the operations above Limits: R R for = lim R, R2,K Γ i i

28 28 / 36 Functional Clones 2 A set of functions closed under multiplication by a constant, products, summation, and limits is said to be an ω-clone The ω-clone generated by a set of functions Γ is denoted Γ Theorem (B.,Dyer,Goldberg,Jerrum; 20) If Γ Γ is finite then #CSP(Γ ) #CSP(Γ) AP

29 29 / 36 Log Supermodular Functions Question 2: Any `morphisms for ω-clones? n + A function f :{0, } R is said to be log supermodular if for n any x r, y r {0, } r r v r r r f ( x) f ( y) f ( x y) f ( x y) Lemma LSM is an ω-clone

30 30 / 36 Log Supermodular Functions 2 Theorem Let Γ be a set of functions n + f : {0,} R containing all nonnegative unary functions. Then either Γ is trivial, or it is ω LSM, or it is the set of all functions on {0,} LSM IMP All functions Trivial functions Very trivial functions

31 3 / 36 Multi Morphisms A k-tuple of k-ary operations ( g, K, g k ), g i :{0,} {0,}, is said to be a multimorphism of function f if for any x, K, xn, K, x kn {0,} k f ( x, K, xn ) K f ( xk, K, x kn ) f g ( x, K, x ), K, g ( x, K, x )) K ( k n kn f ( g ( x, K, xk), K, g( x, K, x n kn Log supermodularity is equivalent to (, ) multimorphism Do multimorphisms preserve products, summation, and limit? ))

32 32 / 36 Multi Morphisms 2 No example of a multimorphism that does not Threshold multimorphism g, K, g ) : ( k g ( x, K, ) = i x k iff at least i arguments equal Preserves products, summation, limit, because f has a threshold multimorphism iff it is log supermodular No direct proof

33 33 / 36 Fourier Coefficients Revisited n Let f :{0, } R be a function and S = { i, K, ik} {, K, n} ˆ S Fourier coefficient f ( ) is given by fˆ( S) = 2 n x, K, x n f ( x n {0,}, K, x ) ( ) + L+ x Let y r S denote tuple with yi = if i S and y otherwise Fourier transform of f is function given by fˆ ( y r i = 0 fˆ S ) = fˆ( S) n x i ik

34 Fourier Coefficients vs Products and Summation 34 / 36 Summation: Let f ( x, K, x, y) be a function and Then g( x, K, xn ) = f ( x, K, xn,0) + f ( x, K, x r r gˆ ( x) = fˆ( 0) n n,) Product: Convolution Theorem. = {,} ( +)

35 35 / 36 ω-clones and Fourier Transform r Let f ( x) = f ( x) and Let C be the set of functions f such that is nonnegative r f * r ( x) = r f ( x) r f ( x) Theorem (McQuillan,Dyer; 20) C is a ω-clone C LSM IMP All functions Trivial functions Very trivial functions

36 Thank you!

Counting Quantifiers, Subset Surjective Functions, and Counting CSPs

Counting Quantifiers, Subset Surjective Functions, and Counting CSPs Counting Quantifiers, Subset Surjective Functions, and Counting CSPs Andrei A. Bulatov, Amir Hedayaty Simon Fraser University ISMVL 2012, Victoria, BC 2/19 Clones, Galois Correspondences, and CSPs Clones

More information

Counting quantifiers, subset surjective functions, and counting CSPs

Counting quantifiers, subset surjective functions, and counting CSPs Counting quantifiers, subset surjective functions, and counting CSPs Andrei A. Bulatov Amir Hedayaty 1 Abstract We introduce a new type of closure operator on the set of relations, max-implementation,

More information

Bernhard Nebel, Julien Hué, and Stefan Wölfl. June 27 & July 2/4, 2012

Bernhard Nebel, Julien Hué, and Stefan Wölfl. June 27 & July 2/4, 2012 Bernhard Nebel, Julien Hué, and Stefan Wölfl Albert-Ludwigs-Universität Freiburg June 27 & July 2/4, 2012 vs. complexity For some restricted constraint languages we know some polynomial time algorithms

More information

CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS

CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS ANDREI BULATOV, PETER JEAVONS, AND ANDREI KROKHIN Abstract. Many natural combinatorial problems can be expressed as constraint satisfaction

More information

CSP, Algebras, Varieties. Andrei A. Bulatov Simon Fraser University

CSP, Algebras, Varieties. Andrei A. Bulatov Simon Fraser University CSP Algebras Varieties Andrei A. Bulatov Simon Fraser University CSP Reminder An instance o CSP is deined to be a pair o relational structures A and B over the same vocabulary τ. Does there exist a homomorphism

More information

Galois correspondence for counting quantifiers

Galois correspondence for counting quantifiers Galois correspondence for counting quantifiers ANDREI A. BULATOV 1, AMIR HEDAYATY 1 Simon Fraser University We introduce a new type of closure operator on the set of relations, max-implementation, and

More information

The Complexity of Approximating Small Degree Boolean #CSP

The Complexity of Approximating Small Degree Boolean #CSP The Complexity of Approximating Small Degree Boolean #CSP Pinyan Lu, ITCS@SUFE Institute for Theoretical Computer Science Shanghai University of Finance and Economics Counting CSP F (Γ) is a family of

More information

Counting problems and clones of functions

Counting problems and clones of functions Counting problems and clones of functions Andrei A. Bulatov and Amir Hedayaty Simon Fraser University, abulatov@cs.sfu.ca, hedayaty@gmail.com Abstract. Counting solutions of various combinatorial problems

More information

Topological clones. Michael Pinsker. Technische Universität Wien / Univerzita Karlova v Praze. Funded by Austrian Science Fund (FWF) grant P27600

Topological clones. Michael Pinsker. Technische Universität Wien / Univerzita Karlova v Praze. Funded by Austrian Science Fund (FWF) grant P27600 Technische Universität Wien / Univerzita Karlova v Praze Funded by Austrian Science Fund (FWF) grant P27600 TACL 2015 Outline I: Algebras, function clones, abstract clones, Birkhoff s theorem II:, Topological

More information

Constraint satisfaction problems over infinite domains

Constraint satisfaction problems over infinite domains Constraint satisfaction problems over infinite domains Michael Kompatscher, Trung Van Pham Theory and Logic Group TU Wien Research Seminar, 27/04/2016 Schaefer s theorem Let Φ be a set of propositional

More information

The Complexity of Constraint Satisfaction Games and QCSP

The Complexity of Constraint Satisfaction Games and QCSP The Complexity of Constraint Satisfaction Games and QCSP Ferdinand Börner Institut für Informatik University of Potsdam Potsdam, D-14482, Germany fboerner@rz.uni-potsdam.de Hubie Chen Department of Technology

More information

Complexity of conservative Constraint Satisfaction Problems

Complexity of conservative Constraint Satisfaction Problems Complexity of conservative Constraint Satisfaction Problems ANDREI A. BULATOV Simon Fraser University In a constraint satisfaction problem (CSP) the aim is to find an assignment of values to a given set

More information

The complexity of constraint satisfaction: an algebraic approach

The complexity of constraint satisfaction: an algebraic approach The complexity of constraint satisfaction: an algebraic approach Andrei KROKHIN Department of Computer Science University of Durham Durham, DH1 3LE UK Andrei BULATOV School of Computer Science Simon Fraser

More information

arxiv: v5 [cs.cc] 17 May 2015

arxiv: v5 [cs.cc] 17 May 2015 SCHAEFER S THEOREM FOR GRAPHS MANUEL BODIRSKY AND MICHAEL PINSKER arxiv:1011.2894v5 [cs.cc] 17 May 2015 Abstract. Schaefer s theorem is a complexity classification result for so-called Boolean constraint

More information

Quantified Equality Constraints

Quantified Equality Constraints Quantified Equality Constraints Manuel Bodirsky Institut für Informatik Humboldt-Universität zu Berlin, Germany bodirsky@informatik.hu-berlin.de Hubie Chen Departament de Tecnologies de la Informació i

More information

arxiv: v2 [cs.cc] 2 Oct 2011

arxiv: v2 [cs.cc] 2 Oct 2011 SCHAEFER S THEOREM FOR GRAPHS MANUEL BODIRSKY AND MICHAEL PINSKER arxiv:1011.2894v2 [cs.cc] 2 Oct 2011 Abstract. Schaefer s theorem is a complexity classification result for so-called Boolean constraint

More information

International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory

International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory 20-24 March 2006 St Anne's College, University of Oxford www.comlab.ox.ac.uk/mathscsp Constraints & Algebra

More information

Schaefer s theorem for graphs

Schaefer s theorem for graphs Schaefer s theorem for graphs Manuel Bodirsky Laboratoire d Informatique (LIX), CNRS UMR 7161 École Polytechnique 91128 Palaiseau, France bodirsky@lix.polytechnique.fr Michael Pinsker Équipe de Logique

More information

Precise Upper and Lower bounds for the Monotone Constraint Satisfaction Problem

Precise Upper and Lower bounds for the Monotone Constraint Satisfaction Problem Precise Upper and Lower bounds for the Monotone Constraint Satisfaction Problem Victor Lagerkvist 1 Department of Computer and Information Science, Linköping University, Sweden victor.lagerkvist@liu.se

More information

Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems

Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems Manuel Bodirsky Institut für Informatik Humboldt-Universität zu Berlin May 2007 CSPs over infinite domains (May 2007)

More information

Promise constraint satisfaction

Promise constraint satisfaction Promise constraint satisfaction Jakub Opršal (TU Dresden) Joint work with Jakub Bulín, Andrei Krokhin, and others Krkonoše, Sep 4, 2018 This project has received funding from the European Research Council

More information

arxiv:cs/ v1 [cs.cc] 13 Jun 2006

arxiv:cs/ v1 [cs.cc] 13 Jun 2006 Approximability of Bounded Occurrence Max Ones Fredrik Kuivinen Department of Computer and Information Science, Linköpings Universitet, S-581 83 Linköping, Sweden, freku@ida.liu.se ariv:cs/0606057v1 [cs.cc]

More information

Schaefer s theorem for graphs

Schaefer s theorem for graphs Schaefer s theorem for graphs Manuel Bodirsky Laboratoire d Informatique (LIX), CNRS UMR 7161 École Polytechnique 91128 Palaiseau, France bodirsky@lix.polytechnique.fr Michael Pinsker Équipe de Logique

More information

MAX ONES GENERALISED TO LARGER DOMAINS

MAX ONES GENERALISED TO LARGER DOMAINS MAX ONES GENERALISED TO LARGER DOMAINS PETER JONSSON, FREDRIK KUIVINEN, AND GUSTAV NORDH Abstract. We study a family of problems, called Maximum Solution, where the objective is to maximise a linear goal

More information

The complexity of approximating conservative counting CSPs

The complexity of approximating conservative counting CSPs The complexity of approximating conservative counting CSPs Xi Chen 1, Martin Dyer 2, Leslie Ann Goldberg 3, Mark Jerrum 4, Pinyan Lu 5, Colin McQuillan 3, and David Richerby 3 1 Dept. of Comp. Sci., Columbia

More information

Polymorphisms, and How to Use Them

Polymorphisms, and How to Use Them Polymorphisms, and How to Use Them Libor Barto 1, Andrei Krokhin 2, and Ross Willard 3 1 Department of Algebra, Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic libor.barto@gmail.com

More information

Fine Grained Counting Complexity I

Fine Grained Counting Complexity I Fine Grained Counting Complexity I Holger Dell Saarland University and Cluster of Excellence (MMCI) & Simons Institute for the Theory of Computing 1 50 Shades of Fine-Grained #W[1] W[1] fixed-parameter

More information

Datalog and Constraint Satisfaction with Infinite Templates

Datalog and Constraint Satisfaction with Infinite Templates Datalog and Constraint Satisfaction with Infinite Templates Manuel Bodirsky 1 and Víctor Dalmau 2 1 CNRS/LIX, École Polytechnique, bodirsky@lix.polytechnique.fr 2 Universitat Pompeu Fabra, victor.dalmau@upf.edu

More information

The Complexity of Default Logic on Generalized Conjunctive Queries

The Complexity of Default Logic on Generalized Conjunctive Queries The Complexity of Default Logic on Generalized Conjunctive Queries Philippe Chapdelaine 1, Miki Hermann 2, and Ilka Schnoor 3 1 GREYC (UMR 6072), Université de Caen, France. pchapdel@info.unicaen.fr 2

More information

Dualities for Constraint Satisfaction Problems

Dualities for Constraint Satisfaction Problems Dualities for Constraint Satisfaction Problems Andrei Bulatov 1, Andrei Krokhin 2, and Benoit Larose 3 1 School of Computing Science Simon Fraser University Burnaby, BC, Canada, V5A 1S6 abulatov@cs.sfu.ca

More information

Universal algebra for CSP Lecture 2

Universal algebra for CSP Lecture 2 Universal algebra for CSP Lecture 2 Ross Willard University of Waterloo Fields Institute Summer School June 26 30, 2011 Toronto, Canada R. Willard (Waterloo) Universal algebra Fields Institute 2011 1 /

More information

Clonoids and Promise CSP

Clonoids and Promise CSP Clonoids and Promise CSP Jakub Buĺın JKU Linz AAA94 & NSAC 2017 Research supported by University of Colorado Boulder and the Austrian Science Fund (FWF): P29931 In this talk... A more general framework

More information

The Complexity of the Counting CSP

The Complexity of the Counting CSP The Complexity of the Counting CSP Víctor Dalmau Universitat Pompeu Fabra The Complexity of the Counting CSP p.1/23 (Non Uniform) Counting CSP Def: (Homomorphism formulation) Let B be a (finite) structure.

More information

Computational Complexity in Graph Theory

Computational Complexity in Graph Theory Charles University Faculty of Mathematics and Physics Doctoral Thesis Computational Complexity in Graph Theory Jan Kára Department of Applied Mathematics and Institute for Theoretical Computer Science

More information

Bounded width problems and algebras

Bounded width problems and algebras Algebra univers. 56 (2007) 439 466 0002-5240/07/030439 28, published online February 21, 2007 DOI 10.1007/s00012-007-2012-6 c Birkhäuser Verlag, Basel, 2007 Algebra Universalis Bounded width problems and

More information

Polymorphisms, and how to use them

Polymorphisms, and how to use them Polymorphisms, and how to use them Libor Barto 1, Andrei Krokhin 2, and Ross Willard 3 1 Department of Algebra, Faculty of Mathematics and Physics Charles University in Prague, Czech Republic libor.barto@gmail.com

More information

Reading group: proof of the PCP theorem

Reading group: proof of the PCP theorem Reading group: proof of the PCP theorem 1 The PCP Theorem The usual formulation of the PCP theorem is equivalent to: Theorem 1. There exists a finite constraint language A such that the following problem

More information

Lecture 16: Constraint Satisfaction Problems

Lecture 16: Constraint Satisfaction Problems A Theorist s Toolkit (CMU 18-859T, Fall 2013) Lecture 16: Constraint Satisfaction Problems 10/30/2013 Lecturer: Ryan O Donnell Scribe: Neal Barcelo 1 Max-Cut SDP Approximation Recall the Max-Cut problem

More information

Proof Complexity Meets Algebra

Proof Complexity Meets Algebra ICALP 17, Warsaw 11th July 2017 (CSP problem) P 3-COL S resolution (proof system) Proofs in S of the fact that an instance of P is unsatisfiable. Resolution proofs of a graph being not 3-colorable. Standard

More information

NP-Complete Reductions 2

NP-Complete Reductions 2 x 1 x 1 x 2 x 2 x 3 x 3 x 4 x 4 12 22 32 CS 447 11 13 21 23 31 33 Algorithms NP-Complete Reductions 2 Prof. Gregory Provan Department of Computer Science University College Cork 1 Lecture Outline NP-Complete

More information

Tecniche di Verifica. Introduction to Propositional Logic

Tecniche di Verifica. Introduction to Propositional Logic Tecniche di Verifica Introduction to Propositional Logic 1 Logic A formal logic is defined by its syntax and semantics. Syntax An alphabet is a set of symbols. A finite sequence of these symbols is called

More information

Finer complexity of Constraint Satisfaction Problems with Maltsev Templates

Finer complexity of Constraint Satisfaction Problems with Maltsev Templates Finer complexity of Constraint Satisfaction Problems with Maltsev Templates Dejan Delic Department of Mathematics Ryerson University Toronto, Canada joint work with A. Habte (Ryerson University) May 24,

More information

Enumerating Homomorphisms

Enumerating Homomorphisms Enumerating Homomorphisms Andrei A. Bulatov School of Computing Science, Simon Fraser University, Burnaby, Canada Víctor Dalmau 1, Department of Information and Communication Technologies, Universitat

More information

Essential facts about NP-completeness:

Essential facts about NP-completeness: CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions

More information

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013 Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of

More information

Testing Expressibility is Hard

Testing Expressibility is Hard Testing Expressibility is Hard Ross Willard Pure Mathematics Department University of Waterloo Waterloo, Ontario N2L 3G1 Canada http://www.math.uwaterloo.ca/~rdwillar Abstract. We study the expressibility

More information

Weak bases of Boolean co-clones

Weak bases of Boolean co-clones Weak bases of Boolean co-clones Victor Lagerkvist Linköping University Post Print N.B.: When citing this work, cite the original article. Original Publication: Victor Lagerkvist, Weak bases of Boolean

More information

An Introduction to Proof Complexity, Part II.

An Introduction to Proof Complexity, Part II. An Introduction to Proof Complexity, Part II. Pavel Pudlák Mathematical Institute, Academy of Sciences, Prague and Charles University, Prague Computability in Europe 2009, Heidelberg 2 Overview Part I.

More information

Splitting the Computational Universe

Splitting the Computational Universe Splitting the Computational Universe s Theorem Definition Existential Second Order Logic (ESO) is the collection of all statements of the form: ( S )Φ(S, S ) s Theorem Definition Existential Second Order

More information

The Complexity of Satisfiability Problems: Refining Schaefer s Theorem

The Complexity of Satisfiability Problems: Refining Schaefer s Theorem The Complexity of Satisfiability Problems: Refining Schaefer s Theorem Eric Allender 1, Michael Bauland 2, Neil Immerman 3, Henning Schnoor 4, and Heribert Vollmer 5 1 Department of Computer Science, Rutgers

More information

Approximation Preserving Reductions

Approximation Preserving Reductions Approximation Preserving Reductions - Memo Summary - AP-reducibility - L-reduction technique - Complete problems - Examples: MAXIMUM CLIQUE, MAXIMUM INDEPENDENT SET, MAXIMUM 2-SAT, MAXIMUM NAE 3-SAT, MAXIMUM

More information

Tutorial on the Constraint Satisfaction Problem

Tutorial on the Constraint Satisfaction Problem Tutorial on the Constraint Satisfaction Problem Miklós Maróti Vanderbilt University and University of Szeged Nový Smokovec, 2012. September 2 7. Miklós Maróti (Vanderbilt and Szeged) The Constraint Satisfaction

More information

Time Complexity of Constraint Satisfaction via Universal Algebra

Time Complexity of Constraint Satisfaction via Universal Algebra Time Complexity of Constraint Satisfaction via Universal Algebra Peter Jonsson 1, Victor Lagerkvist 2, and Biman Roy 3 1 Department of Computer and Information Science, Linköping University, Linköping,

More information

Qualitative Temporal and Spatial Reasoning Revisited

Qualitative Temporal and Spatial Reasoning Revisited Qualitative Temporal and Spatial Reasoning Revisited Manuel Bodirsky 1 and Hubie Chen 2 1 Department Algorithms and Complexity, Humboldt-Universität zu Berlin, bodirsky@informatik.hu-berlin.de 2 Departament

More information

Lewis Dichotomies in Many-Valued Logics

Lewis Dichotomies in Many-Valued Logics Lewis Dichotomies in Many-Valued Logics Simone Bova Department of Mathematics Vanderbilt University (Nashville, USA) simone.bova@vanderbilt.edu ASUBL 2010 June 8-10, 2009, Nomi (Japan) Boolean Satisfiability

More information

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers mlq header will be provided by the publisher Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers H. Jerome Keisler 1 and Wafik Boulos Lotfallah 2 1 Department of Mathematics University

More information

Testing assignments to constraint satisfaction problems

Testing assignments to constraint satisfaction problems Testing assignments to constraint satisfaction problems Hubie Chen University of the Basque Country (UPV/EHU) E-20018 San Sebastián, Spain and IKERBASQUE, Basque Foundation for Science E-48011 Bilbao,

More information

Supermodular functions and the complexity of MAX CSP

Supermodular functions and the complexity of MAX CSP Discrete Applied Mathematics 149 (2005) 53 72 www.elsevier.com/locate/dam Supermodular functions and the complexity of MAX CSP David Cohen a, Martin Cooper b, Peter Jeavons c, Andrei Krokhin d, a Department

More information

Limitations of Algorithm Power

Limitations of Algorithm Power Limitations of Algorithm Power Objectives We now move into the third and final major theme for this course. 1. Tools for analyzing algorithms. 2. Design strategies for designing algorithms. 3. Identifying

More information

Robust algorithms with polynomial loss for near-unanimity CSPs

Robust algorithms with polynomial loss for near-unanimity CSPs Robust algorithms with polynomial loss for near-unanimity CSPs Víctor Dalmau Marcin Kozik Andrei Krokhin Konstantin Makarychev Yury Makarychev Jakub Opršal Abstract An instance of the Constraint Satisfaction

More information

More Propositional Logic Algebra: Expressive Completeness and Completeness of Equivalences. Computability and Logic

More Propositional Logic Algebra: Expressive Completeness and Completeness of Equivalences. Computability and Logic More Propositional Logic Algebra: Expressive Completeness and Completeness of Equivalences Computability and Logic Equivalences Involving Conditionals Some Important Equivalences Involving Conditionals

More information

Lecture 7: The Polynomial-Time Hierarchy. 1 Nondeterministic Space is Closed under Complement

Lecture 7: The Polynomial-Time Hierarchy. 1 Nondeterministic Space is Closed under Complement CS 710: Complexity Theory 9/29/2011 Lecture 7: The Polynomial-Time Hierarchy Instructor: Dieter van Melkebeek Scribe: Xi Wu In this lecture we first finish the discussion of space-bounded nondeterminism

More information

CORES OF COUNTABLY CATEGORICAL STRUCTURES

CORES OF COUNTABLY CATEGORICAL STRUCTURES Logical Methods in Computer Science Vol. 3 (1:2) 2007, pp. 1 16 www.lmcs-online.org Submitted Sep. 23, 2005 Published Jan. 25, 2007 CORES OF COUNTABLY CATEGORICAL STRUCTURES MANUEL BODIRSKY Institut für

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max

More information

The approximability of Max CSP with fixed-value constraints

The approximability of Max CSP with fixed-value constraints The approximability of Max CSP with fixed-value constraints Vladimir Deineko Warwick Business School University of Warwick, UK Vladimir.Deineko@wbs.ac.uk Mikael Klasson Dep t of Computer and Information

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

An introduction to Parameterized Complexity Theory

An introduction to Parameterized Complexity Theory An introduction to Parameterized Complexity Theory May 15, 2012 A motivation to parametrize Definitions Standard Complexity Theory does not distinguish between the distinct parts of the input. It categorizes

More information

Quantified Boolean Formulas: Complexity and Expressiveness

Quantified Boolean Formulas: Complexity and Expressiveness Dagstuhl SAT Interactions 2012 Quantified Boolean Formulas: Complexity and Expressiveness Uwe Bubeck University of Paderborn 20.11.2012 Outline Introduction Free Variables and Equivalence Complexity Expressiveness

More information

Dichotomy Theorems for Counting Problems. Jin-Yi Cai University of Wisconsin, Madison. Xi Chen Columbia University. Pinyan Lu Microsoft Research Asia

Dichotomy Theorems for Counting Problems. Jin-Yi Cai University of Wisconsin, Madison. Xi Chen Columbia University. Pinyan Lu Microsoft Research Asia Dichotomy Theorems for Counting Problems Jin-Yi Cai University of Wisconsin, Madison Xi Chen Columbia University Pinyan Lu Microsoft Research Asia 1 Counting Problems Valiant defined the class #P, and

More information

Constraint Satisfaction Problems with Infinite Templates

Constraint Satisfaction Problems with Infinite Templates Constraint Satisfaction Problems with Infinite Templates Manuel Bodirsky 1 École polytechnique, Laboratoire d informatique (LIX), France bodirsky@lix.polytechnique.fr Abstract. Allowing templates with

More information

Complexity of locally injective homomorphism to the Theta graphs

Complexity of locally injective homomorphism to the Theta graphs Complexity of locally injective homomorphism to the Theta graphs Bernard Lidický and Marek Tesař Department of Applied Mathematics, Charles University, Malostranské nám. 25, 118 00 Prague, Czech Republic

More information

A Collection of Problems in Propositional Logic

A Collection of Problems in Propositional Logic A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems

More information

Bounded-width QBF is PSPACE-complete

Bounded-width QBF is PSPACE-complete Bounded-width QBF is PSPACE-complete Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain atserias@lsi.upc.edu Sergi Oliva Universitat Politècnica de Catalunya Barcelona, Spain oliva@lsi.upc.edu

More information

{Symmetry, Logic, CSP}

{Symmetry, Logic, CSP} {Symmetry, Logic, CSP} Libor Barto Charles University in Prague {Symmetry, Logic, Computation} Simons Institute, Berkeley, 9 Nov 2016 Message Topic: Constraint Satisfaction Problem (CSP) over a fixed finite

More information

Lecture #14: NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition.

Lecture #14: NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition. Lecture #14: 0.0.1 NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition. 0.0.2 Preliminaries: Definition 1 n abstract problem Q is a binary relations on a set I of

More information

SAT, NP, NP-Completeness

SAT, NP, NP-Completeness CS 473: Algorithms, Spring 2018 SAT, NP, NP-Completeness Lecture 22 April 13, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Part I Reductions Continued Ruta (UIUC)

More information

Parameterized Complexity of Weighted Satisfiability Problems

Parameterized Complexity of Weighted Satisfiability Problems Parameterized Complexity of Weighted Satisfiability Problems Nadia Creignou 1 and Heribert Vollmer 2 1 Laboratoire d Informatique Fondamentale de Marseille, CNRS UMR 7279, Aix-Marseille Université, 163

More information

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005 Complexity Theory Knowledge Representation and Reasoning November 2, 2005 (Knowledge Representation and Reasoning) Complexity Theory November 2, 2005 1 / 22 Outline Motivation Reminder: Basic Notions Algorithms

More information

The Complexity of Abduction for Equality Constraint Languages

The Complexity of Abduction for Equality Constraint Languages The Complexity of Abduction for Equality Constraint Languages Johannes Schmidt and Michał Wrona Linköping University IDA Linköping {johannes.schmidt, michal.wrona}@liu.se Abstract Abduction is a form of

More information

arxiv: v2 [cs.cc] 21 Mar 2017

arxiv: v2 [cs.cc] 21 Mar 2017 The power of Sherali-Adams relaxations for general-valued CSPs arxiv:1606.02577v2 [cs.cc] 21 Mar 2017 Johan Thapper Université Paris-Est, Marne-la-Vallée, France thapper@u-pem.fr Abstract Stanislav Živný

More information

DECIDABILITY OF DEFINABILITY

DECIDABILITY OF DEFINABILITY DECIDABILITY OF DEFINABILITY MANUEL BODIRSKY, MICHAEL PINSKER, AND TODOR TSANKOV Abstract. For a fixed countably infinite structure Γ with finite relational signature τ, we study the following computational

More information

arxiv: v3 [math.oc] 28 May 2017

arxiv: v3 [math.oc] 28 May 2017 On a general framework for network representability in discrete optimization Yuni Iwamasa September 3, 2018 arxiv:1609.03137v3 [math.oc] 28 May 2017 Abstract In discrete optimization, representing an objective

More information

arxiv: v3 [math.lo] 26 Apr 2016

arxiv: v3 [math.lo] 26 Apr 2016 Discrete Temporal Constraint Satisfaction Problems arxiv:1503.08572v3 [math.lo] 26 Apr 2016 Manuel Bodirsky Institut für Algebra, TU Dresden, Dresden Barnaby Martin School of Science and Technology, Middlesex

More information

Affine Systems of Equations and Counting Infinitary Logic

Affine Systems of Equations and Counting Infinitary Logic Affine Systems of Equations and Counting Infinitary Logic Albert Atserias Andrei Bulatov Anu Dawar October 22, 2007 Abstract We study the definability of constraint satisfaction problems (CSP) in various

More information

TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS)

TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS) TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS) LIBOR BARTO AND MICHAEL PINSKER Abstract. We prove that an ω-categorical core structure primitively

More information

Supermodular Functions and the Complexity of Max CSP

Supermodular Functions and the Complexity of Max CSP Supermodular Functions and the Complexity of Max CSP David Cohen a, Martin Cooper b, Peter Jeavons c, Andrei Krokhin d, a Department of Computer Science, Royal Holloway, University of London, Egham, Surrey,

More information

On the Power of k-consistency

On the Power of k-consistency On the Power of k-consistency Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain Joint work with Andrei Bulatov and Victor Dalmau Constraint Satisfaction Problems Fix a relational vocabulary

More information

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

Lecture 4. 1 Circuit Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, Jonathan Katz Notes on Complexity Theory: Fall 2005 Last updated: September, 2005 Jonathan Katz Lecture 4 1 Circuit Complexity Circuits are directed, acyclic graphs where nodes are called gates and edges are called

More information

COL 352 Introduction to Automata and Theory of Computation Major Exam, Sem II , Max 80, Time 2 hr. Name Entry No. Group

COL 352 Introduction to Automata and Theory of Computation Major Exam, Sem II , Max 80, Time 2 hr. Name Entry No. Group COL 352 Introduction to Automata and Theory of Computation Major Exam, Sem II 2015-16, Max 80, Time 2 hr Name Entry No. Group Note (i) Write your answers neatly and precisely in the space provided with

More information

NP-Complete problems

NP-Complete problems NP-Complete problems NP-complete problems (NPC): A subset of NP. If any NP-complete problem can be solved in polynomial time, then every problem in NP has a polynomial time solution. NP-complete languages

More information

Shamir s Theorem. Johannes Mittmann. Technische Universität München (TUM)

Shamir s Theorem. Johannes Mittmann. Technische Universität München (TUM) IP = PSPACE Shamir s Theorem Johannes Mittmann Technische Universität München (TUM) 4 th Joint Advanced Student School (JASS) St. Petersburg, April 2 12, 2006 Course 1: Proofs and Computers Johannes Mittmann

More information

Lecture 13, Fall 04/05

Lecture 13, Fall 04/05 Lecture 13, Fall 04/05 Short review of last class NP hardness conp and conp completeness Additional reductions and NP complete problems Decision, search, and optimization problems Coping with NP completeness

More information

Finite Model Theory: First-Order Logic on the Class of Finite Models

Finite Model Theory: First-Order Logic on the Class of Finite Models 1 Finite Model Theory: First-Order Logic on the Class of Finite Models Anuj Dawar University of Cambridge Modnet Tutorial, La Roche, 21 April 2008 2 Finite Model Theory In the 1980s, the term finite model

More information

Tomasz A. GORAZD and Jacek KRZACZKOWSKI THE COMPLEXITY OF PROBLEMS CONNECTED WITH TWO-ELEMENT ALGEBRAS

Tomasz A. GORAZD and Jacek KRZACZKOWSKI THE COMPLEXITY OF PROBLEMS CONNECTED WITH TWO-ELEMENT ALGEBRAS REPORTS ON MATHEMATICAL LOGIC 46 (2011), 91 108 Tomasz A. GORAZD and Jacek KRZACZKOWSKI THE COMPLEXITY OF PROBLEMS CONNECTED WITH TWO-ELEMENT ALGEBRAS A b s t r a c t. This paper presents a complete classification

More information

We denote the space of distributions on Ω by D ( Ω) 2.

We denote the space of distributions on Ω by D ( Ω) 2. Sep. 1 0, 008 Distributions Distributions are generalized functions. Some familiarity with the theory of distributions helps understanding of various function spaces which play important roles in the study

More information

MANUEL BODIRSKY AND JAN KÁRA

MANUEL BODIRSKY AND JAN KÁRA A FAST ALGORITHM AND DATALOG INEXPRESSIBILITY FOR TEMPORAL REASONING arxiv:0805.1473v2 [cs.ai] 11 Apr 2009 MANUEL BODIRSKY AND JAN KÁRA Humboldt-Universität zu Berlin, Germany E-mail address: bodirsky@informatik.hu-berlin.de

More information

The complexity of recursive constraint satisfaction problems.

The complexity of recursive constraint satisfaction problems. The complexity of recursive constraint satisfaction problems. Victor W. Marek Department of Computer Science University of Kentucky Lexington, KY 40506, USA marek@cs.uky.edu Jeffrey B. Remmel Department

More information

CSC 1700 Analysis of Algorithms: P and NP Problems

CSC 1700 Analysis of Algorithms: P and NP Problems CSC 1700 Analysis of Algorithms: P and NP Problems Professor Henry Carter Fall 2016 Recap Algorithmic power is broad but limited Lower bounds determine whether an algorithm can be improved by more than

More information

Combinatorial Proof that Subprojective Constraint Satisfaction Problems are NP-Complete

Combinatorial Proof that Subprojective Constraint Satisfaction Problems are NP-Complete Combinatorial Proof that Subprojective Constraint Satisfaction Problems are NP-Complete Jaroslav Nešetřil 1 and Mark Siggers 1 Department of Applied Mathematics and Institute for Theoretical Computer Science

More information