Verified Numerical Methods for Ordinary Differential Equations

被引:3
|
作者
Kellison, Ariel E. [1 ]
Appel, Andrew W. [2 ]
机构
[1] Cornell Univ, Ithaca, NY 14850 USA
[2] Princeton Univ, Princeton, NJ 08544 USA
关键词
INITIAL-VALUE PROBLEMS; VALIDATED SOLUTIONS; ERROR ESTIMATION; INTEGRATORS;
D O I
10.1007/978-3-031-21222-2_9
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Ordinary differential equations (ODEs) are used to model the evolution of the state of a system over time. They are ubiquitous in the physical sciences and are often used in computational models with safety-critical applications. For critical computations, numerical solvers for ODEs that provide useful guarantees of their accuracy and correctness are required, but do not always exist in practice. In this work, we demonstrate how to use the Coq proof assistant to verify that a C program correctly and accurately finds the solution to an ODE initial value problem (IVP). Our verification framework is modular, and concisely disentangles the high-level mathematical properties expected of the system being modeled from the low-level behavior of a particular C program. Our approach relies on the construction of two simple functional models in Coq: a floating-point valued functional model for analyzing the intermediate-level behavior of the program, and a real-valued functional model for analyzing the high-level mathematical properties of the system being modeled by the IVP. Our final result is a proof that the floatingpoint solution returned by the C program is an accurate solution to the IVP, with a good quantitative bound. Our framework assumes only the operational semantics of C and of IEEE-754 floating point arithmetic.
引用
收藏
页码:147 / 163
页数:17
相关论文
共 50 条