Skip to content

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

Python

docs(Lib/PadicHodge/Limit/TraceLimit): clarify norm bound docstring and restore O comment

Rohan Arun0d45fd4cbe44
diff --git a/src/Lib/PadicHodge/Limit/TraceLimit.lean b/src/Lib/PadicHodge/Limit/TraceLimit.lean
index 70c23a0fafc..68b41af3299 100644
--- a/src/Lib/PadicHodge/Limit/TraceLimit.lean
+++ b/src/Lib/PadicHodge/Limit/TraceLimit.lean
@@ -280,9 +280,10 @@ private lemma New.Period.map_mulVec_apply_eq_smul_of_isHodgeFrame {p : ℕ} [The
simp [↓map_mul, O.map_adjugate, comp_def, ← map_det, hy, hY_det, hUU', M, h_conj.eq,
mul_assoc, mul_adjugate, -mapMatrix_apply, ← U.map_mul, map_smul',
-TensorProduct.algebraMap_apply, smul_mulVec]
-/-- Choose a coefficient subring `R : CoeffRing p` containing unit-norm elements of
-`localFieldOf Γ` and a bound `κ : BdRPlus` with `thetaBdR κ ≠ 0` such that
-`O y = e • z` implies `‖thetaBdR (κ * z)‖ ≤ 1`. -/
+/-- Choose a coefficient subring `R : CoeffRing p` containing the elements of
+`localFieldOf Γ` of norm at most `1`, a finite extension of `ℚ_p`, and a bound `κ : BdRPlus`
+with `thetaBdR κ ≠ 0` such that if the image of `y : Amax ⊗ R` in `BdRPlus` is `e • z`, then
+`‖thetaBdR (κ * z)‖ ≤ 1`. -/
private lemma New.Period.exists_coeffRing_norm_bound_of_overGp {p : ℕ} [ThePrime p]
(Γ : Type) [Group Γ] [OverGp Γ p] {e : Amax} (he_ne_zero : algebraMap Amax BdR e ≠ 0) :
∃ (R : CoeffRing p) (κ : BdRPlus),
@@ -329,6 +330,7 @@ lemma New.Period.exists_uniform_trace_sum_eq_jump {p : ℕ} [ThePrime p] (Γ : T
(algebraMap_apply _ Bmax BdR e).trans_ne (he_unit.map _).ne_zero
obtain ⟨R, κ, hκ, hR, h_bound⟩ :=
New.Period.exists_coeffRing_norm_bound_of_overGp Γ he_ne_zero
+ -- `O` is the map `Amax ⊗ R → BdRPlus`.
set O : TensorProduct ℤ_[p] Amax R →ₐ[Amax] BdRPlus :=
(toAlgHom ℤ_[p] R BdRPlus).liftEquiv ℤ_[p] Amax R BdRPlus
refine ⟨(thetaBdR κ)⁻¹, fun {T ι} _ _ _ ε ρ x h_crys ↦ ?_⟩