Lazy computation with exact real numbers

Citation
A. Edalat et al., Lazy computation with exact real numbers, ACM SIGPL N, 34(1), 1999, pp. 185-194
Citations number
21
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
34
Issue
1
Year of publication
1999
Pages
185 - 194
Database
ISI
SICI code
1523-2867(199901)34:1<185:LCWERN>2.0.ZU;2-L
Abstract
We provide a semantical framework for exact real arithmetic using linear fr actional transformations on the extended real line. We present an extension of PCF with a real type which introduces an eventually breadth-first strat egy for lazy evaluation of exact real numbers. In this language, we present the constant redundant if, rif, for defining functions by cases which, in contrast to parallel if (pif), overcomes the problem of undecidability of c omparison of real numbers in finite time. We use the upper space of the one -point compactification of the real line to develop a denotational semantic s for the lazy evaluation of real programs. Finally two adequacy results ar e proved, one for programs containing rif and one for those not containing it. Our adequacy results in particular provide the proof of correctness of algorithms for computation of single-valued elementary functions.