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(Lib/Cohomology/ProjectiveLine): remove three seals in `ConstantLineFormula`

roy7245f8324343d
diff --git a/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.lean b/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.lean
index 80e6edad176..da4413f414d 100644
--- a/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.lean
+++ b/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.lean
@@ -62,8 +62,6 @@ section
variable [InvertsPrime A ℓ]
--- Keeps definitional checks from unfolding the Ext groups, their group structure, and `projLine`.
-seal CategoryTheory.Abelian.Ext addCommGroupH projLine in
/-- The projective line formula over a coefficient `S` with flat values, from a family that contains
η. Let Θ be a theory along g and θ a family of classes on the points of ℙ¹ over g, of degrees `d`,
whose member `θ i` is η (`hθ_eta`). If θ is a Leray–Hirsch basis over `S` (`h_base`) and over
@@ -155,8 +153,6 @@ lemma comp_restrict_pull_map {D D' : Type 1} [Category D] [Category D'] (φ : D'
_ = pullbackAlong (α ≫ (restrictAlong φ).map f)
(mapThenComp (restrictAlong φ) T x.toTotalH) := comp_assoc ..
--- Keeps definitional checks from unfolding the Ext groups, their group structure, and `projLine`.
-seal CategoryTheory.Abelian.Ext addCommGroupH projLine in
/-- Let c be a test over A and u a map from the point to the functor d ↦ Hom(c, g(d)), that is, maps
c → g(d) natural in the object d of C. Let T be a class in total Ext from the locally constant
ℤ/ℓ coefficient to M, both restricted to the points of ℙ¹ over g. Pull `New.Variety.etaOneClass` c
@@ -207,8 +203,6 @@ private lemma comparison_pull_zero {D D' : Type 1} [Category D] [Category D']
c.pull α n 0 = 0 :=
(c.pull α n).map_zero
--- Keeps definitional checks from unfolding the Ext groups, their group structure, and `projLine`.
-seal CategoryTheory.Abelian.Ext addCommGroupH projLine in
/-- Let c be a test over A and u a map from the point to the functor d ↦ Hom(c, g(d)) that has
universal points for the restriction along g of the locally constant ℤ/ℓ coefficient. Suppose that
this restriction is a coefficient along g (`h_torsion`, `h_descent`) and that its class η, pulled