feat: formal statements of Robin's and Lagarias' inequalities equivalent to RH#37585
feat: formal statements of Robin's and Lagarias' inequalities equivalent to RH#37585cascone26 wants to merge 1 commit intoleanprover-community:masterfrom
Conversation
…ent to RH Adds `Mathlib.NumberTheory.LSeries.RobinInequality` with: - `robinBound`: the Robin bound e^γ · n · ln(ln(n)) - `lagariasBound`: the Lagarias bound H_n + exp(H_n) · ln(H_n) - `robin_iff_RH`: Robin's inequality ↔ RiemannHypothesis (statement; proof sorry) - `lagarias_iff_RH`: Lagarias' inequality ↔ RiemannHypothesis (statement; proof sorry) The proofs reference Robin (1984) and Lagarias (2002). The formal statements are new to Mathlib. Proofs are left as `sorry` and marked as future work.
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary 6ef8cc2731Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Summary
This PR adds
Mathlib/NumberTheory/LSeries/RobinInequality.lean, which contains formal Lean 4 statements of two classical equivalences of the Riemann Hypothesis:Robin's theorem (1984): RH ↔ σ₁(n) < e^γ · n · ln(ln(n)) for all n > 5040
Lagarias' theorem (2002): RH ↔ σ₁(n) ≤ H_n + exp(H_n) · ln(H_n) for all n ≥ 1
New declarations
robinBound (n : ℕ) : ℝ— the Robin bound e^γ · n · ln(ln(n))lagariasBound (n : ℕ) : ℝ— the Lagarias bound H_n + exp(H_n) · ln(H_n)robin_iff_RH : RiemannHypothesis ↔ ∀ n > 5040, σ₁(n) < robinBound nlagarias_iff_RH : RiemannHypothesis ↔ ∀ n ≥ 1, σ₁(n) ≤ lagariasBound nStatus
The statements are complete and use existing Mathlib primitives:
ArithmeticFunction.sigmafor σ₁Real.eulerMascheroniConstantfor γharmonicfor H_n (with ℚ → ℝ coercion)RiemannHypothesisfromMathlib.NumberTheory.LSeries.RiemannZetaThe proofs are currently
sorry. The Robin direction (RH → inequality) requires analytic number theory following Robin's original 1984 paper. The converse uses Gronwall's theorem on superior highly composite numbers. Both are substantial Mathlib projects in their own right.This PR establishes the formal statements as a foundation for future proof work. These equivalences are not currently formalized anywhere in Mathlib.
References
Note on
sorryI'm aware Mathlib does not merge
sorry-laden PRs in general. I'm submitting this as a draft to: