@article {IOPORT.00743941, author = {Gabbrielli, Maurizio and Dore, Giovanna M. and Levi, Giorgio}, title = {Observable semantics for constraint logic programs.}, year = {1995}, journal = {Journal of Logic and Computation}, volume = {5}, number = {2}, issn = {0955-792X}, pages = {133-171}, publisher = {Oxford University Press, Oxford}, doi = {10.1093/logcom/5.2.133}, abstract = {Summary: We consider the constraint logic programming paradigm $\text{CLP}({\cal X})$, as defined by Jaffar and Lassez. $\text{CLP}({\cal X})$ integrates a generic computational mechanism based on constraints within the logic programming framework. The paradigm retains the semantic properties of pure logic programs, namely the existence of equivalent operational, model-theoretic and fixpoint semantics. We introduce a framework for defining various semantics, each corresponding to a specific observable property of CLP computations. Each semantics can be defined either operationally (i.e. top-down) or declaratively (i.e. bottom-up). The construction is based on a new notion of interpretation, on a natural extension of the standard notion of model and on the definition of various immediate consequences operators, whose least fixpoints on the lattice of interpretation are models corresponding to various observable properties. We first consider some semantics defined by Jaffar and Lassez and their relations, in terms of correctness and full abstraction, to the equivalences induced on programs by suitable observables. Then we define a fully abstract semantics which models answer constraints. Finally, we introduce a semantics for answer constraints which is compositional w.r.t. union of programs. Suitable abstractions of this semantics allow us to obtain correct (in one case fully abstract) semantics for partial answers and call patterns. Our semantic construction can be taken as the basis for program transformation and (modular) analyses techniques.}, identifier = {00743941}, }