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.FlasqueExact |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.InjectiveComparison |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatComparison |
| 4 | |
| 5 | /-! # Horizontal Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Cech.HorizontalComparison.TopCat.Sheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.TopCat |
| 12 | open _root_.TopCat.Sheaf |
| 13 | |
| 14 | /-! All positive horizontal comparisons for the actual Čech-injective double complex. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X : TopCat.{u}} {ι : Type u} (U : ι → Opens X) |
| 21 | |
| 22 | noncomputable local instance e35HorizontalSections_additive : (GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive := |
| 23 | (CategoryTheory.constantSheafΓAdj |
| 24 | (Opens.grothendieckTopology X) AddCommGrpCat.{u}).right_adjoint_additive |
| 25 | |
| 26 | noncomputable local instance e35HorizontalSections_preservesZero : |
| 27 | (GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).PreservesZeroMorphisms := |
| 28 | Functor.preservesZeroMorphisms_of_additive (F := GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) |
| 29 | |
| 30 | /-- Global sections applied degreewise to the chosen injective resolution. -/ |
| 31 | noncomputable def cechResolutionSectionsComplex |
| 32 | (F : Sheaf AddCommGrpCat.{u} X) : |
| 33 | CochainComplex AddCommGrpCat.{u} ℕ := |
| 34 | ((GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).mapHomologicalComplex (.up ℕ)).obj |
| 35 | (injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex |
| 36 | |
| 37 | noncomputable def cechResolutionSectionsMap |
| 38 | {F G : Sheaf AddCommGrpCat.{u} X} |
| 39 | (phi : (injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex ⟶ |
| 40 | (injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf G)).cocomplex) : |
| 41 | cechResolutionSectionsComplex F ⟶ |
| 42 | cechResolutionSectionsComplex G := |
| 43 | ((GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).mapHomologicalComplex (.up ℕ)).map phi |
| 44 | |
| 45 | @[simp] |
| 46 | theorem cechResolutionSectionsMap_f |
| 47 | {F G : Sheaf AddCommGrpCat.{u} X} |
| 48 | (phi : (injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex ⟶ |
| 49 | (injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf G)).cocomplex) (q : ℕ) : |
| 50 | (cechResolutionSectionsMap phi).f q = |
| 51 | (GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).map (phi.f q) := |
| 52 | rfl |
| 53 | |
| 54 | /-- The row augmentation from global sections of the resolution to native |
| 55 | Cech degree zero. -/ |
| 56 | noncomputable def cechResolutionHorizontalAugmentation |
| 57 | (F : Sheaf AddCommGrpCat.{u} X) (q : ℕ) : |
| 58 | (cechResolutionSectionsComplex F).X q ⟶ |
| 59 | ((InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F).X q).X 0 := |
| 60 | GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation |
| 61 | ((injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex.X q) U |
| 62 | |
| 63 | @[simp] |
| 64 | theorem cechResolutionHorizontalAugmentation_eq |
| 65 | (F : Sheaf AddCommGrpCat.{u} X) (q : ℕ) : |
| 66 | cechResolutionHorizontalAugmentation U F q = |
| 67 | GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation |
| 68 | ((injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex.X q) U := |
| 69 | rfl |
| 70 | |
| 71 | theorem cechResolutionHorizontalAugmentation_comm |
| 72 | (F : Sheaf AddCommGrpCat.{u} X) (q q' : ℕ) |
| 73 | (_ : (ComplexShape.up ℕ).Rel q q') : |
| 74 | cechResolutionHorizontalAugmentation U F q ≫ |
| 75 | ((InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F).d q q').f 0 = |
| 76 | (cechResolutionSectionsComplex F).d q q' ≫ |
| 77 | cechResolutionHorizontalAugmentation U F q' := by |
| 78 | let I := injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F) |
| 79 | change GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation (I.cocomplex.X q) U ≫ |
| 80 | ((cechComplexFunctor U).map (I.cocomplex.d q q').hom).f 0 = |
| 81 | (GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).map (I.cocomplex.d q q') ≫ |
| 82 | GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation (I.cocomplex.X q') U |
| 83 | exact GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation_naturality |
| 84 | (U := U) (F := I.cocomplex.X q) (I.cocomplex.d q q') |
| 85 | |
| 86 | theorem cechResolutionHorizontalAugmentation_comp_d |
| 87 | (F : Sheaf AddCommGrpCat.{u} X) (q : ℕ) : |
| 88 | cechResolutionHorizontalAugmentation U F q ≫ |
| 89 | ((InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F).X q).d 0 1 = 0 := by |
| 90 | let I := injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F) |
| 91 | change GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation (I.cocomplex.X q) U ≫ |
| 92 | ((cechComplexFunctor U).obj (I.cocomplex.X q).obj).d 0 1 = 0 |
| 93 | exact GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation_comp_d (I.cocomplex.X q) U |
| 94 | |
| 95 | /-- The horizontal edge from global sections of the injective resolution to |
| 96 | the total injective Cech bicomplex. -/ |
| 97 | noncomputable def cechResolutionHorizontalEdge |
| 98 | (F : Sheaf AddCommGrpCat.{u} X) : |
| 99 | cechResolutionSectionsComplex F ⟶ |
| 100 | (InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F).total (.up ℕ) := |
| 101 | (UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge |
| 102 | (InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F)) |
| 103 | (cechResolutionSectionsComplex F) |
| 104 | (cechResolutionHorizontalAugmentation U F) |
| 105 | (cechResolutionHorizontalAugmentation_comm U F) |
| 106 | (cechResolutionHorizontalAugmentation_comp_d U F) |
| 107 | |
| 108 | @[simp] |
| 109 | theorem cechResolutionHorizontalEdge_f |
| 110 | (F : Sheaf AddCommGrpCat.{u} X) (q : ℕ) : |
| 111 | (cechResolutionHorizontalEdge U F).f q = |
| 112 | cechResolutionHorizontalAugmentation U F q ≫ |
| 113 | (InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F).ιTotal |
| 114 | (.up ℕ) q 0 q rfl := by |
| 115 | rfl |
| 116 | |
| 117 | theorem cechResolutionHorizontalEdge_naturality |
| 118 | {F G : Sheaf AddCommGrpCat.{u} X} (f : F ⟶ G) |
| 119 | (phi : InjectiveResolution.Hom |
| 120 | (injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)) |
| 121 | (injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf G)) f) : |
| 122 | cechResolutionSectionsMap phi.hom ≫ |
| 123 | cechResolutionHorizontalEdge U G = |
| 124 | cechResolutionHorizontalEdge U F ≫ |
| 125 | InjectiveAugmentation.TopCat.Sheaf.cechInjectiveResolutionTotalMap U phi.hom := by |
| 126 | apply HomologicalComplex.Hom.ext |
| 127 | funext q |
| 128 | have hAug : |
| 129 | cechResolutionHorizontalAugmentation U F q ≫ |
| 130 | ((InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplexMap U phi.hom).f q).f 0 = |
| 131 | (cechResolutionSectionsMap phi.hom).f q ≫ |
| 132 | cechResolutionHorizontalAugmentation U G q := by |
| 133 | rw [InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplexMap_f_f, |
| 134 | cechResolutionSectionsMap_f, |
| 135 | cechResolutionHorizontalAugmentation_eq, |
| 136 | cechResolutionHorizontalAugmentation_eq] |
| 137 | exact GlobalSections.TopCat.Sheaf.cechGlobalSectionsAugmentation_naturality |
| 138 | (U := U) (f := phi.hom.f q) |
| 139 | simp only [HomologicalComplex.comp_f, |
| 140 | cechResolutionHorizontalEdge_f] |
| 141 | rw [Category.assoc, InjectiveAugmentation.TopCat.Sheaf.cechInjectiveResolutionTotalMap, |
| 142 | HomologicalComplex₂.ιTotal_map] |
| 143 | simp only [← Category.assoc] |
| 144 | rw [hAug] |
| 145 | |
| 146 | /-- Every row of the injective-resolution Čech bicomplex is exact in every positive degree. -/ |
| 147 | theorem cechInjectiveResolution_rowsExact (F : Sheaf AddCommGrpCat.{u} X) |
| 148 | (hU : ⨆ i, U i = ⊤) : |
| 149 | ComplexUpNatNormalize.Projective.RowsExact (InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F) := by |
| 150 | intro q p |
| 151 | let I := injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F) |
| 152 | have : IsFlasque (I.cocomplex.X q) := |
| 153 | @Compat.TopCat.Sheaf.IsFlasque.of_injective X (I.cocomplex.X q) (I.injective q) |
| 154 | apply (HomologicalComplex.exactAt_iff' |
| 155 | ((InjectiveBicomplex.TopCat.Sheaf.cechInjectiveResolutionBicomplex U F).X q) |
| 156 | p (p + 1) (p + 2) (by simp) (by simp)).1 |
| 157 | exact FlasqueExact.TopCat.Sheaf.cechComplex_exactAt_succ_of_isFlasque (I.cocomplex.X q) U hU p |
| 158 | |
| 159 | /-- The actual horizontal edge is a quasi-isomorphism in every positive degree. -/ |
| 160 | theorem cechResolutionHorizontalEdge_quasiIsoAt_succ |
| 161 | (F : Sheaf AddCommGrpCat.{u} X) (hU : ⨆ i, U i = ⊤) (n : ℕ) : |
| 162 | QuasiIsoAt (cechResolutionHorizontalEdge U F) (n + 1) := by |
| 163 | let I := injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F) |
| 164 | apply ComplexUpNatComparison.Projective.horizontal_edge_quasiIsoAt |
| 165 | · intro q |
| 166 | exact InjectiveComparison.TopCat.Sheaf.cechGlobalSectionsNativeShortComplex_exact U (I.cocomplex.X q) hU |
| 167 | · intro q |
| 168 | exact InjectiveComparison.TopCat.Sheaf.cechGlobalSectionsAugmentation_mono U (I.cocomplex.X q) hU |
| 169 | · exact cechInjectiveResolution_rowsExact U F hU |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.AlgebraicGeometry.SheafCohomology.Cech.HorizontalComparison.TopCat.Sheaf |