Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
doc: explain the `(… :)` ascriptions in three files
roy7c9f99dac28db
diff --git a/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.lean b/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.leanindex 2f56e6213a6..122424c0b44 100644--- a/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.lean+++ b/src/Lib/Cohomology/ProjectiveLine/ConstantLineFormula.lean@@ -351,6 +351,8 @@ lemma lerayHirsch_lineBasis_single_false_eq_zero_of_etaOneClass_eq_zero {C : Typ(Theory.locallyConstant.toTorsionCoeff.onElements(X := projLineAlong (𝟭 (TestOver A)))).functor)M.onElements.functor :=+ -- `(… :)` elaborates the map on its own first: compared with the stated type while a functor+ -- of `T` is still unknown, it fails and is retried at each unfolding step of `Abelian.Ext`.(TotalH.map (restrictAlong (elementsProj (projLineAlong g))) T :)rw [h_one]change pullbackAlongdiff --git a/src/Lib/PadicComparison/Duality/GoodPairs.lean b/src/Lib/PadicComparison/Duality/GoodPairs.leanindex e5a485fc5b5..eaf10823e1e 100644--- a/src/Lib/PadicComparison/Duality/GoodPairs.lean+++ b/src/Lib/PadicComparison/Duality/GoodPairs.lean@@ -283,6 +283,9 @@ def mulClassOp {N N' K P : AbFunctor (TestOver A)} [HasFlatValues N]-- pull back along `π`, multiply by `ξ`, pull back along `p`app t :=(pullbackAlong (t.toTestOver.whiskerLeft p)).comp+ -- `(… :)` elaborates the restriction of `ξ` on its own first: compared with the expected+ -- type while a functor is still unknown, it fails and is retried at each unfolding step of+ -- `Abelian.Ext`.((t.theory.mulClass (S := t.toTestOver ⋙ N)(TotalH.map (restrictAlong t.toTestOver) ξ :)).comp(pullbackAlong (t.toTestOver.whiskerLeft π)))diff --git a/src/Lib/PadicComparison/Duality/LineIntegration.lean b/src/Lib/PadicComparison/Duality/LineIntegration.leanindex 48bf777800a..16845c98f2e 100644--- a/src/Lib/PadicComparison/Duality/LineIntegration.lean+++ b/src/Lib/PadicComparison/Duality/LineIntegration.lean@@ -419,6 +419,9 @@ lemma lineBasis_naturality (T : TotalH ((restrictAlong φ).obj M.functor) M'.funchange comp (map (restrictAlong π') (comp (map (restrictAlong φ) x) T))(M'.lineBasis i).toTotalH =comp (map (restrictAlong ψ) (comp (map (restrictAlong π) x) (M.lineBasis i).toTotalH))+ -- `(… :)` elaborates `map … T` on its own first: compared with the expected type while a+ -- functor of `T` is still unknown, it fails and is retried at each unfolding step of+ -- `Abelian.Ext`.(map (restrictAlong π') T :)rw [map_comp_assoc, map_comp_assoc, map_restrictAlong_restrictAlong,map_restrictAlong_restrictAlong]