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/GammaFactorNonvanishing/CritLine.lean
1import Development.AutomorphicArithmetic.CharacterBoxes.EveryCharacter2import Formalism.GammaFactorNonvanishing.RhOfRight34open Complex DirichletCharacter56theorem Formalism.VW.gammaFactor_ne_zero {N : ℕ} (χ : DirichletCharacter ℂ N) {s : ℂ} (hs : 0 < s.re) : gammaFactor χ s ≠ 0 := by7  rcases χ.even_or_odd with h | h8  · rw [h.gammaFactor_def]; exact Gammaℝ_ne_zero_of_re_pos hs9  · rw [h.gammaFactor_def]; exact Gammaℝ_ne_zero_of_re_pos (by rw [add_re, one_re]; linarith)1011theorem Formalism.VW.critLine (h : UpperTheory.EveryCharacter) (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N) (hχ : χ.IsPrimitive) (s : ℂ)12    (h0 : 0 < s.re) (h1 : s.re < 1) (hz : LFunction χ s = 0) : s.re = 1 / 2 := by13  have hs0 : s ≠ 0 := fun e => by simp [e] at h014  have hs1 : s ≠ 1 := fun e => by simp [e] at h115  by_contra hne16  rcases lt_or_gt_of_ne hne with hlt | hgt17  · have hinv : χ⁻¹.IsPrimitive := by18      rw [isPrimitive_def, conductor_inv]; exact hχ19    have hc : completedLFunction χ s = 0 := by20      rw [LFunction_eq_completed_div_gammaFactor χ s (Or.inl hs0)] at hz21      exact (div_eq_zero_iff.1 hz).resolve_right (Formalism.VW.gammaFactor_ne_zero χ h0)22    have hfe := hinv.completedLFunction_one_sub s23    rw [inv_inv, hc, mul_zero] at hfe24    have h2 : (1 - s) ≠ 0 := sub_ne_zero.2 hs1.symm25    refine h N χ⁻¹ (1 - s) (by rw [sub_re, one_re]; linarith) (Or.inr fun e => hs0 (by linear_combination -e)) ?_26    rw [LFunction_eq_completed_div_gammaFactor χ⁻¹ (1 - s) (Or.inl h2), hfe, zero_div]27  · exact h N χ s hgt (Or.inr hs1) hz2829theorem Formalism.VW.rh_of_every (h : UpperTheory.EveryCharacter) : RiemannHypothesis :=30  Formalism.VW.rh_of_right fun s hs hs1 => by31    have := h 1 (1 : DirichletCharacter ℂ 1) s hs (Or.inr hs1)32    rwa [LFunction_modOne_eq] at this
32 linesLn 17UTF-8Raw