paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Probabilistic programming semantics for name generation

名字生成的概率编程语义
POPL 5(POPL)2021匹配度 4/10 · 论文属于概率编程/形式语义方向,与用户关注的贝叶斯程序分析在概率编程语义基础上有一定交集;但它不涉及静态分析、LLM/Agent、浮点分析或工业落地,核心是 ν 演算与准 Borel 空间的理论语义,因此匹配度有限。引用 2 inbox
Marcin Sabok, Sam Staton, Dario Stein, Michael Wolman
crossref: 2026-09-10

AI 速览

一句话:将准Borel空间语义用于ν演算,证明其可靠且在一阶类型上完全抽象,建立随机采样与新鲜名字生成的类比。

本文研究概率编程中的随机采样与新鲜名字生成之间的形式对应。作者以准Borel空间(quasi-Borel spaces)这一概率编程语义模型为ν演算(一种名字生成演算)提供解释,证明该语义是可靠的;并进一步证明其在一阶类型上完全抽象。此结果对现成语义模型而言颇为意外,关键在于对函数空间上的概率分布进行了新分析。证明手段包括描述集合论和ν演算的正规形式,从而把名字生成与概率抽样纳入统一语义框架。

问题
如何为名字生成演算 ν-calculus 给出概率语义,并精确刻画随机采样与新鲜名字生成之间的形式类比。
方法
使用 quasi-Borel spaces 对 ν-calculus 进行可靠解释,并借助描述集合论与 ν-calculus 正规形式分析函数空间上的概率分布。
评估
以数学证明评估:语义可靠性成立,且在一阶类型上达到完全抽象。
原文摘要(Abstract)

We make a formal analogy between random sampling and fresh name generation. We show that quasi-Borel spaces, a model for probabilistic programming, can soundly interpret the ν-calculus, a calculus for name generation. Moreover, we prove that this semantics is fully abstract up to first-order types. This is surprising for an ‘off-the-shelf’ model, and requires a novel analysis of probability distributions on function spaces. Our tools are diverse and include descriptive set theory and normal forms for the ν-calculus.

链接与引用

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

BibTeX
@article{paperbot1150,
  title = {Probabilistic programming semantics for name generation},
  author = {Marcin Sabok and Sam Staton and Dario Stein and Michael Wolman},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {5},
  number = {POPL},
  year = {2021},
  doi = {10.1145/3434292}
}