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.ReferenceFamily.AdjunctionExtNaturality |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PushforwardCohomology |
| 3 | |
| 4 | /-! # Pushforward Cohomology Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PushforwardCohomologyNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual comparison from direct-image cohomology to source |
| 11 | cohomology commutes with maps of coefficient sheaves. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 14 | |
| 15 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 16 | |
| 17 | local instance pushforwardNaturality_sourceInjectives : EnoughInjectives (ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.AbelianSheaves X) := |
| 18 | ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.abelianSheaves_enoughInjectives X |
| 19 | local instance pushforwardNaturality_sourceExt : HasExt.{0} (ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.AbelianSheaves X) := |
| 20 | hasExt_of_enoughInjectives _ |
| 21 | local instance pushforwardNaturality_targetInjectives : EnoughInjectives (ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.AbelianSheaves Y) := |
| 22 | ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.abelianSheaves_enoughInjectives Y |
| 23 | local instance pushforwardNaturality_targetExt : HasExt.{0} (ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.AbelianSheaves Y) := |
| 24 | hasExt_of_enoughInjectives _ |
| 25 | |
| 26 | theorem abelianPushforwardCohomologyMap_natural |
| 27 | {F G : ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.AbelianSheaves X} (a : F ⟶ G) (n : ℕ) |
| 28 | (x : CategoryTheory.Sheaf.H ((ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafPullback.Construction.abelianSheafPushforward f).obj F) n) : |
| 29 | ArithmeticGeometry.OrdinaryLocus.Openness.PushforwardCohomology.Construction.abelianPushforwardCohomologyMap f G n |
| 30 | (CategoryTheory.Sheaf.H.map ((ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafPullback.Construction.abelianSheafPushforward f).map a) n x) = |
| 31 | CategoryTheory.Sheaf.H.map a n (ArithmeticGeometry.OrdinaryLocus.Openness.PushforwardCohomology.Construction.abelianPushforwardCohomologyMap f F n x) := by |
| 32 | let P := (constantSheaf (_root_.Opens.grothendieckTopology Y) AddCommGrpCat.{0}).obj (AddCommGrpCat.of (ULift ℤ)) |
| 33 | let e := (ArithmeticGeometry.OrdinaryLocus.Openness.PushforwardCohomology.Construction.abelianPullbackConstantIso f).app (AddCommGrpCat.of (ULift ℤ)) |
| 34 | let adj := ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafPullback.Construction.abelianSheafPullbackAdjunction f |
| 35 | change (Ext.mk₀ e.inv).comp |
| 36 | (ArithmeticGeometry.OrdinaryLocus.Openness.AdjunctionExtOne.Construction.adjunctionExtMap adj P G n |
| 37 | (x.comp (Ext.mk₀ ((ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafPullback.Construction.abelianSheafPushforward f).map a)) (add_zero n))) (zero_add n) = |
| 38 | ((Ext.mk₀ e.inv).comp (ArithmeticGeometry.OrdinaryLocus.Openness.AdjunctionExtOne.Construction.adjunctionExtMap adj P F n x) (zero_add n)).comp (Ext.mk₀ a) (add_zero n) |
| 39 | rw [AdjunctionExtNaturality.adjunctionExtMap_natural, Ext.comp_assoc_of_third_deg_zero] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PushforwardCohomologyNaturality |