paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Truly stateless, optimal dynamic partial order reduction

真正无状态的最优动态偏序归约
POPL 6(POPL)2022匹配度 3/10 · 论文属于并发程序形式化验证中的动态偏序归约(DPOR),虽与形式化验证相关,但未涉及 LLM/Agent 改进验证、浮点程序分析或贝叶斯程序分析,与用户当前以 LLM 与静态分析/形式化验证交叉为核心的研究画像匹配度低。引用 45 inbox
Michalis Kokologiannakis, Iason Marmanis, Vladimir Gladstein, Viktor Vafeiadis
crossref: 2026-09-10

AI 速览

一句话:提出 TruSt 算法,使并发程序动态偏序归约同时做到每等价类仅探索一个交错且内存消耗为线性。

动态偏序归约(DPOR)通过按 Mazurkiewicz 迹等价类探索交错来验证并发程序,但现有算法难以兼顾空间与时间:探索最优的算法可能消耗指数级内存,而多项式内存的算法可能探索大量冗余交错。本文提出 TruSt,首次同时实现每等价类仅探索一个交错且内存消耗为线性。TruSt 在 Coq 中形式化,不仅适用于顺序一致性,也适用于满足若干基本假设的弱内存模型(如 TSO、PSO 和 RC11)。此外,TruSt 天然可并行:不同探索选项间无共享状态,可完全并行执行。实验表明,TruSt 在内存和/或时间上均优于现有最先进方法。

问题
现有 DPOR 算法无法同时实现探索最优(每等价类仅探索一个交错)与多项式乃至线性内存消耗,必须在空间和时间之间做出权衡。
方法
提出 TruSt 算法,以无共享状态的方式组织探索选项,并在 Coq 中形式化,将其推广到满足基本假设的弱内存模型(包括 TSO、PSO、RC11)。
评估
理论上证明 TruSt 的探索最优性与线性内存消耗,并通过实验与现有最先进 DPOR 方法比较内存和时间开销。
原文摘要(Abstract)

Dynamic partial order reduction (DPOR) verifies concurrent programs by exploring all their interleavings up to some equivalence relation, such as the Mazurkiewicz trace equivalence. Doing so involves a complex trade-off between space and time. Existing DPOR algorithms are either exploration-optimal (i.e., explore exactly only interleaving per equivalence class) but may use exponential memory in the size of the program, or maintain polynomial memory consumption but potentially explore exponentially many redundant interleavings. In this paper, we show that it is possible to have the best of both worlds: exploring exactly one interleaving per equivalence class with linear memory consumption. Our algorithm, TruSt, formalized in Coq, is applicable not only to sequential consistency, but also to any weak memory model that satisfies a few basic assumptions, including TSO, PSO, and RC11. In addition, TruSt is embarrassingly parallelizable: its different exploration options have no shared state, and can therefore be explored completely in parallel. Consequently, TruSt outperforms the state-of-the-art in terms of memory and/or time.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1573,
  title = {Truly stateless, optimal dynamic partial order reduction},
  author = {Michalis Kokologiannakis and Iason Marmanis and Vladimir Gladstein and Viktor Vafeiadis},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {6},
  number = {POPL},
  year = {2022},
  doi = {10.1145/3498711}
}