Boundedness is undecidable for datalog programs with a single recursive rule

https://doi.org/10.1016/0020-0190(89)90019-7Get rights and content

Abstract

We prove that boundedness is undecidable even for Datalog programs with a single recursive rule. This strengthens the undecidability results of Gaifman et al. (1987) for multiple recursive rule Datalog programs. Our proof technique involves approximate simulation of a fixpoint of a formula with disjunctions, by a fixpoint of a formula without disjunctions.

References (11)

  • S.S. Cosmadakis et al.

    Decidable optimization problems for database logic programs

    Proc. 20th ACM STOC

    (1988)
  • S.S. Cosmadakis et al.

    Parallel evaluation of recursive rule queries

    Proc. 5th ACM Symp. on Principles of Database Systems

    (1986)
  • H. Gaifman et al.

    Undecidable optimization problems for database logic programs

    Proc. 2nd Symp. on Logic in Computer Science

    (1987)
  • Y.E. Ioannidis

    A time bound on the materialization of some recursively defined views

    Proc. 11th Internat. Conf. on Very Large Data Bases

    (1985)
  • P.C. Kanellakis

    Logic programming and parallel complexity

There are more references available in the full text version of this article.

Cited by (31)

  • On the complexity of single-rule datalog queries

    2003, Information and Computation
    Citation Excerpt :

    These additional atoms make sure that over databases expanded by the or and eq relations, the set of ground instances of XP is equivalent to the union of the ground instances of the single rules of P, and hence XP encodes simultaneously all rules of P and is in essence equivalent to P. All our complexity and expressiveness results follow rather straightforwardly from this construction and from the corresponding results for general datalog programs (see Table 1). Note that a different product construction was given by Abiteboul [2] in order to show that the boundedness problem for datalog sirups is undecidable. That construction does preserve program boundedness, but not equivalence.

  • Undecidable boundedness problems for datalog programs

    1995, The Journal of Logic Programming
  • Characterizing Boundedness in Chase Variants

    2020, Theory and Practice of Logic Programming
  • Deciding boundedness of monadic sirups

    2021, Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems
View all citing articles on Scopus
View full text