Generalised rely-guarantee concurrency: an algebraic foundation
Author:
Open Access
- 1 November 2016
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Formal Aspects of Computing
- Vol. 28 (6) , 1057-1078
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
Funding Information
- Australian Research Council (DP130102901)
This publication has 21 references indexed in Scilit:
- 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
- Kleene algebra with testsACM Transactions on Programming Languages and Systems, 1997
- Fixed-point calculusInformation Processing Letters, 1995
- The specification statementACM Transactions on Programming Languages and Systems, 1988
- A theoretical basis for stepwise refinement and the programming calculusScience of Computer Programming, 1987
- Laws of programmingCommunications of the ACM, 1987
- On correct refinement of programsJournal of Computer and System Sciences, 1981
- An axiomatic basis for computer programmingCommunications of the ACM, 1969