paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Contextual Refinement of Higher-Order Concurrent Probabilistic Programs

高阶并发概率程序的上下文精化
PLDI 10(PLDI)2026匹配度 3/10 · 论文属于概率程序的形式化验证,与用户关注的 LLM/Agent 结合静态分析、浮点程序分析或贝叶斯程序分析等核心方向缺少直接交叉;虽涉及概率程序与程序验证,但未涉及 LLM/Agentic 场景或所列具体应用方向。引用 1 inbox
Kwing Hei Li, Alejandro Aguirre, Joseph Tassarotti, Lars Birkedal
crossref: 2026-09-10

AI 速览

一句话:提出首个用于证明高阶并发概率程序上下文精化的高阶分离逻辑 Foxtrot,并在 Rocq/Iris 中机器化验证。

本文研究如何证明带高阶局部状态的高阶并发概率程序的上下文精化。现有并发分离逻辑难以同时处理概率与并发。作者提出 Foxtrot:一种高阶分离逻辑,继承不变式、幽灵资源等并发推理原则,并支持 tape presampling、误差放大归纳等概率推理原则,用以分析并发线程诱导的复杂概率分布。逻辑可靠性在 Iris 中依赖一版选择公理,概率与并发的融合使其模型与证明高度非平凡。作者在对抗性 von Neumann 硬币及 Sodium 密码库的 randombytes_uniform 等例子上展示表达力,所有结果已在 Rocq 与 Iris 中机器化。

问题
如何为带高阶局部状态的高阶并发概率程序建立上下文精化证明方法;核心难点是概率与并发推理原则的融合。
方法
提出高阶分离逻辑 Foxtrot,继承并发分离逻辑的不变式与幽灵资源,并引入 tape presampling、误差放大归纳等概率推理原则,其可靠性在 Iris 中依赖选择公理。
评估
在对抗性 von Neumann 硬币和 Sodium 库 randombytes_uniform 等示例上验证表达力,并在 Rocq 证明助手与 Iris 框架中机器化全部结果。
原文摘要(Abstract)

We present Foxtrot, the first higher-order separation logic for proving contextual refinement of higher-order concurrent probabilistic programs with higher-order local state. From a high level, Foxtrot inherits various concurrency reasoning principles from standard concurrent separation logic, e.g. invariants and ghost resources, and supports advanced probabilistic reasoning principles for reasoning about complex probability distributions induced by concurrent threads, e.g. tape presampling and induction by error amplification. The integration of these strong reasoning principles is highly non-trivial due to the combination of probability and concurrency in the language and the complexity of the Foxtrot model; the soundness of the logic relies on a version of the axiom of choice within the Iris logic, which is not used in earlier work on Iris-based logics. We demonstrate the expressiveness of Foxtrot on a wide range of examples, including the adversarial von Neumann coin and the randombytes _ uniform function of the Sodium cryptography software library. All results have been mechanized in the Rocq proof assistant and the Iris separation logic framework.

链接与引用

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

BibTeX
@article{LiATB26,
  title = {Contextual Refinement of Higher-Order Concurrent Probabilistic Programs},
  author = {Kwing Hei Li and Alejandro Aguirre and Joseph Tassarotti and Lars Birkedal},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {PLDI},
  year = {2026},
  doi = {10.1145/3808265}
}