Asynchronous Probabilistic Couplings in Higher-Order Separation Logic
Simon Oddershede Gregersen, Alejandro Aguirre, Philipp G. Haselwarter, Joseph Tassarotti, Lars Birkedal
摘要
Probabilistic couplings are the foundation for many probabilistic relational program logics and arise when relating random sampling statements across two programs. In relational program logics, this manifests as dedicated coupling rules that, e.g., say we may reason as if two sampling statements return the same value. However, this approach fundamentally requires aligning or "synchronizing" the sampling statements of the two programs which is not always possible.
In this paper, we develop Clutch, a higher-order probabilistic relational separation logic that addresses this issue by supporting asynchronous probabilistic couplings. We use Clutch to develop a logical step-indexed logical relation to reason about contextual refinement and equivalence of higher-order programs written in a rich language with a probabilistic choice operator, higher-order local state, and impredicative polymorphism. Finally, we demonstrate our approach on a number of case studies.
All the results that appear in the paper have been formalized in the Coq proof assistant using the Coquelicot library and the Iris separation logic framework.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A Quantitative Probabilistic Relational Hoare Logic 引用了 Bluebell: An Alliance of Relational Lifting and Independence for Probabilistic Reasoning
- A Quantitative Probabilistic Relational Hoare Logic 引用了 Advanced Probabilistic Couplings for Differential Privacy
- Bluebell: An Alliance of Relational Lifting and Independence for Probabilistic Reasoning 引用了 A probabilistic separation logic
- Bluebell: An Alliance of Relational Lifting and Independence for Probabilistic Reasoning 引用了 The future is ours: prophecy variables in separation logic
- Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 A probabilistic separation logic
- Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 A Quantitative Probabilistic Relational Hoare Logic
- Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 Bluebell: An Alliance of Relational Lifting and Independence for Probabilistic Reasoning
- Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 Advanced Probabilistic Couplings for Differential Privacy
- Approximate Relational Reasoning for Higher-Order Probabilistic Programs 引用了 Tachis: Higher-Order Separation Logic with Credits for Expected Costs
- Trillium: Higher-Order Concurrent and Distributed Separation Logic for Intensional Refinement 引用了 Simuliris: a separation logic framework for verifying concurrent program optimizations
- Tachis: Higher-Order Separation Logic with Credits for Expected Costs 引用了 A probabilistic separation logic
引用它的顶会 Paper16
- Trillium: Higher-Order Concurrent and Distributed Separation Logic for Intensional RefinementAmin Timany, Simon Oddershede Gregersen, Léo Stefanesco, Jonas Kastberg Hinrichsen 等POPL 2024 · 14 次引用
- A Quantitative Probabilistic Relational Hoare LogicMartin Avanzini, Gilles Barthe, Davide Davoli, Benjamin GrégoirePOPL 2025 · 9 次引用
- Approximate Relational Reasoning for Higher-Order Probabilistic ProgramsPhilipp G. Haselwarter, Kwing Hei Li, Alejandro Aguirre, Simon Oddershede Gregersen 等POPL 2025 · 8 次引用
- Bluebell: An Alliance of Relational Lifting and Independence for Probabilistic ReasoningJialu Bao, Emanuele D'Osualdo, Azadeh FarzanPOPL 2025 · 6 次引用
- Tachis: Higher-Order Separation Logic with Credits for Expected CostsPhilipp G. Haselwarter, Kwing Hei Li, Markus de Medeiros, Simon Oddershede Gregersen 等OOPSLA 2024 · 5 次引用
它引用的 Paper15
- Advanced Probabilistic Couplings for Differential PrivacyGilles Barthe, Noémie Fong, Marco Gaboardi, Benjamin Grégoire 等CCS 2016 · 67 次引用
- The future is ours: prophecy variables in separation logicRalf Jung, Rodolphe Lepigre, Gaurav Parthasarathy, Marianna Rapoport 等POPL 2020 · 62 次引用
- A probabilistic separation logicGilles Barthe, Justin Hsu, Kevin LiaoPOPL 2020 · 35 次引用
- Machine-Checked Proofs for Cryptographic Standards: Indifferentiability of Sponge and Secure High-Assurance Implementations of SHA-3José Bacelar Almeida, Cécile Baritel-Ruet, Manuel Barbosa, Gilles Barthe 等CCS 2019 · 35 次引用
- Simuliris: a separation logic framework for verifying concurrent program optimizationsLennard Gäher, Michael Sammler, Simon Spies, Ralf Jung 等POPL 2022 · 33 次引用
相关 Paper
- Contextual Refinement of Higher-Order Concurrent Probabilistic ProgramsKwing Hei Li, Alejandro Aguirre, Joseph Tassarotti, Lars BirkedalPLDI 2026
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and InvariantsNoam Zilberstein, Alexandra Silva, Joseph TassarottiPOPL 2026 · 4 次引用
- Step-Indexed Logical Relations for Countable Nondeterminism and Probabilistic ChoiceAlejandro Aguirre, Lars BirkedalPOPL 2023 · 13 次引用
- Deterministic stream-sampling for probabilistic programming: semantics and verificationFredrik Dahlqvist, Alexandra Silva, William SmithLICS 2023 · 4 次引用
- Reasoning about "reasoning about reasoning": semantics and contextual equivalence for probabilistic programs with nested queries and recursionYizhou Zhang, Nada AminPOPL 2022 · 20 次引用
