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

从匹配逻辑到并行命令式语言验证

From Matching Logic To Parallel Imperative Language Verification

ShangBei Wang

摘要:

程序验证是开发程序的证明系统,并证明证明系统相对于程序的可信操作语义的可靠性。然而,许多实用的程序验证器不是基于操作语义的,不能认真验证程序。提出了基于匹配逻辑的操作语义程序验证方法。本文在Grigore Ro{n}u的工作基础上,研究了并行命令式语言(PIMP)的匹配逻辑。根据我们的调查,本文是第一次研究的匹配逻辑的PIMP。在匹配逻辑中,我们将“无干扰”定义为字符并行规则,并证明了匹配逻辑对PIMP的操作语义的正确性。通过构造一个对配置模式执行符号化的逻辑语义重写的PIMP匹配逻辑验证器,将PIMP的操作语义和PIMP的验证形式化地联系起来,该验证器对PIMP的匹配逻辑是完善的。也就是说,我们的PIMP匹配逻辑验证器符合PIMP的操作语义。最后,通过一个并行程序设计中的标准问题,对匹配逻辑验证器进行了验证。

英文摘要:

Program verification is to develop the program's proof system, and to prove the proof system soundness with respect to a trusted operational semantics of the program. However, many practical program verifiers are not based on operational semantics and can't seriously validate the program. Matching logic is proposed to make program verification based on operational semantics. In this paper, following Grigore Ro{ş}u 's work, we consider matching logic for parallel imperative language(PIMP). According to our investigation, this paper is the first study on matching logic for PIMP. In our matching logic, we redefine "interference-free" to character parallel rule and prove the soundness of matching logic to the operational semantics of PIMP. We also link PIMP's operational semantics and PIMP's verification formally by constructing a matching logic verifier for PIMP which executes rewriting logic semantics symbolically on configuration patterns and is sound and complete to matching logic for PIMP. That is our matching logic verifier for PIMP is sound to the operational semantics of PIMP. Finally, we also verify the matching logic verifier through an example which is a standard problem in parallel programming.

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

↑