Abstract
We propose a transformation system for Constraint Logic Programming (CLP) aprograms and modules. The framework is inspired by the one of [37] for pure logic programs. However, the use of CLP allows us to introduce some new operations such as splitting and constraint replacement. We provide two sets of applicability conditions. The first one guarantees that the original and the transformed programs have the same computational behaviour, in terms of answer constraints. The second set contains more restrictive conditions that ensure compositionality: we prove that under these conditions the original and the transformed modules have the same answer constraints also when they are composed with other modules. This result is proved by first introducing a new formulation, in terms of trees, of a resultants semantics for CLP. As corollaries we obtain the correctness of both the modular and the nonmodular system w.r.t. the least model semantics.
Original language | Undefined |
---|---|
Pages (from-to) | 101-146 |
Number of pages | 46 |
Journal | Theoretical computer science |
Volume | 166 |
Issue number | 1 |
DOIs | |
Publication status | Published - 1996 |
Keywords
- EWI-1105
- IR-55940