Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Orthogonality of exponentials

Proved
LL_Decomp1535a.orth_int

by sthubbar · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theory

For every integer kkk, ∫01e2πiαk dα\int_0^1 e^{2\pi i \alpha k}\,d\alpha∫01​e2πiαkdα equals 111 if k=0k=0k=0 and 000 otherwise.

Preamble
import Mathlib

open MeasureTheory
Formal statement
namespace LL_Decomp1535a
theorem orth_int (k : ℤ) :
    ∫ α in (0 : ℝ)..1, Complex.exp (2 * Real.pi * Complex.I * α * k) =
      if k = 0 then 1 else 0 := by sorry
end LL_Decomp1535a
Source
Liu and Wang 2002, p. 145, behind eq. 3.10
Read-back

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

orth_int

Binders. The statement has one universally quantified variable, kkk, which ranges over the integers Z\mathbb{Z}Z. There are no hypotheses. Every integer is covered, including negative integers and k=0k = 0k=0.

Statement. For every integer kkk, the following equality holds, where the left side is a complex number:

∫01e2πi α k dα  =  {1if k=0,0if k≠0.\int_{0}^{1} e^{2\pi i\,\alpha\,k}\,d\alpha \;=\; \begin{cases} 1 & \text{if } k = 0, \\ 0 & \text{if } k \neq 0. \end{cases}∫01​e2πiαkdα={10​if k=0,if k=0.​

Symbols.

  • α\alphaα is a real integration variable running over the interval [0,1][0,1][0,1]. The integral is the interval integral from 000 to 111, taken in the usual orientation because 0≤10 \le 10≤1.
  • iii is the imaginary unit and π\piπ is the real number pi.
  • The integrand e2πi α ke^{2\pi i\,\alpha\,k}e2πiαk is the complex exponential of 2πi α k2\pi i\,\alpha\,k2πiαk. Here α\alphaα and kkk are both cast into the complex numbers before multiplication.
  • The integral is a complex number. It is the integral of a continuous complex-valued function on [0,1][0,1][0,1], so it is well defined for every integer kkk.

Degenerate and edge cases. No division or subtraction of naturals occurs, and the interval is nondegenerate, so no junk values arise. The case split is on whether kkk equals 000. When k=0k = 0k=0, the integrand is the constant 111, so the integral equals 111. For every nonzero integer kkk, the statement asserts the integral equals 000.

Precision. The equality is exact. The right side is 111 when k=0k = 0k=0 and 000 otherwise.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by sthubbar · Oct 30, 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