The Reads-From Equivalence for the TSO and PSO Memory Models
Truc Lam Bui, Krishnendu Chatterjee, Tushar Gautam, Andreas, Pavlogiannis, Viktor Toman

TL;DR
This paper introduces efficient algorithms for verifying concurrent program consistency under TSO and PSO memory models using RF equivalence, significantly improving scalability in stateless model checking.
Contribution
It provides the first algorithms for RF equivalence verification under TSO and PSO, with bounds and an exploration-optimal SMC method implemented in Nidhugg.
Findings
Algorithms scale as n^{k+1} for TSO and n^{k+1}·min(n^{k^2}, 2^{k·d}) for PSO.
Significant scalability improvements over existing methods.
RF partitioning often coarser than Shasha-Snir, leading to faster model checking.
Abstract
The verification of concurrent programs remains an open challenge due to the non-determinism in inter-process communication. One algorithmic problem in this challenge is the consistency verification of concurrent executions. Consistency verification under a reads-from map allows to compute the reads-from (RF) equivalence between concurrent traces, with direct applications to areas such as Stateless Model Checking (SMC). The RF equivalence was recently shown to be coarser than the standard Mazurkiewicz equivalence, leading to impressive scalability improvements for SMC under SC (sequential consistency). However, for the relaxed memory models of TSO and PSO (total/partial store order), the algorithmic problem of deciding the RF equivalence, as well as its impact on SMC, has been elusive. In this work we solve the problem of consistency verification for the TSO and PSO memory models given…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
