Proof-Relevant Logical Relations for Name Generation
Nick Benton, Martin Hofmann, Vivek Nigam

TL;DR
This paper introduces a novel proof-relevant logical relations framework to model a $ u$-calculus-like language with recursion, addressing challenges in dynamic name allocation and semantic equivalence.
Contribution
It presents a direct-style model using proof-relevant logical relations, offering a new solution to modeling name generation with recursion in higher-order languages.
Findings
Provides a proof-relevant logical relations framework for name generation
Addresses the challenge of modeling recursion with dynamic allocation
Offers an accessible setting for proof-relevant logical relations
Abstract
Pitts and Stark's -calculus is a paradigmatic total language for studying the problem of contextual equivalence in higher-order languages with name generation. Models for the -calculus that validate basic equivalences concerning names may be constructed using functor categories or nominal sets, with a dynamic allocation monad used to model computations that may allocate fresh names. If recursion is added to the language and one attempts to adapt the models from (nominal) sets to (nominal) domains, however, the direct-style construction of the allocation monad no longer works. This issue has previously been addressed by using a monad that combines dynamic allocation with continuations, at some cost to abstraction. This paper presents a direct-style model of a -calculus-like language with recursion using the novel framework of proof-relevant logical relations, in which…
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 · Natural Language Processing Techniques · Logic, Reasoning, and Knowledge
