PROVING TERMINATION OF GHC PROGRAMS

Citation
Mrkk. Rao et al., PROVING TERMINATION OF GHC PROGRAMS, New generation computing, 15(3), 1997, pp. 293-338
Citations number
31
Categorie Soggetti
Computer Sciences","Computer Science Hardware & Architecture","Computer Science Theory & Methods
Journal title
ISSN journal
02883635
Volume
15
Issue
3
Year of publication
1997
Pages
293 - 338
Database
ISI
SICI code
0288-3635(1997)15:3<293:PTOGP>2.0.ZU;2-X
Abstract
A transformational approach for proving termination of parallel logic programs such as GHC programs is proposed. A transformation from GHC p rograms to term rewriting systems is developed; it exploits the fact t hat unifications in GHC-resolution correspond to matchings. The termin ation of a GHC program for a class of queries is implied by the termin ation of the resulting rewrite system. This approach facilitates the a pplicability of a wide range of termination techniques developed for r ewrite systems in proving termination of GHC programs. The method cons ists of three steps: (a) deriving moding information from a given GHC program, (b) transforming the GHC program into a term rewriting system using the moding information, and finally (c) proving termination of the resulting rewrite system. Using this method, the termination of ma ny benchmark GHC programs such as quick-sort, merge-sort, merge, split , fair-split and append, etc., can be proved.