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.Coherent.SupportSplitting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AnnihilatorSubobjects |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.AdjunctionUnit |
| 4 | |
| 5 | /-! # Closed Image Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.ClosedImageSupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A closed direct image is supported on the actual closed image of |
| 12 | the source support. Proper source supports give strictly smaller images. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | def closedImage {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 20 | (Z : Closeds X) : Closeds Y := |
| 21 | ⟨f '' (Z : Set X), (IsClosedImmersion.isClosedEmbedding f).isClosedMap _ Z.isClosed⟩ |
| 22 | |
| 23 | theorem coherent_pushforward_support_le_closedImage |
| 24 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 25 | (N : X.Modules) [N.IsQuasicoherent] [N.IsFiniteType] : |
| 26 | letI := Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f N |
| 27 | letI := Finite.ImageType.finite_directImage_finiteType f N |
| 28 | (Annihilator.coherentAnnihilator ((pushforward f).obj N)).support ≤ |
| 29 | closedImage f (Annihilator.coherentAnnihilator N).support := by |
| 30 | let := Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f N |
| 31 | let := Finite.ImageType.finite_directImage_finiteType f N |
| 32 | let Z := closedImage f (Annihilator.coherentAnnihilator N).support |
| 33 | let U : Y.Opens := Z.compl |
| 34 | apply (SupportSplitting.coherent_support_le_iff_restrict_compl_isZero _ Z).mpr |
| 35 | have hN : Limits.IsZero (N.restrict (f ⁻¹ᵁ U).ι) := by |
| 36 | apply (Module.VanishingOpen.module_restrict_isZero_iff_le_vanishingOpen N _).mpr |
| 37 | intro x hx |
| 38 | by_contra hn |
| 39 | exact hx ⟨x, (Annihilator.coherentAnnihilator_mem_support_iff N x).mpr hn, rfl⟩ |
| 40 | have := OpenModule.BaseChangeMate.OpenPullbackSquare.openBaseChangeMap_isIso f U |
| 41 | exact (asIso ((OpenModule.BaseChangeMate.OpenPullbackSquare.openBaseChangeMap f U).app N)).isZero_iff.mpr |
| 42 | ((pushforward (f ∣_ U)).map_isZero hN) |
| 43 | |
| 44 | theorem closedImage_lt_range_of_lt_top |
| 45 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 46 | (Z : Closeds X) (hZ : Z < ⊤) : closedImage f Z < closedImage f ⊤ := by |
| 47 | refine lt_of_le_of_ne (Set.image_mono le_top) ?_ |
| 48 | intro heq |
| 49 | apply ne_of_lt hZ |
| 50 | apply SetLike.coe_injective |
| 51 | exact Set.image_injective.mpr (IsClosedImmersion.isClosedEmbedding f).injective |
| 52 | (congrArg (fun W : Closeds Y => (W : Set Y)) heq) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.ClosedImageSupport |