Linear-Logic Based Analysis of Constraint Handling Rules with Disjunction
Hariolf Betz, Thom W. Fr\"uhwirth

TL;DR
This paper explores a linear-logic based semantic framework for Constraint Handling Rules with Disjunction, enabling better analysis and verification of program properties across different paradigms.
Contribution
It introduces a linear-logic semantics for CHR and CHRv, enhancing the analysis of program properties and operational equivalence.
Findings
Linear-logic semantics can decide program properties.
The semantics helps prove operational equivalence of CHRv programs.
Analysis reveals strengths and limitations of classical semantics.
Abstract
Constraint Handling Rules (CHR) is a declarative committed-choice programming language with a strong relationship to linear logic. Its generalization CHR with Disjunction (CHRv) is a multi-paradigm declarative programming language that allows the embedding of horn programs. We analyse the assets and the limitations of the classical declarative semantics of CHR before we motivate and develop a linear-logic declarative semantics for CHR and CHRv. We show how to apply the linear-logic semantics to decide program properties and to prove operational equivalence of CHRv programs across the boundaries of language paradigms.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Formal Methods in Verification
