Formally Verified Argument Reduction with a Fused-Multiply-Add

08/28/2007
by   Sylvie Boldo, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/21/2023

An algorithm to approximate the real trilogarithm for a real argument

We present an algorithm to approximate the real trilogarithm for a real ...
research
04/29/2016

Verifying Buchberger's Algorithm in Reduction Rings

In this paper we present the formal, computer-supported verification of ...
research
07/06/2022

Computing elementary functions using multi-prime argument reduction

We describe an algorithm for arbitrary-precision computation of the elem...
research
09/06/2017

Distant decimals of π

We describe how to compute very far decimals of π and how to provide for...
research
08/29/2022

Constructive Many-one Reduction from the Halting Problem to Semi-unification (Extended Version)

Semi-unification is the combination of first-order unification and first...
research
05/04/2021

Simple, Light, Yet Formally Verified, Global Common Subexpression Elimination and Loop-Invariant Code Motion

We present an approach for implementing a formally certified loop-invari...
research
05/27/2022

A Mechanically Assisted Examination of Vacuity and Question Begging in Anselm's Ontological Argument

I use mechanized verification to examine several first- and higher-order...

Please sign up or login with your details

Forgot password? Click here to reset