arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.00809cs.LO
收藏

带有数组和指针算术的Incorrectness Separation Logic

Incorrectness Separation Logic with Arrays and Pointer Arithmetic

Yeonseok Lee, Koji Nakazawa

AI总结:

本研究扩展了Incorrectness Separation Logic (ISL)以支持变长数组谓词和指针算术,并通过构造最弱后置条件证明了其相对完备性,确保了证明系统的可靠性。

摘要:

Incorrectness Separation Logic (ISL) 是一种证明系统,旨在自动化验证并检测操作堆内存的程序中的错误。在本研究中,我们扩展了 ISL 以支持变长数组谓词和指针算术。此外,我们通过构造最弱后置条件证明了该扩展 ISL 的相对完备性。相对完备性意味着,假设存在一个能够检查公式间蕴含关系的预言机,所有有效的 ISL 三元组都是可证明的;该属性确保了证明系统的可靠性。

英文摘要:

Incorrectness Separation Logic (ISL) is a proof system designed to automate verification and detect bugs in programs manipulating heap memories. In this study, we extend ISL to support variable-length array predicates and pointer arithmetic. Additionally, we prove the relative completeness of this extended ISL by constructing the weakest postconditions. Relative completeness means that all valid ISL triples are provable, assuming an oracle capable of checking entailment between formulas; this property ensures the reliability of the proof system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑