Structural Tractability of Counting of Solutions to Conjunctive Queries

Size: px
Start display at page:

Download "Structural Tractability of Counting of Solutions to Conjunctive Queries"

Transcription

1 Structural Tractability of Counting of Solutions to Conjunctive Queries Arnaud Durand 1 1 University Paris Diderot Journées DAG, june 2013 Joint work with Stefan Mengel (JCSS (to appear) + ICDT 2013) 1 / 30

2 Introduction Counting solutions of queries Counting is a fundamental algorithmic task It appears in many fields of computer science, maths, statistical physics,... However: Its complexity theory is well developed Counting is one of the natural aggregate functions for database queries Counting is harder than deciding the existence of a solution Very few natural polynomial time decision problems are also easy to count 2 / 30

3 Introduction Counting solutions of queries Investigate counting complexity for fragments of conjunctive queries Goals Exhibit islands of tractability Determine source of hardness for the counting of solutions Fully characterize the frontier between tractable and intractable for large classes of CQ. 3 / 30

4 Introduction Conjunctive Query Problem L = class of {, }-FO (conjunctive) formulas Counting Problems for Queries #CQ(L ) input: ϕ( x) L and a database/structure A output: ϕ(a) = {ā A k (A, ā) = ϕ( x)} Alternative problems: Decision: exists ā A k such that (A, ā) = ϕ? Enumeration/Generation: compute ϕ(a). 4 / 30

5 Introduction Example SELECT count(*) FROM EMP E WHERE E.dept= info AND E.job= manager AND E.salary > 40000; ϕ(number, name, dept, job, salary) = E(number, name, info, manager, salary) salary > / 30

6 Introduction Example: paths in graphs A = V, E graph, consider ϕ(v, w): x 1 x 2... x k 1 x i x j E(v, x 1 ) E(x i, x i+1 ) E(x k 1, w) i j i [k 2] Count the number of pairs of vertices (v, w) with length k paths between them. If projection (i.e. ) is disallowed: count the number of length k paths. Different meaning. 6 / 30

7 Introduction How to count: example ϕ(v, x 1, x 2, w) E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) To be evaluated on the following structure A = (V, E): / 30

8 Introduction How to count: example ϕ(v, x 1, x 2, w) E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) To be evaluated on the following structure A = (V, E): 0 One associates the polynomial Q(Φ)(X 0,..., X 9 ) below : / 30

9 Introduction How to count: example ϕ(v, x 1, x 2, w) E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) To be evaluated on the following structure A = (V, E): One associates the polynomial Q(Φ)(X 0,..., X 9 ) below : X X 3 0 X 1 + X 3 0 X 2+ X 2 0 X 1X 3 + X 2 0 X 1X 4 + X 2 0 X 2X 4 + X 2 0 X 2X 5 + X 0 X 1 X 3 X 6 + X 0 X 1 X 3 X 7 + X 0 X 1 X 4 X 7 + X 0 X 2 X 4 X 7 + X 0 X 2 X 5 X 6 + X 1 X 3 X 6 X 8 + X 1 X 3 X 6 X 9 + X 1 X 3 X 7 X 9 + X 1 X 4 X 7 X 9 + X 2 X 4 X 7 X 9 + X 2 X 5 X 6 X 8 + X 2 X 5 X 6 X / 30

10 Introduction How to count: example ϕ(v, x 1, x 2, w) E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) To be evaluated on the following structure A = (V, E): One associates the polynomial Q(Φ)(X 0,..., X 9 ) below : X X 3 0 X 1 + X 3 0 X 2+ X 2 0 X 1X 3 + X 2 0 X 1X 4 + X 2 0 X 2X 4 + X 2 0 X 2X 5 + X 0 X 1 X 3 X 6 + X 0 X 1 X 3 X 7 + X 0 X 1 X 4 X 7 + X 0 X 2 X 4 X 7 + X 0 X 2 X 5 X 6 + X 1 X 3 X 6 X 8 + X 1 X 3 X 6 X 9 + X 1 X 3 X 7 X 9 + X 1 X 4 X 7 X 9 + X 2 X 4 X 7 X 9 + X 2 X 5 X 6 X 8 + X 2 X 5 X 6 X 9 It holds that : Q(Φ)(1,..., 1) = ϕ(a) Nice but too long... needs to know all the solutions 7 / 30

11 Introduction Example But Q(Φ)(X 0,..., X 9 ) can be factorized knowing ϕ and A: Q(Φ)(X 0,..., X 9 ) = X X 3 0 X 1 + X 3 0 X 2+ X 2 0 X 1X 3 + X 2 0 X 1X 4 + X 2 0 X 2X 4 + X 2 0 X 2X 5 + X 0 X 1 X 3 X 6 + X 0 X 1 X 3 X 7 + X 0 X 1 X 4 X 7 + X 0 X 2 X 4 X 7 + X 0 X 2 X 5 X 6 + X 1 X 3 X 6 X 8 + X 1 X 3 X 6 X 9 + X 1 X 3 X 7 X 9 + X 1 X 4 X 7 X 9 + X 2 X 4 X 7 X 9 + X 2 X 5 X 6 X 8 + X 2 X 5 X 6 X 9 = (i,j) E X ix j ( k:(j,k) E X k( h:(h,i) E X h)) This polynomial can be succinctly represented (by this expression i.e. an arithmetic circuit). Then... It can be easily evaluated on any (reasonable) set of points. 8 / 30

12 Introduction Arithmetization of queries Given Φ = (A, ϕ), the polynomial Q(Φ) is defined as : Q(Φ)(X 1,.., X n ) := k X ai. ā φ(a) i=1 where n = A, size of the domain of the database. Counting : evaluating Q(Φ)(1,.., 1) Weighted counting by evaluating on particular values Weights can be put directly on tuples too. But... Evaluation is feasible when Q(Φ) admits a succint representation... So... Which queries have succintly representable Q-polynomials? 9 / 30

13 Known results Complexity of conjunctive queries: hardness Let s go back to the complexity of conjunctive queries... CQ is NP-complete for Combined complexity (i.e. database and formulas as inputs) So counting is even worst. Tractable fragments by either: considering restriction on the data considering restriction on the formulas : decomposition techniques. 10 / 30

14 Known results Formulas and their hypergraphs The hypergraph of a formula ϕ is the hypergraph H = (V, E) such that V is the set of variables of ϕ for each atom R( v) of ϕ, we associate a hyperedge var(r( v)) Q(a, b, c) R(a, e, f ) R(c, d, e) P(a, c, e, g) e f g d a b c Alternative: transform each hyperedge into a clique (Gaifman graph) 11 / 30

15 Known results Tractability of decision Tractability characterized through decomposition properties (and associated width measures) of the query. Principle Vertices and/or edges are grouped into clusters of fixed constant size Clusters are arranged into a tree Size of the clusters: width of a decomposition Specific additional conditions give different decompostions. Technics coming from : Graph theory : Robertson, Seymour Database Theory and logic : Gottlob, Courcelle, Leone, Scarcello, Grohe, Marx,... CSP : Jeavons, Cohen, Gyssens, / 30

16 Known results Tractability of decision {v 3, v 4, v 5, u 3, u 4, u 5 } {v 4, v 5, v 6, v 8 }, {v 7, v 8, u 5, u 6 } v 3 u 3 u 4 u 6 u 5 v 7 v 3, v 4, v 5, v 6, v 7, v 8, u 3, u 4, u 5, u 6 v 4 v 5 v 8 v 2 u 2 u 1 v 1 v 6 u 7 u 8 v 9 {v 1, u 1 }, {v 2, u 1, u 2 }, {v 2, v 4, u 2, u 3 } v 1, v 2, v 4, u 1, u 2, u 3 {v 4, v 5, v 6, v 8 }, {v 6, v 9, u 7 }, {v 8, v 9, u 8 } v 4, v 5, v 6, v 8, v 9, u 7, u 8 Measures for being "nearly" acyclic For graph representation: bounded tree-width For hypergraph representation, long list of decomposition notions: biconnected component, cycle cutset, cycle hypercutset, hinge-tree, hypertreewidth, generalized hypertreewidth, / 30

17 Known results Tractable fragments for decision: known results For all class L of decomposable hypergraphs above, given ϕ L and a database A, deciding if ϕ(a) = i.e. if the query has a solution can be done in polynomial time. If L ="acyclic hypergraph" : Yannakakis algorithms For all cases: rely strongly on the underlying tree structure given by the decomposition Warning: sometimes deciding if the formulas is decomposable (for some decomposition method) is... hard. 14 / 30

18 Known results Tractable fragments for counting Can not do better than for decision... but that s not an answer Tractability is obtained when the two properties below are satisfied... Desirable properties For every k the class of queries of width k should be tractable, i.e. Boolean CQ (resp. #CQ) should be solvable in polynomial time. Given an instance it should be possible to decide if there is a decomposition of width k and construct one if it exists. In other words, one wants a catalog of classes: for which the counting problem is easy to solve for which is is easy to decide if a given query belongs to the class 15 / 30

19 Known results Efficient Counting: informal result For all classes L above, there is a polynomial time algorithm s.t. given a projection free (i.e. without existential quantification) ϕ( x) L, a database A computes ϕ(a). How? (or why?) Based on Yannakakis algorithms, it is possible to build a succint representation of the polynomial Q(Φ). Will be a "small" alternation of and.. Not true anymore for ϕ 1 ( x) ϕ 2 ( x) or ϕ 1 ( x) ϕ 2 ( x) for "nice" formulas ϕ 1, ϕ 2 And why assuming projection free? 16 / 30

20 Known results Back to the example: introducing projections ϕ (v, w) x 1 x 2 E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) / 30

21 Known results Back to the example: introducing projections ϕ (v, w) x 1 x 2 E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) The polynomial Q(Φ)(X 0,..., X 9 ) was: X X 3 0 X 1 + X 3 0 X 2+ X 2 0 X 1X 3 + X 2 0 X 1X 4 + X 2 0 X 2X 4 + X 2 0 X 2X 5 + X 0 X 1 X 3 X 6 + X 0 X 1 X 3 X 7 + X 0 X 1 X 4 X 7 + X 0 X 2 X 4 X 7 + X 0 X 2 X 5 X 6 + X 1 X 3 X 6 X 8 + X 1 X 3 X 6 X 9 + X 1 X 3 X 7 X 9 + X 1 X 4 X 7 X 9 + X 2 X 4 X 7 X 9 + X 2 X 5 X 6 X 8 + X 2 X 5 X 6 X / 30

22 Known results Back to the example: introducing projections ϕ (v, w) x 1 x 2 E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) The polynomial Q(Φ)(X 0,..., X 9 ) was: X X 3 0 X 1 + X 3 0 X 2+ X 2 0 X 1X 3 + X 2 0 X 1X 4 + X 2 0 X 2X 4 + X 2 0 X 2X 5 + X 0 X 1 X 3 X 6 + X 0 X 1 X 3 X 7 + X 0 X 1 X 4 X 7 + X 0 X 2 X 4 X 7 + X 0 X 2 X 5 X 6 + X 1 X 3 X 6 X 8 + X 1 X 3 X 6 X 9 + X 1 X 3 X 7 X 9 + X 1 X 4 X 7 X 9 + X 2 X 4 X 7 X 9 + X 2 X 5 X 6 X 8 + X 2 X 5 X 6 X 9 The new polynomial Q(Φ )(X 0,..., X 9 ) is now : X X 0X 1 + X 0 X 2 + X 0 X 3 + X 0 X 4 + X 0 X 5 + X 0 X 6 + X 0 X 7 + X 1 X 8 + X 1 X 9 + X 2 X 9 + X 2 X 8 17 / 30

23 Known results Back to the example: introducing projections ϕ (v, w) x 1 x 2 E(v, x 1 ) E(x 1, x 2 ) E(x 2, w) The polynomial Q(Φ ) is shorter (but can generaly be exponential bigger than A ) It is not a priori obtained by an algebraic operation from Q(Φ) (but in this case can be obtained from Q(Φ)) Is it hopeless? / 30

24 Optimal tractability result The hardness result revisited Pichler, Skritek 11: #CQ is #P-hard even for formulas whose hypergraphs are trees (acyclic) and with only a single -quantifier. Proof (idea): Given graph G = (V, E) and k N counting cliques of size k in G is #P-hard. Reduce this (undirectly) to #CQ for acyclic formulas. End of the story? 19 / 30

25 Optimal tractability result The hardness result revisited Pichler, Skritek 11: #CQ is #P-hard even for formulas whose hypergraphs are trees (acyclic) and with only a single -quantifier. Proof (idea): Given graph G = (V, E) and k N counting cliques of size k in G is #P-hard. Reduce this (undirectly) to #CQ for acyclic formulas. End of the story? The resulting formula has this hypergraph: 9 19 / 30

26 Optimal tractability result S-hypergraphs and components S-hypergraph of a formula : associated hypergraph and set S to mark "free variables". Idea 1: quantified variables can only interact if they are connected through other quantified variables look at the non interacting parts independently S-component An S-component of an S-hypergraph (H, S) is a maximal set of edges that is connected by vertices in V \ S. 20 / 30

27 Optimal tractability result Decomposition into S-components: example S vertices : 21 / 30

28 Optimal tractability result Decomposition into S-components: example S vertices : 22 / 30

29 Optimal tractability result S-star size Idea: measure how free variables are spread in each piece. The S-star size of H is the size of the biggest independent set in a S-component. S-vertices : S-star size is 4 23 / 30

30 Optimal tractability result quantified-star size Quantified star size of a formula: S-star size of its associated hypergraph. Formula ϕ(x, y) t zr(x, y, t) S(x, z, t) Quantified star size = 1 Path formulas (of arbitrary length), e.g. ϕ(x, y) t 1 t 2 t 3 R(x, t 1 ) R(t 1, t 2 ) R(t 2, t 3 ) R(t 3, y) Quantified star size = 2 Star formulas, e.g. ϕ(x, y, z, t) ur(u, x) R(u, y) R(u, z) R(u, t) Quantified star size = degree of the center of the star (here 4). 24 / 30

31 Optimal tractability result Tractable counting for S-star size Let L be any nicely decomposable class seen so far. Theorem There is an algorithm that given: a #CQ-instance Φ = (A, ϕ) of quantified starsize l and ϕ L a L-decomposition of Φ of width k counts the solutions of ϕ(a) in time Φ p(k,l) for a fixed polynomial p. Works also for weighted queries: ā=(a 1,...,a k ) φ(s) k i=1 w(a i) 25 / 30

32 Optimal tractability result Tractable counting for S-star size : proof idea Step 1: Reduce to quantifier free queries (with same generalized hypertree width). Technical. Step 2: Reduce to acyclic formulas (while preserving the number of solutions). Standard Step 3: Solve the acyclic case by arithmetization of the query. Fun 26 / 30

33 Optimal tractability result Optimality of the result FPT : f (k) n c, with fixed c, f is a function #W[1] : power of computing k-cliques, O(n k ) Let L be any nicely decomposable class seen so far. Theorem If FPT #W[1], for any (recursively enumerable) subclass C of L, the following statements are equivalent: #CQ for instances in C can be solved in polynomial time C is of bounded quantified star size. Tractability... but for fixed decomposition 27 / 30

34 Optimal tractability result Optimality of the result: bounded arity FPT : f (k) n c, with fixed c, f is a function W[1] : power of deciding the existence of a k-cliques, O(n k ) Theorem Let G be a recursively enumerable class of S-hypergraphs of bounded arity. Assume that W[1] FPT. Then the following statements are equivalent: 1 #CQ for all instances whose S-hypergraph is in G is solvable in polynomial time. 2 There is a constant c such that for each S-hypergraph (H, S) in G the treewidth of H and the S-star size are at most c. 28 / 30

35 Tractable discovery Tractability of Discovery Star size of an hypergraph/formula need to be computed efficiently... in order to claim that tractable cases are really tractable... Theorem (non-strict) Let β be any decomposition technique for hypergraphs commonly considered in the literature. Then maximum independent sets on hypergraphs of β-width at most k can be computed in time n O(k). some decomposition techniques allow FPT-algorithms (tree decompositions, hinge decompositions). Tricky... for most other decompositions W[1]-hard and thus probably not FPT for most decomposition techniques also polynomial time k-approximation algorithm 29 / 30

36 Tractable discovery Open questions Push arithmetization technics for decision in different contexts (bag semantics) change representation of relations: negative representation, SAT, mixed representation,... allow nesting of queries, universal quantification, / 30

The complexity of enumeration and counting for acyclic conjunctive queries

The complexity of enumeration and counting for acyclic conjunctive queries The complexity of enumeration and counting for acyclic conjunctive queries Cambridge, march 2012 Counting and enumeration Counting Output the number of solutions Example : sat, Perfect Matching, Permanent,

More information

Tractable Counting of the Answers to Conjunctive Queries

Tractable Counting of the Answers to Conjunctive Queries Tractable Counting of the Answers to Conjunctive Queries Reinhard Pichler and Sebastian Skritek Technische Universität Wien, {pichler, skritek}@dbai.tuwien.ac.at Abstract. Conjunctive queries (CQs) are

More information

A Trichotomy in the Complexity of Counting Answers to Conjunctive Queries

A Trichotomy in the Complexity of Counting Answers to Conjunctive Queries A Trichotomy in the Complexity of Counting Answers to Conjunctive Queries Hubie Chen Stefan Mengel August 5, 2014 Conjunctive queries are basic and heavily studied database queries; in relational algebra,

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

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

Hypertree Decompositions: Structure, Algorithms, and Applications

Hypertree Decompositions: Structure, Algorithms, and Applications Hypertree Decompositions: Structure, Algorithms, and Applications Georg Gottlob 1, Martin Grohe 2, Nysret Musliu 1, Marko Samer 1, and Francesco Scarcello 3 1 Institut für Informationssysteme, TU Wien,

More information

Approximating fractional hypertree width

Approximating fractional hypertree width Approximating fractional hypertree width Dániel Marx Abstract Fractional hypertree width is a hypergraph measure similar to tree width and hypertree width. Its algorithmic importance comes from the fact

More information

A new Evaluation of Forward Checking and its Consequences on Efficiency of Tools for Decomposition of CSPs

A new Evaluation of Forward Checking and its Consequences on Efficiency of Tools for Decomposition of CSPs 2008 20th IEEE International Conference on Tools with Artificial Intelligence A new Evaluation of Forward Checking and its Consequences on Efficiency of Tools for Decomposition of CSPs Philippe Jégou Samba

More information

arxiv: v1 [cs.db] 21 Feb 2017

arxiv: v1 [cs.db] 21 Feb 2017 Answering Conjunctive Queries under Updates Christoph Berkholz, Jens Keppeler, Nicole Schweikardt Humboldt-Universität zu Berlin {berkholz,keppelej,schweika}@informatik.hu-berlin.de February 22, 207 arxiv:702.06370v

More information

FIRST-ORDER QUERY EVALUATION ON STRUCTURES OF BOUNDED DEGREE

FIRST-ORDER QUERY EVALUATION ON STRUCTURES OF BOUNDED DEGREE FIRST-ORDER QUERY EVALUATION ON STRUCTURES OF BOUNDED DEGREE INRIA and ENS Cachan e-mail address: kazana@lsv.ens-cachan.fr WOJCIECH KAZANA AND LUC SEGOUFIN INRIA and ENS Cachan e-mail address: see http://pages.saclay.inria.fr/luc.segoufin/

More information

R E P O R T. Generalized Hypertree Decompositions: NP-Hardness and Tractable Variants INSTITUT FÜR INFORMATIONSSYSTEME DBAI-TR

R E P O R T. Generalized Hypertree Decompositions: NP-Hardness and Tractable Variants INSTITUT FÜR INFORMATIONSSYSTEME DBAI-TR TECHNICAL R E P O R T INSTITUT FÜR INFORMATIONSSYSTEME ABTEILUNG DATENBANKEN UND ARTIFICIAL INTELLIGENCE Generalized Hypertree Decompositions: NP-Hardness and Tractable Variants DBAI-TR-2007-55 Georg Gottlob

More information

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang Overview of Topics Finite Model Theory Part 1: Introduction 1 What is finite model theory? 2 Connections to some areas in CS Qing Wang qing.wang@anu.edu.au Database theory Complexity theory 3 Basic definitions

More information

The complexity of acyclic subhypergraph problems

The complexity of acyclic subhypergraph problems The complexity of acyclic subhypergraph problems David Duris and Yann Strozecki Équipe de Logique Mathématique (FRE 3233) - Université Paris Diderot-Paris 7 {duris,strozecki}@logique.jussieu.fr Abstract.

More information

Constraint Satisfaction with Bounded Treewidth Revisited

Constraint Satisfaction with Bounded Treewidth Revisited Constraint Satisfaction with Bounded Treewidth Revisited Marko Samer and Stefan Szeider Department of Computer Science Durham University, UK Abstract The constraint satisfaction problem can be solved in

More information

Tractable structures for constraint satisfaction with truth tables

Tractable structures for constraint satisfaction with truth tables Tractable structures for constraint satisfaction with truth tables Dániel Marx September 22, 2009 Abstract The way the graph structure of the constraints influences the complexity of constraint satisfaction

More information

Graph structure in polynomial systems: chordal networks

Graph structure in polynomial systems: chordal networks Graph structure in polynomial systems: chordal networks Pablo A. Parrilo Laboratory for Information and Decision Systems Electrical Engineering and Computer Science Massachusetts Institute of Technology

More information

Query answering using views

Query answering using views Query answering using views General setting: database relations R 1,...,R n. Several views V 1,...,V k are defined as results of queries over the R i s. We have a query Q over R 1,...,R n. Question: Can

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

GAV-sound with conjunctive queries

GAV-sound with conjunctive queries GAV-sound with conjunctive queries Source and global schema as before: source R 1 (A, B),R 2 (B,C) Global schema: T 1 (A, C), T 2 (B,C) GAV mappings become sound: T 1 {x, y, z R 1 (x,y) R 2 (y,z)} T 2

More information

Algorithmic Meta-Theorems

Algorithmic Meta-Theorems Algorithmic Meta-Theorems Stephan Kreutzer Oxford University Computing Laboratory stephan.kreutzer@comlab.ox.ac.uk Abstract. Algorithmic meta-theorems are general algorithmic results applying to a whole

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

Graph structure in polynomial systems: chordal networks

Graph structure in polynomial systems: chordal networks Graph structure in polynomial systems: chordal networks Pablo A. Parrilo Laboratory for Information and Decision Systems Electrical Engineering and Computer Science Massachusetts Institute of Technology

More information

Hypertree-Width and Related Hypergraph Invariants

Hypertree-Width and Related Hypergraph Invariants Hypertree-Width and Related Hypergraph Invariants Isolde Adler, Georg Gottlob, Martin Grohe To cite this version: Isolde Adler, Georg Gottlob, Martin Grohe. Hypertree-Width and Related Hypergraph Invariants.

More information

A Hybrid Tractable Class for Non-Binary CSPs

A Hybrid Tractable Class for Non-Binary CSPs A Hybrid Tractable Class for Non-Binary CSPs Achref El Mouelhi Philippe Jégou Cyril Terrioux LSIS - UMR CNRS 7296 Aix-Marseille Université Avenue Escadrille Normandie-Niemen 13397 Marseille Cedex 20 (France)

More information

On the Expressive Power of Logics on Finite Models

On the Expressive Power of Logics on Finite Models On the Expressive Power of Logics on Finite Models Phokion G. Kolaitis Computer Science Department University of California, Santa Cruz Santa Cruz, CA 95064, USA kolaitis@cs.ucsc.edu August 1, 2003 Partially

More information

First-Order Queries over One Unary Function

First-Order Queries over One Unary Function First-Order Queries over One Unary Function Arnaud Durand 1 and Frédéric Olive 2 1 Equipe de Logique Mathématique, CNRS UMR 7056 - Université Denis Diderot, 2 place Jussieu, 75251 Paris Cedex 05, France

More information

Finite and Algorithmic Model Theory II: Automata-Based Methods

Finite and Algorithmic Model Theory II: Automata-Based Methods Finite and Algorithmic Model Theory II: Automata-Based Methods Anuj Dawar University of Cambridge Computer Laboratory Simons Institute, 30 August 2016 Review We aim to develop tools for studying the expressive

More information

arxiv: v6 [cs.db] 6 Feb 2017

arxiv: v6 [cs.db] 6 Feb 2017 FAQ: Questions Asked Frequently Mahmoud Abo Khamis Hung Q. Ngo Atri Rudra arxiv:1504.04044v6 [cs.db] 6 Feb 2017 LogicBlox Inc. {mahmoud.abokhamis,hung.ngo}@logicblox.com Department of Computer Science

More information

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler

More information

A Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation

A Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation Dichotomy for Non-Repeating Queries with Negation Queries with Negation in in Probabilistic Databases Robert Dan Olteanu Fink and Dan Olteanu Joint work with Robert Fink Uncertainty in Computation Simons

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

On Factorisation of Provenance Polynomials

On Factorisation of Provenance Polynomials On Factorisation of Provenance Polynomials Dan Olteanu and Jakub Závodný Oxford University Computing Laboratory Wolfson Building, Parks Road, OX1 3QD, Oxford, UK 1 Introduction Tracking and managing provenance

More information

List H-Coloring a Graph by Removing Few Vertices

List H-Coloring a Graph by Removing Few Vertices List H-Coloring a Graph by Removing Few Vertices Rajesh Chitnis 1, László Egri 2, and Dániel Marx 2 1 Department of Computer Science, University of Maryland at College Park, USA, rchitnis@cs.umd.edu 2

More information

Size and Treewidth Bounds for Conjunctive Queries

Size and Treewidth Bounds for Conjunctive Queries Size and Treewidth Bounds for Conjunctive Queries GEORG GOTTLOB University of Oxford, UK STEPHANIE TIEN LEE University of Oxford, UK GREGORY VALIANT University of California, Berkeley and PAUL VALIANT

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

Course information. Winter ATFD

Course information. Winter ATFD Course information More information next week This is a challenging course that will put you at the forefront of current data management research Lots of work done by you: extra reading: at least 4 research

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

Algorithmic Model Theory SS 2016

Algorithmic Model Theory SS 2016 Algorithmic Model Theory SS 2016 Prof. Dr. Erich Grädel and Dr. Wied Pakusa Mathematische Grundlagen der Informatik RWTH Aachen cbnd This work is licensed under: http://creativecommons.org/licenses/by-nc-nd/3.0/de/

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

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

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

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

Logic and Databases. Phokion G. Kolaitis. UC Santa Cruz & IBM Research Almaden. Lecture 4 Part 1

Logic and Databases. Phokion G. Kolaitis. UC Santa Cruz & IBM Research Almaden. Lecture 4 Part 1 Logic and Databases Phokion G. Kolaitis UC Santa Cruz & IBM Research Almaden Lecture 4 Part 1 1 Thematic Roadmap Logic and Database Query Languages Relational Algebra and Relational Calculus Conjunctive

More information

Consistent Query Answering under Primary Keys: A Characterization of Tractable Queries

Consistent Query Answering under Primary Keys: A Characterization of Tractable Queries Consistent Query Answering under Primary Keys: A Characterization of Tractable Queries Jef Wijsen University of Mons-Hainaut Mons, Belgium jef.wijsen@umh.ac.be ABSTRACT This article deals with consistent

More information

The Complexity of Evaluating Tuple Generating Dependencies

The Complexity of Evaluating Tuple Generating Dependencies The Complexity of Evaluating Tuple Generating Dependencies Reinhard Pichler Vienna University of Technology pichler@dbai.tuwien.ac.at Sebastian Skritek Vienna University of Technology skritek@dbai.tuwien.ac.at

More information

Tractable Hypergraph Properties for Constraint Satisfaction and Conjunctive Queries

Tractable Hypergraph Properties for Constraint Satisfaction and Conjunctive Queries Tractable Hypergraph Properties for Constraint Satisfaction and Conjunctive Queries Dániel Marx School of Computer Science Tel Aviv University Tel Aviv, Israel dmarx@cs.bme.hu ABSTRACT An important question

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

Answer-Set Programming with Bounded Treewidth

Answer-Set Programming with Bounded Treewidth Answer-Set Programming with Bounded Treewidth Michael Jakl, Reinhard Pichler and Stefan Woltran Institute of Information Systems, Vienna University of Technology Favoritenstrasse 9 11; A-1040 Wien; Austria

More information

An algorithm for the acyclic hypergraph sandwich problem

An algorithm for the acyclic hypergraph sandwich problem R u t c o r Research R e p o r t An algorithm for the acyclic hypergraph sandwich problem Vladimir Gurvich a Vladimir Oudalov c Nysret Musliu b Marko Samer d RRR 37-2005, December 2005 RUTCOR Rutgers Center

More information

Locality of Counting Logics

Locality of Counting Logics Locality of Counting Logics Dietrich Kuske Technische Universität Ilmenau 1/22 Example 1 Can a first-order formula distinguish the following two graphs? vs. no, but why? Hanf (1965): every single-centered

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

1 Fixed-Parameter Tractability

1 Fixed-Parameter Tractability 1 Fixed-Parameter Tractability In this chapter, we introduce parameterized problems and the notion of fixed-parameter tractability. We start with an informal discussion that highlights the main issues

More information

NP-Completeness. Until now we have been designing algorithms for specific problems

NP-Completeness. Until now we have been designing algorithms for specific problems NP-Completeness 1 Introduction Until now we have been designing algorithms for specific problems We have seen running times O(log n), O(n), O(n log n), O(n 2 ), O(n 3 )... We have also discussed lower

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

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

Pattern Logics and Auxiliary Relations

Pattern Logics and Auxiliary Relations Pattern Logics and Auxiliary Relations Diego Figueira Leonid Libkin University of Edinburgh Abstract A common theme in the study of logics over finite structures is adding auxiliary predicates to enhance

More information

The parameterized complexity of counting problems

The parameterized complexity of counting problems The parameterized complexity of counting problems Jörg Flum Martin Grohe January 22, 2004 Abstract We develop a parameterized complexity theory for counting problems. As the basis of this theory, we introduce

More information

The Mixed Chinese Postman Problem Parameterized by Pathwidth and Treedepth

The Mixed Chinese Postman Problem Parameterized by Pathwidth and Treedepth The Mixed Chinese Postman Problem Parameterized by Pathwidth and Treedepth Gregory Gutin, Mark Jones, and Magnus Wahlström Royal Holloway, University of London Egham, Surrey TW20 0EX, UK Abstract In the

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 Query Containment Problem: Set Semantics vs. Bag Semantics. Phokion G. Kolaitis University of California Santa Cruz & IBM Research - Almaden

The Query Containment Problem: Set Semantics vs. Bag Semantics. Phokion G. Kolaitis University of California Santa Cruz & IBM Research - Almaden The Query Containment Problem: Set Semantics vs. Bag Semantics Phokion G. Kolaitis University of California Santa Cruz & IBM Research - Almaden PROBLEMS Problems worthy of attack prove their worth by hitting

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 7. Ehrenfeucht-Fraïssé Games Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Pichler 15

More information

The expressive power of bijections over weakly arithmetized structures

The expressive power of bijections over weakly arithmetized structures The expressive power of bijections over weakly arithmetized structures Étienne Ailloud Département d informatique Université de Caen 14000 Caen, France eailloud@etu.info.unicaen.fr Arnaud Durand LACL,

More information

Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy

Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy Electronic Colloquium on Computational Complexity, Report No. 143 (2014) Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy Ronald de Haan, Stefan Szeider Institute of Information

More information

Compiling Knowledge into Decomposable Negation Normal Form

Compiling Knowledge into Decomposable Negation Normal Form Compiling Knowledge into Decomposable Negation Normal Form Adnan Darwiche Cognitive Systems Laboratory Department of Computer Science University of California Los Angeles, CA 90024 darwiche@cs. ucla. edu

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

Shannon-type Inequalities, Submodular Width, and Disjunctive Datalog

Shannon-type Inequalities, Submodular Width, and Disjunctive Datalog Shannon-type Inequalities, Submodular Width, and Disjunctive Datalog Hung Q. Ngo (Stealth Mode) With Mahmoud Abo Khamis and Dan Suciu @ PODS 2017 Table of Contents Connecting the Dots Output Size Bounds

More information

NP Complete Problems. COMP 215 Lecture 20

NP Complete Problems. COMP 215 Lecture 20 NP Complete Problems COMP 215 Lecture 20 Complexity Theory Complexity theory is a research area unto itself. The central project is classifying problems as either tractable or intractable. Tractable Worst

More information

Tuples of Disjoint NP-Sets

Tuples of Disjoint NP-Sets Tuples of Disjoint NP-Sets (Extended Abstract) Olaf Beyersdorff Institut für Informatik, Humboldt-Universität zu Berlin, 10099 Berlin, Germany beyersdo@informatik.hu-berlin.de Abstract. Disjoint NP-pairs

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

Monadic Second Order Logic on Graphs with Local Cardinality Constraints

Monadic Second Order Logic on Graphs with Local Cardinality Constraints Monadic Second Order Logic on Graphs with Local Cardinality Constraints STEFAN SZEIDER Vienna University of Technology, Austria We introduce the class of MSO-LCC problems which are problems of the following

More information

On the Counting Complexity of Propositional Circumscription

On the Counting Complexity of Propositional Circumscription On the Counting Complexity of Propositional Circumscription Arnaud Durand Miki Hermann Abstract Propositional circumscription, asking for the minimal models of a Boolean formula, is an important problem

More information

Chordal networks of polynomial ideals

Chordal networks of polynomial ideals Chordal networks of polynomial ideals Diego Cifuentes Laboratory for Information and Decision Systems Electrical Engineering and Computer Science Massachusetts Institute of Technology Joint work with Pablo

More information

Parameterised Subgraph Counting Problems

Parameterised Subgraph Counting Problems Parameterised Subgraph Counting Problems Kitty Meeks University of Glasgow University of Strathclyde, 27th May 2015 Joint work with Mark Jerrum (QMUL) What is a counting problem? Decision problems Given

More information

Quantified Boolean Formulas Part 1

Quantified Boolean Formulas Part 1 Quantified Boolean Formulas Part 1 Uwe Egly Knowledge-Based Systems Group Institute of Information Systems Vienna University of Technology Results of the SAT 2009 application benchmarks for leading solvers

More information

Chordal structure and polynomial systems

Chordal structure and polynomial systems Chordal structure and polynomial systems Pablo A. Parrilo Laboratory for Information and Decision Systems Electrical Engineering and Computer Science Massachusetts Institute of Technology Joint work with

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

Computational Aspects of Abstract Argumentation

Computational Aspects of Abstract Argumentation Computational Aspects of Abstract Argumentation PhD Defense, TU Wien (Vienna) Wolfgang Dvo ák supervised by Stefan Woltran Institute of Information Systems, Database and Articial Intelligence Group Vienna

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

W -Hardness under Linear FPT-Reductions: Structural Properties and Further Applications

W -Hardness under Linear FPT-Reductions: Structural Properties and Further Applications W -Hardness under Linear FPT-Reductions: Structural Properties and Further Applications Jianer Chen 1 Xiuzhen Huang 2 Iyad A. Kanj 3 Ge Xia 4 1 Dept. of Computer Science, Texas A&M University, College

More information

Sums of Products. Pasi Rastas November 15, 2005

Sums of Products. Pasi Rastas November 15, 2005 Sums of Products Pasi Rastas November 15, 2005 1 Introduction This presentation is mainly based on 1. Bacchus, Dalmao and Pitassi : Algorithms and Complexity results for #SAT and Bayesian inference 2.

More information

Primitive recursive functions

Primitive recursive functions Primitive recursive functions Decidability problems Only pages: 1, 2, 3, 5, 23, 30, 43, 49 Armando Matos LIACC, UP 2014 Abstract Although every primitive recursive (PR) function is total, many problems

More information

The complexity of first-order and monadic second-order logic revisited

The complexity of first-order and monadic second-order logic revisited The complexity of first-order and monadic second-order logic revisited Markus Frick Martin Grohe May 2, 2002 Abstract The model-checking problem for a logic L on a class C of structures asks whether a

More information

Computing Query Probability with Incidence Algebras Technical Report UW-CSE University of Washington

Computing Query Probability with Incidence Algebras Technical Report UW-CSE University of Washington Computing Query Probability with Incidence Algebras Technical Report UW-CSE-10-03-02 University of Washington Nilesh Dalvi, Karl Schnaitter and Dan Suciu Revised: August 24, 2010 Abstract We describe an

More information

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees Karsten Lehmann a, Rafael Peñaloza b a Optimisation Research Group, NICTA Artificial Intelligence Group, Australian National

More information

THE topic of this paper is the following problem:

THE topic of this paper is the following problem: 1 Revisiting the Linear Programming Relaxation Approach to Gibbs Energy Minimization and Weighted Constraint Satisfaction Tomáš Werner Abstract We present a number of contributions to the LP relaxation

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

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP CS 301 - Lecture 29 P, NP, and NP-Completeness Fall 2008 Review Languages and Grammars Alphabets, strings, languages Regular Languages Deterministic Finite and Nondeterministic Automata Equivalence of

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

A Guarded-Based Disjunctive Tuple-Generating Dependencies

A Guarded-Based Disjunctive Tuple-Generating Dependencies A Guarded-Based Disjunctive Tuple-Generating Dependencies Rule-based languages lie at the core of several areas of central importance to databases and artificial intelligence, such as data exchange, deductive

More information

Graph Theory and Optimization Computational Complexity (in brief)

Graph Theory and Optimization Computational Complexity (in brief) Graph Theory and Optimization Computational Complexity (in brief) Nicolas Nisse Inria, France Univ. Nice Sophia Antipolis, CNRS, I3S, UMR 7271, Sophia Antipolis, France September 2015 N. Nisse Graph Theory

More information

On Elementary Loops of Logic Programs

On Elementary Loops of Logic Programs Under consideration for publication in Theory and Practice of Logic Programming 1 On Elementary Loops of Logic Programs Martin Gebser Institut für Informatik Universität Potsdam, Germany (e-mail: gebser@cs.uni-potsdam.de)

More information

The Extendable-Triple Property: a new CSP Tractable Class beyond BTP

The Extendable-Triple Property: a new CSP Tractable Class beyond BTP The Extendable-Triple Property: a new CSP Tractable Class beyond BTP Philippe Jégou and Cyril Terrioux Aix-Marseille Université, CNRS LSIS UMR 7296 Avenue Escadrille Normandie-Niemen 13397 Marseille Cedex

More information

Lecture 8: Complete Problems for Other Complexity Classes

Lecture 8: Complete Problems for Other Complexity Classes IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 8: Complete Problems for Other Complexity Classes David Mix Barrington and Alexis Maciel

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

On the Subexponential-Time Complexity of CSP

On the Subexponential-Time Complexity of CSP Journal of Artificial Intelligence Research 52 (2015) 203-234 Submitted 8/14; published 1/15 On the Subexponential-Time Complexity of CSP Ronald de Haan Vienna University of Technology Vienna, Austria

More information

Factorised Representations of Query Results: Size Bounds and Readability

Factorised Representations of Query Results: Size Bounds and Readability Factorised Representations of Query Results: Size Bounds and Readability Dan Olteanu and Jakub Závodný Department of Computer Science University of Oxford {dan.olteanu,jakub.zavodny}@cs.ox.ac.uk ABSTRACT

More information

On Valued Negation Normal Form Formulas

On Valued Negation Normal Form Formulas On Valued Negation Normal Form Formulas Hélène Fargier IRIT-CNRS, Toulouse email: fargier@irit.fr Pierre Marquis CRIL-CNRS, Université d Artois, Lens email: marquis@cril.univ-artois.fr Abstract Subsets

More information

Tractability. Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time?

Tractability. Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time? Tractability Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time?» Standard working definition: polynomial time» On an input

More information