Lune

PLDI2023顶会

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 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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

  1. Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security ProofsMartin Avanzini, Gilles Barthe, Benjamin Grégoire, Georg Moser 等OOPSLA 2024 · 5 次引用

它引用的 Paper6

  1. A modular cost analysis for probabilistic programsMartin Avanzini, Georg Moser, Michael SchaperOOPSLA 2020 · 41 次引用
  2. Liquidate your assets: reasoning about resource usage in liquid HaskellMartin A. T. Handley, Niki Vazou, Graham HuttonPOPL 2020 · 38 次引用
  3. Data-Driven Invariant Learning for Probabilistic ProgramsJialu Bao, Nitesh Trivedi, Drashti Pathak, Justin Hsu 等CAV 2022 · 20 次引用
  4. Automated Expected Amortised Cost Analysis of Probabilistic Data StructuresLorenz Leutgeb, Georg Moser, Florian ZulegerCAV 2022 · 19 次引用
  5. Proving almost-sure termination by omega-regular decompositionJianhui Chen, Fei HePLDI 2020 · 19 次引用

相关 Paper

  1. A Deductive Verification Infrastructure for Probabilistic ProgramsPhilipp Schröer, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen 等OOPSLA 2023 · 22 次引用
  2. 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 次引用
  3. Compiling Probabilistic Programs for Variable Elimination with Information FlowJianlin Li, Eric Wang, Yizhou ZhangPLDI 2024 · 6 次引用
  4. Exact Recursive Probabilistic ProgrammingDavid Chiang, Colin McDonald, Chung-chieh ShanOOPSLA 2023 · 12 次引用
  5. Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate TransformersLinpeng Zhang, Noam Zilberstein, Benjamin Lucien Kaminski, Alexandra SilvaOOPSLA 2024 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖