TY - GEN
T1 - The limits of fixed-order computation
AU - Sagonas, Konstantinos
AU - Swift, Terrance
AU - Warren, David S.
PY - 1996/1/1
Y1 - 1996/1/1
N2 - Fixed-order computation miles, used by Prolog and most deductive database systems, do not suffice to compute the well-founded semantics [19] because they cannot properly resolve loops through negation. This inadequacy is reflected both in formulations of SLS-resolution [8, 12] which is an ideal search strategy, and in more practical strategies like SLG [3], or Well-Founded Ordered Search [16]. Typically, these practical strategies combine an inexpensive fixed-order search with a relatively expensive dynamic search, such as an alternating fixpoint [18]. Restricting the search space of evaluation strategies by maximizing the use of fixed-order computation is of prime importance for efficient goal-directed evaluation of the well-founded semantics. Towards this end, the theory of modular stratification [13], formulates a subset of normal logic programs whose literals can be statically reordered so that the program can be evaluated using a fixed-order computation rule. However, exploration of larger classes of stratified programs that can be evaluated in this manner has been left open in the literature, perhaps due to the lack of implementation methods that can benefit from such results. We address the limits of fixed-order computation by adapting results of Przymusinski [8] to formulate the class of left-toright dynamically stratified programs. We show that this class properly includes other classes of fixed-order stratified programs. Furthermore, we introduce SLGot,at, a variant of SLG resolution that uses a fixed-order computation rule, and prove that it correctly evaluates ground left-toright dynamically stratified programs. We outline how SLG,tr~t can be used as a basis for restricting the space of possible SLG derivations and, finally, outline how these results are used in the abstract machine of XSB, and can be used in other methods such as Ordered Search of CORAL.
AB - Fixed-order computation miles, used by Prolog and most deductive database systems, do not suffice to compute the well-founded semantics [19] because they cannot properly resolve loops through negation. This inadequacy is reflected both in formulations of SLS-resolution [8, 12] which is an ideal search strategy, and in more practical strategies like SLG [3], or Well-Founded Ordered Search [16]. Typically, these practical strategies combine an inexpensive fixed-order search with a relatively expensive dynamic search, such as an alternating fixpoint [18]. Restricting the search space of evaluation strategies by maximizing the use of fixed-order computation is of prime importance for efficient goal-directed evaluation of the well-founded semantics. Towards this end, the theory of modular stratification [13], formulates a subset of normal logic programs whose literals can be statically reordered so that the program can be evaluated using a fixed-order computation rule. However, exploration of larger classes of stratified programs that can be evaluated in this manner has been left open in the literature, perhaps due to the lack of implementation methods that can benefit from such results. We address the limits of fixed-order computation by adapting results of Przymusinski [8] to formulate the class of left-toright dynamically stratified programs. We show that this class properly includes other classes of fixed-order stratified programs. Furthermore, we introduce SLGot,at, a variant of SLG resolution that uses a fixed-order computation rule, and prove that it correctly evaluates ground left-toright dynamically stratified programs. We outline how SLG,tr~t can be used as a basis for restricting the space of possible SLG derivations and, finally, outline how these results are used in the abstract machine of XSB, and can be used in other methods such as Ordered Search of CORAL.
UR - http://www.scopus.com/inward/record.url?scp=84957357134&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84957357134&partnerID=8YFLogxK
U2 - 10.1007/BFb0031750
DO - 10.1007/BFb0031750
M3 - Conference contribution
AN - SCOPUS:84957357134
SN - 3540618147
SN - 9783540618140
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 343
EP - 363
BT - Logic in Databases - International Workshop, LID 1996, Proceedings
A2 - Pedreschi, Dino
A2 - Zaniolo, Carlo
PB - Springer Verlag
T2 - International Workshop on Logic in Databases, LID 1996
Y2 - 1 July 1996 through 2 July 1996
ER -