The telescoping tail of the Fourier coefficients
ProvedFourierSeries.hasSum_absCos_tail_weightsfourier-analysisfourier-seriesreal-analysis
An exactly summable tail of reciprocal odd-square-differences.
For every ,
The summand factors as a difference of reciprocals of consecutive odd numbers,
so the series telescopes: the partial sums collapse to , and letting leaves exactly .
At this is the classical evaluation . The general form is what gives the exact truncation error for the Fourier series of , whose coefficients are — the tail bound is this identity multiplied by .
Formalization note. The statement is a HasSum, so it asserts unconditional summability to
the stated value, which is available here because all terms are positive.
Preamble
import Mathlib
Formal statement
namespace FourierSeries
theorem hasSum_absCos_tail_weights (Mcut : ℕ) :
HasSum (fun k : ℕ => 1 / (4 * ((Mcut : ℝ) + (k : ℝ) + 1) ^ 2 - 1))
(1 / (2 * (2 * (Mcut : ℝ) + 1))) := by sorry
end FourierSeriesSource
Classical telescoping series. Lean proof extracted from `Salt/MR/AbsCosFourier.lean` of the Salt project, https://github.com/jyh/salt (Apache-2.0, Jason Hickey).