The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V15. Real analysis in one variable

Mathlib.Analysis.Polynomial.Fourier

12 declarations. Mathlib docs · Source

Fourier Coefficients of Polynomials

We define an algebra map from ℂ[X] to the MeasureTheory.Lp (with p := 2) space on the additive circle and show that it sends monomials to the Fourier basis. From this, we derive that polynomial coefficients match Fourier coefficients and prove Parseval's identity for polynomials.

Main definitions

  • Polynomial.toAddCircle: Algebra map from ℂ[X] to C(AddCircle (2 * π), ℂ) that evaluates polynomials on the unit circle.

Main results

  • Polynomial.fourierCoeff_toAddCircle: The n-th Fourier coefficient of a polynomial equals its n-th coefficient when n is nonnegative, else 0.
  • Polynomial.fourierCoeff_toAddCircle_natCast: A variant of Polynomial.fourierCoeff_toAddCircle for ℕ arguments.
  • Polynomial.sum_sq_norm_coeff_eq_circleAverage: Parseval's identity that the sum of the squares of the norms of the coefficients of a polynomial equals the average over the circle of the norm square of the polynomial.

theorem ContinuousMap.toAEEqFun.congr_simp E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (μ : MeasureTheory.Measure α) [inst_1 : TopologicalSpace α]
  [inst_2 : BorelSpace α] [inst_3 : TopologicalSpace β] [inst_4 : SecondCountableTopologyEither α β]
  [inst_5 : TopologicalSpace.PseudoMetrizableSpace β] (f f_1 : C(α, β)),
  f = f_1 → ContinuousMap.toAEEqFun μ f = ContinuousMap.toAEEqFun μ f_1

theorem Polynomial.instTwoPiPos E1 #

Fact (0 < 2 * Real.pi)

def Polynomial.toAddCircle E3 #

Polynomial ℂ →ₐ[ℂ] C(AddCircle (2 * Real.pi), ℂ)

Algebra map from ℂ[X] to C(AddCircle (2 * π), ℂ) that evaluates polynomials on the unit circle. For a polynomial p, this maps it to the function fun θ ↦ p (exp (I * θ)).

theorem Polynomial.toAddCircle.integrable E1 #

∀ (p : Polynomial ℂ), MeasureTheory.Integrable (⇑(Polynomial.toAddCircle p)) AddCircle.haarAddCircle

theorem Polynomial.toAddCircle_C_eq_smul_fourier_zero E1 #

∀ {c : ℂ}, Polynomial.toAddCircle (Polynomial.C c) = c • AddCircle.fourier 0

theorem Polynomial.toAddCircle_X_eq_fourier_one E1 #

Polynomial.toAddCircle Polynomial.X = AddCircle.fourier 1

theorem Polynomial.toAddCircle_X_pow_eq_fourier E1 #

∀ {n : ℕ}, Polynomial.toAddCircle (Polynomial.X ^ n) = AddCircle.fourier ↑n

theorem Polynomial.toAddCircle_monomial_eq_smul_fourier E1 #

∀ {n : ℕ} {c : ℂ}, Polynomial.toAddCircle ((Polynomial.monomial n) c) = c • AddCircle.fourier ↑n

theorem Polynomial.fourierCoeff_toAddCircle E3 #

∀ (p : Polynomial ℂ) (n : ℤ),
  AddCircle.fourierCoeff (⇑(Polynomial.toAddCircle p)) n = if 0 ≤ n then p.coeff n.natAbs else 0

The nth Fourier coefficient of a polynomial is the coefficient of X ^ n, or zero if n < 0.

theorem Polynomial.fourierCoeff_toAddCircle_natCast E3 #

∀ (p : Polynomial ℂ) (n : ℕ), AddCircle.fourierCoeff ⇑(Polynomial.toAddCircle p) ↑n = p.coeff n

The nth Fourier coefficient of a polynomial is the coefficient of X ^ n

theorem Polynomial.fourierCoeff_toAddCircle_eq_zero_of_lt_zero E1 #

∀ (p : Polynomial ℂ), ∀ n < 0, AddCircle.fourierCoeff (⇑(Polynomial.toAddCircle p)) n = 0

theorem Polynomial.sum_sq_norm_coeff_eq_circleAverage E3 #

∀ (p : Polynomial ℂ), ∑ i ∈ p.support, ‖p.coeff i‖ ^ 2 = Real.circleAverage (fun θ ↦ ‖Polynomial.eval θ p‖ ^ 2) 0 1

Parseval's Identity for polynomials