Proving Linearizability Using Reduction

06/21/2018
by   Tangliu Wen, et al.
0

Lipton's reduction theory provides an intuitive and simple way for deducing the non-interference properties of concurrent programs, but it is difficult to directly apply the technique to verify linearizability of sophisticated fine-grained concurrent data structures. In this paper, we propose three reduction-based proof methods that can handle such data structures. The key idea behind our reduction methods is that an irreducible operation can be viewed as an atomic operation at a higher level of abstraction. This allows us to focus on the reduction properties of an operation related to its abstract semantics. We have successfully applied the methods to verify 11 concurrent data structures including the most challenging ones: the Herlihy and Wing queue, the HSY elimination-based stack, and the time-stamped queue, and the lazy list. Our methods inherit intuition and simplicity of Lipton's reduction, and concurrent data structures designers can easily and quickly learn to use the methods.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/12/2021

A Simple Way to Verify Linearizability of Concurrent Stacks

Linearizability is a commonly accepted correctness criterion for concurr...
research
04/27/2023

Proving Logical Atomicity using Lock Invariants

Logical atomicity has been widely accepted as a specification format for...
research
01/13/2023

The Commutativity Quotients of Concurrent Objects

Concurrent objects form the foundation of many applications that exploit...
research
04/25/2019

Performance Prediction for Coarse-Grained Locking

A standard design pattern found in many concurrent data structures, such...
research
11/10/2022

Ultraverse: Efficient Retroactive Operation for Attack Recovery in Database Systems and Web Frameworks

Retroactive operation is an operation that changes a past operation in a...
research
02/02/2019

Transparent Concurrency Control: Decoupling Concurrency Control from DBMS

For performance reasons, conventional DBMSes adopt monolithic architectu...
research
12/05/2018

Sculptures in Concurrency

We give a formalization of Pratt's intuitive sculpting process for highe...

Please sign up or login with your details

Forgot password? Click here to reset