Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
style: use local let bindings for the group structures
alkor2000e32f28af0a36
diff --git a/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean b/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.leanindex dfff79a8262..73dc41296cd 100644--- a/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean+++ b/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean@@ -198,9 +198,9 @@ lemma smooth_of_allSpecializeTo_isReduced {A : Over S} [AddObj A] [Flat A.hom] [-- The fibre is a reduced group scheme over an algebraically closed field.have h_geom : Smooth (pullback.snd π t) := bylet G := Over.mk (pullback.snd π t)- letI : AddObj G := pullbackAddObj t+ let : AddObj G := pullbackAddObj t-- Write the group law multiplicatively on the same functor of points.- letI : GrpObj G := GrpObj.ofRepresentableBy G (yonedaAddGrpObj G ⋙ AddGrpCat.toGrp)+ let : GrpObj G := GrpObj.ofRepresentableBy G (yonedaAddGrpObj G ⋙ AddGrpCat.toGrp)(yonedaAddGrpObjRepresentableBy G)exact TauCeti.AlgebraicGeometry.smooth_of_grpObj_of_isAlgClosed_of_isReduced _obtain ⟨U, hU, htU⟩ : ∃ V : S.Opens, IsAffineOpen V ∧ LandsIn t V := exists_isAffineOpen_landsIn t