Computing thousands or millions of digits of PI with arithmetic-geometric means This is a proof of correctness for two algorithms to compute PI to high precision using arithmetic-geometric means. A first file contains the calculus-based proofs for an abstract view of the algorithm, where all numbers are real numbers. A second file describes how to approximate all computations using large integers. Other files describe the second algorithm which is close to the one used in mpfr, for instance. The whole development can be used to produce mathematically proved and formally verified approximations of PI.

opam install coq-pi-agm.1.1.0

- homepage
- http://www-sop.inria.fr/members/Yves.Bertot/
- license
- CeCILL-B
- bugs tracker
- yves.bertot@inria.fr
- dependencies
- coq (>= 8.5 & < 8.7~) & coq-mathcomp-ssreflect (>= 1.6.0 & <= 1.6.1) & coq-coquelicot (> 2.1.1 & <= 2.1.2) & coq-interval = 3.1.1
- source
- https://github.com/ybertot/pi-agm/archive/submitted-article-version-8-6.zip
- package
- https://github.com/coq/opam-coq-archive/tree/master/released/packages/coq-pi-agm/coq-pi-agm.1.1.0