Taking architecture and compiler into account in formal proofs of numerical programs

Thi Minh Tuyen Nguyen 1
1 PROVAL - Proof of Programs
UP11 - Université Paris-Sud - Paris 11, INRIA Saclay - Ile de France, CNRS - Centre National de la Recherche Scientifique : UMR
Abstract : On some recently developed architectures, a numerical program may give different answers depending on the execution hardware and the compilation. These discrepancies of the results come from the fact that each floating-point computation is calculated with different precisions. The goal of this thesis is to formally prove properties about numerical programs while taking the architecture and the compiler into account. In order to do that, we propose two different approaches. The first approach is to prove properties of floating-point programs that are true for multiple architectures and compilers. This approach states the rounding error of each floating-point computation whatever the environment and the compiler choices. It is implemented in the Frama-C platform for static analysis of C code. The second approach is to prove behavioral properties of numerical programs by analyzing their compiled assembly code. We focus on the issues and traps that may arise on floating-point computations. Direct analysis of the assembly code allows us to take into account architecture- or compiler-dependent features such as the possible use of extended precision registers. It is implemented above the Why platform for deductive verification
Document type :
Other [cs.OH]. Université Paris Sud - Paris XI, 2012. English. <NNT : 2012PA112090>

Contributor : Abes Star <>
Submitted on : Wednesday, June 20, 2012 - 11:42:25 AM
Last modification on : Friday, November 20, 2015 - 1:07:11 AM




  • HAL Id : tel-00710193, version 1



Thi Minh Tuyen Nguyen. Taking architecture and compiler into account in formal proofs of numerical programs. Other [cs.OH]. Université Paris Sud - Paris XI, 2012. English. <NNT : 2012PA112090>. <tel-00710193>




Notice views


Document downloads