Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
chore: omit unused section variables in ThetaKernelDefs and ThetaLiftGauge
Ved Joshiec1b306948ae
diff --git a/src/Lib/Weil/CompactLift/ThetaKernelDefs.lean b/src/Lib/Weil/CompactLift/ThetaKernelDefs.leanindex 660e525e94a..76acdf62c36 100644--- a/src/Lib/Weil/CompactLift/ThetaKernelDefs.lean+++ b/src/Lib/Weil/CompactLift/ThetaKernelDefs.lean@@ -222,6 +222,7 @@ lemma coe_map_conj_inv_eq_transpose (u : USign (1 : n → ℤˣ)) :ext i jsimp [h_inv]+omit [DecidableEq n] [DecidableEq n'] in/-- For a covector A, a vector ξ and a power series F, A paired with the Schur jet matrix of Fapplied to ξ is the jet of F along the polynomial Aᵀ S_κ(z) ξ. -/lemma dotProduct_schurJet_mulVec (A : WeylIndex n' κ → ℂ) (ξ : WeylIndex n κ → ℂ)diff --git a/src/New/UpperBound/Kernels/ThetaLiftGauge.lean b/src/New/UpperBound/Kernels/ThetaLiftGauge.leanindex 396a890c336..4c6d92a3b06 100644--- a/src/New/UpperBound/Kernels/ThetaLiftGauge.lean+++ b/src/New/UpperBound/Kernels/ThetaLiftGauge.lean@@ -128,6 +128,7 @@ noncomputable def New.diagonalWeight {p : ℕ} [Fact p.Prime](∏ b : n, ‖u τ b‖) ^ e τ *∏ h : Fin (card n), ∏ j : Fin (κ τ h), ∏ t : Fin h, ‖u τ ((i τ).val h j t)‖+omit [DecidableEq n] inlemma New.diagonalWeight_nonneg {p : ℕ} [Fact p.Prime](e : NumberField.InfinitePlace (P.E s) → ℤ)(u : NumberField.InfinitePlace (P.E s) → n → ℂ_[p]) (i : WeylIndex n κ) :@@ -135,6 +136,7 @@ lemma New.diagonalWeight_nonneg {p : ℕ} [Fact p.Prime]unfold diagonalWeightpositivity+omit [DecidableEq n] inlemma New.diagonalWeight_one {p : ℕ} [Fact p.Prime](e : NumberField.InfinitePlace (P.E s) → ℤ) (i : WeylIndex n κ) :diagonalWeight e (1 : NumberField.InfinitePlace (P.E s) → n → ℂ_[p]) i = 1 := by