Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.7: orthogonality relations (Moyal's identity) for the STFT

Proved
FaulhuberTFA.stft_orthogonality_relations

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

harmonic-analysisradarsignal-processingtime-frequency-analysis

Let f1,f2,g1,g2∈L2(Rd)f_1,f_2,g_1,g_2\in L^2(\mathbb{R}^d)f1​,f2​,g1​,g2​∈L2(Rd). Then Vg1f1V_{g_1}f_1Vg1​​f1​ and Vg2f2V_{g_2}f_2Vg2​​f2​ lie in L2(R2d)L^2(\mathbb{R}^{2d})L2(R2d), and

⟨Vg1f1,Vg2f2⟩L2(R2d)=∬R2dVg1f1(x,ω) Vg2f2(x,ω)‾ d(x,ω)=⟨f1,f2⟩ ⟨g1,g2⟩‾,\langle V_{g_1}f_1,V_{g_2}f_2\rangle_{L^2(\mathbb{R}^{2d})}=\iint_{\mathbb{R}^{2d}}V_{g_1}f_1(x,\omega)\,\overline{V_{g_2}f_2(x,\omega)}\,d(x,\omega)=\langle f_1,f_2\rangle\,\overline{\langle g_1,g_2\rangle},⟨Vg1​​f1​,Vg2​​f2​⟩L2(R2d)​=∬R2d​Vg1​​f1​(x,ω)Vg2​​f2​(x,ω)​d(x,ω)=⟨f1​,f2​⟩⟨g1​,g2​⟩​,

with ⟨f,g⟩=∫fgˉ\langle f,g\rangle=\int f\bar g⟨f,g⟩=∫fgˉ​.

These are the orthogonality relations (Moyal's identity). They give the Plancherel-type isometry of the STFT, the inversion formula, and, for the ambiguity function, the radar "volume" law: the total squared ambiguity of a waveform is fixed by its energy.

Preamble
import Mathlib
import Definitions.Def_FaulhuberTFA_Basic

open MeasureTheory Complex
open scoped InnerProductSpace
Formal statement
namespace FaulhuberTFA

theorem stft_orthogonality_relations {d : ℕ} {f₁ f₂ g₁ g₂ : Rd d → ℂ}
    (hf₁ : MemLp f₁ 2 volume) (hf₂ : MemLp f₂ 2 volume) (hg₁ : MemLp g₁ 2 volume) (hg₂ : MemLp g₂ 2 volume) :
    MemLp (fun p : Rd d × Rd d => stft g₁ f₁ p.1 p.2) 2 volume ∧
    MemLp (fun p : Rd d × Rd d => stft g₂ f₂ p.1 p.2) 2 volume ∧
    ∫ p : Rd d × Rd d, stft g₁ f₁ p.1 p.2 * starRingEnd ℂ (stft g₂ f₂ p.1 p.2) =
      l2inner f₁ f₂ * starRingEnd ℂ (l2inner g₁ g₂) := by sorry

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

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

Let d≥0d \ge 0d≥0 be a natural number and write Rd\mathbb{R}^dRd for ddd-dimensional Euclidean space, with dot product x⋅ωx \cdot \omegax⋅ω, Euclidean norm, and Lebesgue measure. When d=0d = 0d=0, R0\mathbb{R}^0R0 is a single point carrying measure 111. Let f1,f2,g1,g2:Rd→Cf_1, f_2, g_1, g_2 : \mathbb{R}^d \to \mathbb{C}f1​,f2​,g1​,g2​:Rd→C be arbitrary complex-valued functions. They are genuine functions, not equivalence classes.

Hypotheses. Each of f1,f2,g1,g2f_1, f_2, g_1, g_2f1​,f2​,g1​,g2​ lies in L2(Rd)L^2(\mathbb{R}^d)L2(Rd). That is, each is almost-everywhere strongly measurable and satisfies

∫Rd∣h(t)∣2 dt<∞.\int_{\mathbb{R}^d} |h(t)|^2 \, dt < \infty .∫Rd​∣h(t)∣2dt<∞.

Definitions used. For functions g,fg, fg,f and points x,ω∈Rdx, \omega \in \mathbb{R}^dx,ω∈Rd, the short-time Fourier transform of fff with window ggg is the integral

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.

The L2L^2L2 pairing is

⟨f,g⟩=∫Rdf(t) g(t)‾ dt,\langle f, g\rangle = \int_{\mathbb{R}^d} f(t)\, \overline{g(t)} \, dt ,⟨f,g⟩=∫Rd​f(t)g(t)​dt,

which is linear in the first slot and conjugate-linear in the second. All integrals here, and the one in the conclusion, are Lebesgue (Bochner) integrals with the convention that a non-integrable integrand is assigned the value 000.

Conclusion. The theorem asserts the conjunction of three statements.

  1. The function (x,ω)↦Vg1f1(x,ω)(x,\omega) \mapsto V_{g_1} f_1(x,\omega)(x,ω)↦Vg1​​f1​(x,ω) on Rd×Rd\mathbb{R}^d \times \mathbb{R}^dRd×Rd belongs to L2(Rd×Rd)L^2(\mathbb{R}^d \times \mathbb{R}^d)L2(Rd×Rd) with respect to the product Lebesgue measure. This means it is a.e. strongly measurable and square-integrable.
  2. Likewise, (x,ω)↦Vg2f2(x,ω)(x,\omega) \mapsto V_{g_2} f_2(x,\omega)(x,ω)↦Vg2​​f2​(x,ω) belongs to L2(Rd×Rd)L^2(\mathbb{R}^d \times \mathbb{R}^d)L2(Rd×Rd).
  3. The following identity holds:
∫Rd×RdVg1f1(x,ω) Vg2f2(x,ω)‾  d(x,ω)  =  ⟨f1,f2⟩ ⟨g1,g2⟩‾.\int_{\mathbb{R}^d \times \mathbb{R}^d} V_{g_1} f_1(x,\omega)\, \overline{V_{g_2} f_2(x,\omega)} \; d(x,\omega) \;=\; \langle f_1, f_2\rangle \, \overline{\langle g_1, g_2\rangle} .∫Rd×Rd​Vg1​​f1​(x,ω)Vg2​​f2​(x,ω)​d(x,ω)=⟨f1​,f2​⟩⟨g1​,g2​⟩​.

Here the left-hand side is an integral over the 2d2d2d-dimensional space of pairs (x,ω)(x,\omega)(x,ω), and both pairings on the right are the integrals defined above. No assumption is made that any of the functions is nonzero or normalised. No relation between the fff's and ggg's is assumed. The case d=0d = 0d=0 is included.

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