The Rely-Guarantee Method for Verifying Shared Variable Concurrent Programs

  • Qiwen Xu*
  • , Willem Paul De Roever
  • , Jifeng He
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

112 Scopus citations

Abstract

Compositional proof systems for shared variable concurrent programs can be devised by including the interference information in the specifications. The formalism falls into a category called rely-guarantee (or assumption-commitment), in which a specification is explicitly (syntactically) split into two corresponding parts. This paper summarises existing work on the rely-guarantee method and gives a systematic presentation. A proof system for partial correctness is given first, thereafter it is demonstrated how the relevant rules can be adapted to verify deadlock freedom and convergence. Soundness and completeness, of which the completeness proof is new, are studied with respect to an operational model. We observe that the rely-guarantee method is in a sense a reformulation of the classical non-compositional Owicki & Gries method, and we discuss throughout the paper the connection between these two methods.

Original languageEnglish
Pages (from-to)149-174
Number of pages26
JournalFormal Aspects of Computing
Volume9
Issue number2
DOIs
StatePublished - 1997
Externally publishedYes

Keywords

  • Compositionality
  • Concurrency
  • Deadlock freedom
  • Partial and total correctness
  • Rely-Guarantee formalism
  • Soundness and completeness
  • Specification and verification

Fingerprint

Dive into the research topics of 'The Rely-Guarantee Method for Verifying Shared Variable Concurrent Programs'. Together they form a unique fingerprint.

Cite this