Views of PI: Definition and computation

Authors

  • Yves Bertot INRIA
  • Guillaume Allais University of Strathclyde

DOI:

https://doi.org/10.6092/issn.1972-5787/4343

Keywords:

PI, arctangent, Coq, Archimedes, Gregory's formula

Abstract

We study several formal proofs and algorithms related to the number pi in the context of Coq's standard library.  In particular, we clarify the relation between roots of the cosine function and the limit of the alternated series whose terms are the inverse of odd natural numbers (known as Leibnitz' formula).
We give a formal description of the arctangent function and its expansion as a power series.  We then study other possible descriptions of pi, first as the surface of the unit disk, second as the limit of perimeters of regular polygons with an increasing number of sides.
In a third section, we concentrate on techniques to effectively compute approximations of pi in the proof assistant by relying on rational numbers and decimal representations.

Downloads

Published

2014-10-29

How to Cite

Bertot, Y., & Allais, G. (2014). Views of PI: Definition and computation. Journal of Formalized Reasoning, 7(1), 105–129. https://doi.org/10.6092/issn.1972-5787/4343

Issue

Section

Articles