Verifying C11 programs operationally
Verifying C11 programs operationally
复制标题
DOI:
10.1145/3293883.3295702
复制
发表时间:
2018-11
期刊:
影响因子:
--
通讯作者:
Simon Doherty;Brijesh Dongol;H. Wehrheim;J. Derrick
中科院分区:
文献类型:
--
作者:
Simon Doherty;Brijesh Dongol;H. Wehrheim;J. Derrick
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 of Batty et al. 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.