Skip to main content

2004 | OriginalPaper | Buchkapitel

The Refined Operational Semantics of Constraint Handling Rules

verfasst von : Gregory J. Duck, Peter J. Stuckey, María García de la Banda, Christian Holzbaur

Erschienen in: Logic Programming

Verlag: Springer Berlin Heidelberg

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

search-config
loading …

Constraint Handling Rules (CHRs) are a high-level rule-based programming language commonly used to write constraint solvers. The theoretical operational semantics for CHRs is highly non-deterministic and relies on writing confluent programs to have a meaningful behaviour. Implementations of CHRs use an operational semantics which is considerably finer than the theoretical operational semantics, but is still non-deterministic (from the user’s perspective). This paper formally defines this refined operational semantics and proves it implements the theoretical operational semantics. It also shows how to create a (partial) confluence checker capable of detecting programs which are confluent under this semantics, but not under the theoretical operational semantics. This supports the use of new idioms in CHR programs.

Metadaten
Titel
The Refined Operational Semantics of Constraint Handling Rules
verfasst von
Gregory J. Duck
Peter J. Stuckey
María García de la Banda
Christian Holzbaur
Copyright-Jahr
2004
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-540-27775-0_7