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

利用归约和抽象进行TSO程序推理

Reasoning About TSO Programs Using Reduction and Abstraction

Ahmed Bouajjani, Constantin Enea, Suha Orhun Mutluergil, Serdar Tasiran

摘要:

我们提出了一种方法,用于证明在总存储排序(TSO)内存模型下运行的程序是鲁棒的,即,它的所有TSO计算等价于在顺序一致性(SC)语义下的计算。该方法受Lipton的约简理论的启发,证明了并发程序的原子性。对于程序是不强大的,我们引入了一个抽象机制,允许构建强大的程序过近似他们的TSO语义。这使得使用的证明方法设计的SC语义在证明不变量举行的TSO语义的非鲁棒程序。这些技术已经评估了一个大型的基准测试,使用CIVL,一个通用的工具,推理下的SC语义并发程序提供的基础设施。

英文摘要:

We present a method for proving that a program running under the Total Store Ordering (TSO) memory model is robust, i.e., all its TSO computations are equivalent to computations under the Sequential Consistency (SC) semantics. This method is inspired by Lipton's reduction theory for proving atomicity of concurrent programs. For programs which are not robust, we introduce an abstraction mechanism that allows to construct robust programs over-approximating their TSO semantics. This enables the use of proof methods designed for the SC semantics in proving invariants that hold on the TSO semantics of a non-robust program. These techniques have been evaluated on a large set of benchmarks using the infrastructure provided by CIVL, a generic tool for reasoning about concurrent programs under the SC semantics.

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

↑