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.Cech.Comparison |
| 2 | |
| 3 | /-! # Cech Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.CechComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The map from actual abelian Cech cohomology to sheaf Ext cohomology for any |
| 11 | open cover. Only the horizontal edge is inverted; no acyclicity of cover |
| 12 | intersections is required. The construction is natural in the coefficient sheaf. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | variable {X : TopCat.{0}} {I : Type} (U : I → Opens X) |
| 22 | |
| 23 | local instance abelianCechSections_additive : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive := |
| 24 | (CategoryTheory.constantSheafΓAdj |
| 25 | (Opens.grothendieckTopology X) AddCommGrpCat.{0}).right_adjoint_additive |
| 26 | |
| 27 | def abelianCechToDerived (F : TopCat.Sheaf AddCommGrpCat.{0} X) |
| 28 | (hU : ⨆ i, U i = ⊤) (n : ℕ) : |
| 29 | ((CategoryTheory.cechComplexFunctor U).obj F.obj).homology (n + 1) ⟶ |
| 30 | ((SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).rightDerived (n + 1)).obj (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F) := |
| 31 | HomologicalComplex.homologyMap (SheafCohomology.Cech.InjectiveAugmentation.TopCat.Sheaf.cechInjectiveResolutionVerticalEdge U F) (n + 1) ≫ |
| 32 | (SheafCohomology.Cech.Comparison.TopCat.Sheaf.cechPositiveHorizontalHomologyIso U F hU n).inv ≫ |
| 33 | ((injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F)).isoRightDerivedObj |
| 34 | (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (n + 1)).inv |
| 35 | |
| 36 | def abelianCechToSheaf (F : TopCat.Sheaf AddCommGrpCat.{0} X) |
| 37 | (hU : ⨆ i, U i = ⊤) (n : ℕ) : |
| 38 | ((CategoryTheory.cechComplexFunctor U).obj F.obj).homology (n + 1) ⟶ |
| 39 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj F := |
| 40 | abelianCechToDerived U F hU n ≫ |
| 41 | (SheafCohomology.Cech.Compat.TopCat.Sheaf.H.addEquivRightDerivedGlobalSections F (n + 1)).symm.toAddCommGrpIso.hom |
| 42 | |
| 43 | theorem abelianCechToDerived_naturality |
| 44 | {F G : TopCat.Sheaf AddCommGrpCat.{0} X} (f : F ⟶ G) |
| 45 | (hU : ⨆ i, U i = ⊤) (n : ℕ) : |
| 46 | HomologicalComplex.homologyMap ((CategoryTheory.cechComplexFunctor U).map f.hom) (n + 1) ≫ |
| 47 | abelianCechToDerived U G hU n = |
| 48 | abelianCechToDerived U F hU n ≫ |
| 49 | ((SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).rightDerived (n + 1)).map f := by |
| 50 | let IF := injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F) |
| 51 | let IG := injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf G) |
| 52 | let phi : InjectiveResolution.Hom IF IG f := |
| 53 | { hom := InjectiveResolution.desc f IG IF |
| 54 | ι_f_zero_comp_hom_f_zero := InjectiveResolution.desc_commutes_zero f IG IF } |
| 55 | let t := SheafCohomology.Cech.InjectiveAugmentation.TopCat.Sheaf.cechInjectiveResolutionTotalMap U phi.hom |
| 56 | let s := SheafCohomology.Cech.HorizontalComparison.TopCat.Sheaf.cechResolutionSectionsMap phi.hom |
| 57 | have hv : |
| 58 | HomologicalComplex.homologyMap ((CategoryTheory.cechComplexFunctor U).map f.hom) (n + 1) ≫ |
| 59 | HomologicalComplex.homologyMap (SheafCohomology.Cech.InjectiveAugmentation.TopCat.Sheaf.cechInjectiveResolutionVerticalEdge U G) (n + 1) = |
| 60 | HomologicalComplex.homologyMap (SheafCohomology.Cech.InjectiveAugmentation.TopCat.Sheaf.cechInjectiveResolutionVerticalEdge U F) (n + 1) ≫ |
| 61 | HomologicalComplex.homologyMap t (n + 1) := by |
| 62 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp] |
| 63 | exact congrArg (fun g => HomologicalComplex.homologyMap g (n + 1)) |
| 64 | (SheafCohomology.Cech.InjectiveAugmentation.TopCat.Sheaf.cechInjectiveResolutionVerticalEdge_naturality U f phi).symm |
| 65 | have hh : HomologicalComplex.homologyMap s (n + 1) ≫ |
| 66 | (SheafCohomology.Cech.Comparison.TopCat.Sheaf.cechPositiveHorizontalHomologyIso U G hU n).hom = |
| 67 | (SheafCohomology.Cech.Comparison.TopCat.Sheaf.cechPositiveHorizontalHomologyIso U F hU n).hom ≫ |
| 68 | HomologicalComplex.homologyMap t (n + 1) := by |
| 69 | change HomologicalComplex.homologyMap s (n + 1) ≫ |
| 70 | HomologicalComplex.homologyMap (SheafCohomology.Cech.HorizontalComparison.TopCat.Sheaf.cechResolutionHorizontalEdge U G) (n + 1) = |
| 71 | HomologicalComplex.homologyMap (SheafCohomology.Cech.HorizontalComparison.TopCat.Sheaf.cechResolutionHorizontalEdge U F) (n + 1) ≫ |
| 72 | HomologicalComplex.homologyMap t (n + 1) |
| 73 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp] |
| 74 | exact congrArg (fun g => HomologicalComplex.homologyMap g (n + 1)) |
| 75 | (SheafCohomology.Cech.HorizontalComparison.TopCat.Sheaf.cechResolutionHorizontalEdge_naturality U f phi) |
| 76 | have hi : HomologicalComplex.homologyMap t (n + 1) ≫ |
| 77 | (SheafCohomology.Cech.Comparison.TopCat.Sheaf.cechPositiveHorizontalHomologyIso U G hU n).inv = |
| 78 | (SheafCohomology.Cech.Comparison.TopCat.Sheaf.cechPositiveHorizontalHomologyIso U F hU n).inv ≫ |
| 79 | HomologicalComplex.homologyMap s (n + 1) := by |
| 80 | rw [(SheafCohomology.Cech.Comparison.TopCat.Sheaf.cechPositiveHorizontalHomologyIso U G hU n).comp_inv_eq, Category.assoc, hh] |
| 81 | simp |
| 82 | have hd : HomologicalComplex.homologyMap s (n + 1) ≫ |
| 83 | (IG.isoRightDerivedObj (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (n + 1)).inv = |
| 84 | (IF.isoRightDerivedObj (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (n + 1)).inv ≫ |
| 85 | ((SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).rightDerived (n + 1)).map f := by |
| 86 | exact (@InjectiveResolution.isoRightDerivedObj_inv_naturality |
| 87 | _ _ _ _ _ _ _ _ _ f IF IG phi.hom phi.ι_f_zero_comp_hom_f_zero |
| 88 | (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (abelianCechSections_additive (X := X)) (n + 1)).symm |
| 89 | unfold abelianCechToDerived |
| 90 | rw [← Category.assoc, ← Category.assoc, hv, Category.assoc, Category.assoc, |
| 91 | ← Category.assoc (HomologicalComplex.homologyMap t (n + 1)), hi, |
| 92 | Category.assoc, hd] |
| 93 | simp only [Category.assoc] |
| 94 | rfl |
| 95 | |
| 96 | theorem abelianCechToSheaf_naturality |
| 97 | {F G : TopCat.Sheaf AddCommGrpCat.{0} X} (f : F ⟶ G) |
| 98 | (hU : ⨆ i, U i = ⊤) (n : ℕ) : |
| 99 | HomologicalComplex.homologyMap ((CategoryTheory.cechComplexFunctor U).map f.hom) (n + 1) ≫ |
| 100 | abelianCechToSheaf U G hU n = |
| 101 | abelianCechToSheaf U F hU n ≫ |
| 102 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map f := by |
| 103 | unfold abelianCechToSheaf |
| 104 | rw [← Category.assoc, abelianCechToDerived_naturality] |
| 105 | simp only [Category.assoc] |
| 106 | congr 1 |
| 107 | ext x |
| 108 | exact SheafCohomology.Cech.Compat.TopCat.Sheaf.H.addEquivRightDerivedGlobalSections_symm_naturality f (n + 1) x |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.CechComparison |