paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Supermartingales, Ranking Functions and Probabilistic Lambda Calculus

上鞅、秩函数与概率 λ 演算
LICS 2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)2021匹配度 4/10 · 论文属于概率程序验证/形式化方法,与用户关注的形式化验证及概率程序分析有间接关联;但它不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,也不是工业落地或 benchmark 驱动的工作,因此与核心研究方向偏离较大。引用 7 inbox
Andrew Kenyon-Roberts, C.-H. Luke Ong
crossref: 2026-09-12

AI 速览

一句话:提出基于秩上鞅的概率λ演算几乎必然终止证明方法,并给出反单调、稀疏与替代归约策略下的扩展。

本文研究带连续随机采样和显式递归的概率 λ 演算中几乎必然终止(AST)的证明问题。作者将一阶命令式语言中的秩上鞅方法提升到高阶函数式场景,提出基于秩上鞅的 AST 证明技术,并给出三种扩展:反单调秩函数放宽下降速度限制;稀疏秩函数仅在部分可达状态取值,便于定义且更灵活;针对替代归约策略的秩函数结合一个新(受限)合流性结果,扩大了方法适用范围。该工作可证明文献方法难以处理的高阶与非仿射递归程序的几乎必然终止。

问题
如何在带连续随机采样和显式递归的高阶概率 λ 演算中证明程序几乎必然终止。
方法
把秩上鞅与秩函数方法从一阶命令式语言提升到高阶函数式语言,并引入反单调秩函数、稀疏秩函数以及基于受限合流性的替代归约策略。
评估
评估以理论证明和适用性论证为主,重点展示该方法能覆盖现有文献方法难以处理的高阶及非仿射递归程序。
原文摘要(Abstract)

We introduce a method for proving almost sure termination in the context of lambda calculus with continuous random sampling and explicit recursion, based on ranking supermartingales. This result is extended in three ways. Antitone ranking functions have weaker restrictions on how fast they must decrease, and are applicable to a wider range of programs. Sparse ranking functions take values only at a subset of the program's reachable states, so they are simpler to define and more flexible. Ranking functions with respect to alternative reduction strategies give yet more flexibility, and significantly increase the applicability of the ranking supermartingale approach to proving almost sure termination, thanks to a novel (restricted) confluence result which is of independent interest. The notion of antitone ranking function was inspired by similar work by McIver, Morgan, Kaminski and Katoen in the setting of a first-order imperative language, but adapted to a higher-order functional language. The sparse ranking function and confluent semantics extensions are unique to the higher-order setting. Our methods can be used to prove almost sure termination of programs that are beyond the reach of methods in the literature, including higher-order and non-affine recursion.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6170,
  title = {Supermartingales, Ranking Functions and Probabilistic Lambda Calculus},
  author = {Andrew Kenyon-Roberts and C.-H. Luke Ong},
  booktitle = {LICS},
  year = {2021},
  doi = {10.1109/lics52264.2021.9470550}
}