Schaefer's Theorem for Graphs

Schaefer's theorem is a complexity classification result for so-called Boolean constraint satisfaction problems: it states that every Boolean constraint satisfaction problem is either contained in one out of six classes and can be solved in polynomial time, or is NP-complete. We present an analog of this dichotomy result for the propositional logic of graphs instead of Boolean logic. In this generalization of Schaefer's result, the input consists of a set W of variables and a conjunction Φ of statements (“constraints”) about these variables in the language of graphs, where each statement is taken from a fixed finite set Ψ of allowed quantifier-free first-order formulas; the question is whether Φ is satisfiable in a graph. We prove that either Ψ is contained in one out of 17 classes of graph formulas and the corresponding problem can be solved in polynomial time, or the problem is NP-complete. This is achieved by a universal-algebraic approach, which in turn allows us to use structural Ramsey theory. To apply the universal-algebraic approach, we formulate the computational problems under consideration as constraint satisfaction problems (CSPs) whose templates are first-order definable in the countably infinite random graph. Our method for classifying the computational complexity of those CSPs is based on a Ramsey-theoretic analysis of functions acting on the random graph, and we develop general tools suitable for such an analysis which are of independent mathematical interest.

[1]  Manuel Bodirsky,et al.  A fast algorithm and datalog inexpressibility for temporal reasoning , 2010, TOCL.

[2]  Peter J. Cameron,et al.  The Random Graph , 2013, The Mathematics of Paul Erdős II.

[3]  J. Spencer Ramsey Theory , 1990 .

[4]  Michael Pinsker,et al.  The reducts of equality up to primitive positive interdefinability , 2010, J. Symb. Log..

[5]  Peter J. Cameron,et al.  The Random Graph Revisited , 2001 .

[6]  Simon Thomas,et al.  Reducts of the random graph , 1991, Journal of Symbolic Logic.

[7]  Hubie Chen,et al.  A rendezvous of logic, complexity, and algebra , 2009, CSUR.

[8]  Ágnes Szendrei,et al.  Clones in universal algebra , 1986 .

[9]  Manuel Bodirsky Constraint Satisfaction Problems with Infinite Templates , 2008, Complexity of Constraints.

[10]  Wilfrid Hodges,et al.  A Shorter Model Theory , 1997 .

[11]  Manuel Bodirsky,et al.  The Complexity of Equality Constraint Languages , 2006, Theory of Computing Systems.

[12]  Peter Jeavons,et al.  Classifying the Complexity of Constraints Using Finite Algebras , 2005, SIAM J. Comput..

[13]  Manuel Bodirsky,et al.  The Complexity of Equality Constraint Languages , 2006, CSR.

[14]  Michael Pinsker,et al.  Topological Birkhoff , 2012, ArXiv.

[15]  Vojtech Rödl,et al.  Ramsey Classes of Set Systems , 1983, J. Comb. Theory, Ser. A.

[16]  Jaroslav Nesetril,et al.  Constraint Satisfaction with Countable Homogeneous Templates , 2003, J. Log. Comput..

[17]  Marc Gyssens,et al.  Closure properties of constraints , 1997, JACM.

[18]  Michael Pinsker,et al.  Decidability of Definability , 2010, 2011 IEEE 26th Annual Symposium on Logic in Computer Science.

[19]  Hubie Chen A rendezvous of logic, complexity, and algebra , 2006, SIGA.

[20]  Michael Pinsker,et al.  The 42 reducts of the random ordered graph , 2013, 1309.2165.

[21]  Manuel Bodirsky,et al.  Complexity Classification in Infinite-Domain Constraint Satisfaction , 2012, ArXiv.

[22]  Martin Goldstern,et al.  A survey of clones on infinite sets , 2006 .

[23]  Manuel Bodirsky,et al.  The complexity of temporal constraint satisfaction problems , 2008, STOC.

[24]  Simon Thomas,et al.  Reducts of Random Hypergraphs , 1996, Ann. Pure Appl. Log..

[25]  Peter Jonsson,et al.  Horn versus full first-order: Complexity dichotomies in algebraic constraint satisfaction , 2010, J. Log. Comput..

[26]  Thomas J. Schaefer,et al.  The complexity of satisfiability problems , 1978, STOC.

[27]  Chen C. Chang,et al.  Model Theory: Third Edition (Dover Books On Mathematics) By C.C. Chang;H. Jerome Keisler;Mathematics , 1966 .

[28]  Geoffrey Exoo,et al.  A lower bound for r(5, 5) , 1989, J. Graph Theory.

[29]  Ivo Düntsch,et al.  Relation Algebras and their Application in Temporal and Spatial Reasoning , 2005, Artificial Intelligence Review.

[30]  Michael Pinsker,et al.  Reducts of Ramsey structures , 2011, AMS-ASL Joint Special Session.

[31]  Ramsey Theory,et al.  Ramsey Theory , 2020, Set Theory and Foundations of Mathematics: An Introduction to Mathematical Logic.

[32]  Michael Pinsker,et al.  Minimal functions on the random graph , 2010 .

[33]  Manuel Bodirsky,et al.  Maximal infinite-valued constraint languages , 2009, Theor. Comput. Sci..

[34]  Leo Harrington,et al.  Models Without Indiscernibles , 1978, J. Symb. Log..

[35]  Peter Jeavons,et al.  Building tractable disjunctive constraints , 2000, J. ACM.