One Hierarchy Spawns Another

We study the problem of conjunctive query evaluation relative to a class of queries. This problem is formulated here as the relational homomorphism problem relative to a class of structures A, in which each instance must be a pair of structures such that the first structure is an element of A. We present a comprehensive complexity classification of these problems, which strongly links graph-theoretic properties of A to the complexity of the corresponding homomorphism problem. In particular, we define a binary relation on graph classes, which is a preorder, and completely describe the resulting hierarchy given by this relation. This relation is defined in terms of a notion that we call graph deconstruction and that is a variant of the well-known notion of tree decomposition. We then use this hierarchy of graph classes to infer a complexity hierarchy of homomorphism problems that is comprehensive up to a computationally very weak notion of reduction, namely, a parameterized version of quantifier-free, first-order reduction. In doing so, we obtain a significantly refined complexity classification of homomorphism problems as well as a unifying, modular, and conceptually clean treatment of existing complexity classifications. We then present and develop the theory of Ehrenfeucht-Fraïssé-style pebble games, which solve the homomorphism problems where the cores of the structures in A have bounded tree depth. This condition characterizes those classical homomorphism problems decidable in logarithmic space, assuming a hypothesis from parameterized space complexity. Finally, we use our framework to classify the complexity of model checking existential sentences having bounded quantifier rank.

[1]  Neil Immerman,et al.  Descriptive Complexity , 1999, Graduate Texts in Computer Science.

[2]  Thomas Schwentick,et al.  When is the evaluation of conjunctive queries tractable? , 2001, STOC '01.

[3]  Reinhard Diestel,et al.  Graph Theory, 4th Edition , 2012, Graduate texts in mathematics.

[4]  Jörg Flum,et al.  Parameterized Complexity Theory , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[5]  B. Mohar,et al.  Graph Minors , 2009 .

[6]  Mihalis Yannakakis,et al.  On the Complexity of Database Queries , 1999, J. Comput. Syst. Sci..

[7]  Phokion G. Kolaitis,et al.  Constraint Satisfaction, Bounded Treewidth, and Finite-Variable Logics , 2002, CP.

[8]  Hubie Chen,et al.  Arc consistency and friends , 2011, J. Log. Comput..

[9]  Jörg Flum,et al.  Fixed-Parameter Tractability, Definability, and Model-Checking , 1999, SIAM J. Comput..

[10]  Phokion G. Kolaitis,et al.  On the expressive power of datalog: tools and a case study , 1990, J. Comput. Syst. Sci..

[11]  Georg Gottlob,et al.  Hypertree decompositions and tractable queries , 1998, J. Comput. Syst. Sci..

[12]  Víctor Dalmau,et al.  Linear datalog and bounded path duality of relational structures , 2005, Log. Methods Comput. Sci..

[13]  Phokion G. Kolaitis,et al.  Conjunctive-query containment and constraint satisfaction , 1998, PODS.

[14]  Bruno Courcelle,et al.  On the Monadic Second-Order Transduction Hierarchy , 2010, Log. Methods Comput. Sci..

[15]  Georg Gottlob,et al.  The complexity of acyclic conjunctive queries , 2001, JACM.

[16]  Thomas Schwentick,et al.  Database theory: query languages , 2010 .

[17]  Y. Gurevich On Finite Model Theory , 1990 .

[18]  Paul D. Seymour,et al.  Graph minors. I. Excluding a forest , 1983, J. Comb. Theory, Ser. B.

[19]  Hans L. Bodlaender,et al.  A Partial k-Arboretum of Graphs with Bounded Treewidth , 1998, Theor. Comput. Sci..

[20]  Martin Grohe The complexity of homomorphism and constraint satisfaction problems seen from the other side , 2007, JACM.

[21]  Anuj Dawar,et al.  Parameterized Complexity Classes under Logical Reductions , 2009, MFCS.

[22]  Hubie Chen,et al.  Beyond Hypertree Width: Decomposition Methods Without Decompositions , 2005, CP.

[23]  Andrei A. Bulatov,et al.  Dualities for Constraint Satisfaction Problems , 2008, Complexity of Constraints.

[24]  A. Dawar FINITE MODEL THEORY (Perspectives in Mathematical Logic) , 1997 .

[25]  Paul D. Seymour,et al.  Graph minors. V. Excluding a planar graph , 1986, J. Comb. Theory B.

[26]  Dániel Marx,et al.  Tractable Hypergraph Properties for Constraint Satisfaction and Conjunctive Queries , 2009, JACM.

[27]  Albert Atserias,et al.  Decidable Relationships between Consistency Notions for Constraint Satisfaction Problems , 2009, CSL.

[28]  Mikhail J. Atallah,et al.  Algorithms and Theory of Computation Handbook , 2009, Chapman & Hall/CRC Applied Algorithms and Data Structures series.

[29]  Jörg Flum,et al.  Describing parameterized complexity classes , 2002, Inf. Comput..

[30]  Yijia Chen,et al.  Bounded Variable Logic, Parameterized Logarithmic Space, and Savitch's Theorem , 2014, MFCS.

[31]  Andrei A. Bulatov,et al.  On the Power of k -Consistency , 2007, ICALP.

[32]  Phokion G. Kolaitis,et al.  A Game-Theoretic Approach to Constraint Satisfaction , 2000, AAAI/IAAI.

[33]  Michael R. Fellows,et al.  Fundamentals of Parameterized Complexity , 2013 .

[34]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[35]  Serge Abiteboul,et al.  Foundations of Databases: The Logical Level , 1995 .

[36]  Libor Barto,et al.  Constraint Satisfaction Problems of Bounded Width , 2009, 2009 50th Annual IEEE Symposium on Foundations of Computer Science.

[37]  R. Stephenson A and V , 1962, The British journal of ophthalmology.

[38]  Ashok K. Chandra,et al.  Optimal implementation of conjunctive queries in relational data bases , 1977, STOC '77.

[39]  Hubie Chen,et al.  The Fine Classification of Conjunctive Queries and Parameterized Logarithmic Space , 2013, ACM Trans. Comput. Theory.

[40]  Jörg Flum,et al.  Parameterized Complexity Theory (Texts in Theoretical Computer Science. An EATCS Series) , 2006 .

[41]  Michael Elberfeld,et al.  On the Space Complexity of Parameterized Problems , 2012, IPEC.

[42]  Yijia Chen,et al.  Bounded nondeterminism and alternation in parameterized complexity theory , 2003, 18th IEEE Annual Conference on Computational Complexity, 2003. Proceedings..

[43]  Jaroslav Nesetril,et al.  Tree-depth, subgraph coloring and homomorphism bounds , 2006, Eur. J. Comb..