Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
fix(New/Spanning/RemainingTerms/FrameCount): place helper above theorem docstring
Rohan Arun4cbf061ef090
diff --git a/src/New/Spanning/RemainingTerms/FrameCount.lean b/src/New/Spanning/RemainingTerms/FrameCount.leanindex 1660b5b9ddf..321d0e4925c 100644--- a/src/New/Spanning/RemainingTerms/FrameCount.lean+++ b/src/New/Spanning/RemainingTerms/FrameCount.lean@@ -274,13 +274,6 @@ lemma norm_basisScale_besselFrame_le [S.IsAdmissible] (v : InfinitePlace E) (a k← mul_div_assoc]gcongr-/-- Let `S` satisfy the standing hypotheses `S.IsAdmissible` on the level and the sizes, and let `v`-be an infinite place of the CM field `E`. Let the frame vectors `z⁻¹ f_k` at `z` have length at most-`S.frameBoxRadius = b ^ (37 n)`. Take their combination whose coefficients are numbers `x k` of norm-at most `B` divided by the scale factors `S.basisScale v` of the normalised basis. Its length is at-most `B b ^ (1 + 23 ϱ + 37 n)` divided by the norm of the scale factor of any frame vector `a`,-where `b = S.b` and `n = ϱ + 1`. -/-/-- Bound the norm of a single summand `(x k / S.basisScale v (𝔰.besselFrame k)) • frameVector z k`for `z ∈ frameBox S.frameBoxRadius` and `‖x k‖ ≤ B`. -/private lemma norm_div_basisScale_smul_frameVector_le [S.IsAdmissible] {z : 𝔰.G₁}@@ -296,6 +289,12 @@ private lemma norm_div_basisScale_smul_frameVector_le [S.IsAdmissible] {z : 𝔰have h_frame : ‖frameVector z k‖ ≤ S.b ^ (37 * 𝔰.n) := h_box kgrw [norm_smul, norm_div, div_eq_mul_inv, hx k, h_scale, h_frame]+/-- Let `S` satisfy the standing hypotheses `S.IsAdmissible` on the level and the sizes, and let `v`+be an infinite place of the CM field `E`. Let the frame vectors `z⁻¹ f_k` at `z` have length at most+`S.frameBoxRadius = b ^ (37 n)`. Take their combination whose coefficients are numbers `x k` of norm+at most `B` divided by the scale factors `S.basisScale v` of the normalised basis. Its length is at+most `B b ^ (1 + 23 ϱ + 37 n)` divided by the norm of the scale factor of any frame vector `a`,+where `b = S.b` and `n = ϱ + 1`. -/lemma norm_sum_div_basisScale_smul_frameVector_le [S.IsAdmissible] {z : 𝔰.G₁}(h_box : z ∈ frameBox S.frameBoxRadius) (v : InfinitePlace E) {x : Fin (𝔰.ϱ + 1) → ℂ} {B : ℝ}