Lune

FM2024Top-tier venue

Unifying Weak Memory Verification Using Potentials

Lara Bargmann, Brijesh Dongol, Heike Wehrheim

2024Year
2Citations

Abstract

Abstract Concurrency verification for weak memory models is inherently complex. Several deductive techniques based on proof calculi have recently been developed, but these are typically tailored towards a single memory model through specialised assertions and associated proof rules. In this paper, we propose an extension to the logic Piccolo{\textsf{Piccolo}} Piccolo to generalise reasoning across different memory models. Piccolo{\textsf{Piccolo}} Piccolo is interpreted on the semantic domain of thread potentials. By deriving potentials from weak memory model states, we can define the validity of Piccolo{\textsf{Piccolo}} Piccolo formulae for multiple memory models. We moreover propose unified proof rules for verification on top of Piccolo{\textsf{Piccolo}} Piccolo . Once (a set of) such rules has been shown to be sound with respect to a memory model MM{\textsf{MM}} MM , all correctness proofs employing this rule set are valid for MM{\textsf{MM}} MM . We exemplify our approach on the memory models SC{\textsf{SC}} SC , TSO{\textsf{TSO}} TSO and SRA{\textsf{SRA}} SRA using the standard litmus tests Message-Passing and IRIW.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get 6b200603-8178-42a8-b9be-fbf7af155eec

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines