Abstract

For purposes of actual evaluation, mathematical functions f are commonly replaced by approximation polynomials p. Examples include floating-point implementations of elementary functions, quadrature or more theoretical proof work involving transcendental functions.Replacing f by p induces a relative error ϵ=p/f−1. In order to ensure the validity of the use of p instead of f, the maximum error, i.e. the supremum norm ‖ϵ‖∞I must be safely bounded above over an interval I, whose width is typically of order 1.Numerical algorithms for supremum norms are efficient, but they cannot offer the required safety. Previous validated approaches often require tedious manual intervention. If they are automated, they have several drawbacks, such as the lack of quality guarantees.In this article, a novel, automated supremum norm algorithm on univariate approximation errors ϵ is proposed, achieving an a priori quality on the result. It focuses on the validation step and paves the way for formally certified supremum norms.Key elements are the use of intermediate approximation polynomials with bounded approximation error and a non-negativity test based on a sum-of-squares expression of polynomials.The new algorithm was implemented in the Sollya tool. The article includes experimental results on real-life examples.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call