English

Generalised rely-guarantee concurrency: An algebraic foundation

Logic in Computer Science 2016-03-08 v1

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.

Cite

@article{arxiv.1603.01776,
  title  = {Generalised rely-guarantee concurrency: An algebraic foundation},
  author = {Ian J. Hayes},
  journal= {arXiv preprint arXiv:1603.01776},
  year   = {2016}
}

Comments

23 pages, 3 figures, submitted to Formal Aspects of Computing

R2 v1 2026-06-22T13:04:33.990Z