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.Algebra.Category.Grp.Zero |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.StalkExactness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.Annihilator |
| 4 | |
| 5 | /-! # Stalk Support Transport -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.StalkSupportTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Nonzero actual module stalks lie in the coherent support. A direct |
| 12 | image along an inducing scheme map has the same additive stalk at the |
| 13 | corresponding point, including for closed immersions. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | attribute [local instance] StalkExactness.moduleStalkUnderlying_additive |
| 18 | |
| 19 | theorem moduleStalk_isZero_iff_additive {X : Scheme.{u}} (M : X.Modules) (x : X) : |
| 20 | IsZero ((StalkExactness.moduleStalkFunctor x).obj M) ↔ IsZero (M.presheaf.stalk x) := |
| 21 | ModuleCat.isZero_iff_subsingleton.trans (AddCommGrpCat.isZero_iff_subsingleton (G := M.presheaf.stalk x)).symm |
| 22 | |
| 23 | def modulePushforwardStalkAddIso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 24 | (hf : Topology.IsInducing f) (M : X.Modules) (x : X) : |
| 25 | ((Scheme.Modules.pushforward f).obj M).presheaf.stalk (f x) ≅ M.presheaf.stalk x := by |
| 26 | have hg : IsIso (M.presheaf.stalkPushforward AddCommGrpCat.{u} f.base x) := |
| 27 | TopCat.Presheaf.stalkPushforward.stalkPushforward_iso_of_isInducing AddCommGrpCat.{u} hf M.presheaf x |
| 28 | exact @asIso _ _ _ _ (M.presheaf.stalkPushforward AddCommGrpCat.{u} f.base x) hg |
| 29 | |
| 30 | theorem modulePushforward_stalk_isZero_iff {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 31 | (hf : Topology.IsInducing f) (M : X.Modules) (x : X) : |
| 32 | IsZero ((StalkExactness.moduleStalkFunctor (f x)).obj ((Scheme.Modules.pushforward f).obj M)) ↔ |
| 33 | IsZero ((StalkExactness.moduleStalkFunctor x).obj M) := by |
| 34 | rw [moduleStalk_isZero_iff_additive, moduleStalk_isZero_iff_additive] |
| 35 | exact (modulePushforwardStalkAddIso f hf M x).isZero_iff |
| 36 | |
| 37 | theorem nonzero_moduleStalk_mem_coherent_support {X : Scheme.{u}} |
| 38 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (x : X) |
| 39 | (hx : ¬ IsZero ((StalkExactness.moduleStalkFunctor x).obj M)) : x ∈ (Coherent.Annihilator.coherentAnnihilator M).support := by |
| 40 | apply (Coherent.Annihilator.coherentAnnihilator_mem_support_iff M x).mpr |
| 41 | intro hvan |
| 42 | obtain ⟨U, hxU, hU⟩ := (VanishingOpen.mem_moduleVanishingOpen M x).mp hvan |
| 43 | let y : U.toScheme := ⟨x, hxU⟩ |
| 44 | let F := Scheme.Modules.toPresheaf U.toScheme ⋙ TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} y |
| 45 | let e := (Scheme.Modules.restrictStalkNatIso U.ι y).app M |
| 46 | apply hx |
| 47 | apply (moduleStalk_isZero_iff_additive M x).mpr |
| 48 | exact e.isZero_iff.mp (F.map_isZero hU) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.StalkSupportTransport |