Browsing by Author "Fu, Zhoulai"
Now showing 1 - 1 of 1
Results Per Page
Sort Options
- On Extending Incorrectness Logic with Backwards ReasoningVerbeek, Freek; Sefat, Md Syadus; Fu, Zhoulai; Ravindran, Binoy (ACM, 2025-01-07)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 that 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.