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.IdealSheaf.Subscheme |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | import Mathlib.RingTheory.Ideal.Quotient.Nilpotent |
| 5 | |
| 6 | /-! # Integral Closed Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegralClosedSupport |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual vanishing-ideal subscheme of an irreducible closed set |
| 13 | is integral. Its affine charts are the actual reduced quotient rings. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem vanishingIdeal_subscheme_reduced |
| 20 | {X : Scheme.{u}} (Z : Closeds X) : IsReduced (Scheme.IdealSheafData.vanishingIdeal Z).subscheme := by |
| 21 | let I := Scheme.IdealSheafData.vanishingIdeal Z |
| 22 | have hred (U : X.affineOpens) : _root_.IsReduced (Γ(X, U.1) ⧸ I.ideal U) := by |
| 23 | apply (Ideal.isRadical_iff_quotient_reduced _).mp |
| 24 | change (PrimeSpectrum.vanishingIdeal (U.2.fromSpec ⁻¹' (Z : Set X))).IsRadical |
| 25 | exact PrimeSpectrum.isRadical_vanishingIdeal _ |
| 26 | have (U : I.subschemeCover.openCover.I₀) : IsReduced (I.subschemeCover.openCover.X U) := by |
| 27 | let V : X.affineOpens := U |
| 28 | have := hred V |
| 29 | change IsReduced (Spec (.of (Γ(X, V.1) ⧸ I.ideal V))) |
| 30 | infer_instance |
| 31 | exact IsReduced.of_openCover I.subscheme I.subschemeCover.openCover |
| 32 | |
| 33 | theorem vanishingIdeal_subscheme_integral |
| 34 | {X : Scheme.{u}} (Z : Closeds X) (hZ : IsIrreducible (Z : Set X)) : |
| 35 | IsIntegral (Scheme.IdealSheafData.vanishingIdeal Z).subscheme := by |
| 36 | let I := Scheme.IdealSheafData.vanishingIdeal Z |
| 37 | have : IsReduced I.subscheme := vanishingIdeal_subscheme_reduced Z |
| 38 | have hr : Set.range I.subschemeι = (Z : Set X) := by |
| 39 | rw [Scheme.IdealSheafData.range_subschemeι] |
| 40 | exact Scheme.IdealSheafData.coe_support_vanishingIdeal Z |
| 41 | have hi : IsIrreducible (Set.range I.subschemeι) := hr.symm ▸ hZ |
| 42 | have : IrreducibleSpace (Set.range I.subschemeι) := Subtype.irreducibleSpace hi |
| 43 | let e := (IsClosedImmersion.isClosedEmbedding I.subschemeι).isEmbedding.toHomeomorph |
| 44 | have : IrreducibleSpace I.subscheme := e.irreducibleSpace_iff.mpr inferInstance |
| 45 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegralClosedSupport |