Abstract Effects and Proof-Relevant Logical Relations
Nick Benton, Martin Hofmann, Vivek Nigam

TL;DR
This paper introduces proof-relevant logical relations using setoids to address issues in traditional Kripke logical relations, enabling more accurate semantic reasoning and validation of program equivalences involving effects.
Contribution
It presents a novel proof-relevant logical relation framework with setoids, solving admissibility and dependency issues in traditional models, and demonstrates applications in program equivalence and effect systems.
Findings
Addresses admissibility issues in logical relations
Enables validation of more effect-based program equivalences
Provides a denotational semantics for region-based effect systems
Abstract
We introduce a novel variant of logical relations that maps types not merely to partial equivalence relations on values, as is commonly done, but rather to a proof-relevant generalisation thereof, namely setoids. The objects of a setoid establish that values inhabit semantic types, whilst its morphisms are understood as proofs of semantic equivalence. The transition to proof-relevance solves two well-known problems caused by the use of existential quantification over future worlds in traditional Kripke logical relations: failure of admissibility, and spurious functional dependencies. We illustrate the novel format with two applications: a direct-style validation of Pitts and Stark's equivalences for "new" and a denotational semantics for a region-based effect system that supports type abstraction in the sense that only externally visible effects need to be tracked; non-observable…
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.
