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/PrimitiveCosets/LevelFamily.lean
1import Development.AutomorphicArithmetic.PrimitiveCosets.CoreAtH2import Development.AutomorphicArithmetic.PrimitiveCosets.GChiEq3import Development.AutomorphicArithmetic.PrimitiveCosets.GzEq45open UpperTheory.Comparison₂ Deduction.CH Formalism Formalism.HC Formalism.D5 Formalism.RankGapBounds.WeightedMeanData Formalism.LFunctionChainParameters.WeightedSlopeBounds Formalism.LFunctionChainParameters.characterSumData Formalism.LFunctionChainParameters.ThickSetMeanBounds Formalism.LFunctionChainParameters.LErr6  Formalism.LFunctionChainParameters.LChain Formalism.LFunctionChainParameters.LHost78open Classical in9private noncomputable def UpperTheory.Comparison₂.level_family_wt (Λ : Level) (ψ : PChar) : ℝ :=10  if ψ = PChar.one then 1 else Λ.wt ψ1112private theorem UpperTheory.Comparison₂.level_family_wt_pos (Λ : Level) (ψ : PChar) : 0 < UpperTheory.Comparison₂.level_family_wt Λ ψ := by13  unfold UpperTheory.Comparison₂.level_family_wt Level.wt14  split_ifs15  · exact one_pos16  · exact one_pos17  · positivity1819private theorem UpperTheory.Comparison₂.level_family_adm (ψ : PChar) : ψ.N = 1 ∨ ψ.χ ≠ 1 := by20  by_cases h : ψ.χ = 121  · left22    have hp := ψ.prim23    rw [DirichletCharacter.IsPrimitive, h, DirichletCharacter.conductor_one] at hp24    exact hp.symm25  · exact Or.inr h2627private theorem UpperTheory.Comparison₂.level_family_sum (Λ : Level) (y : ℝ) :28    ∑ ψ ∈ Λ.KEPT, UpperTheory.Comparison₂.level_family_wt Λ ψ * (Deduction.Gchi ψ.χ y).re = Λ.Gm y := by29  classical30  rw [← Finset.add_sum_erase _ _ Λ.one_mem, Level.Gm, Level.Nt]31  congr 132  · have h1 : UpperTheory.Comparison₂.level_family_wt Λ PChar.one = 1 := by33      simp [UpperTheory.Comparison₂.level_family_wt]34    rw [h1, one_mul, ← gChi_eq, (Gz_eq y).1]35    simp only [An.gChi, PChar.one]36    exact (congrArg Complex.re (if_pos rfl)).trans (Complex.ofReal_re _)37  · refine Finset.sum_congr (by congr) fun ψ hψ => ?_38    have hne : ψ ≠ PChar.one := Finset.ne_of_mem_erase hψ39    simp only [UpperTheory.Comparison₂.level_family_wt, if_neg hne, gChi_eq]4041theorem UpperTheory.Comparison₂.level_family :42    ∀ Λ : Level, ∃ F : Deduction.CharFamily, (∀ y, Deduction.Gm F y = Λ.Gm y) ∧ ∀ θ, Deduction.ZeroFree F θ ↔ Λ.ZeroFreeAbove θ := by43  intro Λ44  refine ⟨@Deduction.CharFamily.mk Λ.KEPT _ (fun i => i.1.N) (fun i => i.1.ne) (fun i => i.1.χ) (fun i => UpperTheory.Comparison₂.level_family_wt Λ i.1) (fun i => UpperTheory.Comparison₂.level_family_wt_pos Λ i.1) (fun i => UpperTheory.Comparison₂.level_family_adm i.1), fun y => ?_, fun θ => ?_⟩45  · rw [← UpperTheory.Comparison₂.level_family_sum Λ y, Deduction.Gm]46    exact Finset.sum_coe_sort Λ.KEPT (fun ψ => UpperTheory.Comparison₂.level_family_wt Λ ψ * (Deduction.Gchi ψ.χ y).re)47  · simp only [Deduction.ZeroFree, Level.ZeroFreeAbove, PChar.ZeroFreeAbove]48    constructor49    · intro h ψ hψ s hs50      exact h ⟨ψ, hψ⟩ s hs
52 linesLn 28UTF-8Raw