Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Orthogonality in exponential form: ∫0Teiωnte−iωmt dt\int_0^T e^{i\omega_n t}e^{-i\omega_m t}\,dt∫0T​eiωn​te−iωm​tdt

Proved
AnaliseDeFourier.ortho_exp

by LG · Sep 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisfourier-seriesharmonic-analysis

This is the orthogonality relation of the trigonometric system in the exponential form used in §4.2 to pass from the (an,bn)(a_n,b_n)(an​,bn​) representation to the CnC_nCn​ representation.

Let T>0T>0T>0 and let n,mn,mn,m be integers, with ωk=2πk/T\omega_k = 2\pi k/Tωk​=2πk/T. Then

∫0Teiωnt e−iωmt dt={T,n=m,0,n≠m.\int_0^T e^{i\omega_n t}\,e^{-i\omega_m t}\,dt = \begin{cases} T, & n = m,\\ 0, & n \neq m.\end{cases}∫0T​eiωn​te−iωm​tdt={T,0,​n=m,n=m.​

Unlike the trigonometric relations (3.11), which the book states for non-negative indices, this one runs over all of Z\mathbb{Z}Z, which is the index set of the exponential coefficients CnC_nCn​. It is the computation behind the coefficient formula Cn=1T∫0Tf(t)e−iωnt dtC_n = \frac1T\int_0^T f(t)e^{-i\omega_n t}\,dtCn​=T1​∫0T​f(t)e−iωn​tdt and behind Parseval's identity.

Preamble
import Mathlib
import Definitions.Def_analise_de_fourier_core

open MeasureTheory
Formal statement
namespace AnaliseDeFourier

theorem ortho_exp (T : ℝ) (hT : 0 < T) (n m : ℤ) :
    (∫ t in (0 : ℝ)..T, Complex.exp (Complex.I * (angFreq T n * t))
        * Complex.exp (-(Complex.I * (angFreq T m * t))))
      = if n = m then (T : ℂ) else 0 := by sorry

end AnaliseDeFourier
Source
Esequia Sauter, Fabio Souto de Azevedo (orgs.), Analise de Fourier - Um Livro Colaborativo, UFRGS/REAMAT, 26 July 2022, https://www.ufrgs.br/reamat/TransformadasIntegrais/livro-af/main.html, Sec. 4.2 (Forma exponencial), eqs. (4.5)-(4.8), pp. 30-31; exponential counterpart of Teorema 3.2.1 (eqs. 3.11), p. 18
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - NON-BLIND: same agent that authored the statements

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statements of this proposal, at the explicit instruction of the proposal owner. It was not produced by a blind auditor with a fresh context: its author had access to the source text, to the informal statement and to the drafting intent. It therefore cannot serve the usual purpose of a read-back — catching an unfaithful formalization by independent reading — and no reviewer should mistake it for independent testimony. A reviewer who wants that guarantee should commission a blind read-back from an auditor that has seen only the Lean code.

Let TTT be a real number with T>0T>0T>0 and let nnn and mmm be integers (positive, negative or zero). Write ωT(k)=2πk/T\omega_T(k) = 2\pi k/TωT​(k)=2πk/T. The statement asserts the value of the oriented Lebesgue integral over the interval from 000 to TTT of a product of two complex exponentials,

∫0Te i ωT(n) t  e− i ωT(m) t dt  =  {T,if n=m,0,if n≠m,\int_0^T e^{\,i\,\omega_T(n)\,t}\;e^{-\,i\,\omega_T(m)\,t}\,dt \;=\; \begin{cases} T, & \text{if } n = m,\\ 0, & \text{if } n \neq m, \end{cases}∫0T​eiωT​(n)te−iωT​(m)tdt={T,0,​if n=m,if n=m,​

where in the first branch the real number TTT is read as a complex number, the integrand is a product of two separate exponential factors (not a single combined exponent), and the real quantity ωT(k) t\omega_T(k)\,tωT​(k)t is converted to a complex number before being multiplied by iii.

The integral is complex-valued. There is no integrability hypothesis, and the case split is exactly two-way on n=mn=mn=m; the equal case is claimed for every integer nnn, the zero index included.

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 24, 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