Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Upper bound for the weighted von Mangoldt sum

Proved
LL_Decomp1528a.vonMangoldt_sum_le

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

number-theory

For every natural number nnn, n∑m=1nΛ(m)m≤log⁡(n!)+ψ(n)n\sum_{m=1}^{n}\frac{\Lambda(m)}{m}\le\log(n!)+\psi(n)n∑m=1n​mΛ(m)​≤log(n!)+ψ(n), where Λ\LambdaΛ is the von Mangoldt function and ψ(n)=∑m=1nΛ(m)\psi(n)=\sum_{m=1}^{n}\Lambda(m)ψ(n)=∑m=1n​Λ(m). The statement includes n=0n=0n=0.

Preamble
import Mathlib

open Real Finset Chebyshev
Formal statement
namespace LL_Decomp1528a
theorem vonMangoldt_sum_le (n : ℕ) :
    (n : ℝ) * ∑ m ∈ Icc 1 n, ArithmeticFunction.vonMangoldt m / m ≤
      log (n.factorial : ℝ) + ψ n := by sorry
end LL_Decomp1528a
Source
Montgomery and Vaughan, Multiplicative Number Theory I, Section 2.2; lab unit U-1528. Source context: https://arxiv.org/abs/2608.09488v1
Read-back

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

For every n∈Nn\in\mathbb{N}n∈N, no hypotheses:

n∑m=1nΛ(m)m≤log⁡(n!)+ψ(n),n\sum_{m=1}^{n}\frac{\Lambda(m)}{m}\le\log(n!)+\psi(n),nm=1∑n​mΛ(m)​≤log(n!)+ψ(n),

ψ\psiψ is Chebyshev.psi at (n:R)(n:\mathbb{R})(n:R). Division by mmm is real division, m≥1m\ge 1m≥1. n=0n=0n=0: 0≤00\le 00≤0. The factor nnn multiplies the whole sum. Non-strict; proof is sorry.

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