Reachability and Safety Games under TSO Semantics
Stephan Spengler

TL;DR
This paper models concurrent program interactions under TSO memory semantics as games, reducing complex reachability and safety problems to finite-state analysis, but shows that fairness constraints lead to undecidability.
Contribution
It introduces a game-theoretic framework for TSO semantics, reducing reachability and safety problems to finite-state analysis, and explores the impact of fairness constraints on decidability.
Findings
Reachability and safety problems reduce to finite-state analysis of non-concurrent programs.
Fairness constraints make the reachability and safety problems undecidable.
The framework models realistic behaviors of concurrent systems under TSO.
Abstract
We consider games played on the transition graph of concurrent programs running under the Total Store Order (TSO) weak memory model. Games are frequently used to model the interaction between a system and its environment, in this case between the concurrent processes and the nondeterministic TSO buffer updates. In our formulation, the game is played by two players, who alternatingly make a move: The process player can execute any enabled instruction of the processes, while the update player takes care of updating the messages in the buffers that are between each process and the shared memory. We show that the reachability and safety problem of this game reduce to the analysis of single-process (non-concurrent) programs. In particular, they exhibit only finite-state behaviour. Because of this, we introduce different notions of fairness, which force the two players to behave in a more…
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.
