5. Fourier Analysis
Recall the definition of a Fourier transform.
FourierTransform.fourier[complete]
The Fourier transform of an L^1-function f:\R^d\to\C is defined as
\mathcal{F}(f)(y) = \widehat{f}(y) := \int_{\R^d} f(x)e^{-2\pi i \langle x, y \rangle} \,\mathrm{d}x, \quad y \in \R^d
where
\langle x, y \rangle = \frac12\|x\|^2 + \frac12\|y\|^2 - \frac12\|x - y\|^2
is the standard scalar product in \R^d.
Lean code for Definition5.1●1 definitionAssociated Lean declarations (display only; validation shown in heading)FourierTransform.fourier[complete]
FourierTransform.fourier[complete]
- abbrevdefined in Mathlib/Analysis/Fourier/Notation.leancomplete
abbrev FourierTransform.fourier.{u, v} {E : Type u} {F : outParam (Type v)} [self : FourierTransform E F] : E → F
abbrev FourierTransform.fourier.{u, v} {E : Type u} {F : outParam (Type v)} [self : FourierTransform E F] : E → F
𝓕 fis the Fourier transform off. The meaning of this notation is type-dependent.
The following computational result will be of use later on.
fourier_gaussian_innerProductSpace[complete]
For every z \in \h, the Gaussian x \mapsto e^{\pi i \|x\|^2 z} on \R^8 satisfies
\mathcal{F}(e^{\pi i \|x\|^2 z})(y) = z^{-4}\,e^{\pi i \|y\|^2 \,(\frac{-1}{z}) }.
Lean code for Lemma5.2●1 theoremAssociated Lean declarations (display only; validation shown in heading)fourier_gaussian_innerProductSpace[complete]
fourier_gaussian_innerProductSpace[complete]
- theoremdefined in Mathlib/Analysis/SpecialFunctions/Gaussian/FourierTransform.leancomplete
theorem fourier_gaussian_innerProductSpace.{u_1} {b : ℂ} {V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] (hb : 0 < b.re) (w : V) : FourierTransform.fourier (fun v ↦ Complex.exp (-b * ↑‖v‖ ^ 2)) w = (↑Real.pi / b) ^ (↑(Module.finrank ℝ V) / 2) * Complex.exp (-↑Real.pi ^ 2 * ↑‖w‖ ^ 2 / b)
theorem fourier_gaussian_innerProductSpace.{u_1} {b : ℂ} {V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] (hb : 0 < b.re) (w : V) : FourierTransform.fourier (fun v ↦ Complex.exp (-b * ↑‖v‖ ^ 2)) w = (↑Real.pi / b) ^ (↑(Module.finrank ℝ V) / 2) * Complex.exp (-↑Real.pi ^ 2 * ↑‖w‖ ^ 2 / b)
For any b \in \C with \Re(b) > 0, the Fourier transform of the Gaussian x \mapsto e^{-b\|x\|^2} on a d-dimensional inner product space is y \mapsto (\pi/b)^{d/2}\,e^{-\pi^2\|y\|^2/b}. Taking d = 8 and b = -\pi i z, which satisfies \Re(b) = \pi \Im(z) > 0, we obtain
\left(\frac{\pi}{-\pi i z}\right)^{4} e^{-\pi^2\|y\|^2/(-\pi i z)} = z^{-4}\, e^{\pi i \|y\|^2(-1/z)},
where no branch-cut issues arise because the exponent d/2 = 4 is an integer.
Of great interest to us will be a specific family of functions, known as Schwartz Functions. The Fourier transform behaves particularly well when acting on Schwartz functions. We elaborate in the following subsections.
5.1. On Schwartz Functions
SchwartzMap[complete]
A C^\infty function f:\R^d\to\C is called a Schwartz function if it decays to zero as \|x\|\to\infty faster then any inverse power of \|x\|, and the same holds for all partial derivatives of f, ie, if for all k \in \N and n \in \N^d, there exists a constant C \in \R such that for all x \in \R^d, \norm{x}^k \cdot \abs{f^{(n)}(x)} \leq C, where f^{(n)} denotes the n-th partial derivative of f. The set of all Schwartz functions from \R^d to \C is called the Schwartz space. It is an \R-vector space.
Lean code for Definition5.1.1●1 definitionAssociated Lean declarations (display only; validation shown in heading)SchwartzMap[complete]
SchwartzMap[complete]
- structuredefined in Mathlib/Analysis/Distribution/SchwartzSpace/Basic.leancomplete
structure SchwartzMap.{u_5, u_6} (E : Type u_5) (F : Type u_6) [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] : Type (max u_5 u_6)
structure SchwartzMap.{u_5, u_6} (E : Type u_5) (F : Type u_6) [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] : Type (max u_5 u_6)
A function is a Schwartz function if it is smooth and all derivatives decay faster than any power of
‖x‖.Fields
toFun : E → F
The underlying function.
Do NOT use directly. Use the coercion instead.
smooth' : ContDiff ℝ (↑⊤) self.toFun
decay' : ∀ (k n : ℕ), ∃ C, ∀ (x : E), ‖x‖ ^ k * ‖iteratedFDeriv ℝ n self.toFun x‖ ≤ C
SchwartzMap.fourierTransformCLM[complete]
The Fourier transform is a continuous linear automorphism of the space of Schwartz functions.
Lean code for Lemma5.1.2●1 definitionAssociated Lean declarations (display only; validation shown in heading)SchwartzMap.fourierTransformCLM[complete]
SchwartzMap.fourierTransformCLM[complete]
- defdefined in Mathlib/Analysis/Distribution/SchwartzSpace/Fourier.leancomplete
def SchwartzMap.fourierTransformCLM.{u_1, u_2, u_3} (𝕜 : Type u_1) [RCLike 𝕜] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace 𝕜 E] [SMulCommClass ℂ 𝕜 E] {V : Type u_3} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] : SchwartzMap V E →L[𝕜] SchwartzMap V E
def SchwartzMap.fourierTransformCLM.{u_1, u_2, u_3} (𝕜 : Type u_1) [RCLike 𝕜] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace 𝕜 E] [SMulCommClass ℂ 𝕜 E] {V : Type u_3} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] : SchwartzMap V E →L[𝕜] SchwartzMap V E
The Fourier transform on a real inner product space, as a continuous linear map on the Schwartz space.
This definition is only to define the Fourier transform, use
FourierTransform.fourierCLMinstead.
We do not elaborate here, as the result already exists in Mathlib. We do,
however, mention that the Lean implementation defines a continuous linear
equivalence on the Schwartz space using the Fourier transform. The proof that
for any Schwartz function f, its Fourier transform and its image under this
continuous linear equivalence are the same \R^d \to \R function is stated
in Mathlib solely for the purpose of rw and simp, and is proved simply by
rfl.
5.2. Radial Functions and Fourier Eigenfunctions
The functions we construct in Section Fourier Eigenfunctions with Double Zeroes will be radial, and we record here the elementary facts about radial Schwartz functions that drive that construction.
Let E be a normed \R-vector space. A function f : E \to \C is radial if f(x) = f(y) whenever \norm{x} = \norm{y}.
For every Schwartz function f : \R^d \to \C and every x \in \R^d,
\mathcal{F}(\mathcal{F}(f))(x) = f(-x).
Lean code for Lemma5.2.2●1 theoremAssociated Lean declarations (display only; validation shown in heading)
- theoremdefined in SpherePacking/MagicFunction/a/Eigenfunction.leancomplete
theorem MagicFunction.a.Fourier.fourier_involution.{u_1, u_2} {V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] (f : SchwartzMap V E) : ⇑((FourierTransform.fourierCLE ℂ (SchwartzMap V E)) ((FourierTransform.fourierCLE ℂ (SchwartzMap V E)) f)) = fun x ↦ f (-x)
theorem MagicFunction.a.Fourier.fourier_involution.{u_1, u_2} {V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] (f : SchwartzMap V E) : ⇑((FourierTransform.fourierCLE ℂ (SchwartzMap V E)) ((FourierTransform.fourierCLE ℂ (SchwartzMap V E)) f)) = fun x ↦ f (-x)
Schwartz functions are integrable with integrable Fourier transforms, so the Fourier inversion theorem (together with the identity \mathcal{F}^{-1}(f)(x) = \mathcal{F}(f)(-x)) applies.
MagicFunction.a.Fourier.radial_inversion[complete]
If f : \R^d \to \C is an even Schwartz function — in particular, if f is radial — then \mathcal{F}(\mathcal{F}(f)) = f.
Lean code for Lemma5.2.3●1 theoremAssociated Lean declarations (display only; validation shown in heading)MagicFunction.a.Fourier.radial_inversion[complete]
MagicFunction.a.Fourier.radial_inversion[complete]
- theoremdefined in SpherePacking/MagicFunction/a/Eigenfunction.leancomplete
theorem MagicFunction.a.Fourier.radial_inversion.{u_1, u_2} {V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] (f : SchwartzMap V E) (hf : Function.Even ⇑f) : (FourierTransform.fourierCLE ℂ (SchwartzMap V E)) ((FourierTransform.fourierCLE ℂ (SchwartzMap V E)) f) = f
theorem MagicFunction.a.Fourier.radial_inversion.{u_1, u_2} {V : Type u_1} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] (f : SchwartzMap V E) (hf : Function.Even ⇑f) : (FourierTransform.fourierCLE ℂ (SchwartzMap V E)) ((FourierTransform.fourierCLE ℂ (SchwartzMap V E)) f) = f
Immediate from Lemma Lemma 5.2.2, since f(-x) = f(x).
Lemma Lemma 5.2.3 says that \mathcal{F} is an involution on radial Schwartz functions, so such functions decompose into eigenfunctions of \mathcal{F} with eigenvalues \pm 1.
- No associated Lean code or declaration display snapshots.
Let f : \R^d \to \C be a radial Schwartz function. Then there exist unique functions f_+ and f_- with f = f_+ + f_-, \mathcal{F}(f_+) = f_+ and \mathcal{F}(f_-) = -f_-, namely f_\pm = \frac12 (f \pm \widehat{f}).
Setting f_\pm := \frac12(f \pm \widehat{f}), Lemma Lemma 5.2.3 gives \mathcal{F}(f_\pm) = \frac12(\widehat{f} \pm f) = \pm f_\pm. Conversely, if f = f_+ + f_- with \mathcal{F}(f_\pm) = \pm f_\pm, then \widehat{f} = f_+ - f_-, and solving the two equations recovers f_\pm = \frac12(f \pm \widehat{f}).
This decomposition reduces the construction of the magic function in Section Proof of the Optimal Function Inequalities to the construction of one +1- and one -1-eigenfunction of \mathcal{F}, which is carried out in Section Fourier Eigenfunctions with Double Zeroes.
Another reason we are interested in Schwartz Functions is that they behave well under infinite sums. This will be useful to us when proving the Cohn-Elkies linear programming bound.
5.3. On the Summability of Schwartz Functions
We begin by stating a general summability result over specific subsets of
\R^d.
- No associated Lean code or declaration display snapshots.
Let X \subset \R^d be a set of sphere packing centres of separation 1 that is periodic with some lattice \Lambda \subset \R^d. Then, for any real k > d,
\sum_{x \in X} \frac{1}{\norm{x}^{k}} < \infty.
First, note that it does not matter how we number the countably many elements
of the discrete set X: if we prove absolute convergence for one numbering,
we prove absolute convergence for any numbering. The idea is to bound the
sequence of partial sums by considering the volumes of concentric d-spheres
of the appropriate radii, or scaled versions of a zero-centered fundamental
domain.
/- source paragraph break -/
Finish.
The decaying property of Schwartz functions means that they can be compared with the absolutely convergent power series above.
Let f : \R^d \to \C be a Schwartz function and let
X \subset \R^d be periodic with respect to some lattice
\Lambda \subset \R^d. Then
\sum_{x \in X} |f(x)| < \infty.
Without loss of generality, assume that 0 \notin X: if 0 \in X, we
can add the f(0) term to the sum over nonzero elements of X. We know
that for all k \in \N there exists some constant C such that
|f(x)| \leq C\norm{x}^{-k} for all x \in \R^d.
Choosing k to be sufficiently large, we obtain
\sum_{x \in X} |f(x)| \leq \sum_{x \in X} \frac{C}{\norm{x}^{k}} = C \sum_{x \in X} \frac{1}{\norm{x}^k} < \infty.
We end with a crucial result on Schwartz functions, the statement of which only makes sense because of the above result.
SchwartzMap.PoissonSummation_Lattices[sorry in proof]
Let \Lambda be a lattice in \R^d, and let f:\R^d\to\R be a
Schwartz function. Then, for all v \in \R^d,
\sum_{\ell\in\Lambda}f(\ell + v) = \frac{1}{\Vol{\R^d/\Lambda}} \sum_{m\in\Lambda^*}\widehat{f}(m) e^{-2\pi i \ang{v, m}}.
Lean code for Theorem5.3.3●1 theorem, incompleteAssociated Lean declarations (display only; validation shown in heading)SchwartzMap.PoissonSummation_Lattices[sorry in proof]
SchwartzMap.PoissonSummation_Lattices[sorry in proof]
- theoremdefined in SpherePacking/CohnElkies/Prereqs.leancontains sorry
theorem SchwartzMap.PoissonSummation_Lattices {d : ℕ} [Fact (0 < d)] (Λ : Submodule ℤ (EuclideanSpace ℝ (Fin d))) [DiscreteTopology ↥Λ] [IsZLattice ℝ Λ] (f : SchwartzMap (EuclideanSpace ℝ (Fin d)) ℂ) (v : EuclideanSpace ℝ (Fin d)) : ∑' (ℓ : ↥Λ), f (v + ↑ℓ) = 1 / ↑(ZLattice.covolume Λ MeasureTheory.volume) * ∑' (m : ↥(LinearMap.BilinForm.dualSubmodule (innerₗ (EuclideanSpace ℝ (Fin d))) Λ)), FourierTransform.fourier ⇑f ↑m * Complex.exp (2 * ↑Real.pi * Complex.I * ↑⟪v.ofLp, (↑m).ofLp⟫_[ℝ])
theorem SchwartzMap.PoissonSummation_Lattices {d : ℕ} [Fact (0 < d)] (Λ : Submodule ℤ (EuclideanSpace ℝ (Fin d))) [DiscreteTopology ↥Λ] [IsZLattice ℝ Λ] (f : SchwartzMap (EuclideanSpace ℝ (Fin d)) ℂ) (v : EuclideanSpace ℝ (Fin d)) : ∑' (ℓ : ↥Λ), f (v + ↑ℓ) = 1 / ↑(ZLattice.covolume Λ MeasureTheory.volume) * ∑' (m : ↥(LinearMap.BilinForm.dualSubmodule (innerₗ (EuclideanSpace ℝ (Fin d))) Λ)), FourierTransform.fourier ⇑f ↑m * Complex.exp (2 * ↑Real.pi * Complex.I * ↑⟪v.ofLp, (↑m).ofLp⟫_[ℝ])
One possible proof would be by induction on d. However, there are numerous
nuances involved, particularly in manipulating nested infinite sums. Ideas
would be appreciated.
While the Poisson summation formula over lattices can be stated in greater generality and probably should be formalised as such in Mathlib due to its many applications, we stick with Schwartz functions because that should be sufficient for our purposes.
5.4. Radial Schwartz Functions from One-Dimensional Data
Later, we will use Theorem Theorem 5.3.3 to prove that certain functions a(x) and b(x), defined in Section Fourier Eigenfunctions with Double Zeroes, are eigenfunctions of the Fourier transform. To apply the theorem, we need to show that these functions are Schwartz. Both are of the form x \mapsto f(\|x\|^2) for a function f : \R \to \C given by contour integrals, so we want a criterion for Schwartzness of such compositions purely in terms of f. This subsection provides one.
The first ingredient is a composition theorem already in Mathlib.
Let f \in \mathcal{S}(\R, \C) be a Schwartz function. Then, for every d \in \N, the radial function
f_d : \R^d \to \C, \quad f_d(x) := f(\|x\|^2)
is a Schwartz function.
Lean code for Lemma5.4.1●1 definitionAssociated Lean declarations (display only; validation shown in heading)
- complete
def schwartzMap_multidimensional_of_schwartzMap_real.{u_1} (F : Type u_1) [NormedAddCommGroup F] [InnerProductSpace ℝ F] (f : SchwartzMap ℝ ℂ) : SchwartzMap F ℂ
def schwartzMap_multidimensional_of_schwartzMap_real.{u_1} (F : Type u_1) [NormedAddCommGroup F] [InnerProductSpace ℝ F] (f : SchwartzMap ℝ ℂ) : SchwartzMap F ℂ
Precomposition with a function of temperate growth that grows at least polynomially maps Schwartz functions to Schwartz functions. The function x \mapsto \|x\|^2 has temperate growth and satisfies the required lower bound \|x\| \le 1 + \|x\|^2, so the composition f \circ \|\cdot\|^2 is Schwartz.
Lemma Lemma 5.4.1 is not directly applicable to the functions of Section Fourier Eigenfunctions with Double Zeroes: the one-dimensional integrals defining them are not Schwartz on all of \R — they grow exponentially as r \to -\infty, and some of them are not even given by convergent integrals far to the left of the origin. However, only their behaviour on [0, \infty) matters, since \|x\|^2 \geq 0. The remedy is to multiply by a smooth cutoff before composing.
Real.smoothTransition[complete]
There exists a smooth function \Theta : \R \to [0, 1] such that \Theta(x) = 0 for x \leq -1 and \Theta(x) = 1 for x \geq 0.
Lean code for Lemma5.4.2●1 definitionAssociated Lean declarations (display only; validation shown in heading)Real.smoothTransition[complete]
Real.smoothTransition[complete]
- defdefined in Mathlib/Analysis/SpecialFunctions/SmoothTransition.leancomplete
def Real.smoothTransition (x : ℝ) : ℝ
def Real.smoothTransition (x : ℝ) : ℝ
An infinitely smooth function
f : ℝ → ℝsuch thatf x = 0forx ≤ 0,f x = 1for1 ≤ x, and0 < f x < 1for0 < x < 1.
Take \Theta(x) := \theta(x + 1), where \theta is the standard smooth transition function, which is smooth, takes values in [0,1], vanishes on (-\infty, 0] and equals 1 on [1, \infty). Explicitly, \theta(x) = \frac{\rho(x)}{\rho(x) + \rho(1-x)} where \rho(x) = e^{-1/x} for x > 0 and \rho(x) = 0 for x \leq 0.
Note that, being smooth and constant on both (-\infty, -1] and [0, \infty), the function \Theta has all of its derivatives supported in the compact interval [-1, 0]; in particular \Theta and all of its derivatives are (individually) bounded. Rescaling, for any \theta < 0 we obtain a smooth cutoff \Theta_\theta(x) := \Theta\left(\frac{2x}{-\theta}\right) which vanishes for x \leq \theta/2, equals 1 for x \geq 0, and transitions on [\theta/2, 0]; for \theta = -2 this is \Theta itself.
- No associated Lean code or declaration display snapshots.
Let \theta < 0 and let f : \R \to \C be smooth on (\theta, \infty) and such that for all k, n \in \N there exists C \in \R with
x^{k} \cdot |f^{(n)}(x)| \leq C \quad \text{for all } x \geq 0.
Then \Theta_\theta \cdot f (extended by zero where f is undefined) is a Schwartz function on \R; it agrees with f on [0, \infty) and vanishes on (-\infty, \theta/2].
Write g := \Theta_\theta \cdot f. The last two assertions are immediate from the corresponding properties of \Theta_\theta.
Smoothness. The open sets (-\infty, \theta/2) and (\theta, \infty) cover \R. On the former, g vanishes identically; on the latter, g is a product of smooth functions. Since smoothness is a local property, g is smooth on \R.
Decay. Fix k, n \in \N. By the Leibniz rule,
g^{(n)} = \sum_{j=0}^{n} \binom{n}{j}\, \Theta_\theta^{(j)}\, f^{(n-j)}.
We bound |x|^k\,|g^{(n)}(x)| on three regions. For x \leq \theta/2, g^{(n)}(x) = 0. For x \geq 0, the cutoff is constant, so \Theta_\theta^{(j)}(x) = 0 for all j \geq 1 and g^{(n)}(x) = f^{(n)}(x), which satisfies the required bound by hypothesis. Finally, on the compact interval [\theta/2, 0], the factor |x|^k is bounded by |\theta/2|^k, each \Theta_\theta^{(j)} is bounded, and each f^{(n-j)} is continuous on the compact set [\theta/2, 0] \subset (\theta, \infty), hence bounded. Taking the maximum of the three bounds completes the proof.
Let \theta < 0 and let f : \R \to \C be as in Theorem Theorem 5.4.3. Then, for all d \in \N, the function
f_d : \R^d \to \C, \quad f_d(x) := f(\|x\|^2)
is a Schwartz function.
Since \|x\|^2 \geq 0 and \Theta_\theta = 1 on [0, \infty), we have f_d = (\Theta_\theta f) \circ \|\cdot\|^2 as functions on \R^d. The inner function \Theta_\theta f is Schwartz by Theorem Theorem 5.4.3, so Lemma Lemma 5.4.1 applies.
In the formalisation, the Schwartz structures on a and b are built exactly this way: the one-dimensional integrals are multiplied by a smooth cutoff (with \theta = -2 for a and \theta = -1 for b, matching the regions where the corresponding integrals converge; see Section Fourier Eigenfunctions with Double Zeroes), and the resulting Schwartz functions on \R are transported to \R^8 via Lemma Lemma 5.4.1. The cutoff is invisible after composing with \|\cdot\|^2, so the resulting Schwartz functions are equal to the radial functions defined in Section Fourier Eigenfunctions with Double Zeroes.