Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
refactor(New/OneLift/ComparisonOperator/GluedForms): remove the seal on weylGauge_cartanProduct_le
roy7677cda50fb53
diff --git a/src/New/OneLift/ComparisonOperator/GluedForms.lean b/src/New/OneLift/ComparisonOperator/GluedForms.leanindex 01d58c4a438..b7546aba2b3 100644--- a/src/New/OneLift/ComparisonOperator/GluedForms.lean+++ b/src/New/OneLift/ComparisonOperator/GluedForms.lean@@ -698,8 +698,13 @@ private lemma block_inv_columns [DecidableEq N] [DecidableEq m]obtain ⟨i | i, rfl⟩ := e.surjective i <;>simp [inclMatrix, Matrix.mul_apply, Matrix.one_apply]--- Keeps definitional checks from unfolding the finite sums.-seal Finset.univ in+/-- The sup norm of `(vecMulVec x y)ᵀ.vec`, the products `x i * y j` indexed by the pairs `(i, j)`,+is at most `‖x‖ * ‖y‖`. -/+private lemma norm_vec_transpose_vecMulVec_le {α β K : Type*} [Fintype α] [Fintype β]+ [NormedRing K] {x : α → K} {y : β → K} {r s : ℝ} (hx : ‖x‖ ≤ r) (hy : ‖y‖ ≤ s) :+ ‖(vecMulVec x y)ᵀ.vec‖ ≤ r * s :=+ norm_mul_le_of_le ((pi_norm_comp_le x Prod.fst).trans hx) ((pi_norm_comp_le y Prod.snd).trans hy)+/-- Let `V.ε : N ⊕ m ≃ n` split the indices, let `ι` be a p-adic place, and let `M ≠ 0` lie in theideal of `O.levelModulus 1 false`, the product of the chosen places of `O`. Let the lattice `L` withpoint `γ = L.point` be glued for `s`. The diagrams `O.colsPlus` and `O.colsMinus` count the columns@@ -748,7 +753,7 @@ lemma weylGauge_cartanProduct_le [DecidableEq m] [DecidableEq N]funext fun x ↦ congrArg ιₚ (star_star (η x)).symmrw [weylGauge, map_cartanProduct V.hasColumnsBelow.1 V.hasColumnsBelow.2 (f := ιₚ), hη,weylRep_mulVec_cartanProduct V.hasColumnsBelow.1 V.hasColumnsBelow.2]- rw [denominatorExponent, sum_add_distrib, pow_add, mul_mul_mul_comm]+ rw [denominatorExponent, sum_add_distrib, pow_add, mul_mul_mul_comm, cartanProduct_apply]refine (norm_mulVec_le (c := 1) (by simp [norm_intCast_le_one]) _).trans((one_mul _).trans_le ?_)-- `g` is unitary, so the transpose of `g` is the conjugate of `g⁻¹`, and conjugation on `E`@@ -764,8 +769,7 @@ lemma weylGauge_cartanProduct_le [DecidableEq m] [DecidableEq N]rw [U.inv_val_eq_conjTranspose]ext i jexact ((adeleExtension_star ..).trans (by rw [h_conj]; rfl)).symm- exact norm_mul_le_of_le ((pi_norm_comp_le (_ *ᵥ _) _).trans h_big)- ((pi_norm_comp_le (_ *ᵥ _) _).trans (by simpa only [h_transpose] using h_small))+ exact norm_vec_transpose_vecMulVec_le h_big (by simpa only [h_transpose] using h_small)end New.Rows.DividedSplitting