Lagarias elementary criterion (exact LeanEval definition)
DefinitionLeanEval_NumberTheory_LagariasElementaryCriterionFor a positive integer , let and . The Lagarias elementary criterion is the proposition
This definition names an arithmetic assertion; it does not assume or define the Riemann hypothesis. The inequality is non-strict, includes , excludes , and has no equality-only clause. Harmonic numbers are rational numbers cast to the reals, and the natural-valued divisor sum is also cast to the reals.
import Mathlib.NumberTheory.ArithmeticFunction.Misc
import Mathlib.NumberTheory.Harmonic.Defs
import Mathlib.NumberTheory.LSeries.RiemannZeta
namespace LeanEval.NumberTheory
open scoped ArithmeticFunction.sigma
def LagariasElementaryCriterion : Prop :=
∀ n : ℕ,
0 < n →
((σ 1 n : ℕ) : ℝ) ≤
(harmonic n : ℝ) +
Real.exp (harmonic n : ℝ) * Real.log (harmonic n : ℝ)
end LeanEval.NumberTheory
Read-back
What the Lean code literally says, in plain math · gpt-6-astra
The proposition LagariasElementaryCriterion is defined to mean that for every natural number , if , then , where the sum ranges over the positive divisors of , its natural-number value is viewed as a real number, and is computed as a rational number and then viewed as a real number. Here is the real exponential and is the natural logarithm; its argument satisfies under the hypothesis. The quantification includes , but the implication imposes no inequality in that case because its hypothesis is false.
Confirmed by the mission captain (proposal self-audit).