Abstract
We propose an abstract datatype for a closed interval of real numbers to type theory, providing a representation-independent approach to programming with real numbers. The abstract datatype requires only function types and a natural numbers type for its formulation, and so can be added to any type theory that extends Gödel’s System T. Our main result establishes that programming with the abstract datatype is equivalent in power to programming intensionally with representations of real numbers. We also consider representing arbitrary real numbers using a mantissa-exponent representation in which the mantissa is taken from the abstract interval.
| Original language | English |
|---|---|
| Title of host publication | Rewriting and Typed Lambda Calculi |
| Subtitle of host publication | Joint International Conference, RTA-TLCA 2014, Held as Part of the Vienna Summer of Logic, VSL 2014, Vienna, Austria, July 14-17, 2014. Proceedings |
| Publisher | Springer |
| Pages | 208-223 |
| Number of pages | 16 |
| Volume | 8560 |
| ISBN (Electronic) | 978-3-319-08918-8 |
| ISBN (Print) | 978-3-319-08917-1 |
| DOIs | |
| Publication status | Published - 2014 |