【24h】

On the Representation of Imperative Programs in a Logical Framework

机译:关于逻辑框架中命令式程序的表示

获取原文
获取原文并翻译 | 示例

摘要

Research on formal verification of imperative programs using some form of representing them in a type theory has been done for years. Generally, the different approaches include a verification conditions generator, which from an annotated program including variants and invariants for while-loops and using a Hoare logic-like specification, produces some propositions to be proved in a logical framework, expressing the program correctness and termination.In this paper we present a direct use of Coq [3] to model imperative programs. This method, and the fact that it is not possible to have not-ending programs in Coq, should allow a more deep understanding of imperative programs semantics [15], and people without big knowledge on type theory could use this theorem prover to verify imperative programs properties. This approach is based on using a fixed-point equality theorem [2] that represents the appropriate reduction rule to be used in our model.In our approach no Hoare logic rules are used for verification of program specifications. This verification is achieved, in a pure constructive setting, directly with the type theory model.
机译:使用类型理论中的某种形式表示命令性程序的形式验证的研究已经进行了多年。通常,不同的方法包括验证条件生成器,该验证条件生成器从带注释的程序(包括while循环的变体和不变量)以及使用类似Hoare逻辑的规范中产生出一些要在逻辑框架中证明的命题,以表达程序的正确性和终止性。在本文中,我们提出了直接使用Coq [3]对命令式程序进行建模的方法。这种方法以及Coq中不可能没有无休止程序的事实,应该允许对命令式程序语义有更深入的了解[15],并且对类型理论不了解的人可以使用该定理证明者来验证命令式程序属性。这种方法基于使用定点相等定理[2],该定理表示要在我们的模型中使用的适当归约规则。在我们的方法中,没有使用Hoare逻辑规则来验证程序规范。这种验证是在纯构造性环境中直接使用类型理论模型完成的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号