Generalised rely-guarantee concurrency: An algebraic foundation
Author:
Preprint
Abstract
The rely-guarantee technique allows one to reason compositionally about concurrent programs. To handle interference the technique makes use of rely and guarantee conditions, both of which are binary relations on states. A rely condition is an assumption that the environment performs only atomic steps satisfying the rely relation and a guarantee is a commitment that every atomic step the program makes satisfies the guarantee relation. In order to investigate rely-guarantee reasoning more generally, in this paper we allow interference to be represented by a process rather than a relation and hence derive more general rely-guarantee laws. The paper makes use of a weak conjunction operator between processes, which generalises a guarantee relation to a guarantee process, and introduces a rely quotient operator, which generalises a rely relation to a process. The paper focuses on the algebraic properties of the general rely-guarantee theory. The Jones-style rely-guarantee theory can be interpreted as a model of the general algebraic theory and hence the general laws presented here hold for that theory.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Balancing expressiveness in formal approaches to concurrencyFormal Aspects of Computing, 2015
- Concurrent Kleene Algebra and its FoundationsThe Journal of Logic and Algebraic Programming, 2011
- A Structural Proof of the Soundness of Rely/guarantee RulesJournal of Logic and Computation, 2007
- Towards a refinement algebraScience of Computer Programming, 2004
- A Refinement Calculus for Shared-Variable Parallel and Distributed ProgrammingFormal Aspects of Computing, 2002
- Reasoning algebraically about loopsActa Informatica, 1999
- Kleene algebra with testsACM Transactions on Programming Languages and Systems, 1997
- Accommodating interference in the formal design of concurrent object-based programsFormal Methods in System Design, 1996
- A theoretical basis for stepwise refinement and the programming calculusScience of Computer Programming, 1987
- The weakest prespecificationInformation Processing Letters, 1987