paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Compositional Theory of Linearizability

线性一致性的组合式理论
POPL 7(POPL)2023匹配度 1/10 · 论文研究并发对象线性一致性的组合语义与程序逻辑,属于形式语义/并发理论;未涉及 LLM/Agent、静态分析、浮点程序分析或贝叶斯程序分析,与当前研究画像的核心交叉点基本无关。引用 7 inbox
Arthur Oliveira Vale, Zhong Shao, Yixuan Chen
crossref: 2026-09-10

AI 速览

一句话:用 Karoubi envelope 为线性一致性建立组合语义,给出不依赖原子性与 happens-before 的新表述并重建其理论。

论文解决缺乏组合式线性一致性理论的问题。作者先指出并发计算组合模型中的普遍问题:与组合单位元交互会产生涌现行为,破坏组合性;范畴论中的 Karoubi envelope 提供了解决方案。核心发现是该抽象构造与线性一致性深刻相关,由此给出一种新的线性一致性表述,既不依赖原子性,也不直接依赖 happens-before 序,且只有借助组合性才能得到,揭示二者内在关联。基于此,作者重新审视线性一致性理论,给出局部性性质以及与观测精化等价性的新颖代数证明,并将语义与一个关于广义线性一致性可靠的简单程序逻辑连接,展示其实用性。

问题
线性一致性是并发对象正确性的黄金标准,但此前没有组合式语义或理论,难以支持大规模系统的可扩展验证。
方法
发展线性一致性的组合语义;利用范畴论 Karoubi envelope 处理组合单位元导致的涌现行为,得到不依赖原子性和 happens-before 的新表述。
评估
用新理论重新证明局部性及观测精化等价性的类似结果,并将语义与一个对广义线性一致性可靠的简单程序逻辑相连,说明其实用性。
原文摘要(Abstract)

Compositionality is at the core of programming languages research and has become an important goal toward scalable verification of large systems. Despite that, there is no compositional account of linearizability, the gold standard of correctness for concurrent objects.In this paper, we develop a compositional semantics for linearizable concurrent objects. We start by showcasing a common issue, which is independent of linearizability, in the construction of compositional models of concurrent computation: interaction with the neutral element for composition can lead to emergent behaviors, a hindrance to compositionality. Category theory provides a solution for the issue in the form of the Karoubi envelope. Surprisingly, and this is the main discovery of our work, this abstract construction is deeply related to linearizability and leads to a novel formulation of it. Notably, this new formulation neither relies on atomicity nor directly upon happens-before ordering and is only possible because of compositionality, revealing that linearizability and compositionality are intrinsically related to each other.We use this new, and compositional, understanding of linearizability to revisit much of the theory of linearizability, providing novel, simple, algebraic proofs of the locality property and of an analogue of the equivalence with observational refinement. We show our techniques can be used in practice by connecting our semantics with a simple program logic that is nonetheless sound concerning this generalized linearizability.

链接与引用

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

BibTeX
@article{paperbot2101,
  title = {A Compositional Theory of Linearizability},
  author = {Arthur Oliveira Vale and Zhong Shao and Yixuan Chen},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {POPL},
  year = {2023},
  doi = {10.1145/3571231}
}