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/SharpRestriction/RamificationFrobenius/TotientGaloisClasses/ExplicitFormulaErrorOfHostConditions.lean
51    (ψ : DirichletCharacter ℂ d) (hd : d ∣ N) (hc : DirichletCharacter.changeLevel hd ψ = χ)52    (h1 : ψ.IsPrimitive) (h2 : χ.IsPrimitive) (he : d = N) :53    PChar.mk d ψ h1 = PChar.mk N χ h2 := by54  subst he55  rw [DirichletCharacter.changeLevel_self] at hc56  subst hc57  rfl5859theorem PChar.of_self (ψ : PChar) : PChar.of ψ.χ = ψ := by60  haveI : NeZero ψ.χ.conductor := ⟨ψ.χ.conductor_ne_zero⟩61  exact pchar_mk_eq_of_changeLevel_eq_self_of_primitive ψ.χ ψ.χ.primitiveCharacter ψ.χ.conductor_dvd_level62    ψ.χ.changeLevel_primitiveCharacter ψ.χ.primitiveCharacter_isPrimitive ψ.prim ψ.prim6364private theorem pchar_mk_eq_one_of_level_eq_one {d : ℕ} [NeZero d] (ψ : DirichletCharacter ℂ d) (h : ψ.IsPrimitive)65    (he : d = 1) : PChar.mk d ψ h = PChar.one := by66  subst he67  obtain rfl := DirichletCharacter.level_one ψ68  rfl6970theorem PChar.of_one (M : ℕ) [NeZero M] : PChar.of (1 : DirichletCharacter ℂ M) = PChar.one := by71  haveI : NeZero (1 : DirichletCharacter ℂ M).conductor :=72    ⟨(1 : DirichletCharacter ℂ M).conductor_ne_zero⟩73  exact pchar_mk_eq_one_of_level_eq_one _ _ DirichletCharacter.conductor_one7475private theorem pchar_mk_eq_of_changeLevel_eq_of_level_eq {M d e : ℕ} [NeZero M] [NeZero d] [NeZero e]76    (χ : DirichletCharacter ℂ M) (ψ : DirichletCharacter ℂ d) (φ : DirichletCharacter ℂ e)77    (hd : d ∣ M) (he' : e ∣ M) (hde : d = e) (hψ : DirichletCharacter.changeLevel hd ψ = χ)78    (hφ : DirichletCharacter.changeLevel he' φ = χ) (p1 : ψ.IsPrimitive) (p2 : φ.IsPrimitive) :79    PChar.mk d ψ p1 = PChar.mk e φ p2 := by80  subst hde81  have hq : ψ = φ := DirichletCharacter.changeLevel_injective hd (hψ.trans hφ.symm)82  subst hq83  rfl8485private theorem conductor_inv_dvd_conductor {M : ℕ} [NeZero M] (χ : DirichletCharacter ℂ M) :86    χ⁻¹.conductor ∣ χ.conductor := by87  apply DirichletCharacter.conductor_dvd_of_mem_conductorSet88  exact ⟨χ.conductor_dvd_level, χ.primitiveCharacter⁻¹,89    by rw [map_inv, DirichletCharacter.changeLevel_primitiveCharacter]⟩9091private theorem conductor_inv_eq_conductor {M : ℕ} [NeZero M] (χ : DirichletCharacter ℂ M) :92    χ⁻¹.conductor = χ.conductor := by93  apply Nat.dvd_antisymm (conductor_inv_dvd_conductor χ)94  simpa using conductor_inv_dvd_conductor χ⁻¹9596theorem PChar.of_inv {M : ℕ} [NeZero M] (χ : DirichletCharacter ℂ M) : PChar.of χ⁻¹ = (PChar.of χ).inv := by97  haveI : NeZero χ.conductor := ⟨χ.conductor_ne_zero⟩98  haveI : NeZero χ⁻¹.conductor := ⟨χ⁻¹.conductor_ne_zero⟩99  exact pchar_mk_eq_of_changeLevel_eq_of_level_eq χ⁻¹ χ⁻¹.primitiveCharacter χ.primitiveCharacter⁻¹ χ⁻¹.conductor_dvd_level100    χ.conductor_dvd_level (conductor_inv_eq_conductor χ) χ⁻¹.changeLevel_primitiveCharacter
168 linesLn 63UTF-8Raw