Transformational methodology for proving termination of logic programs

Krishna Rao, M. R. K. ; Kapur, Deepak ; Shyamasundar, R. K. (1998) Transformational methodology for proving termination of logic programs The Journal of Logic Programming, 34 (1). pp. 1-41. ISSN 0743-1066

Full text not available from this repository.

Official URL: http://www.sciencedirect.com/science/article/pii/S...

Related URL: http://dx.doi.org/10.1016/S0743-1066(97)00028-9

Abstract

A methodology for proving the termination of well-moded logic programs is developed by reducing the termination problem of logic programs to that of term rewriting systems. A transformation procedure is presented to derive a term rewriting system from a given well-moded logic program such that the termination of the derived rewrite system implies the termination of the logic program for all well-moded queries under a class of selection rules. This facilitates applicability of a vast source of termination orderings proposed in the literature on term rewriting, for proving termination of logic programs. The termination of various benchmark programs has been established with this approach. Unlike other mechanizable approaches, the proposed approach does not require any preprocessing and works well, even in the presence of mutual recursion. The transformation has also been implemented as a front end to Rewrite Rule Laboratory (RRL) and has been used in establishing termination of nontrivial Prolog programs such as a prototype compiler for ProCoS, PL0 language.

Item Type:Article
Source:Copyright of this article belongs to Elsevier Science.
ID Code:56595
Deposited On:24 Aug 2011 10:59
Last Modified:24 Aug 2011 10:59

Repository Staff Only: item control page