Communicating state transition systems for fine-grained concurrent resources

The work

AuthorsAleksandar Nanevski; Ruy Ley-Wild; Ilya Sergey; Germán Andrés Delbianco
Editors
Typeinproceedings
Year2014
Citekeynanevski2014communicating

Where it appeared

Published in23rd European Symposium on Programming Languages and Systems (ESOP)
PublisherSpringer
SeriesLecture Notes in Computer Science
Number in series8410
Volume8410
Pages290--310

Identifiers

DOI10.1007/978-3-642-54833-8_16
ISBN978-3-642-54832-1

Abstract

We present a novel model of concurrent computations with shared memory and provide a simple, yet powerful, logical framework for uniform Hoare-style reasoning about partial correctness of coarse- and fine-grained concurrent programs. The key idea is to specify arbitrary resource protocols as communicating state transition systems (STS) that describe valid states of a resource and the transitions the resource is allowed to make, including transfer of heap ownership. We demonstrate how reasoning in terms of communicating STS makes it easy to crystallize behavioral invariants of a resource. We also provide entanglement operators to build large systems from an arbitrary number of STS components, by interconnecting their lines of communication. Furthermore, we show how the classical rules from the Concurrent Separation Logic (CSL), such as scoped resource allocation, can be generalized to fine-grained resource management. This allows us to give specifications as powerful as Rely-Guarantee, in a concise, scoped way, and yet regain the compositionality of CSL-style resource management. We proved the soundness of our logic with respect to the denotational semantics of action trees (variation on Brookes’ action traces). We formalized the logic as a shallow embedding in Coq and implemented a number of examples, including a construction of coarse-grained CSL resources as a modular composition of various logical and semantic components.

A copy is held

pdf, 296.8 kB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-08-05 00:00 UTC
Approved bya person 2026-08-17 08:37 UTC

Cite it as

@inproceedings{nanevski2014communicating,
  title        = {Communicating state transition systems for fine-grained concurrent resources},
  author       = {Aleksandar Nanevski and Ruy Ley-Wild and Ilya Sergey and Germán Andrés Delbianco},
  year         = {2014},
  booktitle    = {23rd European Symposium on Programming Languages and Systems (ESOP)},
  publisher    = {Springer},
  series       = {Lecture Notes in Computer Science},
  volume       = {8410},
  pages        = {290--310},
  isbn         = {978-3-642-54832-1},
  doi          = {10.1007/978-3-642-54833-8_16},
}

This record lives at https://refs.drheap.org/nanevski2014communicating/ and will keep doing so.