Undecidability and intractability results concerning datalog programs and their persistency numbers

The relation between Datalog programs and homomorphism problems, and, between Datalog programs and bounded treewidth structures has been recognized for some time and given much attention recently. Additionally, the essential role of persistent variables (in program expansions) for solving several relevant problems has also started to be observed. In Afrati et al. [2005] the general notion of program persistencies was refined into four notions (two syntactical ones and two semantical ones) and the interrelationship between these four persistency numbers was studied. In the present article (1) we prove undecidability results concerning the semantical notions of persistency number--modulo equivalence, of persistency number and of characteristic integer, (2) we exhibit new classes of programs for which boundedness is undecidable and (3) we prove intractabiltity results concerning the syntactical notions of weak persistency number and of weak characteristic integer.

[1]  Foto N. Afrati,et al.  Expressiveness of restricted recursive queries , 1989, STOC '89.

[2]  Georg Gottlob,et al.  Hypertree Decompositions: A Survey , 2001, MFCS.

[3]  Reinhard Diestel,et al.  Graph Theory , 1997 .

[4]  Foto N. Afrati,et al.  Bounded Arity Datalog (not-)Queries on Graphs , 1997, J. Comput. Syst. Sci..

[5]  Stavros S. Cosmadakis On the first-order expressibility of recursive queries , 1989, PODS '89.

[6]  Foto N. Afrati,et al.  Bonded arity Datalog (≠) queries on graphs , 1994, PODS '94.

[7]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[8]  Foto N. Afrati,et al.  Expressiveness of Restricted Recursive Queries (Extended Abstract) , 1989, STOC 1989.

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

[10]  Harry G. Mairson,et al.  Tools for Datalog boundedness , 1991, PODS '91.

[11]  Haim Gaifman,et al.  Decidable Optimization Problems for Database Logic Programs (Preliminary Report) , 1988, STOC 1988.

[12]  Frank Harary,et al.  Graph Theory , 2016 .

[13]  Foto N. Afrati,et al.  Datalog programs and their persistency numbers , 2005, TOCL.

[14]  Haim Gaifman,et al.  Decidable optimization problems for database logic programs , 1988, STOC '88.

[15]  D. S. Johnson,et al.  Proceedings of the twenty-first annual ACM symposium on Theory of computing , 1989, STOC 1989.

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

[17]  Harry G. Mairson,et al.  Undecidable Boundedness Problems for Datalog Programs , 1995, J. Log. Program..

[18]  Bruno Courcelle,et al.  Graph Rewriting: An Algebraic and Logic Approach , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[19]  Jeffrey D. Ullman,et al.  Introduction to Automata Theory, Languages and Computation , 1979 .

[20]  Moshe Y. Vardi Decidability and undecidability results for boundedness of linear recursive queries , 1988, PODS.

[21]  R. Halin S-functions for graphs , 1976 .

[22]  Jerzy Marcinkowski,et al.  Achilles, Turtle, and Undecidable Boundedness Problems for Small DATALOG Programs , 1999, SIAM J. Comput..

[23]  Jeffrey D. Ullman,et al.  Principles of Database and Knowledge-Base Systems, Volume II , 1988, Principles of computer science series.

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

[25]  Harry G. Mairson,et al.  Undecidable optimization problems for database logic programs , 1993, JACM.