Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.PointStalkRegularParameters |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.SequenceProjectiveDimension |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | |
| 5 | /-! # Point Residue Projective Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.PointResidueProjectiveDimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At a rational smooth point, the residue field has projective dimension equal to the geometric relative dimension. This uses the constructed regular parameters in the actual stalk. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry IsLocalRing |
| 13 | universe u |
| 14 | |
| 15 | theorem residue_projectiveDimension_of_regular_parameters |
| 16 | (R : Type u) [CommRing R] [IsLocalRing R] [IsNoetherianRing R] |
| 17 | (rs : List R) (hreg : Regular.SequenceBasic.RingTheory.Sequence.IsRegular R rs) (hgen : Regular.SequenceBasic.Ideal.ofList rs = maximalIdeal R) : |
| 18 | Projective.DimensionBasic.projectiveDimension (ModuleCat.of.{u} R (ResidueField R)) = (rs.length : WithBot ℕ∞) := by |
| 19 | have hdim : Projective.DimensionBasic.projectiveDimension (ModuleCat.of.{u} R (Shrink.{u} (R ⧸ Regular.SequenceBasic.Ideal.ofList rs))) = |
| 20 | (rs.length : WithBot ℕ∞) := |
| 21 | Regular.SequenceProjectiveDimension.ModuleCat.projectiveDimension_quotient_eq_length rs hreg |
| 22 | rw [hgen] at hdim |
| 23 | let e : ModuleCat.of.{u} R (Shrink.{u} (R ⧸ maximalIdeal R)) ≅ |
| 24 | ModuleCat.of.{u} R (ResidueField R) := (Shrink.linearEquiv R (R ⧸ maximalIdeal R)).toModuleIso |
| 25 | exact (Projective.DimensionBasic.projectiveDimension_eq_of_iso e).symm.trans hdim |
| 26 | |
| 27 | theorem rationalPoint_residue_projectiveDimension |
| 28 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) |
| 29 | (g : ℕ) [SmoothOfRelativeDimension g p] |
| 30 | (s : Spec (.of K) ⟶ X) (hs : s ≫ p = 𝟙 _) : |
| 31 | Projective.DimensionBasic.projectiveDimension (ModuleCat.of.{u} |
| 32 | (X.presheaf.stalk (s (IsLocalRing.closedPoint K))) |
| 33 | (ResidueField (X.presheaf.stalk (s (IsLocalRing.closedPoint K))))) = (g : WithBot ℕ∞) := by |
| 34 | have : Smooth p := SmoothOfRelativeDimension.smooth g p |
| 35 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian p |
| 36 | let x := s (IsLocalRing.closedPoint K) |
| 37 | have : IsNoetherianRing (X.presheaf.stalk x) := |
| 38 | AlgebraicGeometry.instIsNoetherianRingCarrierStalkCommRingCatPresheafOfIsLocallyNoetherian |
| 39 | (X := X) (x := x) |
| 40 | obtain ⟨rs, hreg, hgen, hlen⟩ := PointStalkRegularParameters.rationalPoint_stalk_regular_parameters p g s hs |
| 41 | rw [← hlen] |
| 42 | exact residue_projectiveDimension_of_regular_parameters (X.presheaf.stalk x) rs hreg hgen |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.PointResidueProjectiveDimension |