arXiv · 2609.27392
The Complexity of Interference: When Rely/Guarantee Does Not Work
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Nisansala P. Yatapanage. 2026-09-23. The Complexity of Interference: When Rely/Guarantee Does Not Work. https://arxiv.org/abs/2609.27392
Cite the original work for its findings. Save a collection to share your selection of sources.