On Extending Incorrectness Logic with Backwards Reasoning
Freek Verbeek, Md Syadus Sefat, Zhoulai Fu, Binoy Ravindran
摘要
This paper studies an extension of O’Hearn’s incorrectness logic (IL) that allows backwards reasoning. IL in its current form does not generically permit backwards reasoning. We show t at this can be mitigated by extending IL with underspecification. The resulting logic combines underspecification (the result, or postcondition, only needs to formulate constraints over relevant variables) with underapproximation (it allows to focus on fewer than all the paths). We prove soundness of the proof system, as well as completeness for a defined subset of presumptions. We discuss proof strategies that allow one to derive a presumption from a given result. Notably, we show that the existing concept of loop summaries- closed-form symbolic representations that summarize the effects of executing an entire loop at once- is highly useful. The logic, the proof system and all theorems have been formalized in the Isabelle/HOL theorem prover.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A Logic for Locally Complete Abstract Interpretations 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Systematic Design of Separation Logics 引用了 Incorrectness logic
- Systematic Design of Separation Logics 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Systematic Design of Separation Logics 引用了 Finding real bugs in big programs with incorrectness logic
- Systematic Design of Separation Logics 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic 引用了 Incorrectness logic
- Finding real bugs in big programs with incorrectness logic 引用了 Incorrectness logic
- Finding real bugs in big programs with incorrectness logic 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation 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
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Finding real bugs in big programs with incorrectness logic
引用它的顶会 Paper1
它引用的 Paper8
- 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 次引用
- Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine 等OOPSLA 2022 · 52 次引用
- 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
- Revealing Sources of (Memory) Errors via Backward AnalysisFlavio Ascari, Roberto Bruni, Roberta Gori, Francesco LogozzoOOPSLA 2025 · 4 次引用
- U-Turn: Enhancing Incorrectness Analysis by Reversing DirectionFlavio Ascari, Roberto Bruni, Roberta Gori, Azalea RaadPOPL 2026 · 2 次引用
- Quantitative strongest post: a calculus for reasoning about the flow of quantitative informationLinpeng Zhang, Benjamin Lucien KaminskiOOPSLA 2022 · 14 次引用
- On incorrectness logic and Kleene algebra with top and testsCheng Zhang, Arthur Azevedo de Amorim, Marco GaboardiPOPL 2022 · 9 次引用
- Hyper Hoare Logic: (Dis-)Proving Program HyperpropertiesThibault Dardinier, Peter MüllerPLDI 2024 · 28 次引用
