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.Module.MapCoverEquality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GlobalSectionsDetectMaps |
| 3 | |
| 4 | /-! # Epimorphism Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.EpimorphismCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Epimorphisms of modules can be checked on an open cover, using global sections when the covering opens are affine and the target is quasicoherent. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem module_epi_of_restrict_cover {X : Scheme.{u}} {ι : Type v} (U : ι → X.Opens) |
| 17 | (hU : ∀ x : X, ∃ i, x ∈ U i) {M N : X.Modules} (f : M ⟶ N) |
| 18 | (hf : ∀ i, Epi ((Scheme.Modules.restrictFunctor (U i).ι).map f)) : Epi f := by |
| 19 | constructor |
| 20 | intro P g h hcomp |
| 21 | apply MapCoverEquality.moduleMap_eq_of_restrict_cover U hU |
| 22 | intro i |
| 23 | have := hf i |
| 24 | apply (cancel_epi ((Scheme.Modules.restrictFunctor (U i).ι).map f)).mp |
| 25 | simpa only [← Functor.map_comp] using congrArg (Scheme.Modules.restrictFunctor (U i).ι).map hcomp |
| 26 | |
| 27 | theorem module_epi_of_affine_cover_section_surjective {X : Scheme.{u}} {ι : Type v} |
| 28 | (U : ι → X.Opens) (hU : ∀ x : X, ∃ i, x ∈ U i) (hA : ∀ i, IsAffineOpen (U i)) |
| 29 | {M N : X.Modules} [N.IsQuasicoherent] (f : M ⟶ N) |
| 30 | (hf : ∀ i, Function.Surjective (f.app (U i))) : Epi f := by |
| 31 | apply module_epi_of_restrict_cover U hU f |
| 32 | intro i |
| 33 | have : IsAffine (U i).toScheme := hA i |
| 34 | apply Affine.GlobalSectionsDetectMaps.module_epi_of_affine_globalSections_surjective |
| 35 | have hs : Function.Surjective (f.app ((U i).ι ''ᵁ ⊤)) := by |
| 36 | rw [(U i).ι_image_top] |
| 37 | exact hf i |
| 38 | exact hs |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.EpimorphismCover |