Formally Verified Argument Reduction with a Fused-Multiply-Add
Sylvie Boldo (INRIA Futurs), Marc Daumas (LIRMM, Eliaus), Ren Cang Li

TL;DR
This paper introduces a formally verified method using fused-multiply-add for accurate argument reduction in floating-point computations, improving precision and correctness with a new algorithm and proof verification.
Contribution
It presents a novel, formally verified approach for argument reduction that achieves full accuracy using fused-multiply-add and includes a second reduction step for worst-case scenarios.
Findings
Provides a fully accurate argument reduction algorithm with formal correctness proofs.
Achieves double full accuracy in the worst cases of argument reduction.
All proofs are formally verified using Coq proof assistant.
Abstract
Cody & Waite argument reduction technique works perfectly for reasonably large arguments but as the input grows there are no bit left to approximate the constant with enough accuracy. Under mild assumptions, we show that the result computed with a fused-multiply-add provides a fully accurate result for many possible values of the input with a constant almost accurate to the full working precision. We also present an algorithm for a fully accurate second reduction step to reach double full accuracy (all the significand bits of two numbers are significant) even in the worst cases of argument reduction. Our work recalls the common algorithms and presents proofs of correctness. All the proofs are formally verified using the Coq automatic proof checker.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Formal Methods in Verification · Numerical Methods and Algorithms
