Lune

POPL2024顶会

Coarser Equivalences for Causal Concurrency

Azadeh Farzan, Umang Mathur

摘要

Trace theory (formulated by Mazurkiewicz in 1987) 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. It is well-understood that the larger the equivalence classes are, the more benefits they would bring to the algorithms and applications that use them. In this paper, 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. Specifically, 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 run) or causally ordered (i.e. they always appear in the same order in all equivalent runs). The same problem can be decided in constant space for trace equivalence. Next, we propose a new commutativity-based notion of equivalence called grain equivalence that is strictly more relaxed than trace equivalence, and yet yields a constant space algorithm for the same problem. This notion of equivalence uses commutativity of grains , which are sequences of atomic steps, in addition to the standard commutativity from trace theory. We study the two distinct cases when the grains are contiguous subwords of the input program run and when they are not, formulate the precise definition of causal concurrency in each case, and show that they can be decided in constant space , despite being strict relaxations of the notion of causal concurrency based on trace equivalence.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • The Complexity of Dynamic Data Race Prediction 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Predictive Monitoring with Strong Trace Prefixes 引用了 The Complexity of Dynamic Data Race Prediction
  • Predictive Monitoring with Strong Trace Prefixes 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Predictive Monitoring with Strong Trace Prefixes 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • Predictive Monitoring with Strong Trace Prefixes 引用了 Optimal prediction of synchronization-preserving races
  • Predictive Monitoring with Strong Trace Prefixes 引用了 Optimistic Prediction of Synchronization-Reversal Data Races
  • Selectively Uniform Concurrency Testing 引用了 The Complexity of Dynamic Data Race Prediction
  • Selectively Uniform Concurrency Testing 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Selectively Uniform Concurrency Testing 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • Selectively Uniform Concurrency Testing 引用了 Optimal prediction of synchronization-preserving races
  • Selectively Uniform Concurrency Testing 引用了 Optimistic Prediction of Synchronization-Reversal Data Races
  • Optimal prediction of synchronization-preserving races 引用了 The Complexity of Dynamic Data Race Prediction
  • Optimal prediction of synchronization-preserving races 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Optimal prediction of synchronization-preserving races 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 The Complexity of Dynamic Data Race Prediction
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 Optimal prediction of synchronization-preserving races
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 The Complexity of Testing Message-Passing Concurrency
  • The Complexity of Testing Message-Passing Concurrency 引用了 Efficient Decrease-and-Conquer Linearizability Monitoring
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 Optimistic Prediction of Synchronization-Reversal Data Races
  • The Complexity of Testing Message-Passing Concurrency 引用了 The Complexity of Dynamic Data Race Prediction
  • The Complexity of Testing Message-Passing Concurrency 引用了 Truly stateless, optimal dynamic partial order reduction
  • The Complexity of Testing Message-Passing Concurrency 引用了 Fast, sound, and effectively complete dynamic race prediction
  • The Complexity of Testing Message-Passing Concurrency 引用了 Predictive Monitoring with Strong Trace Prefixes
  • The Complexity of Testing Message-Passing Concurrency 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • The Complexity of Testing Message-Passing Concurrency 引用了 Optimal prediction of synchronization-preserving races
  • The Complexity of Testing Message-Passing Concurrency 引用了 Optimistic Prediction of Synchronization-Reversal Data Races
  • Optimistic Prediction of Synchronization-Reversal Data Races 引用了 The Complexity of Dynamic Data Race Prediction
  • Optimistic Prediction of Synchronization-Reversal Data Races 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Optimistic Prediction of Synchronization-Reversal Data Races 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • Optimistic Prediction of Synchronization-Reversal Data Races 引用了 Optimal prediction of synchronization-preserving races
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Optimistic Prediction of Synchronization-Reversal Data RacesZheng Shi, Umang Mathur, Andreas PavlogiannisICSE 2024 · 8 次引用
  2. Selectively Uniform Concurrency TestingHuan Zhao, Dylan Wolff, Umang Mathur, Abhik RoychoudhuryASPLOS 2025 · 4 次引用
  3. Predictive Monitoring with Strong Trace PrefixesZhendong Ang, Umang MathurCAV 2024 · 3 次引用
  4. Efficient Decrease-and-Conquer Linearizability MonitoringLee Zheng Han, Umang MathurOOPSLA 2025 · 2 次引用
  5. The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 次引用

它引用的 Paper9

  1. Truly stateless, optimal dynamic partial order reductionMichalis Kokologiannakis, Iason Marmanis, Vladimir Gladstein, Viktor VafeiadisPOPL 2022 · 46 次引用
  2. Fast, sound, and effectively complete dynamic race predictionAndreas PavlogiannisPOPL 2020 · 46 次引用
  3. Optimal prediction of synchronization-preserving racesUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPOPL 2021 · 36 次引用
  4. The Complexity of Dynamic Data Race PredictionUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanLICS 2020 · 27 次引用
  5. Atomicity Checking in Linear Time using Vector ClocksUmang Mathur, Mahesh ViswanathanASPLOS 2020 · 27 次引用

相关 Paper

  1. Stratified Commutativity in Verification Algorithms for Concurrent ProgramsAzadeh Farzan, Dominik Klumpp, Andreas PodelskiPOPL 2023 · 11 次引用
  2. Sound sequentialization for concurrent program verificationAzadeh Farzan, Dominik Klumpp, Andreas PodelskiPLDI 2022 · 24 次引用
  3. Stateless Model Checking Under a Reads-Value-From EquivalencePratyush Agarwal, Krishnendu Chatterjee, Shreya Pathak, Andreas Pavlogiannis 等CAV 2021 · 25 次引用
  4. Counterexample-Guided CommutativityMarcel Ebbinghaus, Dominik Klumpp, Andreas PodelskiCAV 2025
  5. Commutativity for Concurrent Program Termination ProofsDanya Lette, Azadeh FarzanCAV 2023 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖