|
ABSTRACT
If it is possible to eliminate recursion from a Datalog program P, then P is said to be bounded. It was shown by Gaifman et al that the problem of deciding whether a given Datalog program is bounded is undecidable, even for linear programs that has one 4-ary intensional predicate. We sharpen that result by showing that the problem of deciding whether a given Datalog program is bounded is undecidable, even for linear programs that has one binary intensional predicate. We then consider linear programs with a single recursive rule. We show that if the intensional predicate is binary, then the boundedness problem for such program is decidable, in fact, it is NP-complete.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
ASU79
|
|
 |
AU79
|
|
 |
BR86
|
|
 |
Ch81
|
|
| |
CH80
|
Chandra, A K, Hard, D Computable queries for relational databases J Computer and Systems Sciences 21(1980), pp 156-178
|
| |
CH82
|
Chandra, A K, Ilarel, D Structure and Complexity of Relational Queues J Computer and S11stems Scsences 25(1982), pp 99-128
|
| |
CH85
|
Chandra, A K, Harel, D Item-clause queries and generahzahons J Logsc Programming 1(1985), pp 1-15
|
 |
CK86
|
|
 |
CGKV87
|
Stavros Cosmadakis , Haim Gaifman , Paris Kanellakis , Moshe Vardi, Decidable optimization problems for database logic programs, Proceedings of the twentieth annual ACM symposium on Theory of computing, p.477-490, May 02-04, 1988, Chicago, Illinois, United States
[doi> 10.1145/62212.62259]
|
 |
CM77
|
|
| |
CMG86
|
Chakravarthy, U S, Mmker, J, Grant, J- Semantic query optimmatlon- additional constraints and control strategies Prec. ~nd lnt'l Conf on Expert Database ,qllstems, Charleston, 1986, pp 259-169
|
| |
GM78
|
|
| |
GMSV87
|
Galfman, 11, Malrson, II, C;agl~, Y, Vard~ M Y Undecldable op|,mj~,ation problem~ for database log,c program~ Proc ~nd IEEE SI/mp on Log,e sn Computer Scsence, Ithaca, 1987, pp 1013-I 15
|
 |
HN84
|
|
| |
Im86
|
|
| |
Io85
|
Ioannld~s, Y E A time bound on the matermhzatlon of some recursively defined views Proc 11th lnt'i Conf on I er~/ Large Data Bases, Stockholm, 1985, pp 219-226
|
 |
JCV84
|
|
| |
Ka86
|
|
| |
Mo74
|
Moscho~ak,s, Y N Elementary lnductson on Abstract Structures North llolland, 1974
|
 |
MUV84
|
|
 |
Na86a
|
|
| |
Na86b
|
Naughton, J F Redundancy m Function-free |Iorn clauses Proc IEEE Syrup on Loglc Programmzng, Salt Lake Clty~ 1986, pp 236-245
|
| |
Na86c
|
|
 |
NS87
|
|
 |
Sa85
|
|
 |
Ul85
|
|
 |
Va82
|
|
| |
Va87
|
Vard,, M Y fl~'~ults on ~-lVay Automata, forthcoming
|
| |
Zl76
|
Zloof, M, Query-by-E~'ample Operatzons on the Transst;ve Closure IBM Research Report RC5526, 1976.
|
CITED BY 23
|
|
|
|
|
Stavros Cosmadakis , Haim Gaifman , Paris Kanellakis , Moshe Vardi, Decidable optimization problems for database logic programs, Proceedings of the twentieth annual ACM symposium on Theory of computing, p.477-490, May 02-04, 1988, Chicago, Illinois, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Daniela Florescu , Alon Levy , Dan Suciu, Query containment for conjunctive queries with regular expressions, Proceedings of the seventeenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.139-148, June 01-04, 1998, Seattle, Washington, United States
|
|
|
|
|
|
|
|
|
|
|
|
Gerd G. Hillebrand , Paris C. Kanellakis , Harry G. Mairson , Moshe Y. Vardi, Tools for Datalog boundedness, Proceedings of the tenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.1-12, May 29-31, 1991, Denver, Colorado, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|