Abstract
We introduce an abstract domain consisting of atomic formulas constrained by linear arithmetic constraints (or convex hulls). This domain is used in an algorithm for specialization of constraint logic programs. The algorithm incorporates in a single phase both top-down goal directed propagation and bottom-up answer propagation, and uses a widening on the convex hull domain to ensure termination. We give examples to show the precision gained by this approach over other methods in the literature for specializing constraint logic programs. The specialization method can also be used for ordinary logic programs containing arithmetic, as well as constraint logic programs. Assignments, inequalities and equalities with arithmetic expressions can be interpreted as constraints during specialization, thus increasing the amount of specialization that can be achieved.
Originalsprog | Engelsk |
---|---|
Bogserie | Lecture Notes in Computer Science |
Udgave nummer | 2664 |
Sider (fra-til) | 90-108 |
Antal sider | 19 |
ISSN | 0302-9743 |
Status | Udgivet - 2003 |