On Extending Incorrectness Logic with Backwards Reasoning

dc.contributor.authorVerbeek, Freeken
dc.contributor.authorSefat, Md Syadusen
dc.contributor.authorFu, Zhoulaien
dc.contributor.authorRavindran, Binoyen
dc.date.accessioned2025-02-06T18:35:30Zen
dc.date.available2025-02-06T18:35:30Zen
dc.date.issued2025-01-07en
dc.date.updated2025-02-01T09:07:09Zen
dc.description.abstractThis 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.en
dc.description.versionPublished versionen
dc.format.mimetypeapplication/pdfen
dc.identifier.doihttps://doi.org/10.1145/3704850en
dc.identifier.urihttps://hdl.handle.net/10919/124514en
dc.language.isoenen
dc.publisherACMen
dc.rightsCreative Commons Attribution 4.0 Internationalen
dc.rights.holderThe author(s)en
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/en
dc.titleOn Extending Incorrectness Logic with Backwards Reasoningen
dc.typeArticle - Refereeden
dc.type.dcmitypeTexten

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
3704850.pdf
Size:
871.73 KB
Format:
Adobe Portable Document Format
Description:
Published version
License bundle
Now showing 1 - 1 of 1
Name:
license.txt
Size:
1.5 KB
Format:
Item-specific license agreed upon to submission
Description: