De Moivre's formula
ProvedFamousTheorems.cos_add_sin_mul_I_powcomplex-analysismathlib
De Moivre's formula.
Via Euler's identity it is simply , so it says the exponential turns multiplication of angles into addition.
Expanding the left side with the binomial theorem and matching real and imaginary parts generates every multiple-angle formula at once: , , and so on. It is also how one extracts -th roots of complex numbers, and hence the source of the roots of unity and the cyclotomic polynomials.
Stated by de Moivre around 1707, before Euler's identity made it transparent.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem cos_add_sin_mul_I_pow : ∀ (n : ℕ) (z : ℂ),
(Complex.cos z + Complex.sin z * Complex.I) ^ n =
Complex.cos (n * z) + Complex.sin (n * z) * Complex.I := by sorry
end FamousTheoremsSource
One of Freek Wiedijk's "100 theorems"; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.