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

图程序的推理

Reasoning about Graph Programs

Detlef Plump

摘要:

GP 2是一种通过图形转换进行计算的非确定性程序设计语言。GP 2的设计目标之一是语法和语义的简单性,以促进程序的形式化推理。在本文中,我们演示了四个案例研究程序员如何证明终止和部分正确的解决方案。我们认为,GP 2的图形转换规则,连同感应程序执行的长度,提供了一个方便的框架程序验证。

英文摘要:

GP 2 is a non-deterministic programming language for computing by graph transformation. One of the design goals for GP 2 is syntactic and semantic simplicity, to facilitate formal reasoning about programs. In this paper, we demonstrate with four case studies how programmers can prove termination and partial correctness of their solutions. We argue that GP 2's graph transformation rules, together with induction on the length of program executions, provide a convenient framework for program verification.

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

↑