Skip to main content
QUICK REVIEW

[Paper Review] Proving linearisability via coarse-grained abstraction

Brijesh Dongol, John Derrick|arXiv (Cornell University)|Dec 20, 2012
Distributed systems and fault toleranceComputer Science5 references6 citations
TL;DR

This paper presents a compositional, interval-based method for verifying linearisability in concurrent data structures without requiring explicit identification of linearisation points in low-level code. By proving that a fine-grained concrete program refines a coarse-grained abstraction—where linearisation points are easily identifiable—the approach simplifies verification and enables scalable, forward reasoning even for complex algorithms with non-local linearisation points.

ABSTRACT

Linearisability has become the standard safety criterion for concurrent data structures ensuring that the effect of a concrete operation takes place after the execution some atomic statement (often referred to as the linearisation point). Identification of linearisation points is a non-trivial task and it is even possible for an operation to be linearised by the execution of other concurrent operations. This paper presents a method for verifying linearisability that does not require identification of linearisation points in the concrete code. Instead, we show that the concrete program is a refinement of some coarse-grained abstraction. The linearisation points in the abstraction are straightforward to identify and the linearisability proof itself is simpler due to the coarse granularity of its atomic statements. The concrete fine-grained program is a refinement of the coarse-grained program, and hence is also linearisable because every behaviour of the concrete program is a possible behaviour its abstraction.

Motivation & Objective

  • To address the challenge of verifying linearisability in fine-grained concurrent data structures where linearisation points are hard to identify.
  • To eliminate the need for backwards reasoning and complex pre/post-state analysis in linearisability proofs.
  • To develop a scalable, compositional verification framework that supports true concurrency and interference reasoning.
  • To demonstrate that coarse-grained abstractions can be used to verify complex, non-deterministically linearisable algorithms.
  • To provide a foundation for mechanised verification by structuring proofs around refinement and interval-based reasoning.

Proposed method

  • The method uses interval-based reasoning over program execution intervals, allowing modeling of expression evaluation and interference across steps.
  • It introduces a novel formulation of data refinement over intervals, linking abstract and coarse-grained program states via simulation predicates.
  • Fractional permissions are used to reason about shared memory accesses and ensure interference freedom during concurrent execution.
  • The approach relies on behaviour and data refinement to show that the concrete program implements the coarse-grained abstraction.
  • Rely/guarantee-style rules and splits/joins properties are used to decompose proof obligations into manageable components.
  • The framework supports pointer-based programs by modeling dynamic memory access and pointer updates explicitly.

Experimental results

Research questions

  • RQ1Can linearisability be verified without identifying linearisation points in low-level code?
  • RQ2Can coarse-grained abstractions simplify the verification of complex concurrent data structures?
  • RQ3Does interval-based reasoning enable forward reasoning and avoid the need for backwards reasoning in linearisability proofs?
  • RQ4Can the method scale to non-deterministically linearisable algorithms outside the scope of existing tools?
  • RQ5Is it possible to achieve compositional verification of concurrent programs using refinement and interval semantics?

Key findings

  • The method successfully verifies linearisability of the Michael and Scott queue and Heller et al.’s coarse-grained lazy set, both of which have non-local linearisation points.
  • The approach avoids backwards reasoning by using interval-based reasoning to anticipate interference and future behavior.
  • Coarse-grained abstractions allow for simpler identification of linearisation points, significantly reducing proof complexity.
  • The framework supports true concurrency and dynamic memory access through careful modeling of pointer updates and fractional permissions.
  • The method applies to non-deterministically linearisable programs, which lie outside the scope of tools like those in [47] and [4].
  • The authors demonstrate that refinement from concrete to coarse-grained abstraction enables scalable verification, with potential for future mechanisation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.