Lune

FM2024Top-tier venue

Unifying Weak Memory Verification Using Potentials

Lara Bargmann, Brijesh Dongol, Heike Wehrheim

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 Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Rely-Guarantee Reasoning for Causally Consistent Shared MemoryOri Lahav, Brijesh Dongol, Heike WehrheimCAV 2023 · 11 citations
  2. Towards Proving Liveness on Weak MemoryLara Bargmann, Heike WehrheimFM 2026
  3. Verifying optimizations of concurrent programs in the promising semanticsJunpeng Zha, Hongjin Liang, Xinyu FengPLDI 2022 · 5 citations
  4. Overcoming Memory Weakness with Unified Fairness - Systematic Verification of Liveness in Weak Memory ModelsParosh Aziz Abdulla, Mohamed Faouzi Atig, Adwait Godbole, Shankaranarayanan Krishna et al.CAV 2023 · 9 citations
  5. CAAT: consistency as a theoryThomas Haas, Roland Meyer, Hernán Ponce de LeónOOPSLA 2022 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines