paperbot · PL 论文追踪

RSS

Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning

OOPSLA 7(OOPSLA1)2023
Noam Zilberstein, Derek Dreyer, Alexandra Silva

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Program logics for bug-finding (such as the recently introduced Incorrectness Logic) have framed correctness and incorrectness as dual concepts requiring different logical foundations. In this paper, we argue that a single unified theory can be used for both correctness and incorrectness reasoning. We present Outcome Logic (OL), a novel generalization of Hoare Logic that is both monadic (to capture computational effects) and monoidal (to reason about outcomes and reachability). OL expresses true positive bugs, while retaining correctness reasoning abilities as well. To formalize the applicability of OL to both correctness and incorrectness, we prove that any false OL specification can be disproven in OL itself. We also use our framework to reason about new types of incorrectness in nondeterministic and probabilistic programs. Given these advances, we advocate for OL as a new foundational theory of correctness and incorrectness.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot2026,
  title = {Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning},
  author = {Noam Zilberstein and Derek Dreyer and Alexandra Silva},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {OOPSLA1},
  year = {2023},
  doi = {10.1145/3586045}
}