Counting Quantifiers, Subset Surjective Functions, and Counting CSPs

Size: px
Start display at page:

Download "Counting Quantifiers, Subset Surjective Functions, and Counting CSPs"

Transcription

1 Counting Quantifiers, Subset Surjective Functions, and Counting CSPs Andrei A. Bulatov, Amir Hedayaty Simon Fraser University ISMVL 2012, Victoria, BC

2 2/19 Clones, Galois Correspondences, and CSPs Clones have been studied for ages Ivo s favorite! Recently found a nice application CSPs

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

4 4/19 CSPs: Example, Graph Coloring k-colorability, #k-colorability #k-colorability = #CSP( ), where is on a k-element set z x y t G v u #? K k (x y) (y z) (z x) (y t) (z u) (t v) (u v) (z t) (x v)

5 5/19 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 1/ε

6 6/19 Boolean Counting and Approximation Theorem (Creignou, Herrmann, 1996) Let Γ be a constraint language over {0,1}. Then either #CSP(Γ) is solvable in polynomial time; or it is as hard as #SAT. Theorem (Dyer,Goldberg,Jerrum, 2007) Let Γ be a constraint language over {0,1}. 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.

7 7/19 More Easy Problems There are other easy problems H: #CSP(H) #Match (the # of matchings in a graph) Jerrum, Sinclair, 1996 #DNF (the # of sat. assignments of a DNF) Karp, Luby, Madras, 1989

8 8/19 PP-Definitions and CSP Reductions The co-clone Γ of a constraint language Γ consists of all relations pp-defined in Γ that is can be expressed using: Relations in Γ The equality relation over the domain of Γ Conjunction Existential quantification Jeavons, 1998: For a language Γ, and any finite, if Γ then CSP( ) is polynomial-time reducible to CSP(Γ)

9 9/19 More Definitions More Reductions Dalmau, B., 2003: If Γ then #CSP( ) is polynomial-time reducible to #CSP(Γ) Borner, et al., 2005: If is definable in Γ with universal quantifiers allowed then quantified CSP( ) is polynomialtime reducible to quantified CSP(Γ) B., Hedayaty, 2009: If is definable in Γ with quantifiers forbidden then quantified #CSP( ) is AP-reducible to quantified #CSP(Γ)

10 10/19 Invariance Definition A relation R is invariant under a k-ary operation f, if, for any tuples a 1,a 2,,a k R, the tuple obtained by applying f co-ordinatewise is a member of R. If R is invariant under f, then f is called a polymorphism of R. Pol(Γ) denotes the set of all polymorphisms of Γ Inv(C) denotes the set of all invariants of C PPol(Γ) denotes the set of all partial polymorphisms of Γ CPol(Γ) denotes the set of all surjective polymorphisms of Γ

11 11/19 Galois Correspondences BKKR, Geiger: For any constraint language Γ, over a finite domain, Γ = Inv(Pol(Γ)) Boerner et al.: Closure wrt pp-definitions + universal quantifiers gives Inv(CPol(Γ)) Fleischner, Rosenberg: Closure wrt pp-definitions existential quantifiers gives Inv(PPol(Γ))

12 12/19 AP-Reductions Algorithm Alg is an AP-reduction from problem A to problem B, if takes (P,ε) as input; uses A as an oracle; polynomial time; and satisfies the requirements of FPRAS whenever the oracle A satisfies the requirements of FPRAS.

13 13/19 Some AP-Reductions q q nq Every hom from the original instance extends to 3 if ( n )q mapped into the triangle, and to at most 3 1 otherwise n The total # of mappings is at most 6, so choosing q such n ( n 1) q nq that 6 3 << 3 we make the contribution of homs outside the triangle very small

14 14/19 Max-Quantifiers and AP-Reductions Let Φ( x1, K, xn, y1, K, ym ) be a conjunctive formula in language Γ, and for an assignment ϕ to x 1, 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 If there is a max-implementation of R in Γ, then #CSP(Γ Γ {R}) is AP-reducible to #CSP(Γ)

15 15/19 Max-Co-Clones R( x, K, xn ) = max y1, K, ymφ( x1, K, xn, y1, K, y 1 m ) Problem: Find a Galois correspondence for max-co-clones

16 16/19 k-existential Quantifiers If Φ is a formula with free variables x 1, K, x n and y, a tuple, satisfies a 1 K,a n Ψ( x1, K, xn ) = k yφ( x1, K, xn, y) iff Φ( a 1, K, a, b) is true for at least k values b. n 1 = If D = k then k =

17 k-existential Co-Clones 17/19

18 18/19 K-Surjective Functions A (partial) function f : D n D is said to be k-surjective if for any A1, K, An D with A = = A n = k the set f ( A 1, K, A n contains at least k elements (or is empty) 1 K ) A function k-surjective for all k K is called K-surjective For a constraint language Γ and a set K N, the set of all K-surjective polymorphisms of Γ is denoted by m(k)-pol(γ)

19 19/19 Galois Correspondence Theorem For any constraint language Γ, for any K N, Inv( m( K) Pol( Γ)) = Γ K

20 Happy Birthday, Ivo!!

Approximate Counting CSPs Hunt for Galois Connection

Approximate Counting CSPs Hunt for Galois Connection Approximate Counting CSPs Hunt for Galois Connection Andrei A. Bulatov Simon Fraser University La Trobe University 203 2/36 Constraint Satisfaction Problem Decision: Given a conjunctive formula R decide

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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, Prague, Czech Republic libor.barto@gmail.com

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

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

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

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

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

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

Constraint satisfaction problems and dualities

Constraint satisfaction problems and dualities Andrei Krokhin - CSPs and dualities 1 Constraint satisfaction problems and dualities Andrei Krokhin University of Durham Andrei Krokhin - CSPs and dualities 2 The CSP The Constraint Satisfaction (or Homomorphism)

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

Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment?

Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment? Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment? Nadia Creignou Aix-Marseille Université

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

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

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

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

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

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

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

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

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

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

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

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

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

A Proof of CSP Dichotomy Conjecture

A Proof of CSP Dichotomy Conjecture 58th Annual IEEE Symposium on Foundations of Computer Science A Proof of CSP Dichotomy Conjecture Dmitriy Zhuk Department of Mechanics and Mathematics Lomonosov Moscow State University Moscow, Russia Email:

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 AND MARK H. SIGGERS Abstract. We introduce a new general polynomial-time constructionthe fibre

More information

Caterpillar duality for CSP. C. Carvalho (UoD), V. Dalmau (UPF) and A. Krokhin (UoD)

Caterpillar duality for CSP. C. Carvalho (UoD), V. Dalmau (UPF) and A. Krokhin (UoD) Caterpillar duality for CSP C. Carvalho (UoD), V. Dalmau (UPF) and A. Krokhin (UoD) Motivation The following problems Scheduling; System of linear equations; Drawing up a timetable; Check the satisfiability

More information

MAL TSEV CONSTRAINTS MADE SIMPLE

MAL TSEV CONSTRAINTS MADE SIMPLE Electronic Colloquium on Computational Complexity, Report No. 97 (2004) MAL TSEV CONSTRAINTS MADE SIMPLE Departament de Tecnologia, Universitat Pompeu Fabra Estació de França, Passeig de la circumval.lació,

More information

Proof Complexity Meets Algebra,

Proof Complexity Meets Algebra, Proof Complexity Meets Algebra joint work with Albert Atserias Université Paris Diderot - Paris 7 Logical Structures in Computation Reunion Workshop Simons Institute, 13th December 2017 (CSP problem) P

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

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

Fixed-parameter tractable reductions to SAT. Vienna University of Technology

Fixed-parameter tractable reductions to SAT. Vienna University of Technology Fixed-parameter tractable reductions to SAT Ronald de Haan Stefan Szeider Vienna University of Technology Reductions to SAT Problems in NP can be encoded into SAT in poly-time. Problems at the second level

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

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

Enumeration: logical and algebraic approach

Enumeration: logical and algebraic approach Enumeration: logical and algebraic approach Yann Strozecki Université Paris Sud - Paris 11 Novembre 2011, séminaire ALGO/LIX Introduction to Enumeration Enumeration and logic Enumeration and polynomials

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

The Tutte polynomial: sign and approximability

The Tutte polynomial: sign and approximability : sign and approximability Mark Jerrum School of Mathematical Sciences Queen Mary, University of London Joint work with Leslie Goldberg, Department of Computer Science, University of Oxford Durham 23rd

More information

1 PSPACE-Completeness

1 PSPACE-Completeness CS 6743 Lecture 14 1 Fall 2007 1 PSPACE-Completeness Recall the NP-complete problem SAT: Is a given Boolean formula φ(x 1,..., x n ) satisfiable? The same question can be stated equivalently as: Is the

More information

Approximate Counting

Approximate Counting Approximate Counting Andreas-Nikolas Göbel National Technical University of Athens, Greece Advanced Algorithms, May 2010 Outline 1 The Monte Carlo Method Introduction DNFSAT Counting 2 The Markov Chain

More information

1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation

1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation Knowledge Bases and Databases Part 1: First-Order Queries Diego Calvanese Faculty of Computer Science Master of Science in Computer Science A.Y. 2007/2008 Overview of Part 1: First-order queries 1 First-order

More information

NP-Complete Reductions 1

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

More information

2 P vs. NP and Diagonalization

2 P vs. NP and Diagonalization 2 P vs NP and Diagonalization CS 6810 Theory of Computing, Fall 2012 Instructor: David Steurer (sc2392) Date: 08/28/2012 In this lecture, we cover the following topics: 1 3SAT is NP hard; 2 Time hierarchies;

More information

Clones and Galois connections

Clones and Galois connections Clones and Galois connections Reinhard Pöschel Institut für Algebra Technische Universität Dresden AAA75, Darmstadt 2007 on a special occasion concerning the founder of the AAA series November 2, 2007

More information

Probabilistic verification and approximation schemes

Probabilistic verification and approximation schemes Probabilistic verification and approximation schemes Richard Lassaigne Equipe de Logique mathématique, CNRS-Université Paris 7 Joint work with Sylvain Peyronnet (LRDE/EPITA & Equipe de Logique) Plan 1

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

Graphs, Polymorphisms, and Multi-Sorted Structures

Graphs, Polymorphisms, and Multi-Sorted Structures Graphs, Polymorphisms, and Multi-Sorted Structures Ross Willard University of Waterloo NSAC 2013 University of Novi Sad June 6, 2013 Ross Willard (Waterloo) Graphs, Polymorphisms, Multi-Sorted Struc NSAC

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

On the relative complexity of approximate counting problems

On the relative complexity of approximate counting problems On the relative complexity of approximate counting problems Martin Dyer School of Computer Studies University of Leeds Catherine Greenhill Dep t of Mathematics and Statistics University of Melbourne 18th

More information

The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory

The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory Tomás Feder Moshe Y. Vardi IBM Almaden Research Center 650 Harry Road San Jose,

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

DAA 8 TH UNIT DETAILS

DAA 8 TH UNIT DETAILS DAA 8 TH UNIT DETAILS UNIT VIII: NP-Hard and NP-Complete problems: Basic concepts, non deterministic algorithms, NP - Hard and NP-Complete classes, Cook s theorem. Important Questions for exam point of

More information

An Algorithmist s Toolkit September 24, Lecture 5

An Algorithmist s Toolkit September 24, Lecture 5 8.49 An Algorithmist s Toolkit September 24, 29 Lecture 5 Lecturer: Jonathan Kelner Scribe: Shaunak Kishore Administrivia Two additional resources on approximating the permanent Jerrum and Sinclair s original

More information

Non-Deterministic Time

Non-Deterministic Time Non-Deterministic Time Master Informatique 2016 1 Non-Deterministic Time Complexity Classes Reminder on DTM vs NDTM [Turing 1936] (q 0, x 0 ) (q 1, x 1 ) Deterministic (q n, x n ) Non-Deterministic (q

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

Trichotomies in the Complexity of Minimal Inference

Trichotomies in the Complexity of Minimal Inference Trichotomies in the Complexity of Minimal Inference Arnaud Durand ELM (CNRS FRE 3233) Université Denis-Diderot Paris 7 75251 Paris cedex 05, France durand@logique.jussieu.fr Miki Hermann LIX (CNRS UMR

More information

arxiv: v1 [cs.cc] 28 Aug 2017

arxiv: v1 [cs.cc] 28 Aug 2017 Searching for an algebra on CSP solutions Rustem Takhanov Nazarbayev University rustem.takhanov@nu.edu.kz, arxiv:1708.08292v1 [cs.cc] 28 Aug 2017 Abstract. The Constraint Satisfaction Problem CSP is a

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

Durham Research Online

Durham Research Online Durham Research Online Deposited in DRO: 23 March 2016 Version of attached le: Accepted Version Peer-review status of attached le: Peer-reviewed Citation for published item: Dalmau, V. and Krokhin, A.

More information

The Lattice of All Clones Definable by Binary Relations on a Three-Element Set

The Lattice of All Clones Definable by Binary Relations on a Three-Element Set 1 The Lattice of All Clones Definable by Binary Relations on a Three-Element Set Stanislav V. Moiseev The 94th Workshop on General Algebra (AAA94) Novi Sad, Serbia, June 15

More information

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

Worst-Case Upper Bound for (1, 2)-QSAT Worst-Case Upper Bound for (1, 2)-QSAT Minghao Yin Department of Computer, Northeast Normal University, Changchun, China, 130117 ymh@nenu.edu.cn Abstract. The rigorous theoretical analysis of the algorithm

More information

On the hardness of losing weight

On the hardness of losing weight On the hardness of losing weight Andrei Krokhin 1 and Dániel Marx 2 1 Department of Computer Science, Durham University, Durham, DH1 3LE, UK andrei.krokhin@durham.ac.uk 2 Department of Computer Science

More information

Minimization for Generalized Boolean Formulas

Minimization for Generalized Boolean Formulas Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence Minimization for Generalized Boolean Formulas Edith Hemaspaandra Department of Computer Science Rochester Institute

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

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

The Meta-Problem for Conservative Mal tsev Constraints

The Meta-Problem for Conservative Mal tsev Constraints Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence (AAAI-16) The Meta-Problem for Conservative Mal tsev Constraints Clément Carbonnel LAAS-CNRS University of Toulouse, INP Toulouse,

More information

Introduction to Computational Complexity

Introduction to Computational Complexity Introduction to Computational Complexity Tandy Warnow October 30, 2018 CS 173, Introduction to Computational Complexity Tandy Warnow Overview Topics: Solving problems using oracles Proving the answer to

More information

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 3 CHAPTER 1 SETS, RELATIONS, and LANGUAGES 6. Closures and Algorithms 7. Alphabets and Languages 8. Finite Representation

More information

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson Predicate Calculus Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. Motivation 1. Variables, quantifiers and predicates 2. Syntax 1. Terms and formulas 2. Quantifiers, scope

More information

Complexity Theory: The P vs NP question

Complexity Theory: The P vs NP question The $1M question Complexity Theory: The P vs NP question Lecture 28 (December 1, 2009) The Clay Mathematics Institute Millenium Prize Problems 1. Birch and Swinnerton-Dyer Conjecture 2. Hodge Conjecture

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

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

About the relationship between formal logic and complexity classes

About the relationship between formal logic and complexity classes About the relationship between formal logic and complexity classes Working paper Comments welcome; my email: armandobcm@yahoo.com Armando B. Matos October 20, 2013 1 Introduction We analyze a particular

More information

1. Introduction Recap

1. Introduction Recap 1. Introduction Recap 1. Tractable and intractable problems polynomial-boundness: O(n k ) 2. NP-complete problems informal definition 3. Examples of P vs. NP difference may appear only slightly 4. Optimization

More information

Proof Complexity of Constraint Satisfaction Problems,

Proof Complexity of Constraint Satisfaction Problems, Proof Complexity of Constraint Satisfaction Problems joint work with Albert Atserias Université Paris Diderot - Paris 7 Finite and Algorithmic Model Theory Dagstuhl, 7th September 2017 (CSP problem) P

More information

Flexible satisfaction

Flexible satisfaction Flexible satisfaction LCC 2016, Aix-Marseille Université Marcel Jackson A problem and overview A problem in semigroup theory The semigroup B 1 2 ( ) ( ) 1 0 1 0, 0 1 0 0, ( ) 0 1, 0 0 ( ) 0 0, 1 0 ( )

More information