Towards Univalent Reference Types The Impact of Univalence on Denotational Semantics

被引:0
|
作者
Sterling, Jonathan [1 ]
Gratzer, Daniel [2 ]
Birkedal, Lars [2 ]
机构
[1] Univ Cambridge, Cambridge, England
[2] Aarhus Univ, Aarhus, Denmark
关键词
univalent foundations; homotopy type theory; impredicative encodings; synthetic guarded domain theory; guarded recursion; higher-order store; reference types; RECURSIVE TYPES; COMPUTATION; NOTIONS; MODEL;
D O I
10.4230/LIPIcs.CSL.2024.47
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
下载
收藏
页数:21
相关论文
共 31 条