2001
DOI: 10.1007/3-540-45653-8_47
|View full text |Cite
|
Sign up to set email alerts
|

Inferring Termination Conditions for Logic Programs Using Backwards Analysis

Abstract: This paper focuses on the inference of modes for which a logic program is guaranteed to terminate. This generalises traditional termination analysis where an analyser tries to verify termination for a specified mode. Our contribution is a methodology in which components of traditional termination analysis are combined with backwards analysis to obtain an analyser for termination inference. We identify a condition on the components of the analyser which guarantees that termination inference will infer all modes… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
19
0

Year Published

2001
2001
2009
2009

Publication Types

Select...
6
3

Relationship

1
8

Authors

Journals

citations
Cited by 22 publications
(19 citation statements)
references
References 19 publications
0
19
0
Order By: Relevance
“…This problem generalises termination checking which verifies program termination for a class of queries specified by a given mode. Termination inference dates back to (Mesnard, 1996) but it has been recently observed (Genaim & Codish, 2001) that the missing link between termination checking and termination inference is backward analysis. A termination inference analyser is reported in (Genaim & Codish, 2001) composed from two components: a standard termination checker (Codish & Taboch, 1999) and the backward analysis described in this paper.…”
Section: Introductionmentioning
confidence: 99%
“…This problem generalises termination checking which verifies program termination for a class of queries specified by a given mode. Termination inference dates back to (Mesnard, 1996) but it has been recently observed (Genaim & Codish, 2001) that the missing link between termination checking and termination inference is backward analysis. A termination inference analyser is reported in (Genaim & Codish, 2001) composed from two components: a standard termination checker (Codish & Taboch, 1999) and the backward analysis described in this paper.…”
Section: Introductionmentioning
confidence: 99%
“…The system seems quite powerful for this class of logic programs. (Genaim and Codish 2001) made recently a link between backward analysis (King and Lu 2002) and termination analysis, which leads to termination inference. Although they used a completely different scheme for computing level mappings, the results of the analysis on the programs described in Tables 1 and 2 were rather similar, both in time and quality, to previous versions of cTI that rely on the rational linear solver of SICStus Prolog.…”
Section: Related Workmentioning
confidence: 99%
“…Now we have the essential material for the design of a tool that attempts proofs of optimality of left terminating multi-modes computed by a termination inference tool as e.g. cTI [26] or TerminWeb [17]. For each pair (p, ∅) in the set the function optimal tc of Fig.…”
Section: Algorithmsmentioning
confidence: 99%
“…TALP [3]) or termination inference (e.g. cTI [25,26] or TerminWeb [17]) are now available to the logic programmer. As the halting problem is undecidable for logic programs, such analyzers compute sufficient termination conditions implying left termination.…”
Section: Introductionmentioning
confidence: 99%