arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1410.4439cs.LOcs.PL
收藏

验证工具的原则:分离逻辑

Principles for Verification Tools: Separation Logic

Brijesh Dongol, Victor B. F. Gomes, Georg Struth

摘要:

一种原则性的程序验证和构造工具的设计方法适用于分离逻辑。控制流采用幂级数模型,卷积作为分离合取。泛型构造将资源幺半群提升为断言和谓词Transformer quantale。数据流由具体的存储/堆模型捕获。这些都与分离代数的可靠性证明。验证条件和转换律是通过谓词Transformer Quantale中的等式推理导出的。这种关注点的分离使得Isabelle/HOL证明中的实现简单且高度自动化。由此产生的工具是正确的建设,它是解释经典的链表反转的例子。

英文摘要:

A principled approach to the design of program verification and con- struction tools is applied to separation logic. The control flow is modelled by power series with convolution as separating conjunction. A generic construction lifts resource monoids to assertion and predicate transformer quantales. The data flow is captured by concrete store/heap models. These are linked to the separation algebra by soundness proofs. Verification conditions and transformation laws are derived by equational reasoning within the predicate transformer quantale. This separation of concerns makes an implementation in the Isabelle/HOL proof as- sistant simple and highly automatic. The resulting tool is correct by construction; it is explained on the classical linked list reversal example.

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

↑