A closed form for
ProvedFourierSeries.absCos_weight_partial_sumfourier-analysisfourier-seriesreal-analysis
An exact evaluation of a partial sum of reciprocal odd-square-differences.
For every ,
This is an identity, not an estimate: the sum telescopes exactly. Writing and splitting into partial fractions,
all interior terms cancel and the sum collapses to .
Letting recovers the classical . The finite form is the one that matters in practice: it gives the exact partial sum of the coefficient weights in the Fourier expansion of , whose -th coefficient is , and hence an exact rather than asymptotic truncation error.
Formalization note. The sum runs over Finset.Icc 1 Mcut, so gives the empty sum
, consistent with the right-hand side.
Preamble
import Mathlib
Formal statement
namespace FourierSeries
theorem absCos_weight_partial_sum (Mcut : ℕ) :
∑ m ∈ Finset.Icc 1 Mcut, (1 : ℝ) / (4 * (m : ℝ) ^ 2 - 1)
= (Mcut : ℝ) / (2 * (Mcut : ℝ) + 1) := by sorry
end FourierSeriesSource
Classical telescoping identity. Lean proof extracted from `Salt/MR/AbsCosFourier.lean` of the Salt project, https://github.com/jyh/salt (Apache-2.0, Jason Hickey).