Supermartingales, Ranking Functions and Probabilistic Lambda Calculus
Andrew Kenyon-Roberts, C.-H. Luke Ong
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Supermartingales for Unique Fixed Points: A Unified Approach to Lower Bound Verification 引用了 Quantitative Bounds on Resource Usage of Probabilistic Programs
- Supermartingales for Unique Fixed Points: A Unified Approach to Lower Bound Verification 引用了 On probabilistic termination of functional programs with continuous distributions
- Quantitative Bounds on Resource Usage of Probabilistic Programs 引用了 Proving almost-sure termination by omega-regular decomposition
- Quantitative Bounds on Resource Usage of Probabilistic Programs 引用了 Guaranteed bounds for posterior inference in universal probabilistic programming
- Quantitative Bounds on Resource Usage of Probabilistic Programs 引用了 On probabilistic termination of functional programs with continuous distributions
- Guaranteed bounds for posterior inference in universal probabilistic programming 引用了 On probabilistic termination of functional programs with continuous distributions
- On probabilistic termination of functional programs with continuous distributions 引用了 Proving almost-sure termination by omega-regular decomposition
引用它的顶会 Paper5
- Guaranteed bounds for posterior inference in universal probabilistic programmingRaven Beutner, C.-H. Luke Ong, Fabian ZaiserPLDI 2022 · 18 次引用
- Quantitative Bounds on Resource Usage of Probabilistic ProgramsKrishnendu Chatterjee, Amir Kafshdar Goharshady, Tobias Meggendorfer, Dorde ZikelicOOPSLA 2024 · 16 次引用
- On probabilistic termination of functional programs with continuous distributionsRaven Beutner, Luke OngPLDI 2021 · 12 次引用
- A Hierarchy of Supermartingales for ω-Regular VerificationSatoshi Kura, Hiroshi UnnoPLDI 2026 · 1 次引用
- Supermartingales for Unique Fixed Points: A Unified Approach to Lower Bound VerificationSatoshi Kura, Hiroshi Unno, Takeshi TsukadaPLDI 2026
它引用的 Paper2
相关 Paper
- On Lexicographic Proof Rules for Probabilistic TerminationKrishnendu Chatterjee, Ehsan Kafshdar Goharshady, Petr Novotný, Jiri Zárevúcky 等FM 2021 · 11 次引用
- Lexicographic Ranking Supermartingales with Lazy Lower BoundsToru Takisaka, Libo Zhang, Changjiang Wang, Jiamou LiuCAV 2024 · 7 次引用
- Learning Probabilistic Termination ProofsAlessandro Abate, Mirco Giacobbe, Diptarko RoyCAV 2021 · 26 次引用
- Sound and Complete Proof Rules for Probabilistic TerminationRupak Majumdar, V. R. SathiyanarayanaPOPL 2025 · 16 次引用
- On Higher-Order Probabilistic Verification via the Weighted Relational Model of Linear LogicUgo Dal Lago, Guido Fiorillo, Paolo PistoneLICS 2026
