Enhancing global SLS-resolution with loop cutting and tabling mechanisms

Yi-Dong Shen, Jia-Huai You, Li-Yan Yuan
2004 Theoretical Computer Science  
Global SLS-resolution is a well-known procedural semantics for top-down computation of queries under the well-founded model. It inherits from SLDNF-resolution the linearity property of derivations, which makes it easy and efficient to implement using a simple stack-based memory structure. However, like SLDNF-resolution it suffers from the problem of infinite loops and redundant computations. To resolve this problem, in this paper we develop a new procedural semantics, called SLTNF-resolution,
more » ... enhancing Global SLS-resolution with loop cutting and tabling mechanisms. SLTNF-resolution is sound and complete w.r.t. the well-founded semantics for logic programs with the bounded-term-size property, and is superior to existing linear tabling procedural semantics such as SLT-resolution.
doi:10.1016/j.tcs.2004.07.028 fatcat:dwem6pinjvdf7bgopob6prqc7q