跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机科学中的逻辑

arXiv:2510.09292 (cs)
[提交于 2025年10月10日]

标题:U-Turn: Enhancing Incorrectness Analysis by Reversing Direction

作者:Flavio Ascari, Roberto Bruni, Roberta Gori, Azalea Raad
查看论文《U-Turn: Enhancing Incorrectness Analysis by Reversing Direction》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:O'Hearn's Incorrectness Logic (IL) has sparked renewed interest in static analyses that aim to detect program errors rather than prove their absence, thereby avoiding false alarms -- a critical factor for practical adoption in industrial settings. As new incorrectness logics emerge to capture diverse error-related properties, a key question arises: can the combination of (in)correctness techniques enhance precision, expressiveness, automation, or scalability? Notable frameworks, such as outcome logic, UNTer, local completeness logic, and exact separation logic, unify multiple analyses within a single proof system. In this work, we adopt a complementary strategy. Rather than designing a unified logic, we combine IL, which identifies reachable error states, with Sufficient Incorrectness Logic (SIL), which finds input states potentially leading to those errors. As a result, we get a more informative and effective analysis than either logic in isolation. Rather than naively sequencing them, our key innovation is reusing heuristic choices from the first analysis to steer the second. In fact, both IL and SIL rely on under-approximation and thus their automation legitimates heuristics that avoid exhaustive path enumeration (e.g., selective disjunct pruning, loop unrolling). Concretely, we instrument the second logic's proof rules with derivations coming from the first to inductively guide rule selection and application. To our knowledge, this is the first rule format enabling such inter-analysis instrumentation. This combined analysis aids debugging and testing by revealing both reachable errors and their causes, and opens new avenues for embedding incorrectness insights into (a new kind of) scalable, expressive, automated code contracts.
评论: 35 pages, 13 figures. Conditionally accepted at POPL26
主题: 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2510.09292 [cs.LO]
  (或者 arXiv:2510.09292v1 [cs.LO] 对于此版本)
  https://doi.org/10.48550/arXiv.2510.09292
期刊参考: Proc. ACM Program. Lang. 10, POPL, Article 46 (January 2026)
相关 DOI: https://doi.org/10.1145/3776688

提交历史

来自:Flavio Ascari
[v1] 2025年10月10日 星期五 11:34:08 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LO
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-10
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站