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.Open.RestrictionCohomologyZero |
| 2 | |
| 3 | /-! # Additive Sheaf Restriction Limits -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.AdditiveSheafRestrictionLimits.ZariskiCohomology.LocalKilling |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | universe u |
| 10 | open _root_.CategoryTheory Limits Opposite _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 11 | |
| 12 | noncomputable instance openSheafPullback_preservesFiniteLimits |
| 13 | {X : Scheme.{u}} (U : X.Opens) : |
| 14 | PreservesFiniteLimits (AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U) := by |
| 15 | let := U.ι.isOpenEmbedding.functor_isContinuous |
| 16 | let E₁ := AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U ⋙ |
| 17 | sheafToPresheaf (Opens.grothendieckTopology U) AddCommGrpCat.{u} |
| 18 | let E₂ := sheafToPresheaf |
| 19 | (Opens.grothendieckTopology X) AddCommGrpCat.{u} ⋙ |
| 20 | (Functor.whiskeringLeft _ _ AddCommGrpCat.{u}).obj |
| 21 | U.ι.isOpenEmbedding.functor.op |
| 22 | let e : E₁ ≅ E₂ := |
| 23 | U.ι.isOpenEmbedding.functor.sheafPushforwardContinuousCompSheafToPresheafIso |
| 24 | AddCommGrpCat.{u} (Opens.grothendieckTopology U) |
| 25 | (Opens.grothendieckTopology X) |
| 26 | have : PreservesFiniteLimits |
| 27 | (sheafToPresheaf (Opens.grothendieckTopology X) |
| 28 | AddCommGrpCat.{u}) := by infer_instance |
| 29 | have : PreservesFiniteLimits |
| 30 | ((Functor.whiskeringLeft _ _ AddCommGrpCat.{u}).obj |
| 31 | U.ι.isOpenEmbedding.functor.op) := by infer_instance |
| 32 | have : PreservesFiniteLimits E₂ := by infer_instance |
| 33 | have : PreservesFiniteLimits E₁ := |
| 34 | preservesFiniteLimits_of_natIso e.symm |
| 35 | exact preservesFiniteLimits_of_reflects_of_preserves _ |
| 36 | (sheafToPresheaf (Opens.grothendieckTopology U) AddCommGrpCat.{u}) |
| 37 | |
| 38 | noncomputable instance openSheafPushforward_preservesFiniteLimits |
| 39 | {X : Scheme.{u}} (U : X.Opens) : |
| 40 | PreservesFiniteLimits (AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPushforward U) := by |
| 41 | let E₁ := AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPushforward U ⋙ |
| 42 | sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} |
| 43 | let E₂ := sheafToPresheaf |
| 44 | (Opens.grothendieckTopology U) AddCommGrpCat.{u} ⋙ |
| 45 | TopCat.Presheaf.pushforward AddCommGrpCat.{u} U.ι.base |
| 46 | let e : E₁ ≅ E₂ := |
| 47 | TopCat.Sheaf.pushforwardForgetIso AddCommGrpCat.{u} U.ι.base |
| 48 | have : PreservesFiniteLimits |
| 49 | (sheafToPresheaf (Opens.grothendieckTopology U) |
| 50 | AddCommGrpCat.{u}) := by infer_instance |
| 51 | have : PreservesFiniteLimits |
| 52 | (TopCat.Presheaf.pushforward AddCommGrpCat.{u} U.ι.base) := by |
| 53 | dsimp [TopCat.Presheaf.pushforward] |
| 54 | exact ⟨fun J _ _ ↦ whiskeringLeft_preservesLimitsOfShape J _⟩ |
| 55 | have : PreservesFiniteLimits E₂ := by infer_instance |
| 56 | have : PreservesFiniteLimits E₁ := |
| 57 | preservesFiniteLimits_of_natIso e.symm |
| 58 | exact preservesFiniteLimits_of_reflects_of_preserves _ |
| 59 | (sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) |
| 60 | |
| 61 | noncomputable instance openRestrictionPushforward_preservesFiniteLimits |
| 62 | {X : Scheme.{u}} (U : X.Opens) : |
| 63 | PreservesFiniteLimits (AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U) := by |
| 64 | let : PreservesFiniteLimits |
| 65 | (AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U) := |
| 66 | openSheafPullback_preservesFiniteLimits U |
| 67 | let : PreservesFiniteLimits |
| 68 | (AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPushforward U) := by |
| 69 | exact openSheafPushforward_preservesFiniteLimits U |
| 70 | exact comp_preservesFiniteLimits _ _ |
| 71 | |
| 72 | theorem toSheaf_restrictAdjunction_unit |
| 73 | {X : Scheme.{u}} (U : X.Opens) (M : X.Modules) : |
| 74 | (SheafOfModules.toSheaf X.ringCatSheaf).map |
| 75 | ((Scheme.Modules.restrictAdjunction U.ι).unit.app M) = |
| 76 | (AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app |
| 77 | ((SheafOfModules.toSheaf X.ringCatSheaf).obj M) := rfl |
| 78 | |
| 79 | theorem zariskiFunctor_map_restrictAdjunction_unit_eq_zero |
| 80 | {X : Scheme.{u}} {n : ℕ} (U : X.Opens) (M : X.Modules) (c : Zariski.Cohomology.ZariskiCohomology.H M n) |
| 81 | (hc : (c.comp (Abelian.Ext.mk₀ |
| 82 | ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app |
| 83 | ((SheafOfModules.toSheaf X.ringCatSheaf).obj M))) rfl : |
| 84 | AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj |
| 85 | ((SheafOfModules.toSheaf X.ringCatSheaf).obj M)) n) = 0) : |
| 86 | (Zariski.Cohomology.ZariskiCohomology.zariskiFunctor X n).map |
| 87 | ((Scheme.Modules.restrictAdjunction U.ι).unit.app M) c = 0 := by |
| 88 | exact hc |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.AdditiveSheafRestrictionLimits.ZariskiCohomology.LocalKilling |