Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
refactor(Lib/Shimura/ThetaModuli): use Tau Ceti for smoothness of reduced group fibres
alkor20009637da8b4d93
diff --git a/ATTRIBUTION.md b/ATTRIBUTION.mdindex 33207e96ed8..ef1ae83f6d2 100644--- a/ATTRIBUTION.md+++ b/ATTRIBUTION.md@@ -98,7 +98,7 @@ Each declaration below adapts or closely follows, in whole or in part and with c| `src/Lib/Shimura/Eigenspace.lean` | `exists_isEigenQuotient` | `PiTensorProduct.submodule_span_eq_top` | `Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean` || `src/Lib/Shimura/HeckeTower/Model.lean` | `New.card_torsionBySet_adelicTorsion` | `NumberField.absNorm_differentIdeal` | `Mathlib/NumberTheory/NumberField/Discriminant/Different.lean` || `src/Lib/Shimura/HeckeTower/Model.lean` | `entryConj` | `MonoidHom.restrict` | `Mathlib/Algebra/Group/Submonoid/Operations.lean` |-| `src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean` | `New.smooth_of_allSpecializeTo_isReduced` | `AlgebraicGeometry.Smooth.of_smooth_fiberToSpecResidueField`, `AlgebraicGeometry.smooth_of_grpObj_of_isAlgClosed` | `Mathlib/AlgebraicGeometry/Group/Smooth.lean`, `Mathlib/AlgebraicGeometry/Morphisms/SmoothFiber.lean` |+| `src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean` | `New.smooth_of_allSpecializeTo_isReduced` | `AlgebraicGeometry.Smooth.of_smooth_fiberToSpecResidueField` | `Mathlib/AlgebraicGeometry/Morphisms/SmoothFiber.lean` || `src/Lib/Shimura/ThetaNormality/NormalGeneration.lean` | `New.ThetaTori.map_homogeneousSubmodule_eq_formSpan` | `Ideal.span_pow_eq_map_homogeneousSubmodule` | `Mathlib/RingTheory/MvPolynomial/Homogeneous.lean` || `src/Lib/Shimura/Uniformisation/HolomorphicFamilies.lean` | `New.relIndex_comap_eq_det_mul_conj_det` | `ZLattice.covolume_div_covolume_eq_relIndex` | `Mathlib/Algebra/Module/ZLattice/Covolume.lean` || `src/Lib/SiegelWeil/Tower/LineGaussSums.lean` | `New.Exchange.stdColDatum_one_mul_mul` | `Matrix.det_conj_of_mul_eq_one` | `Mathlib/LinearAlgebra/Determinant.lean` |diff --git a/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean b/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.leanindex 336dd715dee..dfff79a8262 100644--- a/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean+++ b/src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean@@ -1,8 +1,10 @@module+import Mathlib.Algebra.Category.Grp.EquivalenceGroupAddGroupimport Mathlib.AlgebraicGeometry.Modules.Sheafimport Mathlib.AlgebraicGeometry.Morphisms.LocalFlatDescentimport Mathlib.CategoryTheory.EffectiveEpi.Comp+import TauCeti.AlgebraicGeometry.Group.Smoothpublic import Lib.Shimura.ThetaNormality.RiemannRelationpublic import Lib.Shimura.Uniformisation.TorusModelpublic import Lib.Adelic.Hecke.ClassSums@@ -193,16 +195,14 @@ lemma smooth_of_allSpecializeTo_isReduced {A : Over S} [AddObj A] [Flat A.hom] [obtain ⟨x, hyx, hx⟩ : ∃ x : A.left, y ⤳ x ∧ π x = t (closedPoint k) :=π.isClosedMap.specializingMap h_specrefine hyx.mem_open π.smoothLocus.is_open' ?_- -- The fibre along t is a reduced group over an algebraically closed field: its smooth locus is- -- dense, hence non-empty, and translations spread smoothness to the whole group.+ -- The fibre is a reduced group scheme over an algebraically closed field.have h_geom : Smooth (pullback.snd π t) := by- have h_dense : Dense ((pullback.snd π t).smoothLocus : Set ↥(Limits.pullback π t)) :=- (pullback.snd π t).dense_smoothLocus_of_perfectField- -- The fibre is non-empty: it contains a point over `x`.- have h_nonempty : Nonempty (pullback.snd π t).smoothLocus :=- (h_dense.nonempty_iff.mpr (Pullback.exists_preimage_pullback x _ hx).nonempty).to_subtype- refine (pullbackAddObj t).property_of_isOpenImmersion _ (Opens.ι _) h_nonempty ?_- simp [π, ← smoothLocus_eq_top_iff, ← preimage_smoothLocus_eq]+ let G := Over.mk (pullback.snd π t)+ letI : 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)+ (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 thave hxU : π x ∈ U := bysimpa only [hx] using landsIn_iff_mem.mp htU