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.Comparison.Betti.Sheaf.ModulePushforwardStalk |
| 2 | import Mathlib.Algebra.Category.Grp.Zero |
| 3 | |
| 4 | /-! # Module Pushforward Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Closed.ModulePushforwardZero.Local |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A native module direct-image stalk vanishes outside a closed image. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 15 | {R : Sheaf (Opens.grothendieckTopology X) RingCat.{0}} |
| 16 | {S : Sheaf (Opens.grothendieckTopology Y) RingCat.{0}} |
| 17 | [(Opens.map f).IsContinuous (Opens.grothendieckTopology Y) (Opens.grothendieckTopology X)] |
| 18 | (φ : S ⟶ ((Opens.map f).sheafPushforwardContinuous RingCat |
| 19 | (Opens.grothendieckTopology Y) (Opens.grothendieckTopology X)).obj R) |
| 20 | |
| 21 | theorem closedModulePushforwardStalkZero (hclosed : IsClosed (Set.range f)) |
| 22 | (M : SheafOfModules.{0} R) (y : Y) (hy : y ∉ Set.range f) : |
| 23 | IsZero ((StalkPointModuleAdjunction.Local.sheafRingModuleStalk S y).obj ((SheafOfModules.pushforward φ).obj M)) := by |
| 24 | let P : TopCat.Presheaf AddCommGrpCat Y := |
| 25 | ((SheafOfModules.pushforward φ).obj M).val.presheaf |
| 26 | let F : TopCat.Sheaf AddCommGrpCat X := (SheafOfModules.toSheaf R).obj M |
| 27 | let U : Opens Y := ⟨(Set.range f)ᶜ, hclosed.isOpen_compl⟩ |
| 28 | have hzero : IsZero (P.stalk y) := by |
| 29 | rw [IsZero.iff_id_eq_zero] |
| 30 | apply P.stalk_hom_ext |
| 31 | intro V hyV |
| 32 | simp only [Category.comp_id, comp_zero] |
| 33 | have hempty : (Opens.map f).obj (V ⊓ U) = ⊥ := by |
| 34 | ext x |
| 35 | constructor |
| 36 | · intro hx |
| 37 | change f x ∈ V ∧ f x ∉ Set.range f at hx |
| 38 | exact (hx.2 ⟨x, rfl⟩).elim |
| 39 | · intro hx |
| 40 | exact hx.elim |
| 41 | have hz : IsZero (P.obj (op (V ⊓ U))) := (F.isTerminalOfEqEmpty hempty).isZero |
| 42 | have hw : P.germ (V ⊓ U) y ⟨hyV, hy⟩ = 0 := hz.eq_of_src _ _ |
| 43 | have hr := P.germ_res (homOfLE inf_le_left : V ⊓ U ⟶ V) y ⟨hyV, hy⟩ |
| 44 | exact hr.symm.trans (by rw [hw, comp_zero]) |
| 45 | apply ModuleCat.isZero_iff_subsingleton.mpr |
| 46 | exact AddCommGrpCat.isZero_iff_subsingleton.mp hzero |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Comparison.Betti.Closed.ModulePushforwardZero.Local |