Machin's formula for π
ProvedFamousTheorems.machin_formulaMachin's formula.
John Machin found this identity in 1706 and used it to compute decimal digits of . Because the arctangent series converge quickly at and , Machin-like formulas remained the main method of computing until the late twentieth century.
Formalization note. Mathlib's Real.four_mul_arctan_inv_5_sub_arctan_inv_239, with Real.arctan the real arctangent.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems theorem machin_formula : 4 * Real.arctan 5⁻¹ - Real.arctan 239⁻¹ = Real.pi / 4 := by sorry end FamousTheorems
Source
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `Real.four_mul_arctan_inv_5_sub_arctan_inv_239`. Proof here reduces to that Mathlib result.