Difference between revisions of "Exact real arithmetic"

From HaskellWiki
Jump to navigation Jump to search
(The Most Unreliable Technique in the World to compute pi)
(Theory itemized)
Line 24: Line 24:
   
 
== Theory ==
 
== Theory ==
Jean Vuillemin's [http://www.inria.fr/rrrt/rr-0760.html Exact real computer arithmetic with continued fractions] is very good article on the topic itself. It can serve also as a good introductory article, too, because it presents the connections to both mathematical analysis and [[Computer science#Computability theory|Computability theory]]. It discusses several methods, and it describes some of them in more details.
 
   
 
* Jean Vuillemin's [http://www.inria.fr/rrrt/rr-0760.html Exact real computer arithmetic with continued fractions] is very good article on the topic itself. It can serve also as a good introductory article, too, because it presents the connections to both mathematical analysis and [[Computer science#Computability theory|Computability theory]]. It discusses several methods, and it describes some of them in more details.
[http://www.cs.bham.ac.uk/~mhe/ Martín Escardó]'s project [http://www.dcs.ed.ac.uk/home/mhe/plume/ A Calculator for Exact Real Number Computation] -- its chosen functional language is Haskell, mainly because of its purity, lazyness, presence of lazy lists, pattern matching.
 
   
Martín Escardó has many exact real arithetic materials also among his many [http://www.cs.bham.ac.uk/~mhe/papers/index.html papers].
+
* [http://www.cs.bham.ac.uk/~mhe/ Martín Escardó]'s project [http://www.dcs.ed.ac.uk/home/mhe/plume/ A Calculator for Exact Real Number Computation] -- its chosen functional language is Haskell, mainly because of its purity, lazyness, presence of lazy lists, pattern matching. Martín Escardó has many exact real arithetic materials also among his many [http://www.cs.bham.ac.uk/~mhe/papers/index.html papers].
   
The serious paper with the funny title [http://users.info.unicaen.fr/~karczma/arpap/lazypi.ps.gz The Most Unreliable Technique in the World to compute pi] by Jerzy Karczmarczuk describes how to compute Pi as a lazy list of digits.
+
* [http://users.info.unicaen.fr/~karczma/arpap/ Jerzy Karczmarczuk]'s paper with the funny title [http://users.info.unicaen.fr/~karczma/arpap/lazypi.ps.gz The Most Unreliable Technique in the World to compute pi] describes how to compute Pi as a lazy list of digits.
   
 
== Portal-like homepages ==
 
== Portal-like homepages ==

Revision as of 14:14, 20 October 2006

Introduction

Exact real arithmetic is an interesting area: it is a deep connection between

  • numeric methods
  • and deep theoretic fondations of algorithms (and mathematics).

Its topic: computable real numbers raise a lot of interesting questions rooted in mathematical analysis, arithmetic, but also Computability theory (see numbers-as-programs approaches).

Computable reals can be achieved by many approaches -- it is not one single theory.

What it is not

Exact real arithmetic is not the same as fixed arbitrary precision reals (see Precision(n) of Yacas).

Exact reals must allow us to run a huge series of computations, prescribing only the precision of the end result. Intermediate computations, and determining their necessary precision must be achieved automatically, dynamically.

Maybe another problem, but it was that lead me to think on exact real arithmetic: using some Mandelbrot-plotting programs, the number of iterations must be prescribed by the user at the beginning. And when we zoom too deep into these Mandelbrot worlds, it will become ragged or smooth. Maybe solving this particular problem does not need necessarily the concept of exact real arithmetic, but it was the first time I began to think on such problems.

See other numeric algorithms at Libraries and tools/Mathematics.

Why, are there reals at all, which are defined exactly, but are not computable?

See e.g. Chaitin's construction.

Theory

Portal-like homepages

Exact Computation

There are functional programming materials too, even with downloadable Haskell source.

ExactRealArithmetic

This HaWiki article provides links to many implementations.