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.ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothRelativeDimension |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 4 | |
| 5 | /-! # Geometric Abelian Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GeometricAbelianDimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The fixed relative dimension of an actual abelian scheme agrees with |
| 12 | the Krull dimension of its geometric total space. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension.Construction |
| 18 | |
| 19 | theorem geometric_abelian_dimension {K : Type} [Field K] [IsAlgClosed K] {g : ℕ} |
| 20 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) : |
| 21 | topologicalKrullDim A.scheme.left = (g : WithBot ℕ∞) := by |
| 22 | have : ConnectedSpace A.scheme.left := |
| 23 | GeometricallyConnected.connectedSpace_of_subsingleton A.scheme.hom |
| 24 | have : JacobsonSpace A.scheme.left := LocallyOfFiniteType.jacobsonSpace A.scheme.hom |
| 25 | obtain ⟨x, _, hx⟩ := nonempty_inter_closedPoints |
| 26 | (X := A.scheme.left) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 27 | have hdim : topologicalKrullDim A.scheme.left = ringKrullDim (A.scheme.left.presheaf.stalk x) := |
| 28 | ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction.topologicalKrullDim_eq_stalk_of_transitive_closedPoints A.scheme.left (fun y z hy hz => by |
| 29 | obtain ⟨e, _, he, _⟩ := ArithmeticGeometry.OrdinaryLocus.Openness.FlatTranslations.Construction.multiplication_transitive_automorphisms A.scheme 1 y z hy hz |
| 30 | exact ⟨e, he⟩) x hx |
| 31 | exact hdim.trans (SmoothRelativeDimension.DimensionSupport.ringKrullDim_stalk_of_smoothOfRelativeDimension |
| 32 | g A.scheme.hom x hx) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GeometricAbelianDimension |