English
 
Help Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT

Released

Paper

Dandelion: Certified Approximations of Elementary Functions

MPS-Authors
/persons/resource/persons216356

Becker,  Heiko
Group E. Darulova, Max Planck Institute for Software Systems, Max Planck Society;

/persons/resource/persons216352

Darulova,  Eva
Group E. Darulova, Max Planck Institute for Software Systems, Max Planck Society;

External Resource
No external resources are shared
Fulltext (restricted access)
There are currently no full texts shared for your IP range.
Fulltext (public)

arXiv:2202.05472.pdf
(Preprint), 675KB

Supplementary Material (public)
There is no public supplementary material available
Citation

Becker, H., Tekriwal, M., Darulova, E., Volkova, A., & Jeannin, J.-B. (2022). Dandelion: Certified Approximations of Elementary Functions. Retrieved from https://arxiv.org/abs/2202.05472.


Cite as: https://hdl.handle.net/21.11116/0000-000A-803D-1
Abstract
Elementary function operations such as sin and exp cannot in general be
computed exactly on today's digital computers, and thus have to be
approximated. The standard approximations in library functions typically
provide only a limited set of precisions, and are too inefficient for many
applications. Polynomial approximations that are customized to a limited input
domain and output accuracy can provide superior performance. In fact, the Remez
algorithm computes the best possible approximation for a given polynomial
degree, but has so far not been formally verified.
This paper presents Dandelion, an automated certificate checker for
polynomial approximations of elementary functions computed with Remez-like
algorithms that is fully verified in the HOL4 theorem prover. Dandelion checks
whether the difference between a polynomial approximation and its target
reference elementary function remains below a given error bound for all inputs
in a given constraint. By extracting a verified binary with the CakeML
compiler, Dandelion can validate certificates within a reasonable time, fully
automating previous manually verified approximations.