Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects
Noam Zilberstein, Angelina Saliling, Alexandra Silva
Abstract
Separation logic's compositionality and local reasoning properties have led to significant advances in scalable static analysis. But program analysis has new challenges-many programs display computational effects and, orthogonally, static analyzers must handle incorrectness too. We present Outcome Separation Logic (OSL), a program logic that is sound for both correctness and incorrectness reasoning in programs with varying effects. OSL has a frame rule-just like separation logic-but uses different underlying assumptions that open up local reasoning to a larger class of properties than can be handled by any single existing logic.
Building on this foundational theory, we also define symbolic execution algorithms that use bi-abduction to derive specifications for programs with effects. This involves a new tri-abduction procedure to analyze programs whose execution branches due to effects such as nondeterministic or probabilistic choice. This work furthers the compositionality promised by separation logic by opening up the possibility for greater reuse of analysis tools across two dimensions: bug-finding vs verification in programs with varying effects.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants cites A Demonic Outcome Logic for Randomized Nondeterminism
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants cites Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and Invariants cites Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers
- Foundational Multi-Modal Program Verifiers cites Incorrectness logic
- Foundational Multi-Modal Program Verifiers cites Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- A Demonic Outcome Logic for Randomized Nondeterminism cites Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- A Demonic Outcome Logic for Randomized Nondeterminism cites Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers
- Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic cites Incorrectness logic
- Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic cites Gillian, part i: a multi-language platform for symbolic execution
- Gillian, part i: a multi-language platform for symbolic execution cites Incorrectness logic
- Finding real bugs in big programs with incorrectness logic cites Incorrectness logic
- Finding real bugs in big programs with incorrectness logic cites Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Finding real bugs in big programs with incorrectness logic cites Gillian, part i: a multi-language platform for symbolic execution
- Non-termination Proving at Scale cites Incorrectness logic
- Non-termination Proving at Scale cites Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Non-termination Proving at Scale cites Finding real bugs in big programs with incorrectness logic
- Non-termination Proving at Scale cites Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning cites Incorrectness logic
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning cites Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning cites Finding real bugs in big programs with incorrectness logic
- Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers cites Incorrectness logic
- Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers cites Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers cites Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
Cited by top-tier papers10
- Non-termination Proving at ScaleAzalea Raad, Julien Vanegue, Peter W. O'HearnOOPSLA 2024 · 10 citations
- A Demonic Outcome Logic for Randomized NondeterminismNoam Zilberstein, Dexter Kozen, Alexandra Silva, Joseph TassarottiPOPL 2025 · 5 citations
- Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate TransformersLinpeng Zhang, Noam Zilberstein, Benjamin Lucien Kaminski, Alexandra SilvaOOPSLA 2024 · 5 citations
- Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and InvariantsNoam Zilberstein, Alexandra Silva, Joseph TassarottiPOPL 2026 · 4 citations
- Foundational Multi-Modal Program VerifiersVladimir Gladshtein, George Pîrlea, Qiyuan Zhao, Vitaly Kurin et al.POPL 2026 · 4 citations
Builds on14
- Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 citations
- Local Reasoning About the Presence of Bugs: Incorrectness Separation LogicAzalea Raad, Josh Berdine, Hoang-Hai Dang, Derek Dreyer et al.CAV 2020 · 70 citations
- Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine et al.OOPSLA 2022 · 52 citations
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 citations
- Gillian, part i: a multi-language platform for symbolic executionJosé Fragoso Santos, Petar Maksimovic, Sacha-Élie Ayoun, Philippa GardnerPLDI 2020 · 38 citations
Related papers
- Revealing Sources of (Memory) Errors via Backward AnalysisFlavio Ascari, Roberto Bruni, Roberta Gori, Francesco LogozzoOOPSLA 2025 · 4 citations
- U-Turn: Enhancing Incorrectness Analysis by Reversing DirectionFlavio Ascari, Roberto Bruni, Roberta Gori, Azalea RaadPOPL 2026 · 2 citations
- RapunSL: Untangling Quantum Computing with Separation, Linear Combination and MixingYusuke Matsushita, Kengo Hirata, Ryo Wakizaka, Emanuele D'OsualdoPOPL 2026 · 1 citation
- A concurrent program logic with a future and historyRoland Meyer, Thomas Wies, Sebastian WolffOOPSLA 2022 · 9 citations
- Verification Algorithms for Automated Separation Logic VerifiersMarco Eilers, Malte Schwerhoff, Peter MüllerCAV 2024 · 5 citations
