Formal Verification of a Floating-Point Expansion Renormalization Algorithm

被引:1
作者
Boldo, Sylvie [1 ]
Joldes, Mioara [2 ]
Muller, Jean-Michel [3 ]
Popescu, Valentina [4 ]
机构
[1] Univ Paris Sud, CNRS, LRI, INRIA, Batiment 650, F-91405 Orsay, France
[2] CNRS, LAAS, 7 Ave Colonel Roche, F-31077 Toulouse, France
[3] CNRS, LIP Lab, 46 Allee Italie, F-69364 Lyon 07, France
[4] ENS Lyon, LIP Lab, 46 Allee Italie, F-69364 Lyon 07, France
来源
INTERACTIVE THEOREM PROVING (ITP 2017) | 2017年 / 10499卷
关键词
Floating-point arithmetic; Floating-point expansions; Multiple-precision arithmetic; Formal proof; Coq;
D O I
10.1007/978-3-319-66107-0_7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Many numerical problems require a higher computing precision than the one offered by standard floating-point formats. A common way of extending the precision is to use floating-point expansions. As the problems may be critical and as the algorithms used have very complex proofs (many sub-cases), a formal guarantee of correctness is a wish that can now be fulfilled, using interactive theorem proving. In this article we give a formal proof in Coq for one of the algorithms used as a basic brick when computing with floating-point expansions, the renormalization, which is usually applied after each operation. It is a critical step needed to ensure that the resulted expansion has the same property as the input one, and is more "compressed". The formal proof uncovered several gaps in the pen-and-paper proof and gives the algorithm a very high level of guarantee.
引用
收藏
页码:98 / 113
页数:16
相关论文
共 20 条
  • [1] Computing periodic orbits with arbitrary precision
    Abad, Alberto
    Barrio, Roberto
    Dena, Angeles
    [J]. PHYSICAL REVIEW E, 2011, 84 (01):
  • [2] [Anonymous], P 19 IEEE S COMP AR
  • [3] High-Precision Arithmetic in Mathematical Physics
    Bailey, David H.
    Borwein, Jonathan M.
    [J]. MATHEMATICS, 2015, 3 (02) : 337 - 367
  • [4] Boldo S, 2001, CONF REC ASILOMAR C, P1299, DOI 10.1109/ACSSC.2001.987700
  • [5] Boldo S., 2016, WORKSH HIGH CONS CON
  • [6] Flocq: A Unified Library for Proving Floating-point Algorithms in Coq
    Boldo, Sylvie
    Melquiond, Guillaume
    [J]. 2011 20TH IEEE SYMPOSIUM ON COMPUTER ARITHMETIC (ARITH-20), 2011, : 243 - 252
  • [7] MPFR: A multiple-precision binary floating-point library with correct rounding
    Fousse, Laurent
    Hanrot, Guillaume
    Leflvre, Vincent
    Plissier, Patrick
    Zimmermann, Paul
    [J]. ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2007, 33 (02):
  • [8] Algorithms for quad-double precision floating point arithmetic
    Hida, Y
    Li, XS
    Bailey, DH
    [J]. ARITH-15 2001: 15TH SYMPOSIUM ON COMPUTER ARITHMETIC, PROCEEDINGS, 2001, : 155 - 162
  • [9] IEEE Standard for Floating-Point Arithmetic, 2019, IEEE STD, P1
  • [10] IMPROVED ERROR BOUNDS FOR INNER PRODUCTS IN FLOATING-POINT ARITHMETIC
    Jeannerod, Claude-Pierre
    Rump, Siegfried M.
    [J]. SIAM JOURNAL ON MATRIX ANALYSIS AND APPLICATIONS, 2013, 34 (02) : 338 - 344