The Complexity of Interference: When Rely/Guarantee Does Not Work
Nisansala P. Yatapanage
Key points
From the paper's conclusion- This helps to reveal the reasons why the rely/guarantee approach does not work directly for some problems.
Abstract
Rely/Guarantee is a well-known verification technique for reasoning about concurrent programs. However, for some algorithms, devising suitable rely and guarantee conditions is challenging, due to the strong interference exhibited in these algorithms. The Ben-Ari concurrent garbage collector is an algorithm where the complex interactions between the components prevent the construction of compositional rely and guarantee conditions. This paper investigates an approach for verifying the Ben-Ari algorithm, which enables reasoning to be performed in a more compositional manner in cases where compositional reasoning would not otherwise be possible. This is accomplished by reasoning that a given property holds for all instances of a particular variable and then instantiating the variable to the local variable required. As well as providing a reasoning approach which is more compositional, the result is the identification of the core property required of a component, thus enabling a deeper understanding about the reasons why the algorithm works correctly. This helps to reveal the reasons why the rely/guarantee approach does not work directly for some problems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Blame-aware Recomposition for Secure Compilation Proofs of Low-Level Compartment IsolationarXiv · 2026
- Compositional Symbolic Execution \`a la Carte (Extended Version)arXiv · 2026
- RGSep under Release/Acquire ConsistencyProceedings of the ACM on Programming Languages · 2026
- From synchronous to interleaved: rethinking time and concurrency in protocol verificationLogic Journal of the IGPL · 2026
- Validating Concurrent Correctness Witnesses with Ghosts by Thread-Modular Abstract InterpretationarXiv · 2026
- LLM-Assisted Bi-Approximate CHC SolvingarXiv · 2026