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.HomDerivedPrecomp |
| 2 | import OAI.AlgebraicTopology.Support.CohomologyInjectiveModel |
| 3 | |
| 4 | /-! # Supported Injective Derived Class -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.SupportedInjectiveDerivedClass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The original supported injective model represents the original Ext morphism -/ |
| 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 | variable (Y : TopCat.{0}) (U : Opens Y) |
| 20 | [HasExt.{1} (CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat)] |
| 21 | |
| 22 | local instance CMSupportedInjectiveDerivedClass.localInstance1 : |
| 23 | HasDerivedCategory (CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat) := |
| 24 | HasDerivedCategory.standard _ |
| 25 | |
| 26 | theorem supportedInjectiveDerivedClass |
| 27 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat) |
| 28 | (I : CochainComplex (CategoryTheory.Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat) ℤ) |
| 29 | [I.IsKInjective] (ι : (CochainComplex.singleFunctor _ 0).obj F ⟶ I) [QuasiIso ι] (n : ℕ) |
| 30 | (b : OAI.CategoryTheory.Sites.SheafCohomologyPair.Sheaf.relH F n (homOfLE (le_top : U ≤ ⊤))) : |
| 31 | HomPostcomp.cohomologyClassToDerived _ I (n : ℤ) |
| 32 | (homologyAddEquiv _ I (n : ℤ) |
| 33 | (homologyMap (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.homComplexPairSheafIsoSupportedSections Y U ⊤ U (top_inf_eq U) I).inv |
| 34 | (n : ℤ) (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.relHAddEquivSupportedSectionsHomology Y U ⊤ U (top_inf_eq U) F I ι n b))) = |
| 35 | Ext.homAddEquiv b ≫ (DerivedCategory.Q.map ι)⟦(n : ℤ)⟧' := by |
| 36 | let : IsIso (DerivedCategory.Q.map ι) := |
| 37 | (DerivedCategory.isIso_Q_map_iff_quasiIso (φ := ι)).2 inferInstance |
| 38 | have h : homologyAddEquiv _ I (n : ℤ) |
| 39 | (homologyMap (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.homComplexPairSheafIsoSupportedSections Y U ⊤ U (top_inf_eq U) I).inv |
| 40 | (n : ℤ) (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.relHAddEquivSupportedSectionsHomology Y U ⊤ U (top_inf_eq U) F I ι n b)) = |
| 41 | Algebra.Homology.DerivedCategoryInjectiveHom.CochainComplex.kInjectiveDerivedHomAddEquivCohomologyClass |
| 42 | ((CochainComplex.singleFunctor _ 0).obj (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.pairSheaf' Y U ⊤ U (top_inf_eq U))) I (n : ℤ) |
| 43 | (Ext.homAddEquiv b ≫ (DerivedCategory.Q.map ι)⟦(n : ℤ)⟧') := by |
| 44 | let A := (CochainComplex.singleFunctor _ 0).obj (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.pairSheaf' Y U ⊤ U (top_inf_eq U)) |
| 45 | let e := homologyMapIso (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.homComplexPairSheafIsoSupportedSections Y U ⊤ U (top_inf_eq U) I) |
| 46 | (n : ℤ) |
| 47 | let c := Algebra.Homology.DerivedCategoryInjectiveHom.CochainComplex.kInjectiveDerivedHomAddEquivCohomologyClass A I (n : ℤ) |
| 48 | (Algebra.Homology.DerivedCategoryInjectiveHom.CategoryTheory.isoHomCongrAddEquiv (Iso.refl (DerivedCategory.Q.obj A)) |
| 49 | ((shiftFunctor _ (n : ℤ)).mapIso (asIso (DerivedCategory.Q.map ι))) |
| 50 | (Ext.homAddEquiv b)) |
| 51 | change homologyAddEquiv A I (n : ℤ) |
| 52 | (e.inv (e.hom ((homologyAddEquiv A I (n : ℤ)).symm c))) = _ |
| 53 | have he : e.inv (e.hom ((homologyAddEquiv A I (n : ℤ)).symm c)) = |
| 54 | (homologyAddEquiv A I (n : ℤ)).symm c := |
| 55 | ConcreteCategory.congr_hom e.hom_inv_id _ |
| 56 | rw [he, AddEquiv.apply_symm_apply] |
| 57 | dsimp only [c, Algebra.Homology.DerivedCategoryInjectiveHom.CategoryTheory.isoHomCongrAddEquiv_apply, Iso.refl_inv, Functor.mapIso_hom, asIso_hom] |
| 58 | rw [Category.id_comp] |
| 59 | rw [h, HomPostcomp.cohomologyClassToDerived_kInjective] |
| 60 | exact (Algebra.Homology.DerivedCategoryInjectiveHom.CochainComplex.kInjectiveDerivedHomAddEquivCohomologyClass |
| 61 | ((CochainComplex.singleFunctor _ 0).obj (AlgebraicTopology.Support.CohomologyInjectiveModel.TopCat.Sheaf.pairSheaf' Y U ⊤ U (top_inf_eq U))) |
| 62 | I (n : ℤ)).symm_apply_apply _ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.ComplexMultiplication.SupportedInjectiveDerivedClass |