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.HodgeConjecture.DegreeTwo.PushforwardSheafStalk |
| 2 | |
| 3 | /-! # Closed Pushforward Exactness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedPushforwardExactness.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Closed-embedding pushforward preserves exactness of genuine sheaf complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | variable {R : Type} [Ring R] {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 16 | variable (hf : Topology.IsClosedEmbedding f) |
| 17 | |
| 18 | include hf |
| 19 | |
| 20 | theorem closedPushforwardSheaf_stalk_isZero (F : TopCat.Sheaf (ModuleCat.{0} R) Y) |
| 21 | (x : X) (hx : x ∉ Set.range f) : |
| 22 | IsZero (((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).obj F).presheaf.stalk x) := by |
| 23 | let O : Opens X := ⟨(Set.range f)ᶜ, hf.isClosed_range.isOpen_compl⟩ |
| 24 | apply ModuleCat.isZero_iff_subsingleton.mpr |
| 25 | apply subsingleton_of_forall_eq 0 |
| 26 | intro s |
| 27 | obtain ⟨U,hU,hxU,t,rfl⟩ := |
| 28 | (((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).obj F).presheaf).exists_le_germ_eq s |
| 29 | (show x∈O from hx) |
| 30 | have he : (Opens.map f).obj U = ⊥ := by |
| 31 | apply le_antisymm |
| 32 | · intro y hy |
| 33 | exact False.elim ((hU hy) ⟨y,rfl⟩) |
| 34 | · exact bot_le |
| 35 | have hz : IsZero (F.obj.obj (op ((Opens.map f).obj U))) := |
| 36 | (F.isTerminalOfEqEmpty he).isZero |
| 37 | have : Subsingleton (F.obj.obj (op ((Opens.map f).obj U))) := |
| 38 | ModuleCat.isZero_iff_subsingleton.mp hz |
| 39 | have ht : t=0 := @Subsingleton.elim (F.obj.obj (op ((Opens.map f).obj U))) _ t 0 |
| 40 | rw [ht, map_zero] |
| 41 | |
| 42 | theorem closedPushforwardSheafComplex_stalk_exactAt |
| 43 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) Y) ℕ) |
| 44 | (x : X) (hx : x ∉ Set.range f) (n : ℕ) : |
| 45 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex (PushforwardSheafStalk.Constructions.moduleSheafPushforwardComplex f K) x).ExactAt n := |
| 46 | HomologicalComplex.ExactAt.of_isZero (closedPushforwardSheaf_stalk_isZero f hf (K.X n) x hx) |
| 47 | |
| 48 | theorem closedPushforwardSheafComplex_exactAt |
| 49 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) Y) ℕ) (n : ℕ) (hK : K.ExactAt n) : |
| 50 | (PushforwardSheafStalk.Constructions.moduleSheafPushforwardComplex f K).ExactAt n := by |
| 51 | apply (TopCat.Sheaf.exact_iff_stalkFunctor_map_exact |
| 52 | ((PushforwardSheafStalk.Constructions.moduleSheafPushforwardComplex f K).sc n)).mpr |
| 53 | intro x |
| 54 | by_cases hx : x∈Set.range f |
| 55 | · obtain ⟨y,rfl⟩ := hx |
| 56 | have hs : (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex K y).ExactAt n := |
| 57 | (TopCat.Sheaf.exact_iff_stalkFunctor_map_exact (K.sc n)).mp hK y |
| 58 | exact hs.of_iso (PushforwardSheafStalk.Constructions.pushforwardSheafStalkComplexIso f hf.isEmbedding.isInducing K y).symm |
| 59 | · exact closedPushforwardSheafComplex_stalk_exactAt f hf K x hx n |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedPushforwardExactness.Constructions |