Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.4: the STFT of L2L^2L2 functions is uniformly continuous

Proved
FaulhuberTFA.stft_uniformContinuous

by Xeroth · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

harmonic-analysisradarsignal-processingtime-frequency-analysis

Let f,g∈L2(Rd)f,g\in L^2(\mathbb{R}^d)f,g∈L2(Rd). Then the short-time Fourier transform

(x,ω)⟼Vgf(x,ω)=∫Rdf(t)g(t−x)‾e−2πiω⋅t dt(x,\omega)\longmapsto V_gf(x,\omega)=\int_{\mathbb{R}^d}f(t)\overline{g(t-x)}e^{-2\pi i\omega\cdot t}\,dt(x,ω)⟼Vg​f(x,ω)=∫Rd​f(t)g(t−x)​e−2πiω⋅tdt

is uniformly continuous on R2d\mathbb{R}^{2d}R2d.

This is the basic regularity of the STFT: whatever the signal and window, the time-frequency picture has no jumps.

Preamble
import Mathlib
import Definitions.Def_FaulhuberTFA_Basic

open MeasureTheory Complex
open scoped InnerProductSpace
Formal statement
namespace FaulhuberTFA

theorem stft_uniformContinuous {d : ℕ} {f g : Rd d → ℂ} (hf : MemLp f 2 volume) (hg : MemLp g 2 volume) :
    UniformContinuous (fun p : Rd d × Rd d => stft g f p.1 p.2) := by sorry

end FaulhuberTFA
Source
Faulhuber, Time-Frequency Analysis (Lecture Notes), arXiv:2204.01596 (2022), Chapter 2, Lemma 2.4, p. 18
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Let d≥0d \ge 0d≥0 be a natural number, and let Rd\mathbb{R}^dRd carry its Euclidean structure: dot product ω⋅t=∑kωktk\omega \cdot t = \sum_{k} \omega_k t_kω⋅t=∑k​ωk​tk​, Euclidean norm, and Lebesgue measure. When d=0d = 0d=0, R0\mathbb{R}^0R0 is a single point, so the statement below is trivially true in that case.

Hypotheses. Let f,g:Rd→Cf, g : \mathbb{R}^d \to \mathbb{C}f,g:Rd→C be arbitrary complex-valued functions such that:

  • f∈L2(Rd)f \in L^2(\mathbb{R}^d)f∈L2(Rd), meaning fff is almost-everywhere strongly measurable and ∫Rd∣f(t)∣2 dt<∞\int_{\mathbb{R}^d} |f(t)|^2 \, dt < \infty∫Rd​∣f(t)∣2dt<∞;
  • g∈L2(Rd)g \in L^2(\mathbb{R}^d)g∈L2(Rd), in the same sense.

These are the only assumptions.

The function in question. For x,ω∈Rdx, \omega \in \mathbb{R}^dx,ω∈Rd, the short-time Fourier transform of fff with window ggg is

Vgf(x,ω)  =  ∫Rdf(t) g(t−x)‾  e−2πi ω⋅t dt.V_g f(x,\omega) \;=\; \int_{\mathbb{R}^d} f(t)\, \overline{g(t - x)}\; e^{-2\pi i\, \omega \cdot t}\, dt .Vg​f(x,ω)=∫Rd​f(t)g(t−x)​e−2πiω⋅tdt.

This integral is a Lebesgue (Bochner) integral, with the convention that its value is 000 whenever the integrand is not integrable.

Conclusion. The map

Rd×Rd→C,(x,ω)↦Vgf(x,ω)\mathbb{R}^d \times \mathbb{R}^d \to \mathbb{C}, \qquad (x, \omega) \mapsto V_g f(x,\omega)Rd×Rd→C,(x,ω)↦Vg​f(x,ω)

is uniformly continuous. The domain carries the product uniform structure, which is equivalently the one induced by any norm on R2d\mathbb{R}^{2d}R2d, for instance max⁡(∥x−x′∥,∥ω−ω′∥)\max(\|x - x'\|, \|\omega - \omega'\|)max(∥x−x′∥,∥ω−ω′∥). Spelled out, this means:

∀ε>0    ∃δ>0    ∀(x,ω),(x′,ω′):∥x−x′∥<δ   and   ∥ω−ω′∥<δ  ⟹  ∣Vgf(x,ω)−Vgf(x′,ω′)∣<ε.\forall \varepsilon > 0\;\; \exists \delta > 0\;\; \forall (x,\omega), (x',\omega'):\quad \|x - x'\| < \delta \;\text{ and }\; \|\omega - \omega'\| < \delta \;\Longrightarrow\; |V_g f(x,\omega) - V_g f(x',\omega')| < \varepsilon .∀ε>0∃δ>0∀(x,ω),(x′,ω′):∥x−x′∥<δ and ∥ω−ω′∥<δ⟹∣Vg​f(x,ω)−Vg​f(x′,ω′)∣<ε.

Scope of the claim. The statement asserts uniform continuity only. It makes no claim about:

  • boundedness of VgfV_g fVg​f;
  • any explicit bound such as ∥f∥2∥g∥2\|f\|_2 \|g\|_2∥f∥2​∥g∥2​;
  • decay of VgfV_g fVg​f at infinity.
Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me