/-- The last step of Girard's theorem: from the lune count
`2(2αR² + 2βR² + 2γR²) = 4πR² + 4Δ`, deduce `Δ = R²(α + β + γ - π)`.
Hint: the hypothesis is linear in `Δ`. -/
theorem girard_bookkeeping {R α β γ Δ : ℝ}
(hcover : 2 * (2 * α * R ^ 2 + 2 * β * R ^ 2 + 2 * γ * R ^ 2) =
4 * Real.pi * R ^ 2 + 4 * Δ) :
Δ = R ^ 2 * (α + β + γ - Real.pi) := by
sorryShow the compiled solution
/-- **The bookkeeping step of Girard's theorem.** The three great circles through the sides
of a spherical triangle of area `Δ` (radius `R`) cut out three pairs of antipodal lunes, of
areas `2αR²`, `2βR²`, `2γR²` each. Together the six lunes cover the sphere once, except that
the triangle and its antipodal copy are covered three times each:
`2(2αR² + 2βR² + 2γR²) = 4πR² + 4Δ`. Hence `Δ = R²(α + β + γ - π)`. (The lune areas and the
covering argument are proved in the lesson; this lemma checks the arithmetic.) -/
theorem girard_bookkeeping {R α β γ Δ : ℝ}
(hcover : 2 * (2 * α * R ^ 2 + 2 * β * R ^ 2 + 2 * γ * R ^ 2) =
4 * Real.pi * R ^ 2 + 4 * Δ) :
Δ = R ^ 2 * (α + β + γ - Real.pi) := by
linarithAxioms used: propext, Classical.choice, Quot.soundformal/Lumenary/NonEuclideanGeometry.leanTry it in the Lean web editor