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.SheafCohomology.Coefficients |
| 2 | import Mathlib.Algebra.Category.Grp.ZModuleEquivalence |
| 3 | |
| 4 | /-! # Integer Coefficients -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.IntegerCoefficients.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integer-module sheaves and abelian-group sheaves carry the same Ext groups. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | abbrev integerSheafForget (X : TopCat.{0}) := |
| 15 | sheafCompose (Opens.grothendieckTopology X) |
| 16 | (forget₂ (ModuleCat.{0} ℤ) AddCommGrpCat.{0}) |
| 17 | |
| 18 | instance integerSheafForget_essSurj (X : TopCat.{0}) : |
| 19 | (integerSheafForget X).EssSurj where |
| 20 | mem_essImage F := by |
| 21 | let e := (forget₂ (ModuleCat.{0} ℤ) AddCommGrpCat.{0}).asEquivalence |
| 22 | let G := (sheafCompose (Opens.grothendieckTopology X) e.inverse).obj F |
| 23 | refine ⟨G, ⟨(fullyFaithfulSheafToPresheaf |
| 24 | (Opens.grothendieckTopology X) AddCommGrpCat.{0}).preimageIso ?_⟩⟩ |
| 25 | exact Functor.associator F.obj e.inverse e.functor ≪≫ |
| 26 | Functor.isoWhiskerLeft F.obj e.counitIso ≪≫ Functor.rightUnitor F.obj |
| 27 | |
| 28 | instance integerSheafForget_isEquivalence (X : TopCat.{0}) : |
| 29 | (integerSheafForget X).IsEquivalence where |
| 30 | |
| 31 | instance integerSheafForget_additive (X : TopCat.{0}) : |
| 32 | (integerSheafForget X).Additive where |
| 33 | map_add := by |
| 34 | intro M N f g |
| 35 | apply Sheaf.hom_ext |
| 36 | ext U x |
| 37 | rfl |
| 38 | |
| 39 | def integerSheafExtEquiv (X : TopCat.{0}) |
| 40 | [HasExt.{1} (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℤ))] |
| 41 | [HasExt.{1} (Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0})] |
| 42 | (M N : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℤ)) (n : ℕ) : |
| 43 | Abelian.Ext M N n ≃+ |
| 44 | Abelian.Ext ((integerSheafForget X).obj M) ((integerSheafForget X).obj N) n := |
| 45 | AddEquiv.ofBijective ((integerSheafForget X).mapExtAddHom M N n) |
| 46 | ((integerSheafForget X).mapExt_bijective_of_preservesInjectiveObjects M N n) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.SheafCohomology.IntegerCoefficients.Projective |