Constraint-based termination analysis of logic programs

Citation
S. Decorte et al., Constraint-based termination analysis of logic programs, ACM T PROGR, 21(6), 1999, pp. 1137-1195
Citations number
54
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS
ISSN journal
01640925 → ACNP
Volume
21
Issue
6
Year of publication
1999
Pages
1137 - 1195
Database
ISI
SICI code
0164-0925(199911)21:6<1137:CTAOLP>2.0.ZU;2-V
Abstract
Current norm-based automatic termination analysis techniques for logic prog rams can be split up into different components: inference of mode or type i nformation, derivation of models, generation of well-founded orders, and ve rification of the termination conditions themselves. Although providing hig h-precision results, these techniques suffer from an efficiency point of vi ew, as several of these analyses are often performed through abstract inter pretation. We present a new termination analysis which integrates the vario us components and produces a set of constraints that, when solvable, identi fies successful termination proofs. The proposed method is both efficient a nd precise. The use of constraint sets enables the propagation of informati on over all different phases while the need for multiple analyses is consid erably reduced.