首页> 外文期刊>Mathematics in computer science >Formal Verification of Numerical Programs:From C Annotated Programs to Mechanical Proofs
【24h】

Formal Verification of Numerical Programs:From C Annotated Programs to Mechanical Proofs

机译:数值程序的形式验证:从C注释程序到机械证明

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

摘要

Numerical programs may require a high level of guarantee. This can be achieved by applying formalmethods, such as machine-checked proofs. But these tools handle mathematical theorems while we are interestedin C code, in which numerical computations are performed using floating-point arithmetic, whereas proof toolstypically handle exact real arithmetic. To achieve this high level of confidence on C programs, we use a chain oftools: Frama-C, its Jessie plugin, Why and provers among Coq, Gappa, Alt-Ergo, CVC3 and Z3. This approachrequires the C program to be annotated: each function must be precisely specified, and we prove the correctness ofthe program by proving both that it meets its specifications and that no runtime error may occur. The purpose ofthis paper is to illustrate, on various examples, the features of this approach.
机译:数值程序可能需要高水平的保证。这可以通过应用形式化方法(例如机器检查的证明)来实现。但是,当我们对C代码感兴趣时,这些工具会处理数学定理,在C代码中,使用浮点算术执行数值计算,而证明工具通常会处理精确的实数算术。为了获得对C程序的高度信任,我们使用了一系列工具:Frama-C,其Jessie插件,Cohy,Gappa,Alt-Ergo,CVC3和Z3的Why和provers。这种方法需要注释C程序:必须精确指定每个函数,并且我们通过证明该程序符合其规范并且不会发生运行时错误来证明该程序的正确性。本文的目的是在各种示例上说明此方法的功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号