Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
fix(New/Derivatives/FormalGroup/Resolution): use section binders and call helper directly
Rohan Arunb3e3d74122e8
diff --git a/src/New/Derivatives/FormalGroup/Resolution.lean b/src/New/Derivatives/FormalGroup/Resolution.leanindex 5d895610705..24f466fb101 100644--- a/src/New/Derivatives/FormalGroup/Resolution.lean+++ b/src/New/Derivatives/FormalGroup/Resolution.lean@@ -128,7 +128,7 @@ noncomputable def daggerForms [PadicPlace p] (u : J → n → E) (j : J) (x : In/-- For a resolution datum `(u, m)` and integral `ℂ_p` lifts `ν`, `μ` of the frame anddual-form values at `x`, the weighted sum `∑ j, m j * ν j * μ j y` equals `1` if `x = y` and`0` otherwise. -/-private lemma sum_mul_valRingCp_eq_ite [PadicPlace p] [Fintype n]+private lemma sum_mul_valRingCp_eq_ite [Fintype n]{u : J → n → E} {m : J → ℕ} (hu : IsResolution u m) (x : InfinitePlace E × n){ν : J → valRingCp p} {μ : J → InfinitePlace E × n → valRingCp p}(hν : ∀ j : J, (ν j : ℂ_[p]) = ιₚ (Φ x.1 (u j x.2)))@@ -137,7 +137,6 @@ private lemma sum_mul_valRingCp_eq_ite [PadicPlace p] [Fintype n]∑ j : J, m j * ν j * μ j y = if x = y then 1 else 0 := byextsimpa [hν, hμ, daggerForms, mul_assoc, apply_ite] using congrArg ιₚ (hu x y)-/-- Let `∑ m_j u_j u_j† = 1` (`IsResolution u m`), where `u j` in `Eⁿ` is read as the complex vectorwith coordinates `Φ w (u j c)`, and fix `x = (w, c)`. Suppose the integral elements `ν j` of `ℂ_p`are the images of `Φ w (u j c)` under the embedding `ιₚ` of `ℂ`, and the integral vectors `μ j` are