The Fourier series of a periodic function decomposes it into sinusoidal components, but the partial sums of that series need not converge to the function even when the function is continuous: du Bois-Reymond exhibited in 1873 a continuous -periodic function whose Fourier partial sums diverge at a point. Fejér's 1904 theorem repairs this failure by replacing the partial sums with their Cesàro (arithmetic) averages: for every continuous periodic function, these averages converge to the function, uniformly, with no smoothness hypothesis beyond continuity. This was the first universally valid summation method for Fourier series, and its underlying technique — averaging against a kernel whose mass concentrates at the origin — became the template for what is now called a good kernel or approximate identity, the basic device used throughout harmonic analysis (heat-kernel smoothing, Poisson summation, Fourier-inversion arguments) [Stein & Shakarchi, 2003].
Timeline.
Let be continuous and -periodic, i.e. for every . Its -th Fourier coefficient, for , is
Its -th partial sum is , and its -th Cesàro (Fejér) mean is the arithmetic average of the first partial sums,
This is the full 1904 statement: no restriction to pointwise convergence, and no extra regularity assumed on beyond continuity.
The result itself. Fejér's theorem gives the first universally valid summation method for the Fourier series of a continuous function, closing the gap left open by pointwise convergence tests that need extra regularity. It also yields, essentially for free, a proof of the Weierstrass approximation theorem on the circle — the trigonometric polynomials are dense in the continuous -periodic functions under the uniform norm — and it is the historical prototype of the good-kernel/approximate-identity method underlying Poisson summation, heat-kernel smoothing, and Fourier-inversion arguments.
Formalizing it. Mathlib currently has no infrastructure for this at all. Mathlib.Analysis.Fourier.AddCircle defines Fourier coefficients on the circle and proves convergence (Parseval's identity, via the orthonormal Fourier basis), but it has no notion of a partial sum, no Dirichlet or Fejér kernel, and no pointwise or uniform convergence result for Fourier series of any kind. This mission builds that classical convergence theory — the Fejér kernel, its closed form and positivity, the good-kernel estimates, and the uniform convergence theorem itself — from first principles.
The obvious first attempt is to bound termwise from the individual Fourier coefficients. This fails outright: a continuous function's Fourier coefficients need not be absolutely summable, which is exactly the mechanism behind du Bois-Reymond's divergence example. The real difficulty is representing as a convolution,
against the Fejér kernel , and then proving is a good kernel: nonnegative, integrating to over one period, and — the genuinely quantitative step — with its mass outside any fixed neighborhood of vanishing as . That last estimate needs the closed form
which carries a removable singularity at that must be handled carefully, together with a genuine decay estimate — via a lower bound on — valid uniformly outside any fixed -neighborhood of the origin.
is complex-valued, and only continuity together with exact -periodicity is assumed — no differentiability, no bounded variation, no realness. Uniform convergence is stated with Mathlib's TendstoUniformly. The period is fixed at , matching the classical circle-group convention, rather than a general ; the -periodic statement is a routine rescaling of this one and is not separately targeted here. One route to a trivializing formalization is worth ruling out explicitly: assuming any extra regularity on (differentiability, bounded variation, Lipschitz continuity) would let the uniform-convergence conclusion follow from the much easier Dirichlet-kernel estimates, and would no longer be Fejér's theorem — the entire content of the result is that continuity alone suffices.
The needed infrastructure is the four definitions above (Fourier coefficient, partial sum, Cesàro mean, Fejér kernel) and the milestone lemmas below, culminating in the goal. The Fejér kernel's closed form, positivity, and good-kernel estimates are reusable well beyond this mission: directly for a Lean proof of the Weierstrass approximation theorem on the circle, and for any future development that needs an explicit approximate identity on the circle group. Contributions are welcome at every milestone; the concentration estimate is the analytic heart of the mission and a natural place to start.
import Mathlib
import Definitions.Def_Fejer_cesaroMean
namespace Fejer
/-- **Fejér's theorem** (Fejér, *Untersuchungen über Fouriersche Reihen*, Math. Ann. 58 (1904),
51–69). If `f : ℝ → ℂ` is continuous and `2π`-periodic, the Cesàro means of the partial sums of
its Fourier series converge to `f`, uniformly on `ℝ`. -/
theorem fejer_theorem
(f : ℝ → ℂ) (hf_cont : Continuous f) (hf_per : Function.Periodic f (2 * Real.pi)) :
TendstoUniformly (fun N θ => cesaroMean f N θ) f Filter.atTop := by
sorry
end Fejer
For continuous and -periodic, uniformly on as .
No open leaves. Every sub-goal is proved or awaiting decomposition.