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 Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | import Mathlib.RingTheory.Ideal.KrullsHeightTheorem |
| 5 | import Mathlib.Topology.KrullDimension |
| 6 | |
| 7 | /-! # Local Dimension -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.LocalDimension.DimensionSupport |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The local dimension argument from the proved Openness group-dimension |
| 14 | construction, using only actual translations and no statement-only imports. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | theorem closed_point_translations |
| 21 | {K : Type} [Field K] [IsAlgClosed K] |
| 22 | (A : Over (Spec (.of K))) [GrpObj A] [LocallyOfFiniteType A.hom] |
| 23 | (x y : A.left) (hx : IsClosed {x}) (hy : IsClosed {y}) : |
| 24 | ∃ e : A.left ≅ A.left, e.hom x = y := by |
| 25 | let x' : 𝟙_ (Over (Spec (.of K))) ⟶ A := |
| 26 | Over.homMk (pointOfClosedPoint A.hom x hx) (pointOfClosedPoint_comp A.hom x hx) |
| 27 | let y' : 𝟙_ (Over (Spec (.of K))) ⟶ A := |
| 28 | Over.homMk (pointOfClosedPoint A.hom y hy) (pointOfClosedPoint_comp A.hom y hy) |
| 29 | let b := x'⁻¹ * y' |
| 30 | let e := (Over.forget (Spec (.of K))).mapIso (GrpObj.mulRight b) |
| 31 | have hxy : x' ≫ (GrpObj.mulRight b).hom = y' := by |
| 32 | change x' ≫ (𝟙 A * (toUnit A ≫ b)) = y' |
| 33 | rw [MonObj.comp_mul, Category.comp_id, ← Category.assoc, |
| 34 | comp_toUnit, toUnit_unit, Category.id_comp] |
| 35 | exact mul_inv_cancel_left x' y' |
| 36 | refine ⟨e, ?_⟩ |
| 37 | have he : e.hom (x'.left (IsLocalRing.closedPoint K)) = y'.left (IsLocalRing.closedPoint K) := |
| 38 | congrArg (fun f : Spec (.of K) ⟶ A.left => f (IsLocalRing.closedPoint K)) |
| 39 | (congrArg Over.Hom.left hxy) |
| 40 | have hx' : x'.left (IsLocalRing.closedPoint K) = x := pointOfClosedPoint_apply A.hom x hx _ |
| 41 | have hy' : y'.left (IsLocalRing.closedPoint K) = y := pointOfClosedPoint_apply A.hom y hy _ |
| 42 | rw [hx', hy'] at he |
| 43 | exact he |
| 44 | |
| 45 | theorem topologicalKrullDim_eq_specialization_krullDim (X : Scheme) : |
| 46 | topologicalKrullDim X = Order.krullDim X := |
| 47 | Order.krullDim_eq_of_orderIso (irreducibleSetEquivPoints (α := X)) |
| 48 | |
| 49 | theorem topologicalKrullDim_eq_stalk_of_transitive_closedPoints |
| 50 | (X : Scheme) [JacobsonSpace X] |
| 51 | (htrans : ∀ (x y : X), IsClosed {x} → IsClosed {y} → |
| 52 | ∃ e : X ≅ X, e.hom x = y) |
| 53 | (x : X) (hx : IsClosed {x}) : |
| 54 | topologicalKrullDim X = ringKrullDim (X.presheaf.stalk x) := by |
| 55 | rw [ringKrullDim_stalk_eq_coheight, topologicalKrullDim_eq_specialization_krullDim] |
| 56 | apply le_antisymm |
| 57 | · rw [Order.krullDim_eq_iSup_coheight] |
| 58 | apply iSup_le |
| 59 | intro z |
| 60 | obtain ⟨y, hy, hyc⟩ := nonempty_inter_closedPoints |
| 61 | (Z := closure ({z} : Set X)) (Set.singleton_nonempty z).closure |
| 62 | isClosed_closure.isLocallyClosed |
| 63 | have hyz : y ≤ z := Scheme.le_iff_specializes.mpr (specializes_iff_mem_closure.mpr hy) |
| 64 | obtain ⟨e, he⟩ := htrans y x hyc hx |
| 65 | have hd : Order.coheight y = Order.coheight x := by |
| 66 | rw [← he] |
| 67 | exact (coheight_eq_of_isOpenImmersion e.hom).symm |
| 68 | exact WithBot.coe_le_coe.mpr ((Order.coheight_anti hyz).trans_eq hd) |
| 69 | · exact Order.coheight_le_krullDim x |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.LocalDimension.DimensionSupport |