arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1811.09143cs.PLcs.DC
收藏

从操作上支持C11计划

Verifying C11 Programs Operationally

Simon Doherty, Brijesh Dongol, Heike Wehrheim, John Derrick

摘要:

本文提出了一个操作语义的释放-获取片段的C11内存模型与宽松的访问。我们表明,语义是健全的和完整的公理模型。语义依赖于每个线程的可观察性概念,这使得人们可以按照程序顺序对弱内存C11程序进行推理。在此之上,我们开发了一个证明演算为基础的不变量推理,我们用它来验证释放获取版本的彼得森的互斥算法。

英文摘要:

This paper develops an operational semantics for a release-acquire fragment of the C11 memory model with relaxed accesses. We show that the semantics is both sound and complete with respect to the axiomatic model. The semantics relies on a per-thread notion of observability, which allows one to reason about a weak memory C11 program in program order. On top of this, we develop a proof calculus for invariant-based reasoning, which we use to verify the release-acquire version of Peterson's mutual exclusion algorithm.

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

↑