IMP with exceptions over decorated logic
Burak Ekici (CASYS)

TL;DR
This paper introduces a decorated logic framework for reasoning about impure programming languages with effects like mutable state and exceptions, formalized categorically and implemented in Coq for verifying program equivalences.
Contribution
It formalizes a combined decorated logic for effects, enabling rigorous reasoning and proof of program equivalences in IMP+Exc language.
Findings
Formalization of mutable state and exceptions separately and combined.
Encoding of the logic in Coq for proof certification.
Application to prove program equivalences in IMP+Exc.
Abstract
In this paper, we facilitate the reasoning about impure programming languages, by annotating terms with `decorations' that describe what computational (side) effect evaluation of a term may involve. In a point-free categorical language,called the `decorated logic', we formalize the mutable state and the exception effects first separately, exploiting anice duality between them, and then combined. The combined decorated logic is used as the target language forthe denotational semantics of the IMP+Exc imperative programming language, and allows us to prove equivalencesbetween programs written in IMP+Exc. The combined logic is encoded in Coq, and this encoding is used to certifysome program equivalence proofs.
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
TopicsMulti-Agent Systems and Negotiation
