Reasoning about expression evaluation under interference
Ian J. Hayes, Cliff B. Jones, Larissa A. Meinicke

TL;DR
This paper formalizes how rely-guarantee reasoning can be algebraically presented to safely reuse expressions in logical contexts for concurrent programs, addressing interference issues especially with multiple shared variables.
Contribution
It introduces an algebraic framework for rely-guarantee reasoning that clarifies conditions for safe expression reuse in concurrent program verification.
Findings
Algebraic presentation of rely-guarantee reasoning.
Formal conditions for safe expression reuse.
Application to complex concurrent examples.
Abstract
Hoare-style inference rules for program constructs permit the copying of expressions and tests from program text into logical contexts. It is known that this requires care even for sequential programs but much more serious issues arise with concurrent programs because of potential interference to the values of variables. The "rely-guarantee" approach tackles the challenge of recording acceptable interference and offers a way to provide safe inference rules for concurrent constructs. This paper shows how the algebraic presentation of rely-guarantee ideas can clarify and formalise the conditions for safely re-using expressions and tests from program text in logical contexts for reasoning about concurrent programs; crucially this extends to handling expressions that reference more than one shared variable. A non-trivial example related to the Fischer-Galler forest representation of…
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.
Taxonomy
TopicsSpeech Recognition and Synthesis · Hand Gesture Recognition Systems · Speech and dialogue systems
