Formal Verification of Transcendental Fixed- and Floating-point Algorithms using an Automatic Theorem Prover
View / Open Files
Publication Date
2022Journal Title
Formal Aspects of Computing
ISSN
0934-5043
Publisher
Association for Computing Machinery (ACM)
Type
Article
This Version
AM
Metadata
Show full item recordCitation
Coward, S., Paulson, L., Drane, T., & Morini, E. (2022). Formal Verification of Transcendental Fixed- and Floating-point Algorithms using an Automatic Theorem Prover. Formal Aspects of Computing https://doi.org/10.1145/3543670
Abstract
<jats:p>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.</jats:p>
Keywords
Theorem prover, transcendental functions, floating-point algorithms
Sponsorship
Engineering and Physical Sciences Research Council (EP/I011005/1)
EPSRC (EP/C013409/1)
Embargo Lift Date
2023-06-13
Identifiers
External DOI: https://doi.org/10.1145/3543670
This record's URL: https://www.repository.cam.ac.uk/handle/1810/334823
Statistics
Total file downloads (since January 2020). For more information on metrics see the
IRUS guide.
Recommended or similar items
The current recommendation prototype on the Apollo Repository will be turned off on 03 February 2023. Although the pilot has been fruitful for both parties, the service provider IKVA is focusing on horizon scanning products and so the recommender service can no longer be supported. We recognise the importance of recommender services in supporting research discovery and are evaluating offerings from other service providers. If you would like to offer feedback on this decision please contact us on: support@repository.cam.ac.uk