...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Strong Logic for Weak Memory: Reasoning About Release-Acquire Consistency in Iris
【24h】

Strong Logic for Weak Memory: Reasoning About Release-Acquire Consistency in Iris

机译:弱内存的强大逻辑:虹膜中释放与获得一致性的推理

获取原文
   

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

       

摘要

The field of concurrent separation logics (CSLs) has recently undergone two exciting developments: (1) the Iris framework for encoding and unifying advanced higher-order CSLs and formalizing them in Coq, and (2) the adaptation of CSLs to account for weak memory models, notably C11's release-acquire (RA) consistency. Unfortunately, these developments are seemingly incompatible, since Iris only applies to languages with an operational interleaving semantics, while C11 is defined by a declarative (axiomatic) semantics. In this paper, we show that, on the contrary, it is not only feasible but useful to marry these developments together. Our first step is to provide a novel operational characterization of RA+NA, the fragment of C11 containing RA accesses and "non-atomic" (normal data) accesses. Instantiating Iris with this semantics, we then derive higher-order variants of two prominent RA+NA logics, GPS and RSL. Finally, we deploy these derived logics in order to perform the first mechanical verifications (in Coq) of several interesting case studies of RA+NA programming. In a nutshell, we provide the first foundationally verified framework for proving programs correct under C11's weak-memory semantics.
机译:并发分离逻辑(CSL)领域最近经历了两个令人振奋的发展:(1)用于对高级高阶CSL进行编码和统一以及在Coq中对其进行形式化的Iris框架;以及(2)对CSL进行适应以解决弱内存问题模型,尤其是C11的发布获取(RA)一致性。不幸的是,这些发展似乎是不兼容的,因为虹膜仅适用于具有可操作交织语义的语言,而C11是由声明性(公理)语义定义的。相反,在本文中,我们表明,将这些发展结合在一起不仅可行而且有用。我们的第一步是提供RA + NA的新颖操作特征,这是包含RA访问和“非原子”(正常数据)访问的C11片段。用这种语义实例化虹膜,然后我们得出两个突出的RA + NA逻辑GPS和RSL的高阶变体。最后,我们部署这些派生的逻辑,以便对RA + NA编程的一些有趣案例进行首次机械验证(以Coq表示)。简而言之,我们提供了第一个经过基础验证的框架,用于证明在C11的弱内存语义下正确的程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号