paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Formal verification of a concurrent bounded queue in a weak memory model

弱内存模型下并发有界队列的形式化验证
ICFP 5(ICFP)2021匹配度 2/10 · 该论文属于并发分离逻辑与弱内存模型下的形式化验证,不涉及用户关注的 LLM/Agent 与静态分析/形式化验证的交叉、浮点程序分析或贝叶斯程序分析,因此与研究画像的核心方向匹配度很低。引用 16 inbox
Glen Mével, Jacques-Henri Jourdan
crossref: 2026-09-10

AI 速览

一句话:用 Cosmo 并发分离逻辑在弱内存模型下形式化验证多生产者多消费者有界队列。

本文关注在 Multicore OCaml 弱内存模型下,如何对高级并发数据结构进行模块化、形式化的推理。作者使用现代并发分离逻辑 Cosmo,对多生产者多消费者(MPMC)有界并发队列的实现进行形式化规约与验证。方法上,他们结合逻辑原子三元组(logically atomic triples)与 Cosmo 的 views,在规约中精确刻画队列库与弱内存模型之间的交互。该工作被定位为一次演示与实验性验证,表明 Cosmo 能支持对高级并发数据结构的模块化形式推理;关键结果是完成该队列在弱内存模型设定下的验证,并展示上述机制在规约表达与模块化证明中的联合作用。

问题
如何在 Multicore OCaml 弱内存模型下,为多生产者多消费者有界并发队列这类高级并发数据结构提供模块化且精确的形式化规约与验证。
方法
使用 Cosmo 并发分离逻辑,并联合逻辑原子三元组与 Cosmo 的 views,对队列实现进行形式化规约和证明。
评估
以 Multicore OCaml 弱内存模型下的 MPMC 有界队列实现为案例完成形式化验证,并以此实验性展示 Cosmo 支持高级并发数据结构模块化推理的能力。
原文摘要(Abstract)

We use Cosmo, a modern concurrent separation logic, to formally specify and verify an implementation of a multiple-producer multiple-consumer concurrent queue in the setting of the Multicore OCaml weak memory model. We view this result as a demonstration and experimental verification of the manner in which Cosmo allows modular and formal reasoning about advanced concurrent data structures. In particular, we show how the joint use of logically atomic triples and of Cosmo's views makes it possible to describe precisely in the specification the interaction between the queue library and the weak memory model.

链接与引用

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

BibTeX
@article{paperbot1115,
  title = {Formal verification of a concurrent bounded queue in a weak memory model},
  author = {Glen Mével and Jacques-Henri Jourdan},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {5},
  number = {ICFP},
  year = {2021},
  doi = {10.1145/3473571}
}