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/UpperBound/Divisibility): drop a seal in `ColengthAtLevel` by using `convert`

roy7c8c324abd751
diff --git a/src/New/UpperBound/Divisibility/ColengthAtLevel.lean b/src/New/UpperBound/Divisibility/ColengthAtLevel.lean
index 33950629a0a..19402358a1d 100644
--- a/src/New/UpperBound/Divisibility/ColengthAtLevel.lean
+++ b/src/New/UpperBound/Divisibility/ColengthAtLevel.lean
@@ -107,8 +107,6 @@ lemma integralFormsAt_one_le :
_ ≤ ‖ξ‖ := Rows.norm_schur_mulVec_le .refl hA ξ
_ ≤ 1 := h_integral g
--- Keeps definitional checks from unfolding the finite sums.
-seal Finset.univ in
/-- For every finite adelic point `c` there is a rational point `γ` such that `γ c δ_0^∨` is
integral above `N` and `γ c δ_0` is `diag (1, …, 1, N)` at `Σ_N` times an element integral above
`N`. Here `δ_0 = D.diagPointN 0` and `δ_0^∨ = D.dualPointN 0`. -/
@@ -117,8 +115,9 @@ lemma exists_mul_dualPointN_mem_integralAbove (c : Gf D.E (D.X 0)) :
stdEmbFin γ * c * D.dualPointN 0 ∈ integralAbove (D.X 0) D.N ∧
(D.diagPoint 0 D.nonInducedPlaces)⁻¹ * (stdEmbFin γ * c * D.diagPointN 0) ∈
integralAbove (D.X 0) D.N := by
- simpa [mul_assoc] using exists_mul_mem_integralAbove D.N (c * D.dualPointN 0)
- (D.diagPoint 0 D.nonInducedPlaces)⁻¹
+ convert exists_mul_mem_integralAbove D.N (c * D.dualPointN 0)
+ (D.diagPoint 0 D.nonInducedPlaces)⁻¹ using 2
+ simp [mul_assoc]
/-- Let `𝒜^L` and `𝒜^∨` be the modules of source forms `φ` integral at `δ_0 = D.diagPointN 0` and at
`δ_0^∨ = D.dualPointN 0`. The colength (`ColengthDvd`) of `𝒜^L` in `𝒜^∨` divides `N ^ l`, with