Lagarias's harmonic number inequality

Unlocked Lean-verified Analytic number theory

Statement

For every positive integer n, the sum of the divisors of n is at most H_n + exp(H_n) log(H_n), where H_n is the n-th harmonic number. Equality holds only for n = 1.

σ(n)≤Hn+eHnlog⁡Hn(n≥1),Hn=∑k=1n1k\sigma(n) \le H_n + e^{H_n}\log H_n \qquad (n \ge 1), \qquad H_n = \sum_{k=1}^{n} \frac{1}{k}

What it needs

  • RH Riemann Hypothesis Covered by the claim

    Every non-trivial zero of the Riemann zeta function has real part 1/2.

Status and why

Unlocked

Every hypothesis this result needs is covered by the announced proof. It follows from that proof, and stands or falls with it.

Every hypothesis listed above (RH) is covered by the announced proof.

Note. This inequality is equivalent to RH. The proof builds on Robin's inequality. The equivalence between RH and Lagarias's inequality for every positive n is formalized in Lean 4 in the repository cited below, stated with Mathlib's own definition of the Riemann Hypothesis. This project built that repository from source on 25 November 2026 and confirmed that the theorem compiles and depends only on Lean's three standard axioms. The formal statement is the inequality itself; the remark that equality holds only for n = 1 is not part of it. What is checked is the implication between RH and this inequality. It is not a check of the announced proof of RH, and it was run by an AI system, not reviewed by a person.

Sources

  1. Conditional proof J. C. Lagarias (2002). An elementary problem equivalent to the Riemann hypothesis. Amer. Math. Monthly 109, 534-543. doi:10.1080/00029890.2002.11919883
    Where the hypothesis is invoked: not yet recorded.
  2. Formalization kimihiro64 (GitHub) (2026). Robin1984: a Lean 4 formalization of Robin's criterion for the Riemann hypothesis. GitHub repository.
    Theorem Robin1984.riemann_hypothesis_iff_lagarias_elementary_criterion, stated against Mathlib's RiemannHypothesis

Review

Review state
Lean-verified The implication from the covered hypotheses to this result has been formalized in Lean and checked by the Lean kernel. This checks the logic of the implication. It is not a check of the announced proof, and not a review by a person.
Confidence
high
Checked by
Lean 4.33.1 kernel, in a build run for this project by an AI system (Claude) on 25 November 2026
Lean
Formalized: Robin1984.riemann_hypothesis_iff_lagarias_elementary_criterion in https://github.com/kimihiro64/Robin1984 at commit 5ce18bf3487c; see lean/README.md in this repository
Added
21 November 2026

Suggest a correction I checked this entry

Related entries

sum-of-divisors harmonic-numbers equivalent-to-rh