Automated Expected Value Analysis of Recursive Programs
Martin Avanzini, Georg Moser, Michael Schaper
摘要
In this work, we study the fully automated inference of expected result values of probabilistic programs in the presence of natural programming constructs such as procedures, local variables and recursion. While crucial, capturing these constructs becomes highly non-trivial. The key contribution is the definition of a term representation, denoted as infer[•] , translating a pre-expectation semantics into first-order constraints, susceptible to automation via standard methods. A crucial step is the use of logical variables, inspired by previous work on Hoare logics for recursive programs. Noteworthy, our methodology is not restricted to tail-recursion, which could unarguably be replaced by iteration and wouldn't need additional insights. We have implemented this analysis in our prototype ev-imp. We provide ample experimental evidence of the prototype's algorithmic expressibility.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security Proofs 引用了 Automated Expected Amortised Cost Analysis of Probabilistic Data Structures
- Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security Proofs 引用了 Proving almost-sure termination by omega-regular decomposition
- Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security Proofs 引用了 A modular cost analysis for probabilistic programs
- Automated Expected Amortised Cost Analysis of Probabilistic Data Structures 引用了 A modular cost analysis for probabilistic programs
引用它的顶会 Paper1
它引用的 Paper6
- A modular cost analysis for probabilistic programsMartin Avanzini, Georg Moser, Michael SchaperOOPSLA 2020 · 41 次引用
- Liquidate your assets: reasoning about resource usage in liquid HaskellMartin A. T. Handley, Niki Vazou, Graham HuttonPOPL 2020 · 38 次引用
- Data-Driven Invariant Learning for Probabilistic ProgramsJialu Bao, Nitesh Trivedi, Drashti Pathak, Justin Hsu 等CAV 2022 · 20 次引用
- Automated Expected Amortised Cost Analysis of Probabilistic Data StructuresLorenz Leutgeb, Georg Moser, Florian ZulegerCAV 2022 · 19 次引用
- Proving almost-sure termination by omega-regular decompositionJianhui Chen, Fei HePLDI 2020 · 19 次引用
相关 Paper
- A Deductive Verification Infrastructure for Probabilistic ProgramsPhilipp Schröer, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen 等OOPSLA 2023 · 22 次引用
- Trace types and denotational semantics for sound programmable inference in probabilistic languagesAlexander K. Lew, Marco F. Cusumano-Towner, Benjamin Sherman, Michael Carbin 等POPL 2020 · 30 次引用
- Compiling Probabilistic Programs for Variable Elimination with Information FlowJianlin Li, Eric Wang, Yizhou ZhangPLDI 2024 · 6 次引用
- Exact Recursive Probabilistic ProgrammingDavid Chiang, Colin McDonald, Chung-chieh ShanOOPSLA 2023 · 12 次引用
- Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate TransformersLinpeng Zhang, Noam Zilberstein, Benjamin Lucien Kaminski, Alexandra SilvaOOPSLA 2024 · 5 次引用
