We contribute the first denotational semantics of polymorphic dependent type theory extended by an equational theory for general (higher-order) reference types and recursive types, based on a combination of guarded recursion and impredicative polymorphism; because our model is based on recursively defined semantic worlds, it is compatible with polymorphism and relational reasoning about stateful abstract datatypes. We then extend our language with modal constructs for proof-relevant relational reasoning based on the "logical relations as types" principle, in which equivalences between imperative abstract datatypes can be established synthetically. What is new in relation to prior typed denotational models of higher-order store is that our Kripke worlds need not be syntactically definable, and are thus compatible with relational reasoning in the heap. Our work combines recent advances in the operational semantics of state with the purely denotational viewpoint of synthetic guarded domain theory.
翻译:我们对依赖类型理论进行了第一次泛型(高阶)引用类型和递归类型等式理论组合的抽象语义贡献,基于保护递归和不确定多态,因为我们的模型基于递归定义的语义世界,所以它与多态和有状态的抽象数据类型之间的关系推理相容。然后,我们使用模态结构对照“逻辑关系即类型”的原理,扩展我们的语言,以便基于综合方法建立关于等价于命令式抽象数据类型的关系推理。与以往关于高阶存储的语义模型相比,我们模型中的 Kripke 世界不需要在语法上进行定义,因此与堆上的关系推理相容。我们的工作结合了最近状态操作语义和合成保护域理论的纯指称观点方面的进展。