arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.16608cs.LO
收藏

迈向泛等引用类型

Towards univalent reference types

Jonathan Sterling, Daniel Gratzer, Lars Birkedal

AI总结:

本文在 guarded homotopy type theory 中为一般引用类型发展了指称语义,首次揭示了 univalence 对可变状态语义的深远影响,自动确保计算在堆对称性下不变,从而提供丰富的程序等价性。

摘要:

我们在非直谓版本的 guarded homotopy type theory(guarded homotopy 类型理论,即对 synthetic guarded domain theory 适配至 Voevodsky 的 univalent foundations)中,为一般 reference types(引用类型)发展了指称语义。我们首次观察到 univalence 对可变状态的指称语义产生的深远影响。Univalence 自动确保所有计算在堆的对称性下保持不变——这是程序等价性的丰富来源。特别是,即使是最简化的 univalent 模型也享有许多新等式,而这些等式在传统集合级(外延)类型理论的宇宙中进行相同构造时并不成立。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑