...
【24h】

Abstract Effects and Proof-Relevant Logical Relations

机译:抽象效果和与证明相关的逻辑关系

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

We give a denotational semantics for a region-based e ect system that supports type abstraction in the sense that only externally visible effects need to be tracked: non-observable internal modifications, such as the reorganisation of a search tree or lazy initialisation, can count as ‘pure’ or ‘read only’. This ‘fictional purity’ allows clients of a module to validate soundly more effect-based program equivalences than would be possible with previous semantics. Our semantics uses a novel variant of logical relations that maps types not merely to partial equivalence relations on values, as is commonly done, but rather to a proof-relevant generalisation thereof, namely setoids. The objects of a setoid establish that values inhabit semantic types, whilst its morphisms are understood as proofs of semantic equivalence. The transition to proof-relevance solves two awkward problems caused by na?ve use of existential quantification in Kripke logical relations, namely failure of admissibility and spurious functional dependencies.
机译:我们为支持类型抽象的基于区域的ect系统提供了指称语义,其含义是仅需要跟踪外部可见的效果:不可观察的内部修改(例如,搜索树的重组或惰性初始化)可以算在内为“纯”或“只读”。这种“虚构的纯正性”使模块的客户能够比以往的语义学更有效地验证基于效果的程序等效性。我们的语义使用一种新颖的逻辑关系变体,它不仅将类型映射到值上的部分等价关系(如通常所做的那样),而且还映射到其与证明相关的概括,即类固醇。类固醇的对象确定值存在于语义类型中,而其词素被理解为语义对等的证明。向证明相关性的过渡解决了两个因在Kripke逻辑关系中单纯使用存在量化而造成的尴尬问题,即可否受理性失败和虚假的功能依赖性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号