Skip to main content

1997 | ReviewPaper | Buchkapitel

Inferring argument size relationships with CLP()

verfasst von : Florence Benoy, Andy King

Erschienen in: Logic Program Synthesis and Transformation

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Argument size relationships are useful in termination analysis which, in turn, is important in program synthesis and goal-replacement transformations. We show how a precise analysis for inter-argument size relationships, formulated in terms of abstract interpretation, can be implemented straightforwardly in a language with constraint support like CLP( $$\mathcal{R}$$ ) or SICStus version 3. The analysis is based on polyhedral approximations and uses a simple relaxation technique to calculate least upper bounds and a delay method to improve the precision of widening. To the best of our knowledge, and despite its simplicity, the analysis derives relationships to an accuracy that is either comparable or better than any existing technique.

Metadaten
Titel
Inferring argument size relationships with CLP()
verfasst von
Florence Benoy
Andy King
Copyright-Jahr
1997
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/3-540-62718-9_12