一般存储与多态性的指称语义
Denotational semantics of general store and polymorphism
AI总结:
本文首次提出结合卫递归与非直谓多态性的多态依赖类型理论指称语义,支持一般高阶引用和递归类型,并通过“逻辑关系即类型”的模态构造实现对有状态抽象数据类型的关系推理。
摘要:
我们首次给出了多态依赖类型理论的指称语义,该理论通过一般(高阶)引用类型和递归类型的等式理论进行扩展,其基础是卫递归与非直谓多态性的结合;由于我们的模型基于递归定义的语义世界,因此它与多态性以及关于有状态抽象数据类型的关系推理相容。随后,我们基于“类型即逻辑关系”原则,用证明相关的关系推理模态构造扩展了我们的语言,在这种语言中,命令式抽象数据类型之间的等价性可以被综合地建立起来。与先前的高阶存储类型化指称模型相比,新颖之处在于我们的 Kripke 世界不需要在语法上可定义,因此与堆中的关系推理相容。我们的工作结合了状态操作语义的最新进展与合成卫域理论的纯指称观点。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。