pith. sign in

arxiv: 1811.09143 · v1 · pith:UJHJW6H2new · submitted 2018-11-22 · 💻 cs.PL · cs.DC

Verifying C11 Programs Operationally

classification 💻 cs.PL cs.DC
keywords semanticsmemorymodelprogramrelease-acquireaccessesalgorithmallows
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.