Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers
Linpeng Zhang, Noam Zilberstein, Benjamin Lucien Kaminski, Alexandra Silva
摘要
We present a novel weakest pre calculus for reasoning about quantitative hyperproperties over nondeterministic and probabilistic programs . Whereas existing calculi allow reasoning about the expected value that a quantity assumes after program termination from a single initial state , we do so for initial sets of states or initial probability distributions . We thus (i) obtain a weakest pre calculus for hyper Hoare logic and (ii) enable reasoning about so-called hyperquantities which include expected values but also quantities (e.g. variance) out of scope of previous work. As a byproduct, we obtain a novel strongest post for weighted programs that extends both existing strongest and strongest liberal post calculi. Our framework reveals novel dualities between forward and backward transformers, correctness and incorrectness, as well as nontermination and unreachability.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants 引用了 A Demonic Outcome Logic for Randomized Nondeterminism
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- A Logic for Locally Complete Abstract Interpretations 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- A Demonic Outcome Logic for Randomized Nondeterminism 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic 引用了 Incorrectness logic
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Incorrectness logic
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 A Logic for Locally Complete Abstract Interpretations
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
引用它的顶会 Paper2
- A Demonic Outcome Logic for Randomized NondeterminismNoam Zilberstein, Dexter Kozen, Alexandra Silva, Joseph TassarottiPOPL 2025 · 5 次引用
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and InvariantsNoam Zilberstein, Alexandra Silva, Joseph TassarottiPOPL 2026 · 4 次引用
它引用的 Paper12
- Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 次引用
- Local Reasoning About the Presence of Bugs: Incorrectness Separation LogicAzalea Raad, Josh Berdine, Hoang-Hai Dang, Derek Dreyer 等CAV 2020 · 70 次引用
- The next 700 relational program logicsKenji Maillard, Catalin Hritcu, Exequiel Rivas, Antoine Van MuylderPOPL 2020 · 41 次引用
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
- A Logic for Locally Complete Abstract InterpretationsRoberto Bruni, Roberto Giacobazzi, Roberta Gori, Francesco RanzatoLICS 2021 · 34 次引用
相关 Paper
- Quantitative strongest post: a calculus for reasoning about the flow of quantitative informationLinpeng Zhang, Benjamin Lucien KaminskiOOPSLA 2022 · 14 次引用
- Supermartingales for Unique Fixed Points: A Unified Approach to Lower Bound VerificationSatoshi Kura, Hiroshi Unno, Takeshi TsukadaPLDI 2026
- An Expressive Assertion Language for Quantum ProgramsBonan Su, Yuan Feng, Mingsheng Ying, Li ZhouPOPL 2026 · 1 次引用
- A Deductive Verification Infrastructure for Probabilistic ProgramsPhilipp Schröer, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen 等OOPSLA 2023 · 22 次引用
- Relatively complete verification of probabilistic programs: an expressive language for expectation-based reasoningKevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Christoph MathejaPOPL 2021 · 33 次引用
