The power-of-two exponential sum
DefinitionLL_Linnik1536a_GpowFor and real , with , the exponential sum over powers of two in Pintz and Ruzsa, Acta Arith. 109 (2003), Section 4.
Definition code
import Mathlib namespace LL_Linnik1536a open Real MeasureTheory Finset noncomputable def Gpow (L : ℕ) (x : ℝ) : ℂ := ∑ j ∈ range L, Complex.exp (2 * π * Complex.I * ((2 : ℂ) ^ j * x)) end LL_Linnik1536a
Read-back
What the Lean code literally says, in plain math · claude-haiku
denotes the value of Gpow at a natural number and a real number . It is the complex number , where the sum runs over (so terms), is the imaginary unit, is the circle constant, is the complex exponential, and is the real number times , regarded as a complex number. There are no hypotheses. ranges over all of , not only , and ranges over the natural numbers including . For the sum is empty, so for every real . The value is complex, not real.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.