arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04512cs.LOcs.PL
收藏

并发概率程序的误差界模块化推理(扩展版)

Modular Reasoning about Error Bounds for Concurrent Probabilistic Programs (Extended Version)

Kwing Hei Li, Alejandro Aguirre, Simon Oddershede Gregersen, Philipp G. Haselwarter, Joseph Tassarotti, Lars Birkedal

AI总结:

提出Coneris,首个高阶并发分离逻辑,通过随机逻辑原子性支持并发概率程序的错误概率界模块化推理,并在Rocq和Iris中机械化验证。

摘要:

我们提出了 Coneris,这是首个用于对具有高阶状态的高阶并发概率程序的错误概率界进行推理的高阶并发分离逻辑。为了支持对并发(非概率)程序模块的模块化推理,最先进的程序逻辑通过逻辑原子性概念将经典的线性化概念内化到逻辑中。Coneris 将这一思想扩展到概率并发程序模块。因此,Coneris 通过在逻辑中捕获一种新颖的随机逻辑原子性概念,支持对概率并发模块的模块化推理。为此,Coneris 利用预采样磁带和一种新颖的概率更新模态来描述状态如何在线性化点处被概率性地改变。我们通过较小的合成示例和较大的案例研究来演示这种方法。所有呈现的结果,包括元理论,都已在 Rocq 证明助手和 Iris 分离逻辑框架中机械化实现。这是同一篇论文被 ICFP 2025 接受的扩展版本,其中在附录中包含了更多证明细节和案例研究。

英文摘要:

We present Coneris, the first higher-order concurrent separation logic for reasoning about error probability bounds of higher-order concurrent probabilistic programs with higher-order state. To support modular reasoning about concurrent (non-probabilistic) program modules, state-of-the-art program logics internalize the classic notion of linearizability within the logic through the concept of logical atomicity. Coneris extends this idea to probabilistic concurrent program modules. Thus Coneris supports modular reasoning about probabilistic concurrent modules by capturing a novel notion of randomized logical atomicity within the logic. To do so, Coneris utilizes presampling tapes and a novel probabilistic update modality to describe how state is changed probabilistically at linearization points. We demonstrate this approach by means of smaller synthetic examples and larger case studies. All of the presented results, including the meta-theory, have been mechanized in the Rocq proof assistant and the Iris separation logic framework This is the extended version of the same paper accepted at ICFP 2025, where more details of proofs and case studies are included in the Appendix.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑