theorem
Integration.riemann_lebesgue
(f : ℝ → ℝ)
(hf : ContDiffOn ℝ 1 f (Set.Icc (-Real.pi) Real.pi))
:
Riemann–Lebesgue lemma (for continuously differentiable functions on [-π, π]).
If f : ℝ → ℝ is continuously differentiable on [-π, π], then both Fourier-coefficient
integrals tend to zero as n → ∞:
(1/π) ∫_{-π}^{π} f(x) · sin(n·x) dx → 0, and(1/π) ∫_{-π}^{π} f(x) · cos(n·x) dx → 0.
The proof uses integration by parts to express each integral in terms of a bounded
antiderivative of sin(n·x) (resp. cos(n·x)) of size O(1/n), then squeezes to zero.