Loop checks for logic programs with functions

Citation
Yd. Shen et al., Loop checks for logic programs with functions, THEOR COMP, 266(1-2), 2001, pp. 441-461
Citations number
28
Categorie Soggetti
Computer Science & Engineering
Journal title
THEORETICAL COMPUTER SCIENCE
ISSN journal
03043975 → ACNP
Volume
266
Issue
1-2
Year of publication
2001
Pages
441 - 461
Database
ISI
SICI code
0304-3975(20010906)266:1-2<441:LCFLPW>2.0.ZU;2-K
Abstract
Two complete loop checking mechanisms have been presented in the literature for logic programs with functions: OS-check and EVA-check. OS-check is com putationally efficient but quite unreliable in that it often mis-identifies infinite loops, whereas EVA-check is reliable for a majority of cases but quite expensive. In this paper, we develop a series of new complete loop ch ecking mechanisms, called VAF-checks. The key technique we introduce is the notion of expanded variants, which captures a key structural characteristi c of infinite loops. We show that our approach is superior to both OS-check and EVA-check in that it is as efficient as OS-check and as reliable as EV A-check. (C) 2001 Elsevier Science B.V. All rights reserved.