The world's shortest correct exact real arithmetic program? (Q714620): Difference between revisions

From MaRDI portal
Set OpenAlex properties.
ReferenceBot (talk | contribs)
Changed an Item
 
Property / cites work
 
Property / cites work: Q4484330 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Implementing Real Numbers With RZ / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4531979 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Numerical Software with Result Verification / rank
 
Normal rank
Property / cites work
 
Property / cites work: Using PVS to validate the algorithms of an exact arithmetic. / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4373854 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4531992 / rank
 
Normal rank
Property / cites work
 
Property / cites work: New Computational Paradigms / rank
 
Normal rank
Property / cites work
 
Property / cites work: Isabelle. A generic theorem prover / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q3994907 / rank
 
Normal rank

Latest revision as of 17:50, 5 July 2024

scientific article
Language Label Description Also known as
English
The world's shortest correct exact real arithmetic program?
scientific article

    Statements

    The world's shortest correct exact real arithmetic program? (English)
    0 references
    0 references
    11 October 2012
    0 references
    The difference between double precision floating point and exact real number computation is well described on the fourth page of the paper. When computing \texttt{sin(1e200*pi)}, the former results in a value near 1, whereas the latter gives correctly the exact result of 0. Exact real number arithmetic is difficult, algorithms are often more subtle than their traditional counterparts and not always studied to the same extent. The application of formal methods in exact real number computation puts the reliability of these algorithms on a new level. In this paper the author presents what is supposed to be the world's shortest correct exact real arithmetic program. Correct means here concretely that the program is verified using the PVS system. The choice of system is discussed comparing it to Coq and Isabelle/HOL. PVS is used mainly since it contains libraries related to the work and since it is a non-constructive system. In further sections the representation of exact real numbers is presented, then issues are discussed of how to compute sin, cos, and log as Taylor series (after the functions are transformed so that the arguments are moved into an area where these series converge fast). The PVS proof consists of 500 theorems and over 60000 lines of code. The appendix contains in three pages the verified Haskell program.
    0 references
    computable reals
    0 references
    exact real arithmetic
    0 references
    Haskell
    0 references
    higher-order logic
    0 references
    PVS
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references

    Identifiers