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

Size: px
Start display at page:

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

Transcription

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

2 Motivation The following problems Scheduling; System of linear equations; Drawing up a timetable; Check the satisfiability of a logical formula; Finding Hamiltonian cycles; Choosing frequencies for a mobile-phone network; Graph colourability; involve searching for a solution which satisfies certain constraints. They are all examples of Constraint Satisfaction Problems, CSP.

3 The Constraint Satisfaction Problem The Homomorphism Problem Given two finite relational structures A = (A; R 1 A,..., R m A ) and B = (B; R 1 B,..., R m B ) is there a homomorphism h : A B? The CSP with a a fixed B is denoted CSP(B), and can be viewed as {A : A B}. Problems: Classify CSP(B) with respect to computational complexity; Classify CSP(B) with respect to descriptive complexity; Determine complexity of deciding if CSP(B) has a given complexity (meta-problem).

4 Obstruction sets An obstruction set for a structure B is a class O B of structures such that, for all structures A Example A B iff A A for all A O B. If B is a bipartite graph then O B can be chosen to consist of all odd cycles. Obs B A B

5 Dualities A structure B has nice duality if O B can be chosen to be simple: Nice= Finite, Simple= finite Ex: B is a transitive tournament; Nice= Path, Simple= consisting of "paths" Ex: B is an oriented path (Hell, Zhu 94); Nice= Caterpillar, Simple= consisting of... Ex:...later... Nice= Tree, Simple= consisting of "trees" Ex: B is an oriented tree that is preserved by a min order (Hell, Nesestril, Zhu 96). More info on Dualities for constraint satisfaction problems, survey by Bulatov, Krokhin, Larose.

6 Caterpillars In graph theory a caterpillar is a tree where all vertices are within distance 1 of a central path. The notions of tree, caterpillar and path can be extended to arbitrary structures, by means of the incidence multigraph of a structure. Roughly, the vertices represent elements and tuples of the relations and the edges represent containment.

7 Example The structure A with domain {1,..., 6} and relations R 1 = {2, 3}, R 2 = {(1, 2), (2, 3), (3, 6)}, R 3 = {(3, 4, 5)} can be decomposed as a caterpillar. (R 1,2) (R 1,3) 5 1 (R 2,(1,2)) 2 (R 2,(2,3)) 3 4 (R 3,(3,4,5)) (R 2,(3,6)) 6

8 Datalog For logical characterizations we use Datalog. Datalog program for co-csp(k 2 ) oddpath(x, y) : edge(x, y) oddpath(x, y) : oddpath(x, z), edge(z, w), edge(w, y) oddcycle : oddpath(x, x) EDB s are relations from the structure -edge(x, y), IDB s are auxiliary predicates -oddpath(x, y), linear Datalog has at most one IDB in the body of each rule, monadic Datalog has at most unary IDB s, co-csp(b) is definable by a Datalog program iff the program accepts only structures A s.t. A B. If co-csp(b) is definable in (linear) Datalog then CSP(B) is in (NL) PTIME.

9 Polymorphisms An n-ary operation f : B n B is a polymorphism of a relation R if for any tuples a 1,..., a n R the tuple obtained by applying f coordinate-wise is also in R; f is a polymorphism of the structure B if it is a polymorphism of all relations in B. Example The binary operation min is a polymorphism of R = {(0, 0, 0), (1, 0, 0), (0, 0, 1)} min((1, 0, 0), (0, 0, 1)) = min((1, 0, 0), (0, 0, 1)) = (min(1, 0), min(0, 0), min(0, 1)) = (0, 0, 0) R

10 Some useful operations An operation f is idempotent if f (x,..., x) = x, conservative if f (x 1,..., x n ) {x 1,..., x n }, totally symmetric if f (x 1,..., x n ) = f (y 1,..., y n ) whenever {x 1,..., x n } = {y 1,..., y n }, k-block symmetric if f (S 1,..., S n ) = f (T 1,..., T n ), whenever {S 1,..., S n } = {T 1,..., T n }, with S i = {x i1,..., x ik }, k-abs operation if it is k-block symmetric and it satisfies the absorptive rule f (S 1, S 2, S 3,..., S n ) = f (S 2, S 2, S 3,..., S n ) whenever S 2 S 1.

11 Examples Example Oriented paths have polymorphisms min(x 1,..., x n ) for every n Example Oriented paths have k-abs polymorphisms min(max(x 11,..., x 1k ),..., max(x n1,..., x nk )), for all k, n 1.

12 Tree duality The following result characterizes structures with tree duality Theorem (Feder, Vardi / Dalmau, Pearson) Tfae 1. B has tree duality; 2. co-csp(b) is definable by a monadic Datalog program with at most one EDB per rule; 3. U(B) B; 4. B has n-ary totally symmetric polymorphism, for all n 1; 5. if B is a core then it is the core of a structure with a semilattice polymorphism.

13 Theorem Tfae 1. B has caterpillar duality; Caterpillar duality 2. co-csp(b) is definable by a linear monadic Datalog program with at most one EDB per rule; 3. C(B) B; 4. B has (kn)-ary k-abs polymorphism, for all n, k 1; 5. if B is a core then it is the core of a structure with lattice polymorphisms. It gives a logical, a combinatorial and an algebraic characterization of structures with caterpillar duality. It also answers the meta-problem for this duality: it is decidable but NP-hard.

14 Caterpillar vs path duality Theorem There exists a structure with caterpillar duality, but not path duality. The fragment of Datalog arising from path duality is not as natural. A natural algebraic characterization of path duality is unlikely. Caterpillar duality seems a more robust notion.

15 Applications to digraph H-colouring H-colouring is equivalent to CSP(H) The min and max polymorphisms of oriented paths can be rearranged and extended to yield: Theorem If H is a planar layered directed acyclic digraph then H has k-abs polymorphisms of arity kn for all k, n 1. Consequently H has caterpillar duality. Example Oriented caterpillars have caterpillar duality.

16 Applications to list H-colouring The list H-colouring problem is equivalent to CSP(H u ), where H u is H together with all unary relations {S : S H}. An interval graph is a reflexive graph whose vertices can be represented by intervals in R, s.t. vertices are adjacent iff the intervals intersect. Theorem Interval graphs have conservative k-abs polymorphisms of arity kn, for every k, n 1. As a consequence of a result by Feder and Hell, we have Corollary For a reflexive graph H, either H u has caterpillar duality or CSP(H u ) is NP-complete.

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

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

Author manuscript, published in "27th International Symposium on Theoretical Aspects of Computer Science - STACS 2010 (2010) "

Author manuscript, published in 27th International Symposium on Theoretical Aspects of Computer Science - STACS 2010 (2010) Author manuscript, published in "27th International Symposium on Theoretical Aspects of Computer Science - STACS 2010 (2010) 335-346" Symposium on Theoretical Aspects of Computer Science 2010 (Nancy, France),

More information

THERE ARE NO PURE RELATIONAL WIDTH 2 CONSTRAINT SATISFACTION PROBLEMS. Keywords: Computational Complexity, Constraint Satisfaction Problems.

THERE ARE NO PURE RELATIONAL WIDTH 2 CONSTRAINT SATISFACTION PROBLEMS. Keywords: Computational Complexity, Constraint Satisfaction Problems. THERE ARE NO PURE RELATIONAL WIDTH 2 CONSTRAINT SATISFACTION PROBLEMS Departament de tecnologies de la informació i les comunicacions, Universitat Pompeu Fabra, Estació de França, Passeig de la circumval.laci

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

The complexity of the list homomorphism problem for graphs

The complexity of the list homomorphism problem for graphs The complexity of the list homomorphism problem for graphs László Egri School of Computer Science McGill University, Montréal, Canada laszlo.egri@mail.mcgill.ca Andrei Krokhin School of Engineering and

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

{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

Constraint Satisfaction

Constraint Satisfaction Constraint Satisfaction and Graph Theory Plan How much is lost by focusing on graphs How graphs help intuition How graph theory gets used Graph Colouring Graph Colouring One of the most common illustrations

More information

Graphs admitting a k-nu Polymorphism

Graphs admitting a k-nu Polymorphism Graphs admitting a k-nu Polymorphism B. Larose 1 2 and friends 1 Concordia University, Montréal QC 2 Champlain Regional College, St-Lambert QC AMS Sectional Meeting, Boulder CO, April 2013 Authors and

More information

The complexity of the list homomorphism problem for graphs

The complexity of the list homomorphism problem for graphs The complexity of the list homomorphism problem for graphs László Egri, Andrei Krokhin, Benoit Larose, Pascal Tesson April 2, 2009 Abstract We completely characterise the computational complexity of the

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

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

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

GRAPHS ADMITTING k-nu OPERATIONS. PART 1: THE REFLEXIVE CASE

GRAPHS ADMITTING k-nu OPERATIONS. PART 1: THE REFLEXIVE CASE GRAPHS ADMITTING k-nu OPERATIONS. PART 1: THE REFLEXIVE CASE TOMÁS FEDER, PAVOL HELL, BENOÎT LAROSE, CYNTHIA LOTEN, MARK SIGGERS, AND CLAUDE TARDIF Abstract. We describe a generating set for the variety

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

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

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

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

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

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

Directed st-connectivity is not Expressible in Symmetric Datalog

Directed st-connectivity is not Expressible in Symmetric Datalog Directed st-connectivity is not Expressible in Symmetric Datalog László Egri 1, Benoît Larose 2, and Pascal Tesson 3 1 School of Computer Science, McGill University legri1@cs.mcgill.ca 2 Département d

More information

Colouring, Constraint Satisfaction, and Complexity

Colouring, Constraint Satisfaction, and Complexity Colouring, Constraint Satisfaction, and Complexity For Aleš Pultr on the Occasion of his 70th Birthday Pavol Hell School of Computing Science Simon Fraser University Burnaby, B.C., Canada V5A 1S6 pavol@cs.sfu.ca

More information

THE COMPLEXITY OF THE EXTENDIBILITY PROBLEM FOR FINITE POSETS

THE COMPLEXITY OF THE EXTENDIBILITY PROBLEM FOR FINITE POSETS SIAM J. DISCRETE MATH. Vol. 17, No. 1, pp. 114 121 c 2003 Society for Industrial and Applied Mathematics THE COMPLEXITY OF THE EXTENDIBILITY PROBLEM FOR FINITE POSETS BENOIT LAROSE AND LÁSZLÓ ZÁDORI Abstract.

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

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

CD(4) HAS BOUNDED WIDTH

CD(4) HAS BOUNDED WIDTH CD(4) HAS BOUNDED WIDTH CATARINA CARVALHO, VÍCTOR DALMAU, PETAR MARKOVIĆ, AND MIKLÓS MARÓTI Abstract. We prove that the constraint languages invariant under a short sequence of Jónsson terms (containing

More information

Taylor operations on finite reflexive structures

Taylor operations on finite reflexive structures International Journal of Mathematics and Computer Science, 1(2006), 1-21 M CS Taylor operations on finite reflexive structures Benoit Larose Department of Mathematics and Statistics Concordia University

More information

Constraint Satisfaction. Complexity. and. Logic. Phokion G. Kolaitis. IBM Almaden Research Center & UC Santa Cruz

Constraint Satisfaction. Complexity. and. Logic. Phokion G. Kolaitis. IBM Almaden Research Center & UC Santa Cruz Constraint Satisfaction Complexity and Logic Phokion G. Kolaitis IBM Almaden Research Center & UC Santa Cruz 1 Goals Goals: Show that Constraint Satisfaction Problems (CSP) form a broad class of algorithmic

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

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

Tutorial on Universal Algebra, Mal cev Conditions, and Finite Relational Structures: Lecture I

Tutorial on Universal Algebra, Mal cev Conditions, and Finite Relational Structures: Lecture I Tutorial on Universal Algebra, Mal cev Conditions, and Finite Relational Structures: Lecture I Ross Willard University of Waterloo, Canada BLAST 2010 Boulder, June 2010 Ross Willard (Waterloo) Universal

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

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

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

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

On Datalog vs. LFP. Anuj Dawar and Stephan Kreutzer

On Datalog vs. LFP. Anuj Dawar and Stephan Kreutzer On Datalog vs. LFP Anuj Dawar and Stephan Kreutzer 1 University of Cambridge Computer Lab, anuj.dawar@cl.cam.ac.uk 2 Oxford University Computing Laboratory, kreutzer@comlab.ox.ac.uk Abstract. We show that

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

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

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

Complexity of Generalised Colourings of Chordal Graphs

Complexity of Generalised Colourings of Chordal Graphs Complexity of Generalised Colourings of Chordal Graphs A depth examination report submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in the School of Computing

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

A FINER REDUCTION OF CONSTRAINT PROBLEMS TO DIGRAPHS

A FINER REDUCTION OF CONSTRAINT PROBLEMS TO DIGRAPHS Logical Methods in Computer Science Vol. 11(4:18)2015, pp. 1 33 www.lmcs-online.org Submitted Jun. 24, 2014 Published Dec. 29, 2015 A FINER REDUCTION OF CONSTRAINT PROBLEMS TO DIGRAPHS JAKUB BULÍN a, DEJAN

More information

On Digraph Coloring Problems and Treewidth Duality

On Digraph Coloring Problems and Treewidth Duality On Digraph Coloring Problems and Treewidth Duality Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain atserias@lsi.upc.edu November 24, 2006 Abstract It is known that every constraint-satisfaction

More information

Acyclic and Oriented Chromatic Numbers of Graphs

Acyclic and Oriented Chromatic Numbers of Graphs Acyclic and Oriented Chromatic Numbers of Graphs A. V. Kostochka Novosibirsk State University 630090, Novosibirsk, Russia X. Zhu Dept. of Applied Mathematics National Sun Yat-Sen University Kaohsiung,

More information

On Ramsey properties of classes with forbidden trees

On Ramsey properties of classes with forbidden trees On Ramsey properties of classes with forbidden trees Jan Foniok arxiv:1111.0674v3 [math.co] 23 Aug 2013 23 August 2013 Abstract Let F be a set of relational trees and let Forb h (F ) be the class of all

More information

The complexity of Sur-Hom(C 4 )

The complexity of Sur-Hom(C 4 ) The complexity of Sur-Hom(C 4 ) Barnaby Martin and Danïel Paulusma Algorithms and Complexity in Durham, 7th Slovenian International Conference on Graph Theory Bled 11 25th June, 2011 My introduction to

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

A SUBALGEBRA INTERSECTION PROPERTY FOR CONGRUENCE DISTRIBUTIVE VARIETIES

A SUBALGEBRA INTERSECTION PROPERTY FOR CONGRUENCE DISTRIBUTIVE VARIETIES A SUBALGEBRA INTERSECTION PROPERTY FOR CONGRUENCE DISTRIBUTIVE VARIETIES MATTHEW A. VALERIOTE Abstract. We prove that if a finite algebra A generates a congruence distributive variety then the subalgebras

More information

Absorption in Universal Algebra and CSP

Absorption in Universal Algebra and CSP Absorption in Universal Algebra and CSP Libor Barto 1 and Marcin Kozik 2 1 Department of Algebra, Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic libor.barto@gmail.com 2

More information

Toward Quandle Dichotomy

Toward Quandle Dichotomy Robert McGrail, Mona Merling, Mary Sharac, Japheth Wood Laboratory for Algebraic and Symbolic Computation Reem-Kayden Center for Science and Computation Bard College Annandale-on-Hudson, NY 12504 April

More information

Finite Model Theory and CSPs

Finite Model Theory and CSPs Finite Model Theory and CSPs Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain June 19, 2007 Part I FIRST-ORDER LOGIC, TYPES AND GAMES Relational Structures vs. Functional Structures

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

CSPs and Connectedness: P/NP-Complete Dichotomy for Idempotent, Right Quasigroups

CSPs and Connectedness: P/NP-Complete Dichotomy for Idempotent, Right Quasigroups CSPs and Connectedness: P/NP-Complete Dichotomy for Idempotent, Right Quasigroups Robert W McGrail, James Belk, Solomon Garber, and Japheth Wood Reem Kayden Center for Science and Computation Bard College

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

On the Relationship between Consistent Query Answering and Constraint Satisfaction Problems

On the Relationship between Consistent Query Answering and Constraint Satisfaction Problems On the Relationship between Consistent Query Answering and Constraint Satisfaction Problems Carsten Lutz 1 and Frank Wolter 2 1 Fachbereich Informatik, Universität Bremen, Germany clu@uni-bremen.de 2 Department

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

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 Constraint Satisfaction Problems and Symmetric Datalog

The Complexity of Constraint Satisfaction Problems and Symmetric Datalog The Complexity of Constraint Satisfaction Problems and Symmetric Datalog László Egri School of Computer Science McGill University, Montréal October, 2007 A thesis submitted to the Faculty of Graduate Studies

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

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

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

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

Elementary Equivalence in Finite Structures

Elementary Equivalence in Finite Structures Elementary Equivalence in Finite Structures Anuj Dawar University of Cambridge Computer Laboratory YuriFest, Berlin, 11 September 2015 When I First Met Yuri When I was a graduate student, I sent Yuri a

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

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational Logic. Chapter Syntax Terms and Term Algebras Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from

More information

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems: SAT, 3-SAT. Sequencing problems: HAMILTONIAN-CYCLE,

More information

On counting homomorphisms to directed acyclic graphs

On counting homomorphisms to directed acyclic graphs Electronic Colloquium on Computational Complexity, Report No. 121 (2005) On counting homomorphisms to directed acyclic graphs Martin Dyer Leslie Ann Goldberg Mike Paterson October 17, 2005 Abstract We

More information

IDEMPOTENT n-permutable VARIETIES

IDEMPOTENT n-permutable VARIETIES IDEMPOTENT n-permutable VARIETIES M. VALERIOTE AND R. WILLARD Abstract. One of the important classes of varieties identified in tame congruence theory is the class of varieties which are n-permutable for

More information

arxiv: v1 [math.lo] 12 Sep 2007

arxiv: v1 [math.lo] 12 Sep 2007 CD(4) has bounded width arxiv:0709.1934v1 [math.lo] 12 Sep 2007 Catarina Carvalho, Víctor Dalmau, Petar Marković, and Miklós Maróti Abstract. We prove that the constraint languages invariant under a short

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

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

Sets and Motivation for Boolean algebra

Sets and Motivation for Boolean algebra SET THEORY Basic concepts Notations Subset Algebra of sets The power set Ordered pairs and Cartesian product Relations on sets Types of relations and their properties Relational matrix and the graph of

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

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

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted

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

Bi-Arc Digraphs and Conservative Polymorphisms

Bi-Arc Digraphs and Conservative Polymorphisms Bi-Arc Digraphs and Conservative Polymorphisms Pavol Hell Arash Rafiey arxiv:1608.03368v3 [cs.ds] 29 Dec 2016 Abstract We introduce the class of bi-arc digraphs, and show they coincide with the class of

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

14w5136 Algebraic and Model Theoretical Methods in Constraint Satisfaction

14w5136 Algebraic and Model Theoretical Methods in Constraint Satisfaction 14w5136 Algebraic and Model Theoretical Methods in Constraint Satisfaction Manuel Bodirsky (Dresden Technical University) Andrei Bulatov (Simon Fraser University) Dugald MacPherson (University of Leeds)

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 Simon Fraser University ISMVL 2012, Victoria, BC 2/19 Clones, Galois Correspondences, and CSPs Clones

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

ON RAMSEY PROPERTIES OF CLASSES WITH FORBIDDEN TREES

ON RAMSEY PROPERTIES OF CLASSES WITH FORBIDDEN TREES Logical Methods in Computer Science Vol. 10(3:9)2014, pp. 1 28 www.lmcs-online.org Submitted May 30, 2012 Published Aug. 21, 2014 ON RAMSEY PROPERTIES OF CLASSES WITH FORBIDDEN TREES JAN FONIOK Manchester

More information

FINITELY RELATED ALGEBRAS IN CONGRUENCE DISTRIBUTIVE VARIETIES HAVE NEAR UNANIMITY TERMS

FINITELY RELATED ALGEBRAS IN CONGRUENCE DISTRIBUTIVE VARIETIES HAVE NEAR UNANIMITY TERMS FINITELY RELATED ALGEBRAS IN CONGRUENCE DISTRIBUTIVE VARIETIES HAVE NEAR UNANIMITY TERMS LIBOR BARTO Abstract. We show that every finite, finitely related algebra in a congruence distributive variety has

More information

Linear programming, width-1 CSPs, and robust satisfaction

Linear programming, width-1 CSPs, and robust satisfaction Linear programming, width-1 CSPs, and robust satisfaction Gabor Kun nstitute for Advanced Study, and DMACS kungabor@ias.edu Yuichi Yoshida School of nformatics, Kyoto University, and Preferred nfrastructure,

More information

THE COMPLEXITY OF GENERAL-VALUED CSPs

THE COMPLEXITY OF GENERAL-VALUED CSPs SIAM J. COMPUT. Vol. 46, No. 3, pp. 1087 1110 c 2017 Society for Industrial and Applied Mathematics THE COMPLEXITY OF GENERAL-VALUED CSPs VLADIMIR KOLMOGOROV, ANDREI KROKHIN, AND MICHAL ROLÍNEK Abstract.

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

THE WONDERLAND OF REFLECTIONS

THE WONDERLAND OF REFLECTIONS THE WONDERLAND OF REFLECTIONS LIBOR BARTO, JAKUB OPRŠAL, AND MICHAEL PINSKER Abstract. A fundamental fact for the algebraic theory of constraint satisfaction problems (CSPs) over a fixed template is that

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

TESTING FOR A SEMILATTICE TERM

TESTING FOR A SEMILATTICE TERM TESTING FOR A SEMILATTICE TERM RALPH FREESE, J.B. NATION, AND MATT VALERIOTE Abstract. This paper investigates the computational complexity of deciding if a given finite algebra is an expansion of a semilattice.

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

Tractable Lineages on Treelike Instances: Limits and Extensions

Tractable Lineages on Treelike Instances: Limits and Extensions Tractable Lineages on Treelike Instances: Limits and Extensions Antoine Amarilli 1, Pierre Bourhis 2, Pierre enellart 1,3 June 29th, 2016 1 Télécom ParisTech 2 CNR CRItAL 3 National University of ingapore

More information

Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations

Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations preprint Lauri Hella University of Tampere Antti Kuusisto University of Bremen Abstract This article investigates

More information

Siegel s Theorem, Edge Coloring, and a Holant Dichotomy

Siegel s Theorem, Edge Coloring, and a Holant Dichotomy Siegel s Theorem, Edge Coloring, and a Holant Dichotomy Jin-Yi Cai (University of Wisconsin-Madison) Joint with: Heng Guo and Tyson Williams (University of Wisconsin-Madison) 1 / 117 2 / 117 Theorem (Siegel

More information

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system

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

Propositional and Predicate Logic - VII

Propositional and Predicate Logic - VII Propositional and Predicate Logic - VII Petr Gregor KTIML MFF UK WS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 1 / 11 Theory Validity in a theory A theory

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