A New Formulation of Tabled Resolution with Delay

Tabling has become important to logic programming in part because it opens new application areas, such as model checking, to logic programming techniques. However, the development of new extensions of tabled logic programming is becoming restricted by the formalisms that underly it. Formalisms for tabled evaluations, such as SLG [3], are generally developed with a view to a specific set of allowable operations that can be performed in an evaluation. In the case of SLG, tabling operations are based on a variance relation between atoms. While the set of SLG tabling operations has proven useful for a number of applications, other types of operations, such as those based on a subsumption relation between atoms, can have practical uses. In this paper, SLG is reformulated in two ways: so that it can be parameterized using different sets of operations; and so that a forest of trees paradigm is used. Equivalence to SLG of the new formulation, Extended SLG or SLGX, is shown when the new formalism is parameterized by variant-based operations. In addition, SLGX is also parameterized by subsumption-based operations and shown correct for queries to the well-founded model. Finally, the usefulness of the forest of trees paradigm for motivating tabling optimizations is shown by formalizing the concept of relevance within a tabled evaluation.

[1]  K. Devlin Fundamentals of contemporary set theory , 1979 .

[2]  Hisao Tamaki,et al.  OLD Resolution with Tabulation , 1986, ICLP.

[3]  John Wylie Lloyd,et al.  Foundations of Logic Programming , 1987, Symbolic Computation.

[4]  Kenneth A. Ross,et al.  Unfounded sets and well-founded semantics for general logic programs , 1988, PODS.

[5]  Catriel Beeri,et al.  Optimizing existential datalog queries , 1988, PODS.

[6]  Kenneth A. Ross,et al.  The well-founded semantics for general logic programs , 1991, JACM.

[7]  Roland N. Bol,et al.  Tabulated Resolution for the Well-Founded Semantics , 1993, J. Log. Program..

[8]  Luís Moniz Pereira,et al.  Model-based diagnosis preferences and strategies representation with logic meta-programming , 1995 .

[9]  Konstantinos Sagonas,et al.  An Abstract Machine for Computing the Well-Founded Semantics , 1996, JICSLP.

[10]  K. A. Ross,et al.  Tabled Evaluation with Delaying for General Logic Programs , 1996 .

[11]  C. R. Ramakrishnan,et al.  Efficient Model Checking Using Tabled Resolution , 1997, CAV.

[12]  Burkhard Freitag,et al.  Improving the Alternating Fixpoint: The Transformation Approach , 1997, LPNMR.

[13]  Juliana Freire,et al.  XSB: A System for Effciently Computing WFS , 1997, LPNMR.

[14]  D. Warren,et al.  Xsb -a System for Eeciently Computing Well Founded Semantics , 1997 .

[15]  Y. S. Ramakrishna,et al.  Eecient Model Checking Using Tabled Resolution ? , 1997 .

[16]  Konstantinos Sagonas,et al.  An abstract machine for tabled execution of fixed-order stratified logic programs , 1998, TOPL.

[17]  Juliana Freire,et al.  Beyond Depth-First Strategies: Improving Tabled Logic Programs through Alternative Scheduling , 1998, J. Funct. Log. Program..

[18]  Weidong Chen,et al.  Constructive Negation Under the Well-Founded Semantics , 1999, J. Log. Program..

[19]  I. V. Ramakrishnan,et al.  Efficient Access Mechanisms for Tabled Logic Programs , 1999, J. Log. Program..

[20]  José Júlio Alferes,et al.  Well-founded Abduction via Tabled Dual Programs , 1999, ICLP.

[21]  Konstantinos Sagonas,et al.  The Limits of Fixed-Order Computation , 1996, Logic in Databases.

[22]  David Scott Warren,et al.  The limits of!xed-order computation , 2001 .