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
51    exact h.resolve_right (gamma_ne_zero ψ hs0)52  have hψ' : (ψ⁻¹).IsPrimitive := by53    rw [DirichletCharacter.isPrimitive_def, DirichletCharacter.conductor_inv]; exact hψ54  have fe := hψ'.completedLFunction_one_sub s55  rw [inv_inv, hc, mul_zero] at fe56  rw [DirichletCharacter.LFunction_eq_completed_div_gammaFactor ψ⁻¹ (1 - s) (Or.inl ht0'), fe,57    zero_div]5859theorem strip (h : HalfPlane) : Strip := by60  unfold HalfPlane at h61  intro N _ χ s hs0 hs1 hz62  have hs : s ≠ 1 := fun e => by rw [e, Complex.one_re] at hs1; exact lt_irrefl _ hs163  have hs0' : s ≠ 0 := fun e => by rw [e, Complex.zero_re] at hs0; exact lt_irrefl _ hs064  rcases lt_trichotomy s.re (1 / 2) with hlt | heq | hgt65  · exfalso66    haveI : NeZero χ.conductor := ⟨χ.conductor_ne_zero⟩67    have hp := prim_zero χ hs0 hs1 hz68    have hr := prim_reflect χ.primitiveCharacter χ.primitiveCharacter_isPrimitive hs0 hs1 hp69    have ht : (1 : ℂ) - s ≠ 1 := fun e => hs0' (sub_eq_self.mp e)70    exact h χ.conductor χ.primitiveCharacter⁻¹ (1 - s)71      (by rw [Complex.sub_re, Complex.one_re]; linarith) (Or.inr ht) hr72  · exact heq73  · exact absurd hz (h N χ s hgt (Or.inr hs))7475theorem zeta (h : HalfPlane) : Zeta := by76  intro s hz htriv hs177  have hs0 : s ≠ 0 := fun e => by rw [e, riemannZeta_zero] at hz; norm_num at hz78  rcases lt_or_ge 0 s.re with hpos | hnpos79  · rcases lt_or_ge s.re 1 with hlt1 | hge180    · have hL : DirichletCharacter.LFunction (1 : DirichletCharacter ℂ 1) s = 0 := by81        rw [DirichletCharacter.LFunction_modOne_eq]; exact hz82      exact strip h 1 1 s hpos hlt1 hL83    · exact absurd hz (riemannZeta_ne_zero_of_one_le_re hge1)84  · exfalso85    have hG : Gammaℝ s ≠ 0 := by86      intro hg87      obtain ⟨n, hn⟩ := Complex.Gammaℝ_eq_zero_iff.mp hg88      rcases n with _ | n89      · exact hs0 (by simpa using hn)90      · exact htriv ⟨n, by rw [hn]; push_cast; ring⟩91    have hc : completedRiemannZeta s = 0 := by92      rw [riemannZeta_def_of_ne_zero hs0, div_eq_zero_iff] at hz93      exact hz.resolve_right hG94    have h1s : 1 - s ≠ 0 := fun e => by95      have := congrArg Complex.re e96      rw [Complex.sub_re, Complex.one_re, Complex.zero_re] at this97      linarith98    have hz' : riemannZeta (1 - s) = 0 := by99      rw [riemannZeta_def_of_ne_zero h1s, completedRiemannZeta_one_sub, hc, zero_div]100    exact riemannZeta_ne_zero_of_one_le_re (by rw [Complex.sub_re, Complex.one_re]; linarith) hz'
104 linesLn 72UTF-8Raw