Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
refactor(Lib/General/Geometry): use Tau Ceti for smooth charts of fixed dimension
alkor2000f9a7a2a823cf
diff --git a/src/Lib/General/Geometry/GeometricPoints.lean b/src/Lib/General/Geometry/GeometricPoints.leanindex 54eeede8c7d..ed0b7c10807 100644--- a/src/Lib/General/Geometry/GeometricPoints.lean+++ b/src/Lib/General/Geometry/GeometricPoints.lean@@ -6,6 +6,7 @@ public import Mathlib.RingTheory.SimpleRing.Principalimport TauCeti.AlgebraicGeometry.Morphisms.Flat.Basicimport TauCeti.AlgebraicGeometry.Morphisms.Smooth.GeometricallyReducedimport TauCeti.AlgebraicGeometry.Morphisms.Smooth.Locus.Basic+import TauCeti.AlgebraicGeometry.Morphisms.Smooth.StandardSmoothimport TauCeti.AlgebraicGeometry.Scheme.LocalSpectrumpublic import Lib.Cohomology.Etale.Basicpublic import Lib.General.Geometry.DenseComplexPoints@@ -137,13 +138,6 @@ lemma AddObj.property_of_isOpenImmersion {k : Type} {X : Scheme} [Field k] [IsAlchange P ((i ≫ (translation z).left) ≫ (Over.mk s).hom)rwa [Category.assoc, (translation z).w]-/-- A standard smooth ring map is standard smooth of some relative dimension. -/-lemma exists_isStandardSmoothOfRelativeDimension {R T : Type} [CommRing R] [CommRing T]- {φ : R →+* T} (hφ : φ.IsStandardSmooth) : ∃ n : ℕ, φ.IsStandardSmoothOfRelativeDimension n := by- algebraize [φ]- obtain ⟨ι, σ, hσ, hι, ⟨P⟩⟩ := hφ- exact ⟨P.dimension, ι, σ, hσ, hι, P, rfl⟩-/-- Let `f : X ⟶ S` map the affine open `V` into the affine open `U`. If the ring map`Γ(S, U) ⟶ Γ(X, V)` is standard smooth of relative dimension `n`, then `Spec Γ(X, V) ⟶ S` is smoothof relative dimension `n`. -/@@ -170,8 +164,7 @@ lemma AddObj.smoothOfRelativeDimension_of_fibres {S : Scheme} {κ : Type} {g :-- dimension `n`; by `property_of_isOpenImmersion` the whole fibre has dimension `n`, and `n = g`-- by `h_dim`.refine ⟨fun x ↦ ?_⟩- obtain ⟨U, hU, V, hV, hxV, hVU, h_std⟩ := Smooth.exists_isStandardSmooth A.hom x- obtain ⟨n, hn⟩ := exists_isStandardSmoothOfRelativeDimension h_std+ obtain ⟨n, U, hU, V, hV, hxV, hVU, hn⟩ := A.hom.exists_isStandardSmoothOfRelativeDimension_of_smooth xlet c : Spec (.of ℂ) := IsLocalRing.closedPoint ℂobtain ⟨i, hi⟩ : ∃ i : κ, (y i).left c ∈ V := hy.exists_mem_open V.isOpen ⟨x, hxV⟩suffices h_fibre : SmoothOfRelativeDimension n (snd A.hom (η i)) by