Constraint Handling Rules with Multiset Comprehension Patterns
Authors: Edmund Soon Lee Lam and Iliano Cervesato
Paper Information
| Title: | Constraint Handling Rules with Multiset Comprehension Patterns |
| Authors: | Edmund Soon Lee Lam and Iliano Cervesato |
| Proceedings: | CHR 2014 CoRR proceedings |
| Editors: | Rémy Haemmerlé and Jon Sneyers |
| Keywords: | constraint logic programming, multiset rewriting, multiset comprehension, matching, operational semantics |
| Abstract: | ABSTRACT. CHR is a declarative, concurrent and committed choice rule-based constraint programming language. We extend CHR with multiset comprehension patterns, providing the programmer with the ability to write multiset rewriting rules that can match a variable number of constraints in the store. This enables writing more readable, concise and declarative code for algorithms that coordinate large amounts of data or require aggregate operations. We call this extension CHR^cp . We give a high-level abstract semantics of CHR^cp , followed by a lower-level operational semantics. We then show the soundness of this operational semantics with respect to the abstract semantics. |
| Pages: | 14 |
| Talk: | Jul 18 11:45 |
| Paper: | ![]() |
