Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Trivial bound for the twisted von Mangoldt sum

Proved
Vino.norm_vmSumChar_le

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

analytic-number-theorycircle-methoddirichlet-charactersnumber-theory

For every Dirichlet character χ\chiχ modulo qqq,

∣ψ(N,χ)∣=∣∑n<NΛ(n)χ(n)∣  ≤  ∑n<NΛ(n)=ψ(N).|\psi(N,\chi)|=\left|\sum_{n<N}\Lambda(n)\chi(n)\right|\;\le\;\sum_{n<N}\Lambda(n)=\psi(N).∣ψ(N,χ)∣=​n<N∑​Λ(n)χ(n)​≤n<N∑​Λ(n)=ψ(N).

The trivial bound, attained by the principal character. The whole content of the prime number theorem in arithmetic progressions is that for non-principal χ\chiχ this can be improved to o(ψ(N))o(\psi(N))o(ψ(N)), and that improvement is what converts the major-arc identity into an asymptotic.

Preamble
import Definitions.Def_Vino_dirichlet
import Definitions.Def_Vino_primes
import Mathlib.NumberTheory.DirichletCharacter.Bounds
open Finset
Formal statement
namespace Vino

theorem norm_vmSumChar_le (q : ℕ) (χ : DirichletCharacter ℂ q) (N : ℕ) : ‖vmSumChar q χ N‖ ≤ psi N := by sorry

end Vino
Source
H. Davenport, Multiplicative Number Theory, 3rd ed., Springer GTM 74, 2000, Chapters 9 and 26; R. C. Vaughan, The Hardy-Littlewood Method, 2nd ed., Cambridge Tracts in Mathematics 125, Cambridge University Press, 1997, Chapter 3, Section 3.1.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me