Skip to content

Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.

Python

refactor(New/Spanning/Bessel/SobolevBound): extract strict cube-to-ball norm bound

Rohan Arunafd669a70a71
diff --git a/src/New/Spanning/Bessel/SobolevBound.lean b/src/New/Spanning/Bessel/SobolevBound.lean
index 14c198677ba..e529c800d4b 100644
--- a/src/New/Spanning/Bessel/SobolevBound.lean
+++ b/src/New/Spanning/Bessel/SobolevBound.lean
@@ -430,6 +430,22 @@ lemma New.RealPlace.sobolev_const_mul_le_pow {P N Λ : ℝ} (hP : 8 ≤ P) (h_no
_ = 8 * P ^ 268 := by ring
_ ≤ P ^ 275 := by grw [hP, ← pow_succ', pow_le_pow_right₀ one_le (by norm_num : 268 + 1 ≤ 275)]
+/-- Bound the norm of `e x` strictly below `(P ^ 6)⁻¹` for `x` in the cube
+`[0, (P ^ 8)⁻¹] ^ FrameCoord` when `‖e x‖ ≤ P ^ 2 * ‖x‖ / 8` and `0 < P`. -/
+private lemma New.RealPlace.norm_apply_lt_inv_pow_six_of_mem_cube {𝔰 : Shape} {P : ℝ}
+ (hP : 0 < P) {e : (𝔰.FrameCoord → ℝ) ≃L[ℝ] 𝔰.FrameMatrix}
+ (he : ∀ x : 𝔰.FrameCoord → ℝ, ‖e x‖ ≤ P ^ 2 * ‖x‖ / 8)
+ {x : 𝔰.FrameCoord → ℝ}
+ (hx : x ∈ Set.Icc (0 : 𝔰.FrameCoord → ℝ) fun _ ↦ (P ^ 8)⁻¹) :
+ ‖e x‖ < (P ^ 6)⁻¹ := by
+ have norm_x_le : ‖x‖ ≤ (P ^ 8)⁻¹ := by
+ simpa [abs_of_pos hP] using dist_le_of_mem_pi_Icc hx (Set.left_mem_Icc.2 (hx.1.trans hx.2))
+ calc ‖e x‖ ≤ P ^ 2 * (P ^ 8)⁻¹ / 8 := by grw [he x, norm_x_le]
+ _ = (P ^ 6)⁻¹ / 8 := by
+ rw [show P ^ 8 = P ^ 2 * P ^ 6 by ring, mul_inv, ← mul_assoc,
+ mul_inv_cancel₀ (pow_ne_zero 2 hP.ne'), one_mul]
+ _ < (P ^ 6)⁻¹ := div_lt_self (by positivity) (by norm_num)
+
/-- For `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, there are real coordinates
`x ↦ Z + e x` on the complex matrices of size `ϱ + 1`, preserving Lebesgue measure, in which the
coordinate vectors have operator norm at most `P ^ 2 / 4` and the cube of the `x` with all
@@ -454,13 +470,7 @@ lemma New.RealPlace.exists_real_coordinates_mapsTo_ball {𝔰 : Shape} {P : ℝ}
refine ⟨e, e_preserving, fun j ↦ ?_, fun x hx ↦ add_mem_ball_iff_norm.2 ?_⟩
· grw [norm_e_le, Pi.norm_single, norm_one]
linarith [sq_nonneg P]
- · have norm_x_le : ‖x‖ ≤ (P ^ 8)⁻¹ := by
- simpa [abs_of_pos P_pos] using dist_le_of_mem_pi_Icc hx (left_mem_Icc.2 (hx.1.trans hx.2))
- calc ‖e x‖ ≤ P ^ 2 * (P ^ 8)⁻¹ / 8 := by grw [norm_e_le, norm_x_le]
- _ = (P ^ 6)⁻¹ / 8 := by
- rw [show P ^ 8 = P ^ 2 * P ^ 6 by ring, mul_inv, ← mul_assoc,
- mul_inv_cancel₀ (pow_ne_zero 2 P_pos.ne'), one_mul]
- _ < (P ^ 6)⁻¹ := div_lt_self (by positivity) (by norm_num)
+ · exact New.RealPlace.norm_apply_lt_inv_pow_six_of_mem_cube P_pos norm_e_le hx
/-- Let `P ≥ 8 r`, where `r = 𝔰.r` is the size of the matrices in `G₁`, and let `n = ϱ + 1`. Let `Z`
be a complex `n × n` matrix (`FrameMatrix`) such that every `Y` within `P⁻⁶` of `Z` is invertible