TY - GEN
T1 - Abstract datatypes for real numbers in type theory
AU - Escardó, Martín Hötzel
AU - Simpson, Alex
PY - 2014
Y1 - 2014
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=84904748198&partnerID=8YFLogxK
U2 - 10.1007/978-3-319-08918-8-15
DO - 10.1007/978-3-319-08918-8-15
M3 - Conference contribution
SN - 9783319089171
VL - 8560 LNCS
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 208
EP - 223
BT - Rewriting and Typed Lambda Calculi
A2 - Dowek, Gilles
PB - Springer
T2 - 25th International Conference on Rewriting Techniques and Applications, RTA 2014 and 12th International Conference on Typed Lambda Calculus and Applications, TLCA 2014, Held as Part of the Vienna Summer of Logic, VSL 2014
Y2 - 14 July 2014 through 17 July 2014
ER -