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.Finite.GlobalModuleGenerators |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 3 | |
| 4 | /-! # Module Zero Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A globally generated module sheaf with zero global sections is zero. Finite global generation also descends along an actual scheme isomorphism. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators.isZero_of_sections_subsingleton |
| 15 | {X : Scheme.{u}} (M : X.Modules) (hM : Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators M) |
| 16 | (hsections : Subsingleton Γ(M, ⊤)) : IsZero M := by |
| 17 | obtain ⟨ι, _, s, hs⟩ := hM |
| 18 | have : Epi (Sigma.desc s) := hs |
| 19 | have hzero : Sigma.desc s = 0 := by |
| 20 | apply Sigma.hom_ext |
| 21 | intro i |
| 22 | rw [Sigma.ι_comp_desc, comp_zero] |
| 23 | apply (Global.Sections.moduleSectionHomEquiv M).injective |
| 24 | exact hsections.elim _ _ |
| 25 | apply (IsZero.iff_id_eq_zero M).mpr |
| 26 | apply (cancel_epi (Sigma.desc s)).mp |
| 27 | rw [Category.comp_id, comp_zero, hzero] |
| 28 | |
| 29 | theorem Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators.of_pullback_iso |
| 30 | {X Y : Scheme.{u}} (f : Y ⟶ X) [IsIso f] (M : X.Modules) |
| 31 | (hM : Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators ((Scheme.Modules.pullback f).obj M)) : |
| 32 | Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators M := by |
| 33 | let e : (Scheme.Modules.pullback (inv f)).obj ((Scheme.Modules.pullback f).obj M) ≅ M := |
| 34 | (Scheme.Modules.pullbackComp (inv f) f).app M ≪≫ |
| 35 | (Scheme.Modules.pullbackCongr (asIso f).inv_hom_id).app M ≪≫ |
| 36 | (Scheme.Modules.pullbackId X).app M |
| 37 | exact (hM.pullback (inv f)).of_iso e |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |