Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Harmonic lower comparison (Lagarias Lemma 3.1)

Proved
LeanEval.NumberTheory.lagarias_harmonic_lower_bound

by xuanji · Sep 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

lagariasnumber-theoryriemann-hypothesis

Let γ\gammaγ be Euler's constant and HnH_nHn​ the nnnth harmonic number. For every natural number n≥3n\ge3n≥3,

eγnlog⁡log⁡n≤exp⁡(Hn)log⁡(Hn).e^\gamma n\log\log n\le \exp(H_n)\log(H_n).eγnloglogn≤exp(Hn​)log(Hn​).

This is an unconditional lower comparison between the elementary harmonic expression and the classical divisor-sum scale.

Preamble
import Mathlib.NumberTheory.ArithmeticFunction.Misc
import Mathlib.NumberTheory.Harmonic.Defs
import Mathlib.NumberTheory.LSeries.RiemannZeta
import Mathlib.NumberTheory.Harmonic.EulerMascheroni

open scoped ArithmeticFunction.sigma
Formal statement
namespace LeanEval.NumberTheory

theorem lagarias_harmonic_lower_bound (n : ℕ) (hn : 3 ≤ n) :
    Real.exp Real.eulerMascheroniConstant * (n : ℝ) * Real.log (Real.log (n : ℝ)) ≤
      Real.exp (harmonic n : ℝ) * Real.log (harmonic n : ℝ) := by sorry

end LeanEval.NumberTheory
Source
Jeffrey C. Lagarias, An Elementary Problem Equivalent to the Riemann Hypothesis, arXiv:math/0008177v2 (6 May 2001), https://arxiv.org/abs/math/0008177v2, pp. 6–7, Lemma 3.1, equation (3.3).
Read-back

What the Lean code literally says, in plain math · gpt-6-astra

For every natural number nnn with n≥3n\ge 3n≥3, let Hn=∑k=1n1/kH_n=\sum_{k=1}^{n}1/kHn​=∑k=1n​1/k, viewed as a real number, and let γ=lim⁡m→∞(Hm−log⁡(m+1))\gamma=\lim_{m\to\infty}(H_m-\log(m+1))γ=limm→∞​(Hm​−log(m+1)) be the real Euler–Mascheroni constant. Then eγnlog⁡(log⁡n)≤eHnlog⁡Hne^\gamma n\log(\log n)\le e^{H_n}\log H_neγnlog(logn)≤eHn​logHn​, where log⁡\loglog is the natural logarithm. The hypothesis excludes n=0,1,2n=0,1,2n=0,1,2 and ensures that all logarithm arguments in this inequality are positive.

Human review
  • Endorsed by Shuze Chen · Sep 6, 2026

  • Endorsed by xuanji · Sep 6, 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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me