The world's shortest correct exact real arithmetic program?

David R. Lester

    Research output: Chapter in Book/Conference proceedingConference contributionpeer-review

    Abstract

    In this paper we present what is thought to be the world's shortest correct exact real arithmetic program. The aim is to provide a tractable starting point for formal analysis and further development. In addition the program presented here allows beginners to the field to easily experiment with a practical implementation in order to understand some of the issues involved. The algorithms used have been validated using PVS which provides some grounds for believing them to be correct. However, as neither PVS nor Haskell have been similarly validated, semantic problems in either PVS or Haskell might still undermine the work. A slightly shorter program with the same functionality could be written, but there would be a significant degradation in performance. By performing better range reduction, the performance could be increased. However, we would lose the correctness proofs and the program would become a bit longer and even more opaque. © 2012 Elsevier Inc. All rights reserved.
    Original languageEnglish
    Title of host publicationInformation and Computation|Inf Comput
    PublisherElsevier BV
    Pages39-46
    Number of pages7
    Volume216
    DOIs
    Publication statusPublished - Jul 2012
    Event8th Conference on Real Numbers and Computers -
    Duration: 1 Jan 1824 → …

    Conference

    Conference8th Conference on Real Numbers and Computers
    Period1/01/24 → …

    Keywords

    • Computable reals
    • Exact arithmetic
    • Haskell
    • Higher-order logic
    • PVS

    Fingerprint

    Dive into the research topics of 'The world's shortest correct exact real arithmetic program?'. Together they form a unique fingerprint.

    Cite this