Using PVS to validate the algorithms of an exact arithmetic

David Lester, Paul Gowland

    Research output: Contribution to journalArticlepeer-review

    Abstract

    The whole point of exact arithmetic is to generate answers to numeric problems, within some user-specified error. An implementation of exact arithmetic is therefore of questionable value, if it cannot be shown that it is generating correct answers. In this paper, we show that the algorithms used in an exact real arithmetic are correct. A program using the functions defined in this paper has been implemented in 'C' (a HASKELL version of which we provide as an appendix), and we are now convinced of its correctness. The table presented at the end of the paper shows that performing these proofs found three logical errors which had not been discovered by testing. One of these errors was only detected when the theorems were validated with PVS. © 2002 Elsevier Science B.V. All rights reserved.
    Original languageEnglish
    Pages (from-to)203-218
    Number of pages15
    JournalTheoretical Computer Science
    Volume291
    Issue number2
    DOIs
    Publication statusPublished - 5 Jan 2003

    Keywords

    • Cauchy sequences
    • Computable reals
    • Correctness
    • Exact arithmetic
    • PVS

    Fingerprint

    Dive into the research topics of 'Using PVS to validate the algorithms of an exact arithmetic'. Together they form a unique fingerprint.

    Cite this