Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Robin oscillation under failure of RH (Lagarias Proposition 3.2)

Open
LeanEval.NumberTheory.lagarias_robin_oscillation

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

lagariasnumber-theoryriemann-hypothesis

Assume that the Riemann hypothesis is false. There exist fixed real constants β,C\beta,Cβ,C with 0<β<1/20<\beta<1/20<β<1/2 and C>0C>0C>0 such that arbitrarily large integers n≥3n\ge3n≥3 satisfy

σ(n)≥eγnlog⁡log⁡n+Cnlog⁡log⁡n(log⁡n)β.\sigma(n)\ge e^\gamma n\log\log n+\frac{Cn\log\log n}{(\log n)^\beta}.σ(n)≥eγnloglogn+(logn)βCnloglogn​.

The same constants work for all cutoffs: for every natural number NNN, such an n≥Nn\ge Nn≥N exists. This is the infinite-set statement of Proposition 3.2 with the finitely many indices below 3 removed, so the denominator uses a positive logarithm and an actual real power. It is a substantial oscillation theorem, not merely the assertion that Robin's inequality has a counterexample.

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_robin_oscillation (hRH : ¬ RiemannHypothesis) :
    ∃ β C : ℝ, 0 < β ∧ β < 1 / 2 ∧ 0 < C ∧
      ∀ N : ℕ, ∃ n : ℕ, N ≤ n ∧ 3 ≤ n ∧
        Real.exp Real.eulerMascheroniConstant * (n : ℝ) * Real.log (Real.log (n : ℝ)) +
            C * (n : ℝ) * Real.log (Real.log (n : ℝ)) /
              Real.rpow (Real.log (n : ℝ)) β ≤
          ((σ 1 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, p. 6, Proposition 3.2, equation (3.2); attributed there to Robin (1984), §4, Proposition 1. Infinite set of indices expressed as unboundedness in ℕ, with finitely many n < 3 excluded.
Read-back

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

Assume the Riemann hypothesis is false, meaning that there exists s∈Cs\in\mathbb Cs∈C with ζ(s)=0\zeta(s)=0ζ(s)=0, with s≠−2(k+1)s\ne-2(k+1)s=−2(k+1) for every natural number kkk, with s≠1s\ne1s=1, and with Re⁡(s)≠12\operatorname{Re}(s)\ne\tfrac12Re(s)=21​, where ζ\zetaζ is the Riemann zeta function. Then there exist real constants β\betaβ and CCC satisfying 0<β<120<\beta<\tfrac120<β<21​ and C>0C>0C>0 such that, for every natural number NNN (including 000), there exists a natural number nnn with N≤nN\le nN≤n and n≥3n\ge3n≥3 for which eγnlog⁡(log⁡n)+Cnlog⁡(log⁡n)(log⁡n)β≤∑d∣n, d>0de^\gamma n\log(\log n)+\dfrac{Cn\log(\log n)}{(\log n)^\beta}\le\sum_{d\mid n,\ d>0}deγnlog(logn)+(logn)βCnlog(logn)​≤∑d∣n, d>0​d. Here γ=lim⁡m→∞(∑j=1m1j−log⁡(m+1))\gamma=\lim_{m\to\infty}\left(\sum_{j=1}^{m}\frac1j-\log(m+1)\right)γ=limm→∞​(∑j=1m​j1​−log(m+1)) is the Euler–Mascheroni constant, the sum on the right is over the positive natural-number divisors of nnn, and the power in the denominator is a real power. The restriction n≥3n\ge3n≥3 ensures that the logarithms have positive arguments and the denominator is nonzero.

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