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
Development/AutomorphicArithmetic/CharacterBoxes/ClaimStrip.lean
1import Development.AutomorphicArithmetic.CharacterBoxes.HalfPlane23open Complex45namespace Claim67theorem factor_ne_zero {M : ℕ} (ψ : DirichletCharacter ℂ M) {s : ℂ} (hs : 0 < s.re) (p : ℕ)8    (hp : p.Prime) : (1 : ℂ) - ψ p * (p : ℂ) ^ (-s) ≠ 0 := by9  intro h10  have h1 : ψ p * (p : ℂ) ^ (-s) = 1 := by linear_combination -h11  have hp1 : (1 : ℝ) < p := by exact_mod_cast hp.one_lt12  have hpow : ‖(p : ℂ) ^ (-s)‖ < 1 := by13    rw [Complex.norm_natCast_cpow_of_pos hp.pos, Complex.neg_re]14    exact Real.rpow_lt_one_of_one_lt_of_neg hp1 (by linarith)15  have hn : ‖ψ p * (p : ℂ) ^ (-s)‖ < 1 := by16    rw [norm_mul]17    calc ‖ψ p‖ * ‖(p : ℂ) ^ (-s)‖ ≤ 1 * ‖(p : ℂ) ^ (-s)‖ := by18          gcongr; exact ψ.norm_le_one _19      _ < 1 := by rw [one_mul]; exact hpow20  rw [h1, norm_one] at hn21  exact lt_irrefl _ hn2223theorem prim_zero {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) [NeZero χ.conductor] {s : ℂ}24    (hs0 : 0 < s.re) (hs1 : s.re < 1) (h : DirichletCharacter.LFunction χ s = 0) :25    DirichletCharacter.LFunction χ.primitiveCharacter s = 0 := by26  have hs : s ≠ 1 := fun e => by rw [e, Complex.one_re] at hs1; exact lt_irrefl _ hs127  have key := DirichletCharacter.LFunction_changeLevel χ.conductor_dvd_level28    χ.primitiveCharacter (Or.inr hs)29  rw [χ.changeLevel_primitiveCharacter, h] at key30  rcases mul_eq_zero.mp key.symm with h' | h'31  · exact h'32  · obtain ⟨p, hp, hp0⟩ := Finset.prod_eq_zero_iff.mp h'33    exact absurd hp0 (factor_ne_zero _ hs0 p (Nat.prime_of_mem_primeFactors hp))3435theorem gamma_ne_zero {M : ℕ} [NeZero M] (φ : DirichletCharacter ℂ M) {t : ℂ} (ht : 0 < t.re) :36    DirichletCharacter.gammaFactor φ t ≠ 0 := by37  rcases φ.even_or_odd with hφ | hφ38  · rw [hφ.gammaFactor_def]; exact Complex.Gammaℝ_ne_zero_of_re_pos ht39  · rw [hφ.gammaFactor_def]40    exact Complex.Gammaℝ_ne_zero_of_re_pos (by rw [Complex.add_re, Complex.one_re]; linarith)4142theorem prim_reflect {M : ℕ} [NeZero M] (ψ : DirichletCharacter ℂ M) (hψ : ψ.IsPrimitive) {s : ℂ}43    (hs0 : 0 < s.re) (hs1 : s.re < 1) (h : DirichletCharacter.LFunction ψ s = 0) :44    DirichletCharacter.LFunction ψ⁻¹ (1 - s) = 0 := by45  have hs0' : s ≠ 0 := fun e => by rw [e, Complex.zero_re] at hs0; exact lt_irrefl _ hs046  have ht0 : 0 < (1 - s).re := by rw [Complex.sub_re, Complex.one_re]; linarith47  have ht0' : 1 - s ≠ 0 := fun e => by rw [e, Complex.zero_re] at ht0; exact lt_irrefl _ ht048  have hc : DirichletCharacter.completedLFunction ψ s = 0 := by49    rw [DirichletCharacter.LFunction_eq_completed_div_gammaFactor ψ s (Or.inl hs0'),50      div_eq_zero_iff] at h
104 linesLn 40UTF-8Raw