Tools for Datalog boundedness
- 1 April 1991
- proceedings article
- Published by Association for Computing Machinery (ACM)
Abstract
A given Datalog program is bounded if its dependent of the input database) is interesting because depth of recursion is independent of the input database. Deciding boundedness is a basic task for the analysis of these database logic programs. We develop a number of new tools for proving (un)decidability of various kinds of boundedness for programs with: a small arity of the recursively defined predicates or a small number of rules. (1) We use the mortality problem of Turing machines to show that uniform boundedness is undecidable for arity 3 predicates and for arity 1 predicates when # is also allowed. (2) We use a single rule polymorphically to show that program (predicate) boundedness is undecid- able for two linear rules (one rule and a projection), one initialization rule and small arity predicates. (3) We use the theory of semi-linear sets to sharpen the conditions under which one can decide boundedness for one linear rule, any initialization rules and any arity predicates.Keywords
This publication has 14 references indexed in Scilit:
- Boundedness is undecidable for datalog programs with a single recursive ruleInformation Processing Letters, 1989
- Data independent recursion in deductive databasesJournal of Computer and System Sciences, 1989
- Minimizing function-free recursive inference rulesJournal of the ACM, 1989
- On Bounded Database Schemes and Bounded Horn-Clause ProgramsSIAM Journal on Computing, 1988
- Decidable optimization problems for database logic programsPublished by Association for Computing Machinery (ACM) ,1988
- Parallel evaluation of recursive rule queriesPublished by Association for Computing Machinery (ACM) ,1985
- Horn clause queries and generalizationsThe Journal of Logic Programming, 1985
- On the foundations of the universal relation modelACM Transactions on Database Systems, 1984
- On Context-Free LanguagesJournal of the ACM, 1966
- The undecidability of the Turing machine immortality problemThe Journal of Symbolic Logic, 1966