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.Comparison.Betti.Complex.Transpose |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Smooth.HypercohomologyMap |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.DeRhamResolution |
| 4 | |
| 5 | /-! # De -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Analytic.De |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # The actual morphism to the analytic de Rham sheaf complex |
| 15 | |
| 16 | Canonical extension isomorphisms connect the preserved integer-indexed |
| 17 | algebraic complex with its nonnegative presentation. The already proved |
| 18 | open-section realization then descends along the analytification adjunction. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 24 | |
| 25 | def deRhamPresheafTransposeIso : |
| 26 | Complex.Transpose.transpose (Algebraic.Sheaves.deRhamPresheafOfComplexes X) ≅ Algebraic.Sheaves.deRhamPresheafComplex X := |
| 27 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 28 | intro i j hij |
| 29 | obtain rfl := (show i + 1 = j from hij) |
| 30 | rw [Algebraic.Sheaves.deRhamPresheafComplex_d] |
| 31 | simp only [Iso.refl_hom] |
| 32 | exact (Category.id_comp _).trans (Category.comp_id _).symm) |
| 33 | |
| 34 | /-- The preserved algebraic complex is canonically the integer extension of the same sheaf complex. -/ |
| 35 | def algebraicSheafIntExtensionIso : |
| 36 | Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X ≅ |
| 37 | (Algebraic.Sheaves.algebraicDeRhamSheafComplex X).extend (ComplexShape.embeddingUpIntGE 0) := |
| 38 | ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 39 | (ComplexShape.up ℤ)).mapIso |
| 40 | (Complex.Transpose.transposeExtendIso (Algebraic.Sheaves.deRhamPresheafOfComplexes X) |
| 41 | (ComplexShape.embeddingUpIntGE 0)) ≪≫ |
| 42 | Complex.Extension.mapExtendIso |
| 43 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)) |
| 44 | (ComplexShape.embeddingUpIntGE 0) (Complex.Transpose.transpose (Algebraic.Sheaves.deRhamPresheafOfComplexes X)) ≪≫ |
| 45 | ((ComplexShape.embeddingUpIntGE 0).extendFunctor (Algebraic.Sheaves.ComplexSheaves X)).mapIso |
| 46 | (((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 47 | (ComplexShape.up ℕ)).mapIso (deRhamPresheafTransposeIso X)) |
| 48 | |
| 49 | /-- Inverse image along the actual analytic-to-Zariski point map. -/ |
| 50 | def analytificationInverseImage : Algebraic.Sheaves.ComplexSheaves X ⥤ Betti.Smooth.SheafMap.AnalyticComplexSheaves X := |
| 51 | TopCat.Sheaf.pullback (ModuleCat.{0} ℂ) (Analytification.Base.analytificationMap X) |
| 52 | |
| 53 | def analytificationAdjunction : analytificationInverseImage X ⊣ Betti.Smooth.SheafMap.analytificationPushforward X := |
| 54 | TopCat.Sheaf.pullbackPushforwardAdjunction (ModuleCat.{0} ℂ) (Analytification.Base.analytificationMap X) |
| 55 | |
| 56 | instance analytificationInverseImageIsLeftAdjoint : (analytificationInverseImage X).IsLeftAdjoint := |
| 57 | (analytificationAdjunction X).isLeftAdjoint |
| 58 | |
| 59 | instance analytificationInverseImagePreservesFiniteLimits : |
| 60 | PreservesFiniteLimits (analytificationInverseImage X) := |
| 61 | Functor.SmallCategories.instPreservesFiniteLimitsSheafSheafPullbackOfRepresentablyFlat |
| 62 | (Opens.map (Analytification.Base.analytificationMap X)) (ModuleCat.{0} ℂ) |
| 63 | (Opens.grothendieckTopology (TopCat.of X.left)) |
| 64 | (Opens.grothendieckTopology (Betti.Scheme.schemePointSpace X)) |
| 65 | |
| 66 | instance analytificationInverseImagePreservesFiniteColimits : |
| 67 | PreservesFiniteColimits (analytificationInverseImage X) := inferInstance |
| 68 | |
| 69 | instance analytificationInverseImageAdditive : (analytificationInverseImage X).Additive := by |
| 70 | let := preservesBinaryBiproducts_of_preservesBinaryCoproducts (analytificationInverseImage X) |
| 71 | exact (analytificationInverseImage X).additive_of_preservesBinaryBiproducts |
| 72 | |
| 73 | def analytificationComplexAdjunctionInt : |
| 74 | (analytificationInverseImage X).mapHomologicalComplex (ComplexShape.up ℤ) ⊣ |
| 75 | (Betti.Smooth.SheafMap.analytificationPushforward X).mapHomologicalComplex (ComplexShape.up ℤ) := |
| 76 | Complex.Adjunction.onComplexes (analytificationAdjunction X) (ComplexShape.up ℤ) |
| 77 | |
| 78 | variable [IsIntegral X.left] [Smooth X.hom] |
| 79 | |
| 80 | /-- The genuine analytic smooth de Rham sheaf complex, extended by zero in negative degrees. -/ |
| 81 | def analyticDeRhamSheafComplexInt : CochainComplex (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) ℤ := |
| 82 | (Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex (RegularSmoothness.NativeModel X) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)).extend |
| 83 | (ComplexShape.embeddingUpIntGE 0) |
| 84 | |
| 85 | /-- The previously proved sheaf realization with the preserved algebraic source. -/ |
| 86 | def algebraicToAnalyticDirectImageInt : Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X ⟶ |
| 87 | ((Betti.Smooth.SheafMap.analytificationPushforward X).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 88 | (analyticDeRhamSheafComplexInt X) := by |
| 89 | let K : CochainComplex (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) ℕ := |
| 90 | Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex (RegularSmoothness.NativeModel X) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 91 | let e := Complex.Extension.mapExtendIso (Betti.Smooth.SheafMap.analytificationPushforward X) |
| 92 | (ComplexShape.embeddingUpIntGE 0) K |
| 93 | exact (algebraicSheafIntExtensionIso X).hom ≫ |
| 94 | HomologicalComplex.extendMap (Betti.Smooth.SheafMap.algebraicToSmoothSheafMap X) (ComplexShape.embeddingUpIntGE 0) ≫ |
| 95 | e.inv |
| 96 | |
| 97 | /-- The comparison of actual sheaf complexes on the analytic site. -/ |
| 98 | def algebraicToAnalyticSheafMapInt : |
| 99 | ((analytificationInverseImage X).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 100 | (Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X) ⟶ analyticDeRhamSheafComplexInt X := |
| 101 | ((analytificationComplexAdjunctionInt X).homEquiv (Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X) |
| 102 | (analyticDeRhamSheafComplexInt X)).symm (algebraicToAnalyticDirectImageInt X) |
| 103 | |
| 104 | theorem algebraicToAnalyticSheafMapInt_normalization : |
| 105 | (analytificationComplexAdjunctionInt X).homEquiv (Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X) |
| 106 | (analyticDeRhamSheafComplexInt X) (algebraicToAnalyticSheafMapInt X) = |
| 107 | algebraicToAnalyticDirectImageInt X := |
| 108 | (analytificationComplexAdjunctionInt X).homEquiv _ _ |>.apply_symm_apply _ |
| 109 | |
| 110 | end |
| 111 | |
| 112 | section |
| 113 | |
| 114 | /-! The proved analytic de Rham resolution, with the integer indexing used by BettiComparison. -/ |
| 115 | |
| 116 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 117 | |
| 118 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 119 | |
| 120 | def analyticConstantSheaf : Betti.Smooth.SheafMap.AnalyticComplexSheaves X := |
| 121 | Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexSheafOn (Betti.Scheme.schemePointSpace X) |
| 122 | |
| 123 | instance analyticComplexSheavesHasDerivedCategory : HasDerivedCategory.{1} (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) := |
| 124 | HasDerivedCategory.standard _ |
| 125 | |
| 126 | variable [IsIntegral X.left] [Smooth X.hom] |
| 127 | |
| 128 | /-- The actual constant-function augmentation, extended by zero. -/ |
| 129 | def analyticDeRhamAugmentationInt : |
| 130 | (CochainComplex.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).obj (analyticConstantSheaf X) ⟶ |
| 131 | analyticDeRhamSheafComplexInt X := |
| 132 | (HomologicalComplex.extendSingleIso (ComplexShape.embeddingUpIntGE 0) |
| 133 | (analyticConstantSheaf X) 0 0 (by rfl)).inv ≫ |
| 134 | HomologicalComplex.extendMap |
| 135 | (Analysis.DifferentialForms.Manifold.DeRhamResolution.manifoldDeRhamSheafAugmentation (RegularSmoothness.NativeModel X) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 136 | (ComplexShape.embeddingUpIntGE 0) |
| 137 | |
| 138 | /-- Invertibility is supplied by the proved analytic Poincaré lemma. -/ |
| 139 | instance analyticDeRhamAugmentationInt_quasiIso : QuasiIso (analyticDeRhamAugmentationInt X) := by |
| 140 | let a : (CochainComplex.single₀ (Betti.Smooth.SheafMap.AnalyticComplexSheaves X)).obj (analyticConstantSheaf X) ⟶ |
| 141 | Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex (RegularSmoothness.NativeModel X) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := |
| 142 | Analysis.DifferentialForms.Manifold.DeRhamResolution.manifoldDeRhamSheafAugmentation (RegularSmoothness.NativeModel X) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 143 | have ha : QuasiIso a := |
| 144 | Analysis.DifferentialForms.Manifold.DeRhamResolution.manifoldDeRhamSheafAugmentation_quasiIso (RegularSmoothness.NativeModel X) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 145 | have : QuasiIso (HomologicalComplex.extendMap a (ComplexShape.embeddingUpIntGE 0)) := |
| 146 | (HomologicalComplex.quasiIso_extendMap_iff a (ComplexShape.embeddingUpIntGE 0)).mpr ha |
| 147 | change QuasiIso ((HomologicalComplex.extendSingleIso (ComplexShape.embeddingUpIntGE 0) |
| 148 | (analyticConstantSheaf X) 0 0 (by rfl)).inv ≫ |
| 149 | HomologicalComplex.extendMap a (ComplexShape.embeddingUpIntGE 0)) |
| 150 | infer_instance |
| 151 | |
| 152 | /-- The standard analytic constant sheaf is canonically resolved by the actual smooth forms. -/ |
| 153 | def analyticDeRhamResolutionIso : |
| 154 | (DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).obj (analyticConstantSheaf X) ≅ |
| 155 | DerivedCategory.Q.obj (analyticDeRhamSheafComplexInt X) := by |
| 156 | let Q : CochainComplex (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) ℤ ⥤ DerivedCategory (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) := |
| 157 | DerivedCategory.Q |
| 158 | have : IsIso (Q.map (analyticDeRhamAugmentationInt X)) := |
| 159 | Localization.inverts Q (HomologicalComplex.quasiIso (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) (ComplexShape.up ℤ)) |
| 160 | (analyticDeRhamAugmentationInt X) (analyticDeRhamAugmentationInt_quasiIso X) |
| 161 | let e := asIso (Q.map (analyticDeRhamAugmentationInt X)) |
| 162 | exact e |
| 163 | |
| 164 | end |
| 165 | |
| 166 | /-! |
| 167 | # The constructed map to analytic constant-sheaf cohomology |
| 168 | |
| 169 | Exact inverse image along the actual analytification map is applied to the |
| 170 | preserved algebraic hypercohomology. The explicitly constructed realization |
| 171 | of forms and the proved analytic de Rham resolution then give the map below. |
| 172 | Identification of analytic constant-sheaf cohomology with Betti remains a |
| 173 | separate comparison. |
| 174 | -/ |
| 175 | |
| 176 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 177 | |
| 178 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 179 | |
| 180 | instance analytificationPushforwardLinear : (Betti.Smooth.SheafMap.analytificationPushforward X).Linear ℂ where |
| 181 | map_smul := by intros; rfl |
| 182 | |
| 183 | instance analytificationInverseImageLinear : (analytificationInverseImage X).Linear ℂ where |
| 184 | map_smul {M N} c g := by |
| 185 | let adj := analytificationAdjunction X |
| 186 | apply (adj.homEquiv M ((analytificationInverseImage X).obj N)).injective |
| 187 | have hmap (k : M ⟶ N) : |
| 188 | adj.homEquiv M ((analytificationInverseImage X).obj N) |
| 189 | ((analytificationInverseImage X).map k) = k ≫ adj.unit.app N := by |
| 190 | simpa only [Category.comp_id, adj.homEquiv_id] using |
| 191 | adj.homEquiv_naturality_left k (𝟙 ((analytificationInverseImage X).obj N)) |
| 192 | rw [hmap, Linear.smul_comp, adj.homEquiv_unit, |
| 193 | Functor.map_smul, Linear.comp_smul, ← adj.homEquiv_unit, hmap] |
| 194 | |
| 195 | def derivedAnalytificationInverseImage : |
| 196 | DerivedCategory (Algebraic.Sheaves.ComplexSheaves X) ⥤ DerivedCategory (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) := |
| 197 | (analytificationInverseImage X).mapDerivedCategory |
| 198 | |
| 199 | instance derivedAnalytificationInverseImageLinear : (derivedAnalytificationInverseImage X).Linear ℂ := |
| 200 | inferInstanceAs ((analytificationInverseImage X).mapDerivedCategory.Linear ℂ) |
| 201 | |
| 202 | instance derivedAnalytificationInverseImageAdditive : (derivedAnalytificationInverseImage X).Additive := |
| 203 | inferInstanceAs ((analytificationInverseImage X).mapDerivedCategory.Additive) |
| 204 | |
| 205 | instance derivedAnalytificationInverseImageCommShift : |
| 206 | (derivedAnalytificationInverseImage X).CommShift ℤ := |
| 207 | inferInstanceAs ((analytificationInverseImage X).mapDerivedCategory.CommShift ℤ) |
| 208 | |
| 209 | /-- The constant-sheaf identification is the one furnished by the genuine adjunction. -/ |
| 210 | def analytificationInverseImageConstantIso : |
| 211 | (analytificationInverseImage X).obj (Algebraic.Sheaves.constantComplexSheaf X) ≅ analyticConstantSheaf X := by |
| 212 | have hT : IsTerminal ((Opens.map (Analytification.Base.analytificationMap X)).obj (⊤ : X.left.Opens)) := by |
| 213 | change IsTerminal (⊤ : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 214 | exact isTerminalTop |
| 215 | exact (((constantSheafAdj (Opens.grothendieckTopology X.left) |
| 216 | (ModuleCat.{0} ℂ) isTerminalTop).comp (analytificationAdjunction X)).leftAdjointUniq |
| 217 | (constantSheafAdj (Opens.grothendieckTopology (Betti.Scheme.schemePointSpace X)) (ModuleCat.{0} ℂ) hT)).app |
| 218 | (ModuleCat.of ℂ ℂ) |
| 219 | |
| 220 | def derivedAnalytificationConstantIso : |
| 221 | (derivedAnalytificationInverseImage X).obj |
| 222 | ((DerivedCategory.singleFunctor (Algebraic.Sheaves.ComplexSheaves X) 0).obj (Algebraic.Sheaves.constantComplexSheaf X)) ≅ |
| 223 | (DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).obj (analyticConstantSheaf X) := |
| 224 | ((analytificationInverseImage X).mapDerivedCategorySingleFunctor 0).app (Algebraic.Sheaves.constantComplexSheaf X) ≪≫ |
| 225 | (DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).mapIso |
| 226 | (analytificationInverseImageConstantIso X) |
| 227 | |
| 228 | /-- Actual derived-category cohomology of the analytic constant complex sheaf. -/ |
| 229 | def analyticConstantCohomology (n : ℕ) : ModuleCat.{1} ℂ := |
| 230 | ModuleCat.of ℂ |
| 231 | ((DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).obj (analyticConstantSheaf X) ⟶ |
| 232 | ((DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).obj |
| 233 | (analyticConstantSheaf X))⟦(n : ℤ)⟧) |
| 234 | |
| 235 | variable [IsIntegral X.left] [Smooth X.hom] |
| 236 | |
| 237 | def derivedAlgebraicToAnalyticForms : |
| 238 | (derivedAnalytificationInverseImage X).obj |
| 239 | (DerivedCategory.Q.obj (Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X)) ⟶ |
| 240 | DerivedCategory.Q.obj (analyticDeRhamSheafComplexInt X) := |
| 241 | (analytificationInverseImage X).mapDerivedCategoryFactors.hom.app (Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X) ≫ |
| 242 | DerivedCategory.Q.map (algebraicToAnalyticSheafMapInt X) |
| 243 | |
| 244 | /-- The actual derived realization followed by the inverse of the proved analytic resolution. -/ |
| 245 | def derivedAlgebraicToAnalyticConstant : |
| 246 | (derivedAnalytificationInverseImage X).obj |
| 247 | (DerivedCategory.Q.obj (Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X)) ⟶ |
| 248 | (DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).obj (analyticConstantSheaf X) := |
| 249 | derivedAlgebraicToAnalyticForms X ≫ (analyticDeRhamResolutionIso X).inv |
| 250 | |
| 251 | /-- Comparison with genuine analytic constant-sheaf cohomology. -/ |
| 252 | def algebraicToAnalyticCohomologyMap (n : ℕ) : Algebraic.Sheaves.algebraicDeRham X n ⟶ analyticConstantCohomology X n := |
| 253 | ModuleCat.ofHom |
| 254 | { toFun := fun a => |
| 255 | (derivedAnalytificationConstantIso X).inv ≫ |
| 256 | (derivedAnalytificationInverseImage X).map a ≫ |
| 257 | ((derivedAnalytificationInverseImage X).commShiftIso (n : ℤ)).hom.app |
| 258 | (DerivedCategory.Q.obj (Algebraic.Sheaves.algebraicDeRhamSheafComplexInt X)) ≫ |
| 259 | (shiftFunctor (DerivedCategory (Betti.Smooth.SheafMap.AnalyticComplexSheaves X)) (n : ℤ)).map |
| 260 | (derivedAlgebraicToAnalyticConstant X) |
| 261 | map_add' := by |
| 262 | intro a b |
| 263 | simp only [Functor.map_add, Preadditive.comp_add, Preadditive.add_comp] |
| 264 | map_smul' := by |
| 265 | intro c a |
| 266 | simp only [Functor.map_smul, Linear.comp_smul, Linear.smul_comp, RingHom.id_apply] } |
| 267 | |
| 268 | end |
| 269 | |
| 270 | end OAI.AlgebraicGeometry.Comparison.Betti.Analytic.De |