Abstract
We present a novel analysis of the fundamental Löb induction principle from guarded recursion. Taking advantage of recent work in modal type theory and univalent foundations, we derive Löb induction from a simpler and more conceptual set of primitives. We then capitalize on these insights to present Gatsby, the first guarded type theory capturing the rich modal structure of the topos of trees alongside Löb induction without immediately precluding canonicity or normalization. We show that Gatsby can recover many prior approaches to guarded recursion and use its additional power to improve on prior examples. We crucially rely on homotopical insights and Gatsby constitutes a new application of univalent foundations to the theory of programming languages.
| Original language | English |
|---|---|
| Article number | 30 |
| Journal | Proceedings of the ACM on Programming Languages |
| Volume | 9 |
| ISSN | 2475-1421 |
| DOIs | |
| Publication status | Published - 7 Jan 2025 |
Keywords
- cubical type theory
- Guarded recursion
- homotopy type theory
- modal type theory