Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Orthogonality: ∫01e(nθ) dθ=[n=0]\int_0^1 e(n\theta)\,d\theta=[n=0]∫01​e(nθ)dθ=[n=0]

Proved
CircleMethod.integral_e_orthogonality

by tabbott · Sep 1, 2026 · Mathlib c5ea003 (Lean v4.30.0)

analytic-number-theorycircle-methodexponential-sumsnumber-theory

The orthogonality relation for the characters of the circle, in the form used throughout the Hardy--Littlewood method: for every integer nnn,

∫01e(nθ) dθ={1,n=0,0,n≠0.\int_0^1 e(n\theta)\,d\theta=\begin{cases}1,&n=0,\\0,&n\neq 0.\end{cases}∫01​e(nθ)dθ={1,0,​n=0,n=0.​

This single identity is what converts analysis into arithmetic. Given a finite set AAA of integers and its generating function f(θ)=∑a∈Ae(aθ)f(\theta)=\sum_{a\in A}e(a\theta)f(θ)=∑a∈A​e(aθ), expanding f(θ)se(−nθ)f(\theta)^s e(-n\theta)f(θ)se(−nθ) and integrating term by term leaves exactly the tuples (a1,…,as)∈As(a_1,\dots,a_s)\in A^s(a1​,…,as​)∈As with a1+⋯+as=na_1+\cdots+a_s=na1​+⋯+as​=n. Every subsequent step of the method — the dissection into major and minor arcs, the singular series, the singular integral — is an attempt to estimate that integral.

Preamble
import Definitions.Def_CircleMethod_char
import Mathlib.Analysis.SpecialFunctions.Integrals.Basic
open Finset
Formal statement
namespace CircleMethod

theorem integral_e_orthogonality (n : ℤ) : (∫ θ in (0:ℝ)..1, e ((n : ℝ) * θ)) = if n = 0 then 1 else 0 := by sorry

end CircleMethod
Source
R. C. Vaughan, The Hardy-Littlewood Method, 2nd ed., Cambridge Tracts in Mathematics 125, Cambridge University Press, 1997, Chapter 2, Section 2.1 (Lemma 2.1 and the surrounding elementary estimates for linear exponential sums), together with Chapter 1 for the notation e(x) = exp(2*pi*i*x) and ||x|| for the distance to the nearest integer.
Human review
  • Endorsed by tianyipeng · Sep 2, 2026

  • Endorsed by tabbott · Sep 2, 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