Formal Verification of Transcendental Fixed- and Floating-point Algorithms using an Automatic Theorem Prover

The work

AuthorsSamuel Coward; Lawrence Paulson; Theo Drane; Emiliano Morini
Editors
Typearticle
Year2022
Citekeycoward2022formal

Where it appeared

Published inFormal Aspects of Computing
Volume34
Pages1--22

Identifiers

DOI10.1145/3543670

Related

Distinct fromchen1996verification
Distinct fromjacobi2002formal

From bibtex.

Abstract

We present a method for formal verification of transcendental hardware and software algorithms that scales to higher precision without suffering an exponential growth in runtimes. A class of implementations using piecewise polynomial approximation to compute the result is verified using MetiTarski, an automated theorem prover, which verifies a range of inputs for each call. The method was applied to commercial implementations from Cadence Design Systems with significant runtime gains over exhaustive testing methods and was successful in proving that the expected accuracy of one implementation was overly optimistic. Reproducing the verification of a sine implementation in software, previously done using an alternative theorem-proving technique, demonstrates that the MetiTarski approach is a viable competitor. Verification of a 52-bit implementation of the square root function highlights the method’s high-precision capabilities.

A copy is held

pdf, 379.8 kB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-18 08:19 UTC
Approved bya person 2026-09-18 10:07 UTC

Cite it as

@article{coward2022formal,
  title        = {Formal Verification of Transcendental Fixed- and Floating-point Algorithms using an Automatic Theorem Prover},
  author       = {Samuel Coward and Lawrence Paulson and Theo Drane and Emiliano Morini},
  year         = {2022},
  journal      = {Formal Aspects of Computing},
  volume       = {34},
  pages        = {1--22},
  doi          = {10.1145/3543670},
}

This record lives at https://refs.drheap.org/coward2022formal/ and will keep doing so.