Soundness of binary-grid exponential and logarithm enclosures #
Rounded Horner steps and rectangular splitting contain the exponential and odd logarithm Taylor polynomials. Rounded powers and exact scalar factors enclose their remainder bounds. Mathlib's real estimates therefore apply at every grid precision, including zero.
Decoding the final grid endpoints preserves real containment.
Scalar rounding encloses the exact rational multiple of every real input member.
Natural scalar division rounds outward without requiring a grid divisor interval.
Midpoint and radius enclosures turn an absolute-error estimate into grid containment.
Each rounded exponential Horner step contains the corresponding exact polynomial tail.
Rounded odd Horner steps enclose the corresponding tail of the logarithm polynomial.
The rounded exponential radius contains the rational remainder bound Enclosure.expRadius.
For |x| ≤ 1, the grid Taylor enclosure expSmall contains exp x.
Rounded repeated squaring contains the matching power of every real input member.
A power table up to n has n + 1 entries, from the zeroth power to the nth.
Extending a table preserves containment of each power, including the appended powers.
Every stored interval encloses its real power, at every grid precision.
Even-power sum that gives the odd logarithm polynomial once multiplied by the argument.
Instances For
A block accumulator contains the exact partial sum plus its incoming real value.
Each scalar block encloses the corresponding even-power polynomial.
Block Horner evaluation encloses the sum over the full blocks plus q ^ (blockSize * blocks) times
the tail.
Rectangular splitting encloses the same odd polynomial for every positive block size.
Both logarithm evaluation strategies enclose the reference odd polynomial.
The grid remainder encloses the odd logarithm series error bound.
The transformed grid series encloses the logarithm of every positive rational.
The unreduced series encloses the logarithm of every positive rational.
Binary reduction and the rounded multiple of log 2 preserve logarithm containment.