Trusting computations: A mechanized proof from partial differential equations to actual program

被引:24
作者
Boldo, Sylvie [1 ,2 ]
Clement, Francois [3 ]
Filliatre, Jean-Christophe [1 ,2 ]
Mayero, Micaela [4 ]
Melquiond, Guillaume [1 ,2 ]
Weis, Pierre [3 ]
机构
[1] Inria Saclay Ile France, Inria, F-91120 Palaiseau, France
[2] Univ Paris 11, CNRS, LRI, UMR 8623, F-91405 Orsay, France
[3] Inria Paris Rocquencourt, Inria, F-91405 Le Chesnay, France
[4] Univ Paris 13, CNRS, UMR 7030, LIPN, F-93430 Villetaneuse, France
关键词
Acoustic wave equation; Formal proof of numerical program; Convergence of numerical scheme; Rounding error analysis; FORMAL VERIFICATION; RESOLUTION;
D O I
10.1016/j.camwa.2014.06.004
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Computer programs may go wrong due to exceptional behaviors, out-of-bound array accesses, or simply coding errors. Thus, they cannot be blindly trusted. Scientific computing programs make no exception in that respect, and even bring specific accuracy issues due to their massive use of floating-point computations. Yet, it is uncommon to guarantee their correctness. Indeed, we had to extend existing methods and tools for proving the correct behavior of programs to verify an existing numerical analysis program. This C program implements the second-order centered finite difference explicit scheme for solving the 1D wave equation. In fact, we have gone much further as we have mechanically verified the convergence of the numerical scheme in order to get a complete formal proof covering all aspects from partial differential equations to actual numerical results. To the best of our knowledge, this is the first time such a comprehensive proof is achieved. (C) 2014 Elsevier Ltd. All rights reserved.
引用
收藏
页码:325 / 352
页数:28
相关论文
共 44 条
[1]  
Andrews George E, 1999, Encyclopedia of Mathematics and its Applications, V71, DOI DOI 10.1017/CBO9781107325937
[2]   CERTAIN RATIONAL FUNCTIONS WHOSE POWER-SERIES HAVE POSITIVE COEFFICIENTS [J].
ASKEY, R ;
GASPER, G .
AMERICAN MATHEMATICAL MONTHLY, 1972, 79 (04) :327-&
[3]  
Barrett C, 2007, LECT NOTES COMPUT SC, V4590, P298
[4]  
Baudin P., 2009, ACSL ANSI ISO C SPEC
[5]  
BECACHE E, 2009, ETUDE SCHEMAS NUMERI
[6]  
Bertot Y., 2004, TEXT THEORET COMP S
[7]  
Bertot Y, 2008, LECT NOTES COMPUT SC, V5170, P86, DOI 10.1007/978-3-540-71067-7_11
[8]  
Boldo Sylvie, 2012, Certified Programs and Proofs. Second International Conference (CPP 2012). Proceedings, P289, DOI 10.1007/978-3-642-35308-6_22
[9]  
Boldo S., 2012, ANNOTATED SOURCE COD
[10]  
BOLDO S, 2004, THESIS ECOLE NORMALE