Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects

Author:

Zilberstein Noam1ORCID,Saliling Angelina1ORCID,Silva Alexandra1ORCID

Affiliation:

1. Cornell University, Ithaca, USA

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.

Publisher

Association for Computing Machinery (ACM)

Reference54 articles.

1. Flavio Ascari Roberto Bruni Roberta Gori and Francesco Logozzo. 2023. Sufficient Incorrectness Logic: SIL and Separation SIL. arxiv:2310.18156.

2. Murat Baktiev. 2006. Permutation Semantics of Separation Logic. Master’s thesis. Saarland University. https://www.ps.uni-saarland.de/Publications/documents/baktiev2006.pdf

3. A Bunched Logic for Conditional Independence

4. A separation logic for negative dependence

5. Relational Reasoning via Probabilistic Coupling

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3