Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
fix: pass shifted product formula into periodic_and_mdifferentiable_transvection
Rohan Arun3f83cde86950
diff --git a/src/Lib/DiscreteSeries/Holomorphic/PeaksAwayFromCusp.lean b/src/Lib/DiscreteSeries/Holomorphic/PeaksAwayFromCusp.leanindex e402f138b9b..b9672a0513f 100644--- a/src/Lib/DiscreteSeries/Holomorphic/PeaksAwayFromCusp.lean+++ b/src/Lib/DiscreteSeries/Holomorphic/PeaksAwayFromCusp.lean@@ -447,7 +447,7 @@ lemma New.Rows.tendsto_prod_div_sqrt_atImInfty {ι : Type} [Fintype ι] [Nonemptweight-`u` holomorphic function `F` invariant under the real transvection `t = x (1 + i)` extendsto a `1`-periodic holomorphic function `φ ∘ x` on the upper half plane. -/private lemma New.Rows.periodic_and_mdifferentiable_transvection {E n : Type} [Field E] [CMType E]- [Fintype n] [DecidableEq n] {s : n → ℤˣ} {o : n → ℤ} {u : InfinitePlace E → n → ℤ}+ [Fintype n] [DecidableEq n] {s : n → ℤˣ} {u : InfinitePlace E → n → ℤ}{F : GInf E s → ℂ} {φ : (InfinitePlace E → Matrix n n ℂ) → ℂ}{a : InfinitePlace E → ℂ} {y : InfinitePlace E → n → ℂ} {t : GInf E s}(iso : ∀ w : InfinitePlace E, star (y w) ⬝ᵥ signMatrix s *ᵥ y w = 0)@@ -456,12 +456,11 @@ private lemma New.Rows.periodic_and_mdifferentiable_transvection {E n : Type} [F1 - a w • vecMulVec (y w) (star (y w)) * signMatrix s)(t_fix : ∀ h : GInf E s, F (t * h) = F h)(h : ℍ → InfinitePlace E → USign s) (b : ℍ → InfinitePlace E → Matrix n n ℂ)- (b_tri : ∀ z w, IsBorelMatrix o (b z w))(x_eq : ∀ (z : ℍ) w, 1 - (a w * ((z : ℂ) - .I)) • vecMulVec (y w) (star (y w)) *signMatrix s = h z w * b z w)- (φ_eq : ∀ (h' : InfinitePlace E → USign s) (b' : InfinitePlace E → Matrix n n ℂ),- (∀ w, IsBorelMatrix o (b' w)) →- φ (fun w ↦ h' w * b' w) = (∏ w, diagChar (u w) (b' w)) * F h')+ (φ_shift_eq : ∀ z : ℍ,+ φ (fun w ↦ ((t * h z) w : USign s) * b z w) =+ (∏ w, diagChar (u w) (b z w)) * F (t * h z))(f_eq : ∀ z : ℍ,φ (fun w ↦ 1 - (a w * ((z : ℂ) - .I)) • vecMulVec (y w) (star (y w)) * signMatrix s) =(∏ w, diagChar (u w) (b z w)) * F (h z))@@ -484,7 +483,7 @@ private lemma New.Rows.periodic_and_mdifferentiable_transvection {E n : Type} [Fsimp [mul_assoc]calc ((fun z : ℍ ↦ φ (x z)) ∘ ofComplex) (z + 1) = φ (x (z + 1)) := bysimp [ofComplex_apply_eq_ite, hz]- _ = φ (x z') := by rw [x_shift, φ_eq _ _ (b_tri z'), t_fix, f_eq]+ _ = φ (x z') := by rw [x_shift, φ_shift_eq z', t_fix, f_eq]_ = ((fun z : ℍ ↦ φ (x z)) ∘ ofComplex) z := by simp [ofComplex_apply_eq_ite, hz, z']· simp [hz, ofComplex_apply_eq_ite]· have φ_analytic : AnalyticAt ℂ φ (x z) := by@@ -557,9 +556,12 @@ lemma New.Rows.norm_le_of_transvection_invariant {E n : Type} [Field E] [CMTypehave f_zero : IsZeroAtImInfty f := byrefine squeeze_zero_norm f_le ?_simpa using (tendsto_prod_div_sqrt_atImInfty (fun w ↦ (2 * A * η w).exp) η_pos).const_mul C+-- periodicity and holomorphy along the complexified transvectionobtain ⟨f_per, f_hol⟩ :=- periodic_and_mdifferentiable_transvection iso t_eq t_fix h b b_tri x_eq φ_eq f_eq+ periodic_and_mdifferentiable_transvection iso t_eq t_fix h b x_eq+ (fun z ↦ φ_eq _ _ (b_tri z))+ (fun z ↦ (congr_arg φ (funext (x_eq z))).trans (φ_eq _ _ (b_tri z)))fun z ↦ (hφ _ _ (b_tri z) (by simp)).1-- the Schwarz lemma with the bound `C * e ^ 2`rw [← f_I, exp_add, ← mul_assoc]