Coarser Equivalences for Causal Concurrency
Azadeh Farzan, Umang Mathur

TL;DR
This paper introduces grain equivalence, a new relaxed form of trace equivalence for concurrent programs, enabling constant space algorithms for causal concurrency detection, unlike previous relaxations that are computationally infeasible.
Contribution
It proposes grain equivalence, a novel relaxation of trace equivalence, and demonstrates its efficiency with constant space algorithms for causal concurrency analysis.
Findings
Linear space lower bound for checking causal concurrency in streaming setting
Constant space algorithms for grain equivalence in contiguous and non-contiguous cases
Grain equivalence is more relaxed than trace equivalence and computationally efficient
Abstract
Trace theory is a principled framework for defining equivalence relations for concurrent program runs based on a commutativity relation over the set of atomic steps taken by individual program threads. Its simplicity, elegance, and algorithmic efficiency makes it useful in many different contexts including program verification and testing. We study relaxations of trace equivalence with the goal of maintaining its algorithmic advantages. We first prove that the largest appropriate relaxation of trace equivalence, an equivalence relation that preserves the order of steps taken by each thread and what write operation each read operation observes, does not yield efficient algorithms. We prove a linear space lower bound for the problem of checking, in a streaming setting, if two arbitrary steps of a concurrent program run are causally concurrent (i.e. they can be reordered in an equivalent…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Parallel Computing and Optimization Techniques · Radiation Effects in Electronics
