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.ComplexMultiplication.SupportedToGlobalHom |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.SupportedInjectiveDerivedClass |
| 3 | |
| 4 | /-! # Supported Injective Global Derived -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.SupportedInjectiveGlobalDerived |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The derived morphism of the actual support-forgetting inclusion -/ |
| 11 | |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory Limits Abelian Opposite _root_.TopologicalSpace |
| 17 | open _root_.TopCat.Sheaf _root_.CochainComplex.HomComplex _root_.HomologicalComplex |
| 18 | |
| 19 | attribute [local implicit_reducible] TopCat.Sheaf TopCat.instCategorySheaf TopCat.Sheaf.instAbelian |
| 20 | |
| 21 | variable (Y : TopCat.{0}) (U : Opens Y) |
| 22 | [HasExt.{1} (CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat)] |
| 23 | local instance CMSupportedInjectiveGlobalDerived.localInstance1 : HasDerivedCategory |
| 24 | (CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat) := |
| 25 | HasDerivedCategory.standard _ |
| 26 | local instance CMSupportedInjectiveGlobalDerived.localInstance2 : HasDerivedCategory (TopCat.Sheaf AddCommGrpCat Y) := |
| 27 | HasDerivedCategory.standard _ |
| 28 | |
| 29 | theorem supportedInjectiveGlobalDerivedClass |
| 30 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat) |
| 31 | (I : CochainComplex (CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat) ℤ) |
| 32 | [I.IsKInjective] (ι : (CochainComplex.singleFunctor _ 0).obj F ⟶ I) [QuasiIso ι] (n : ℕ) |
| 33 | (b : OAI.CategoryTheory.Sites.SheafCohomologyPair.Sheaf.relH F n (homOfLE (le_top : U ≤ ⊤))) : |
| 34 | HomPostcomp.cohomologyClassToDerived (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex Y) I (n : ℤ) |
| 35 | (homologyAddEquiv _ I (n : ℤ) |
| 36 | (homologyMap (Cohomology.GlobalSections.TopCat.Sheaf.homComplexSingleIntegerIsoGlobalSections Y I).inv (n : ℤ) |
| 37 | (homologyMap (SupportedToGlobalHom.supportedToGlobalSectionComplex Y U I) (n : ℤ) |
| 38 | (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.relHAddEquivSupportedSectionsHomology Y U ⊤ U (top_inf_eq U) F I ι n b)))) = |
| 39 | DerivedCategory.Q.map ((CochainComplex.singleFunctor _ 0).map |
| 40 | (SupportedToGlobalHom.integerToSupportPairSheaf Y U)) ≫ |
| 41 | Ext.homAddEquiv b ≫ (DerivedCategory.Q.map ι)⟦(n : ℤ)⟧' := by |
| 42 | rw [SupportedToGlobalHom.supportedToGlobalHomComplex_class] |
| 43 | have hd := HomDerivedPrecomp.cohomologyClassToDerived_precomp |
| 44 | ((CochainComplex.singleFunctor _ 0).map (SupportedToGlobalHom.integerToSupportPairSheaf Y U)) |
| 45 | (n : ℤ) (homologyAddEquiv _ I (n : ℤ) |
| 46 | (homologyMap (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.homComplexPairSheafIsoSupportedSections Y U ⊤ U |
| 47 | (top_inf_eq U) I).inv (n : ℤ) |
| 48 | (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.relHAddEquivSupportedSectionsHomology Y U ⊤ U (top_inf_eq U) F I ι n b))) |
| 49 | simpa only [] using! hd.trans |
| 50 | (congrArg (fun z => DerivedCategory.Q.map |
| 51 | ((CochainComplex.singleFunctor _ 0).map (SupportedToGlobalHom.integerToSupportPairSheaf Y U)) ≫ z) |
| 52 | (SupportedInjectiveDerivedClass.supportedInjectiveDerivedClass Y U F I ι n b)) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.ComplexMultiplication.SupportedInjectiveGlobalDerived |