arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1905.05036cs.LO
收藏

通过多类型混合模态逻辑实现操作语义和程序验证

Operational semantics and program verification using many-sorted hybrid modal logic

Faculty of Mathematics and Computer Science, University of Bucharest(布加勒斯特大学数学与计算机科学学院)

Ioana Leustean, Natalia Moanga, Traian Florin Serbanuta

AI总结:

本文提出基于多类型混合模态逻辑的框架,用于描述编程语言操作语义并验证程序正确性,相较于传统方法具有更自然的执行描述和更清晰的语义编码。

摘要:

我们提出一个通用框架,允许:(a)指定编程语言的操作语义;以及(b)陈述并证明关于程序正确性的性质。我们的框架基于一种多类型混合模态逻辑系统,我们对其证明了完备性结果。我们认为,我们的程序验证方法相比现有模态逻辑方法有改进,因为(1)它基于操作语义,允许比动态逻辑中使用的Hoare风格最弱预条件更自然地描述执行;(2)由于是多类型,它允许更清晰地编码语义,与其预期意义有更小的表示距离。

英文摘要:

We propose a general framework to allow: (a) specifying the operational semantics of a programming language; and (b) stating and proving properties about program correctness. Our framework is based on a many-sorted system of hybrid modal logic, for which we prove completeness results. We believe that our approach to program verification improves over the existing approaches within modal logic as (1) it is based on operational semantics which allows for a more natural description of the execution than Hoare's style weakest precondition used by dynamic logic; (2) being multi-sorted, it allows for a clearer encoding of semantics, with a smaller representational distance to its intended meaning.

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

↑