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

在分离逻辑中嵌入事后推理

Embedding Hindsight Reasoning in Separation Logic

Roland Meyer, Thomas Wies, Sebastian Wolff

AI总结:

本文提出时间插值这一并发分离逻辑证明原则,以结构化事后推理验证具有未来依赖线性化点的数据结构,并首次形式化证明 LO-tree、验证 RDCSS,同时发现未知缺陷及一个错误的非形式化证明。

摘要:

证明并发数据结构的线性一致性(linearizability)仍然是验证领域的一项关键挑战。我们提出时间插值(temporal interpolation),作为在并发分离逻辑中利用事后论证(hindsight arguments)开展此类证明的一种新证明原则。时间推理提供了一种易于使用的替代预言变量(prophecy variables)的方法,并具有将证明组织为易于消解的假设的优势。对于事后理论,我们的工作带来了并发程序逻辑的形式化严谨性与证明机制。我们通过验证 Logical Ordering(LO-)tree 和 RDCSS 的线性一致性,证实了所发展方法的实用性。由于二者都具有依赖未来的线性化点,因此涉及复杂的证明论证。LO-tree 还具有复杂的结构叠加特征。我们对 LO-tree 的证明是该数据结构的首个形式化证明。有趣的是,我们的形式化工作揭示了一个此前未知的缺陷,并发现一个已有的非形式化证明是错误的。

英文摘要:

Proving linearizability of concurrent data structures remains a key challenge for verification. We present temporal interpolation as a new proof principle to conduct such proofs using hindsight arguments within concurrent separation logic. Temporal reasoning offers an easy-to-use alternative to prophecy variables and has the advantage of structuring proofs into easy-to-discharge hypotheses. To hindsight theory, our work brings the formal rigor and proof machinery of concurrent program logics. We substantiate the usefulness of our development by verifying the linearizability of the Logical Ordering (LO-)tree and RDCSS. Both of these involve complex proof arguments due to future-dependent linearization points. The LO-tree additionally features complex structure overlays. Our proof of the LO-tree is the first formal proof of this data structure. Interestingly, our formalization revealed an unknown bug and an existing informal proof as erroneous.

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

↑