Minimizing function-free recursive inference rules

  • Authors:
  • Jeffrey F. Naughton

  • Affiliations:
  • Princeton Univ., Princeton, NJ

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

Recursive inference rules arise in recursive definitions in logic programming systems and in database systems with recursive query languages. Let D be a recursive definition of a relation t. D is considered minimal if for any predicate p in a recursive rule in D, p must appear in a recursive rule in any definition of t. 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.