Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Its real part SL(x)S_L(x)SL​(x)

Definition
LL_Linnik1536a_Spow

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

SL(x)=∑j=0L−1cos⁡(2π2jx)S_L(x)=\sum_{j=0}^{L-1}\cos(2\pi 2^j x)SL​(x)=∑j=0L−1​cos(2π2jx), the real part of GL(x)G_L(x)GL​(x).

Definition code
import Mathlib

namespace LL_Linnik1536a
open Real MeasureTheory Finset

noncomputable def Spow (L : ℕ) (x : ℝ) : ℝ :=
  ∑ j ∈ range L, Real.cos (2 * π * ((2 : ℝ) ^ j * x))

end LL_Linnik1536a
Read-back

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

SL(x)S_L(x)SL​(x) denotes the real number ∑j=0L−1cos⁡(2π (2jx))\sum_{j=0}^{L-1}\cos\big(2\pi\,(2^j x)\big)∑j=0L−1​cos(2π(2jx)), where the sum runs over j=0,1,…,L−1j=0,1,\dots,L-1j=0,1,…,L−1 (so LLL terms), cos⁡\coscos is the real cosine, π\piπ is the circle constant, and 2jx2^j x2jx is the real number 2j2^j2j times xxx. There are no hypotheses. xxx ranges over all reals and LLL over all naturals including 000. For L=0L=0L=0 the sum is empty, so S0(x)=0S_0(x)=0S0​(x)=0 for every xxx.

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

    Confirmed by the moderator at approval.

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