Lune

OOPSLA2024顶会

Tachis: Higher-Order Separation Logic with Credits for Expected Costs

Philipp G. Haselwarter, Kwing Hei Li, Markus de Medeiros, Simon Oddershede Gregersen, Alejandro Aguirre, Joseph Tassarotti, Lars Birkedal

摘要

We present Tachis, a higher-order separation logic to reason about the expected cost of probabilistic programs. Inspired by the uses of time credits for reasoning about the running time of deterministic programs, we introduce a novel notion of probabilistic cost credit. Probabilistic cost credits are a separation logic resource that can be used to pay for the cost of operations in programs, and that can be distributed across all possible branches of sampling instructions according to their weight, thus enabling us to reason about expected cost. The representation of cost credits as separation logic resources gives Tachis a great deal of flexibility and expressivity. In particular, it permits reasoning about amortized expected cost by storing excess credits as potential into data structures to pay for future operations. Tachis further supports a range of cost models, including running time and entropy usage. We showcase the versatility of this approach by applying our techniques to prove upper bounds on the expected cost of a variety of probabilistic algorithms and data structures, including randomized quicksort, hash tables, and meldable heaps. All of our results have been mechanized using Coq, Iris, and the Coquelicot real analysis library.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants 引用了 A probabilistic separation logic
  • Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants 引用了 Asynchronous Probabilistic Couplings in Higher-Order Separation Logic
  • Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants 引用了 Approximate Relational Reasoning for Higher-Order Probabilistic Programs
  • Asynchronous Probabilistic Couplings in Higher-Order Separation Logic 引用了 A probabilistic separation logic
  • Probabilistic Refinement Session Types 引用了 Aiming low is harder: induction for lower bounds in probabilistic program verification
  • Probabilistic Refinement Session Types 引用了 A modular cost analysis for probabilistic programs
  • Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 A probabilistic separation logic
  • Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 Thunks and Debits in Separation Logic with Time Credits
  • Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 Asynchronous Probabilistic Couplings in Higher-Order Separation Logic
  • Verifying Exact Samplers for Continuous Distributions with a Discrete Program Logic 引用了 Asynchronous Probabilistic Couplings in Higher-Order Separation Logic
  • Verifying Exact Samplers for Continuous Distributions with a Discrete Program Logic 引用了 Approximate Relational Reasoning for Higher-Order Probabilistic Programs
  • Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation Logic 引用了 Asynchronous Probabilistic Couplings in Higher-Order Separation Logic
  • Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation Logic 引用了 Approximate Relational Reasoning for Higher-Order Probabilistic Programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Approximate Relational Reasoning for Higher-Order Probabilistic ProgramsPhilipp G. Haselwarter, Kwing Hei Li, Alejandro Aguirre, Simon Oddershede Gregersen 等POPL 2025 · 8 次引用
  2. Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and InvariantsNoam Zilberstein, Alexandra Silva, Joseph TassarottiPOPL 2026 · 4 次引用
  3. Probabilistic Refinement Session TypesQiancheng Fu, Ankush Das, Marco GaboardiPLDI 2025 · 1 次引用
  4. Verifying Exact Samplers for Continuous Distributions with a Discrete Program LogicMarkus de Medeiros, Puming Liu, Kwing Hei Li, Alejandro Aguirre 等LICS 2026
  5. Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation LogicPhilipp G. Haselwarter, Alejandro Aguirre, Simon Oddershede Gregersen, Kwing Hei Li 等PLDI 2026

它引用的 Paper13

  1. Aiming low is harder: induction for lower bounds in probabilistic program verificationMarcel Hark, Benjamin Lucien Kaminski, Jürgen Giesl, Joost-Pieter KatoenPOPL 2020 · 47 次引用
  2. Thunks and Debits in Separation Logic with Time CreditsFrançois Pottier, Armaël Guéneau, Jacques-Henri Jourdan, Glen MévelPOPL 2024 · 44 次引用
  3. A modular cost analysis for probabilistic programsMartin Avanzini, Georg Moser, Michael SchaperOOPSLA 2020 · 41 次引用
  4. A probabilistic separation logicGilles Barthe, Justin Hsu, Kevin LiaoPOPL 2020 · 35 次引用
  5. Asynchronous Probabilistic Couplings in Higher-Order Separation LogicSimon Oddershede Gregersen, Alejandro Aguirre, Philipp G. Haselwarter, Joseph Tassarotti 等POPL 2024 · 23 次引用

相关 Paper

  1. Contextual Refinement of Higher-Order Concurrent Probabilistic ProgramsKwing Hei Li, Alejandro Aguirre, Joseph Tassarotti, Lars BirkedalPLDI 2026
  2. A Calculus for Amortized Expected RuntimesKevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Christoph Matheja 等POPL 2023 · 22 次引用
  3. Lilac: A Modal Separation Logic for Conditional ProbabilityJohn M. Li, Amal Ahmed, Steven HoltzenPLDI 2023 · 22 次引用
  4. A High-Level Separation Logic for Heap Space under Garbage CollectionAlexandre Moine, Arthur Charguéraud, François PottierPOPL 2023
  5. Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security ProofsMartin Avanzini, Gilles Barthe, Benjamin Grégoire, Georg Moser 等OOPSLA 2024 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖