Minimizing function-free recursive inference rules
- 1 January 1989
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 36 (1), 69-91
- https://doi.org/10.1145/58562.59303
Abstract
Recursive inference rules arise in recursive definitions in logic programming systems and in database systems with recursive query languages. LetDbe a recursive definition of a relationt.Dis consideredminimalif for any predicatepin a recursive rule inD,pmust appear in a recursive rule in any definition oft. It is shown that testing for minimality is, in general, undecidable. However, an efficient algorithm for a useful class of recursive rules is presented, and it is used to transform a recursive definition to a minimal recursive definition. Evaluating the minimized definition avoids redundant computation without the overhead of caching intermediate results and run-time checking for duplicate goals.Keywords
This publication has 4 references indexed in Scilit:
- Data independent recursion in deductive databasesPublished by Association for Computing Machinery (ACM) ,1985
- On compiling queries in recursive first-order databasesJournal of the ACM, 1984
- On recursive axioms in deductive databasesInformation Systems, 1983
- Equivalences Among Relational Expressions with the Union and Difference OperatorsJournal of the ACM, 1980