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

Coq中涉及全局状态效应的程序属性的形式化验证

Formal verification in Coq of program properties involving the global state effect

Jean-Guillaume Dumas, Dominique Duval, Burak Ekici, Damien Pous

摘要:

一个命令式语言的语法没有明确提到的状态,而它的指称语义必须提到它。在本文中,我们提出了一个框架,在Coq的性质的程序操纵全局状态效果的验证。这些性质用一个证明系统来表达,这个证明系统与语法接近,就像在有效系统中一样,在这个意义上,状态并不显式地出现在操纵它的表达式类型中,而是通过添加到项和方程中的装饰来出现。在这个系统中,程序的证明因此呈现两个方面:性质可以被验证{ \em直到效果}或者效果可以被考虑。因此,我们的Coq库的设计反映了这两个方面:我们的框架围绕着两个归纳和依赖类型的构建,一个用于效果的术语,另一个用于装饰的操作。

英文摘要:

The syntax of an imperative language does not mention explicitly the state, while its denotational semantics has to mention it. In this paper we present a framework for the verification in Coq of properties of programs manipulating the global state effect. These properties are expressed in a proof system which is close to the syntax, as in effect systems, in the sense that the state does not appear explicitly in the type of expressions which manipulate it. Rather, the state appears via decorations added to terms and to equations. In this system, proofs of programs thus present two aspects: properties can be verified {\em up to effects} or the effects can be taken into account. The design of our Coq library consequently reflects these two aspects: our framework is centered around the construction of two inductive and dependent types, one for terms up to effects and one for the manipulation of decorations.

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

↑