arXiv · 2307.16608
Towards univalent reference types
Abstract
We develop a denotational semantics for general reference types in an impredicative version of guarded homotopy type theory, an adaptation of synthetic guarded domain theory to Voevodsky's univalent foundations. We observe for the first time the profound impact of univalence on the denotational semantics of mutable state. Univalence automatically ensures that all computations are invariant under symmetries of the heap -- a bountiful source of program equivalences. In particular, even the most simplistic univalent model enjoys many new equations that do not hold when the same constructions are carried out in the universes of traditional set-level (extensional) type theory.
Explore related subjects
Keep this discovery
Jonathan Sterling, Daniel Gratzer, Lars Birkedal. 2023-07-31. Towards univalent reference types. https://arxiv.org/abs/2307.16608
Cite the original work for its findings. Save a collection to share your selection of sources.