Transformations of CLP modules
Transformations of CLP modules
复制标题
DOI:
10.1016/0304-3975(95)00148-4
复制
发表时间:
1996-10-20
影响因子:
1.1
通讯作者:
Gabbrielli, M
中科院分区:
文献类型:
--
作者:
Etalle, S;Gabbrielli, M
We propose a transformation system for Constraint Logic Programming (CLP) programs and modules. The framework is inspired by the one of Tamaki and Sate (1984) 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.