English

(Co-)Inductive semantics for Constraint Handling Rules

Logic in Computer Science 2011-08-02 v1 Programming Languages

Abstract

In this paper, we address the problem of defining a fixpoint semantics for Constraint Handling Rules (CHR) that captures the behavior of both simplification and propagation rules in a sound and complete way with respect to their declarative semantics. Firstly, we show that the logical reading of states with respect to a set of simplification rules can be characterized by a least fixpoint over the transition system generated by the abstract operational semantics of CHR. Similarly, we demonstrate that the logical reading of states with respect to a set of propagation rules can be characterized by a greatest fixpoint. Then, in order to take advantage of both types of rules without losing fixpoint characterization, we present an operational semantics with persistent. We finally establish that this semantics can be characterized by two nested fixpoints, and we show the resulting language is an elegant framework to program using coinductive reasoning.

Keywords

Cite

@article{arxiv.1108.0330,
  title  = {(Co-)Inductive semantics for Constraint Handling Rules},
  author = {Rémy Haemmerlé},
  journal= {arXiv preprint arXiv:1108.0330},
  year   = {2011}
}

Comments

17 pages

R2 v1 2026-06-21T18:44:49.790Z