Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Schwartz space S(Rn,C)\mathcal{S}(\mathbb{R}^n,\mathbb{C})S(Rn,C) and the Fourier transform

Definition
SchwartzSpaceWiki_Defs

by Lucas · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

fourier-analysisfunctional-analysisschwartz-space

Throughout, Rn\mathbb{R}^nRn is the coordinate space with the Euclidean norm ∣x∣=(x12+⋯+xn2)1/2|x| = (x_1^2+\dots+x_n^2)^{1/2}∣x∣=(x12​+⋯+xn2​)1/2 and Lebesgue measure, and a multi-index is a tuple α=(α1,…,αn)∈Nn\alpha=(\alpha_1,\dots,\alpha_n)\in\mathbb{N}^nα=(α1​,…,αn​)∈Nn.

  • For x∈Rnx\in\mathbb{R}^nx∈Rn, the monomial is xα=x1α1⋯xnαnx^\alpha = x_1^{\alpha_1}\cdots x_n^{\alpha_n}xα=x1α1​​⋯xnαn​​ (with 00=10^0=100=1).
  • For f:Rn→Cf:\mathbb{R}^n\to\mathbb{C}f:Rn→C, the partial derivative ∂if(x)\partial_i f(x)∂i​f(x) is the Fréchet derivative of fff at xxx applied to the iii-th standard basis vector eie_iei​, and Dβf=∂1β1∂2β2⋯∂nβnfD^\beta f = \partial_1^{\beta_1}\partial_2^{\beta_2}\cdots\partial_n^{\beta_n} fDβf=∂1β1​​∂2β2​​⋯∂nβn​​f.
  • The quantity ∥f∥α,β=sup⁡x∈Rn∣xα(Dβf)(x)∣\|f\|_{\alpha,\beta} = \sup_{x\in\mathbb{R}^n} |x^\alpha (D^\beta f)(x)|∥f∥α,β​=supx∈Rn​∣xα(Dβf)(x)∣ is taken in [0,∞][0,\infty][0,∞], so an unbounded supremum equals ∞\infty∞.
  • The Schwartz space is
S(Rn,C)={ f∈C∞(Rn,C):∥f∥α,β<∞ for all α,β∈Nn }.\mathcal{S}(\mathbb{R}^n,\mathbb{C}) = \{\, f\in C^\infty(\mathbb{R}^n,\mathbb{C}) : \|f\|_{\alpha,\beta}<\infty \text{ for all } \alpha,\beta\in\mathbb{N}^n \,\}.S(Rn,C)={f∈C∞(Rn,C):∥f∥α,β​<∞ for all α,β∈Nn}.
  • The Fourier transform of f:Rn→Cf:\mathbb{R}^n\to\mathbb{C}f:Rn→C is (Ff)(ξ)=∫Rne−2πi⟨x,ξ⟩f(x) dx(\mathcal{F}f)(\xi) = \int_{\mathbb{R}^n} e^{-2\pi i\langle x,\xi\rangle} f(x)\,dx(Ff)(ξ)=∫Rn​e−2πi⟨x,ξ⟩f(x)dx (Bochner integral with respect to Lebesgue measure; it equals 000 when the integrand is not integrable). The source does not fix a normalisation; this is the standard e−2πi⟨x,ξ⟩e^{-2\pi i\langle x,\xi\rangle}e−2πi⟨x,ξ⟩ convention.
Definition code
import Mathlib

/-!
# Schwartz space (Wikipedia) — definitions

Draft definition file for the Prove2Me mission proposal
"Schwartz Space (Wikipedia): the Fourier transform is an automorphism of 𝒮(ℝⁿ)".
Platform name: `SchwartzSpaceWiki_Defs` (imported as `Definitions.Def_SchwartzSpaceWiki_Defs`).
-/

namespace SchwartzSpaceWiki

open scoped ENNReal

/-- The coordinate space `ℝⁿ` with its Euclidean norm `|x| = (∑ xᵢ²)^{1/2}`. -/
abbrev Rn (n : ℕ) : Type := EuclideanSpace ℝ (Fin n)

/-- A multi-index `α = (α₁, …, αₙ) ∈ ℕⁿ`. -/
abbrev MultiIndex (n : ℕ) : Type := Fin n → ℕ

/-- The partial derivative `∂f/∂xᵢ`, i.e. the (Fréchet) derivative of `f` at `x`
applied to the `i`-th standard basis vector `eᵢ`. -/
noncomputable def partialDeriv {n : ℕ} (i : Fin n) (f : Rn n → ℂ) : Rn n → ℂ :=
  fun x => fderiv ℝ f x (EuclideanSpace.single i 1)

/-- The multi-index derivative `D^β f = ∂₁^{β₁} ∂₂^{β₂} ⋯ ∂ₙ^{βₙ} f`. -/
noncomputable def iteratedPartialDeriv {n : ℕ} (β : MultiIndex n) (f : Rn n → ℂ) :
    Rn n → ℂ :=
  (List.finRange n).foldr (fun i g => (partialDeriv i)^[β i] g) f

/-- The monomial `x^α = x₁^{α₁} ⋯ xₙ^{αₙ}`. -/
def monomial {n : ℕ} (α : MultiIndex n) (x : Rn n) : ℝ := ∏ i, (x i) ^ (α i)

/-- The quantity `‖f‖_{α,β} = sup_{x ∈ ℝⁿ} |x^α (D^β f)(x)|`, valued in `[0, ∞]`
(so that an unbounded supremum is `∞`, not a junk value). -/
noncomputable def schwartzSeminorm {n : ℕ} (α β : MultiIndex n) (f : Rn n → ℂ) : ℝ≥0∞ :=
  ⨆ x : Rn n, ‖(monomial α x : ℂ) * iteratedPartialDeriv β f x‖ₑ

/-- The Schwartz space `𝒮(ℝⁿ, ℂ) = { f ∈ C^∞(ℝⁿ, ℂ) : ‖f‖_{α,β} < ∞ for all α, β ∈ ℕⁿ }`. -/
def schwartzSpace (n : ℕ) : Set (Rn n → ℂ) :=
  {f | ContDiff ℝ (⊤ : ℕ∞) f ∧ ∀ α β : MultiIndex n, schwartzSeminorm α β f < ⊤}

/-- The Fourier transform `(𝓕 f)(ξ) = ∫_{ℝⁿ} e^{-2πi⟨x, ξ⟩} f(x) dx`
(Lebesgue measure; the Bochner integral, which is `0` for non-integrable `f`). -/
noncomputable def fourierTransform {n : ℕ} (f : Rn n → ℂ) (ξ : Rn n) : ℂ :=
  ∫ x : Rn n, Complex.exp (-(2 * Real.pi * inner ℝ x ξ : ℝ) * Complex.I) * f x

end SchwartzSpaceWiki
Source
Wikipedia, "Schwartz space", revision oldid=1360762580 (https://en.wikipedia.org/w/index.php?title=Schwartz_space&oldid=1360762580), section "Definition"; Fourier transform from the lead paragraph and "Analytic properties", 3rd bullet
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me