NLA-lib Explorer

NLAlib.fourierCoeff_cosinePullback_eq_chebyshevCoeff

Library · theorem

The Fourier coefficient of the even cosine pullback is the canonical full Chebyshev coefficient, divided by two away from frequency zero. Negative frequencies use the same index modulus. [Trefethen2019, Theorem 3.1], expressed through Mathlib's Fourier coefficients.

NLAlib.fourierCoeff_cosinePullback_eq_chebyshevCoeff {f : ℝ → ℂ}
  (hf : ContinuousOn f (Set.Icc (-1) 1)) (k : ℤ) :
  fourierCoeff (fun θ ↦ f ((fourier 1) θ).re) k = chebyshevCoeff f k.natAbs / if k = 0 then 1 else 2

Full source on GitHub

Import NLAlib.Polynomial.Approximation.ChebyshevSeries.