Arbitrary Functors as Modalities in a Linear Calculus
Jean-Philippe Bernardy, Andreas Abel
Key points
From the paper's conclusion- We study modalities in the linear lambda calculus, by interpreting them as endofunctors in monoidal closed categories.
Abstract
We study modalities in the linear lambda calculus, by interpreting them as endofunctors in monoidal closed categories. We support functors that do not distribute over products, including (co)monads. We also support arbitrary natural transformations as conversion between modalities. We provide a generic categorical semantics, which we then specialise to a sound and complete resource semantics. We use this resource semantics to derive normalisation by evaluation. Along the way, we describe several applications of such models. This work aims at providing a foundation for future programming languages with modalities. The paper is backed by a mechanisation in Agda.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Fibrational Framework For Multi-Conclusion LogicsarXiv · 2026
- Coinductive reasoning for parametrized functors and monadsarXiv · 2026
- Fibered Separation Logic: Weakest Preconditions, Universal Constructions, and Local IndependencearXiv · 2026
- An explicit shuffle construction of the homotopy span model of differential linear logicarXiv · 2026
- Non-Cartesian Guarded Recursion with DaggersElectronic Notes in Theoretical Informatics and Computer Science · 2026
- An Algebraic Perspective on Operational SemanticsarXiv · 2026