Logo image
Reasoning over Relaxed Shared Memory Models: A Tutorial
Conference proceeding   Open access   Peer reviewed

Reasoning over Relaxed Shared Memory Models: A Tutorial

Brijesh Dongol
Formal Methods 27th International Symposium, FM 2026, Tokyo, Japan, May 18–22, 2026, Proceedings, Part II, Vol.16557, pp.394-419
Lecture Notes in Computer Science, 16557
The 27th International Symposium on Formal Methods (FM 2026) (Tokyo, Japan, 18/05/2026–21/05/2026)
18/05/2026

Abstract

The notion of a relaxed (aka weak) memory model is well known, given that such models are implemented by almost all hardware vendors and embedded within the concurrency semantics of many major programming languages. However, given the sheer volume of work on consistency models, formalisations and tools, the area can be both confusing (and intimidating) for newcomers to get into, with even experts missing new developments. In this paper, we coalesce a recent line of work that has focussed on developing reasoning principles for relaxed memory into a single reference, extrapolating their key ideas. This line of work aims to reuse (standard) verification techniques for concurrent programs such as Owicki-Gries, rely-guarantee and refinement that were established in the 1970s and 80 s, which are well known to most formal methods researchers. We aim to explain these ideas in simple terms, explain some of the main developments and discuss open problems and opportunities for further research. Throughout the paper, we will focus on the RC11 memory model, but discuss how these reasoning principles apply to other models. Instead of focussing on relaxed memory litmus tests (which non-experts may not appreciate), we use a novel proof of a non-trivial buffer developed by Lamport as a running example.
url
https://doi.org/10.1007/978-3-032-26220-2_20View
Published (Version of record) Open CC BY V4.0

Metrics

1 Record Views

Details

Logo image

Usage Policy