Proof AtlasMCP access
ProofsNumber theory

Lean proof review
The Riemann Hypothesis

Unverified claim

A proposed Lean proof that every nontrivial zero of ζ(s) has real part ½.

Lean 4Number theoryƒDirichlet L-functions
Formalism/StatementOC.lean
1import Formalism.Statement23open Complex MeasureTheory Set Filter Topology45noncomputable section67namespace Formalism89open ArithmeticFunction in1011def Sz (x : ℝ) : ℝ := ∑ n ∈ Finset.Icc 1 ⌊x⌋₊, Λ n * (x / n - 1)1213def Gz (x : ℝ) : ℝ := Sz x - x * Real.log x + (1 + Real.eulerMascheroniConstant) * x1415open ArithmeticFunction in1617def Schi {N : ℕ} (χ : DirichletCharacter ℂ N) (x : ℝ) : ℝ :=18  ∑ n ∈ Finset.Icc 1 ⌊x⌋₊, Λ n * (χ n).re * (x / n - 1)1920def Gchi {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (x : ℝ) : ℝ :=21  Schi χ x + (deriv (DirichletCharacter.LFunction χ) 1 / DirichletCharacter.LFunction χ 1).re * x2223def OCStep : Prop :=24  ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N), χ ≠ 1 → (∀ n : ℕ, (χ n).im = 0) →25  ∀ θ : ℝ, 0 < θ → θ < 1 →26  (∃ C : ℝ, ∀ x : ℝ, 1 ≤ x → -C * x ^ θ ≤ Gz x - Gchi χ x) →27  (∀ σ : ℝ, θ < σ → σ < 1 → DirichletCharacter.LFunction χ σ ≠ 0) ∧28  ∀ s : ℂ, θ < s.re → s ≠ 1 →29    analyticOrderAt riemannZeta s = analyticOrderAt (DirichletCharacter.LFunction χ) s3031def OCStepUpper : Prop :=32  ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N), χ ≠ 1 → (∀ n : ℕ, (χ n).im = 0) →33  ∀ θ : ℝ, 0 < θ → θ < 1 →34  (∀ σ : ℝ, θ < σ → σ < 1 → DirichletCharacter.LFunction χ σ ≠ 0) →35  (∃ C : ℝ, ∀ x : ℝ, 1 ≤ x → Gz x - Gchi χ x ≤ C * x ^ θ) →36  ∀ s : ℂ, θ < s.re → s ≠ 1 →37    analyticOrderAt riemannZeta s = analyticOrderAt (DirichletCharacter.LFunction χ) s3839def OCAvg : Prop :=40  ∀ (ι : Type) [Fintype ι] (N : ι → ℕ) [∀ i, NeZero (N i)]41    (χ : (i : ι) → DirichletCharacter ℂ (N i)) (w : ι → ℝ),42  (∀ i, χ i ≠ 1) → (∀ i (n : ℕ), (χ i n).im = 0) → (∀ i, 0 ≤ w i) → 0 < ∑ i, w i →43  ∀ θ : ℝ, 0 < θ → θ < 1 →44  (∃ C : ℝ, ∀ x : ℝ, 1 ≤ x → -C * x ^ θ ≤ ∑ i, w i * (Gz x - Gchi (χ i) x)) →45  (∀ i, 0 < w i → ∀ σ : ℝ, θ < σ → σ < 1 → DirichletCharacter.LFunction (χ i) σ ≠ 0) ∧46  ∀ s : ℂ, θ < s.re → s ≠ 1 →47    analyticOrderAt riemannZeta s ≠ ⊤ ∧48    (∀ i, analyticOrderAt (DirichletCharacter.LFunction (χ i)) s ≠ ⊤) ∧49    (∑ i, w i) * (analyticOrderNatAt riemannZeta s : ℝ) =50      ∑ i, w i * (analyticOrderNatAt (DirichletCharacter.LFunction (χ i)) s : ℝ)
73 linesLn 2UTF-8Raw