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.Foundations.Scheme.CycleSupports |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Nilpotent |
| 4 | |
| 5 | /-! # Generic Point -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.GenericPoint |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Integral closed subschemes representing cycle supports |
| 13 | |
| 14 | An irreducible closed subset of a scheme carries its reduced induced scheme |
| 15 | structure. This file constructs that actual scheme from mathlib's vanishing |
| 16 | ideal sheaf, proves it is integral, and identifies its generic point with the |
| 17 | point indexing the algebraic cycle support. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {X : Scheme.{u}} |
| 25 | |
| 26 | /-- The radical ideal sheaf defining the reduced structure on a closed support. -/ |
| 27 | def reducedSupportIdeal (Z : IrreducibleCloseds X) : X.IdealSheafData := |
| 28 | Scheme.IdealSheafData.vanishingIdeal ⟨Z, Z.isClosed⟩ |
| 29 | |
| 30 | /-- The actual reduced induced closed subscheme on an irreducible support. -/ |
| 31 | def reducedSupportScheme (Z : IrreducibleCloseds X) : Scheme.{u} := |
| 32 | (reducedSupportIdeal Z).subscheme |
| 33 | |
| 34 | /-- The closed immersion of the reduced induced support into its ambient scheme. -/ |
| 35 | def reducedSupportι (Z : IrreducibleCloseds X) : reducedSupportScheme Z ⟶ X := |
| 36 | (reducedSupportIdeal Z).subschemeι |
| 37 | |
| 38 | instance reducedSupportι_isClosedImmersion (Z : IrreducibleCloseds X) : |
| 39 | IsClosedImmersion (reducedSupportι Z) := by |
| 40 | exact inferInstanceAs (IsClosedImmersion (reducedSupportIdeal Z).subschemeι) |
| 41 | |
| 42 | @[simp] |
| 43 | theorem range_reducedSupportι (Z : IrreducibleCloseds X) : |
| 44 | Set.range (reducedSupportι Z) = (Z : Set X) := by |
| 45 | change Set.range (reducedSupportIdeal Z).subschemeι = (Z : Set X) |
| 46 | rw [Scheme.IdealSheafData.range_subschemeι] |
| 47 | simp [reducedSupportIdeal] |
| 48 | |
| 49 | instance reducedSupportScheme_isReduced (Z : IrreducibleCloseds X) : |
| 50 | AlgebraicGeometry.IsReduced (reducedSupportScheme Z) := by |
| 51 | let I := reducedSupportIdeal Z |
| 52 | change AlgebraicGeometry.IsReduced I.subscheme |
| 53 | apply (AlgebraicGeometry.IsReduced.iff_of_openCover I.subscheme I.subschemeCover.openCover).2 |
| 54 | intro U |
| 55 | change X.affineOpens at U |
| 56 | change AlgebraicGeometry.IsReduced (Spec (.of (Γ(X, U) ⧸ I.ideal U))) |
| 57 | apply (AlgebraicGeometry.affine_isReduced_iff _).2 |
| 58 | apply (Ideal.isRadical_iff_quotient_reduced _).1 |
| 59 | change (PrimeSpectrum.vanishingIdeal (U.2.fromSpec ⁻¹' (Z : Set X))).IsRadical |
| 60 | exact PrimeSpectrum.isRadical_vanishingIdeal _ |
| 61 | |
| 62 | instance reducedSupportScheme_irreducible (Z : IrreducibleCloseds X) : |
| 63 | IrreducibleSpace (reducedSupportScheme Z) := by |
| 64 | exact Subtype.irreducibleSpace Z.isIrreducible |
| 65 | |
| 66 | instance reducedSupportScheme_isIntegral (Z : IrreducibleCloseds X) : |
| 67 | IsIntegral (reducedSupportScheme Z) := |
| 68 | AlgebraicGeometry.isIntegral_of_irreducibleSpace_of_isReduced _ |
| 69 | |
| 70 | /-- The generic point of the reduced support has the stated irreducible closure |
| 71 | in the ambient scheme. -/ |
| 72 | theorem reducedSupport_genericPoint (Z : IrreducibleCloseds X) : |
| 73 | IsGenericPoint ((reducedSupportι Z) (genericPoint (reducedSupportScheme Z))) |
| 74 | (Z : Set X) := by |
| 75 | have h := (genericPoint_spec (reducedSupportScheme Z)).image |
| 76 | (reducedSupportι Z).continuous |
| 77 | simpa only [Set.image_univ, range_reducedSupportι, Z.isClosed.closure_eq] using h |
| 78 | |
| 79 | /-- The scheme-theoretic generic point agrees with the existing sober-space |
| 80 | correspondence used to index cycles. -/ |
| 81 | theorem reducedSupport_genericPoint_eq (Z : IrreducibleCloseds X) : |
| 82 | (reducedSupportι Z) (genericPoint (reducedSupportScheme Z)) = |
| 83 | irreducibleSetEquivPoints Z := by |
| 84 | exact (reducedSupport_genericPoint Z).eq |
| 85 | (Z.isIrreducible.isGenericPoint_genericPoint Z.isClosed) |
| 86 | |
| 87 | /-- For a codimension-indexed support, its actual integral closed subscheme has |
| 88 | exactly the prescribed codimension at its generic point. -/ |
| 89 | theorem reducedSupport_genericPoint_codimension (p : ℕ) |
| 90 | (Z : Foundations.Scheme.CycleSupports.IrreducibleCycleSupport X p) : |
| 91 | Order.coheight ((reducedSupportι Z.1) |
| 92 | (genericPoint (reducedSupportScheme Z.1))) = p := by |
| 93 | rw [reducedSupport_genericPoint_eq] |
| 94 | exact (Foundations.Scheme.CycleSupports.irreducibleCycleSupportEquivCyclePoint X p Z).2 |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.CycleClass.Geometric.GenericPoint |