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.Analytic.RealizationNaturality |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.ExtensionNaturality |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.ExtensionCoherence |
| 4 | |
| 5 | /-! # Naturality Int -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Analytic.NaturalityInt |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual analytic direct-image square on the preserved integer complexes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | attribute [local instance] RealizationNaturality.nativePointSpaceCharted RealizationNaturality.nativePointSpaceManifold |
| 19 | |
| 20 | abbrev schemeAnalyticFormsNat (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral Z.left] [Smooth Z.hom] : |
| 21 | CochainComplex (Betti.Smooth.SheafMap.AnalyticComplexSheaves Z) ℕ := |
| 22 | Analysis.DifferentialForms.Manifold.SheafDeRham.manifoldDeRhamSheafComplex (RegularSmoothness.NativeModel Z) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z) |
| 23 | |
| 24 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 25 | [IsIntegral Y.left] [Smooth Y.hom] (f : X ⟶ Y) |
| 26 | |
| 27 | def schemeAnalyticDeRhamDirectImage : |
| 28 | (schemeAnalyticFormsNat Y : |
| 29 | CochainComplex (Betti.Smooth.SheafMap.AnalyticComplexSheaves Y) ℕ) ⟶ |
| 30 | ((TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).mapHomologicalComplex |
| 31 | (ComplexShape.up ℕ)).obj (schemeAnalyticFormsNat X) := |
| 32 | SheafPullback.Smooth.analyticDeRhamDirectImage (E := RegularSmoothness.NativeModel X) (F := RegularSmoothness.NativeModel Y) |
| 33 | (M := Betti.Scheme.schemePointSpace X) (N := Betti.Scheme.schemePointSpace Y) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 34 | (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.real_contMDiff_nativeScheme_map f ∞) |
| 35 | |
| 36 | def schemeAnalyticDeRhamDirectImageInt : De.analyticDeRhamSheafComplexInt Y ⟶ |
| 37 | ((TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).mapHomologicalComplex |
| 38 | (ComplexShape.up ℤ)).obj (De.analyticDeRhamSheafComplexInt X) := |
| 39 | HomologicalComplex.extendMap (schemeAnalyticDeRhamDirectImage f) (ComplexShape.embeddingUpIntGE 0) ≫ |
| 40 | (Complex.Extension.mapExtendIso (TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)) |
| 41 | (ComplexShape.embeddingUpIntGE 0) |
| 42 | (schemeAnalyticFormsNat X)).inv |
| 43 | |
| 44 | omit [IsIntegral Y.left] [Smooth Y.hom] in |
| 45 | theorem analyticExtensionOptionSquare (o : Option ℕ) : |
| 46 | (Complex.Extension.mapXIso (Betti.Smooth.SheafMap.analytificationPushforward Y) |
| 47 | (((TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).mapHomologicalComplex |
| 48 | (ComplexShape.up ℕ)).obj (schemeAnalyticFormsNat X)) o).inv ≫ |
| 49 | (Betti.Smooth.SheafMap.analytificationPushforward Y).map |
| 50 | (Complex.Extension.mapXIso (TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)) |
| 51 | (schemeAnalyticFormsNat X) o).inv = |
| 52 | (Complex.Extension.mapXIso (Algebraic.Sheaves.directImage f) (Betti.Smooth.SheafMap.zariskiSmoothSheafComplex X) o).inv ≫ |
| 53 | (Algebraic.Sheaves.directImage f).map |
| 54 | (Complex.Extension.mapXIso (Betti.Smooth.SheafMap.analytificationPushforward X) (schemeAnalyticFormsNat X) o).inv := by |
| 55 | cases o with |
| 56 | | none => exact (isZero_zero (Algebraic.Sheaves.ComplexSheaves Y)).eq_of_src _ _ |
| 57 | | some n => |
| 58 | change 𝟙 _ ≫ (Betti.Smooth.SheafMap.analytificationPushforward Y).map |
| 59 | (𝟙 ((TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).obj |
| 60 | ((schemeAnalyticFormsNat X).X n))) = |
| 61 | 𝟙 _ ≫ (Algebraic.Sheaves.directImage f).map (𝟙 ((Betti.Smooth.SheafMap.zariskiSmoothSheafComplex X).X n)) |
| 62 | erw [(Betti.Smooth.SheafMap.analytificationPushforward Y).map_id] |
| 63 | rfl |
| 64 | |
| 65 | omit [IsIntegral Y.left] [Smooth Y.hom] in |
| 66 | theorem analyticExtensionComparisonSquare : |
| 67 | (Complex.Extension.mapExtendIso (Betti.Smooth.SheafMap.analytificationPushforward Y) (ComplexShape.embeddingUpIntGE 0) |
| 68 | (((TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).mapHomologicalComplex |
| 69 | (ComplexShape.up ℕ)).obj (schemeAnalyticFormsNat X))).inv ≫ |
| 70 | ((Betti.Smooth.SheafMap.analytificationPushforward Y).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 71 | (Complex.Extension.mapExtendIso (TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)) |
| 72 | (ComplexShape.embeddingUpIntGE 0) (schemeAnalyticFormsNat X)).inv = |
| 73 | (Complex.Extension.mapExtendIso (Algebraic.Sheaves.directImage f) (ComplexShape.embeddingUpIntGE 0) |
| 74 | (Betti.Smooth.SheafMap.zariskiSmoothSheafComplex X)).inv ≫ |
| 75 | ((Algebraic.Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 76 | (Complex.Extension.mapExtendIso (Betti.Smooth.SheafMap.analytificationPushforward X) (ComplexShape.embeddingUpIntGE 0) |
| 77 | (schemeAnalyticFormsNat X)).inv := by |
| 78 | apply HomologicalComplex.Hom.ext |
| 79 | funext i |
| 80 | exact analyticExtensionOptionSquare f ((ComplexShape.embeddingUpIntGE 0).r i) |
| 81 | |
| 82 | theorem analyticExtensionSquare : |
| 83 | (Complex.Extension.mapExtendIso (Betti.Smooth.SheafMap.analytificationPushforward Y) (ComplexShape.embeddingUpIntGE 0) |
| 84 | (schemeAnalyticFormsNat Y)).inv ≫ |
| 85 | ((Betti.Smooth.SheafMap.analytificationPushforward Y).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 86 | (schemeAnalyticDeRhamDirectImageInt f) = |
| 87 | HomologicalComplex.extendMap (RealizationNaturality.zariskiAnalyticDirectPullback f) (ComplexShape.embeddingUpIntGE 0) ≫ |
| 88 | (Complex.Extension.mapExtendIso (Algebraic.Sheaves.directImage f) (ComplexShape.embeddingUpIntGE 0) |
| 89 | (Betti.Smooth.SheafMap.zariskiSmoothSheafComplex X)).inv ≫ |
| 90 | ((Algebraic.Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 91 | (Complex.Extension.mapExtendIso (Betti.Smooth.SheafMap.analytificationPushforward X) |
| 92 | (ComplexShape.embeddingUpIntGE 0) |
| 93 | (schemeAnalyticFormsNat X)).inv := by |
| 94 | let e := ComplexShape.embeddingUpIntGE 0 |
| 95 | let AY := Betti.Smooth.SheafMap.analytificationPushforward Y |
| 96 | let AX := Betti.Smooth.SheafMap.analytificationPushforward X |
| 97 | let D := Algebraic.Sheaves.directImage f |
| 98 | let P : Betti.Smooth.SheafMap.AnalyticComplexSheaves X ⥤ Betti.Smooth.SheafMap.AnalyticComplexSheaves Y := |
| 99 | TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 100 | let : P.Additive := TopologicalSheafPullback.sheafDirectImageAdditive (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 101 | let K : CochainComplex (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) ℕ := |
| 102 | schemeAnalyticFormsNat X |
| 103 | let L : CochainComplex (Betti.Smooth.SheafMap.AnalyticComplexSheaves Y) ℕ := |
| 104 | schemeAnalyticFormsNat Y |
| 105 | let q := schemeAnalyticDeRhamDirectImage f |
| 106 | let AYI := AY.mapHomologicalComplex (ComplexShape.up ℤ) |
| 107 | let DI := D.mapHomologicalComplex (ComplexShape.up ℤ) |
| 108 | change (Complex.Extension.mapExtendIso AY e L).inv ≫ |
| 109 | AYI.map (HomologicalComplex.extendMap q e ≫ (Complex.Extension.mapExtendIso P e K).inv) = |
| 110 | HomologicalComplex.extendMap ((AY.mapHomologicalComplex (ComplexShape.up ℕ)).map q) e ≫ |
| 111 | (Complex.Extension.mapExtendIso D e ((AX.mapHomologicalComplex (ComplexShape.up ℕ)).obj K)).inv ≫ |
| 112 | DI.map (Complex.Extension.mapExtendIso AX e K).inv |
| 113 | erw [AYI.map_comp (HomologicalComplex.extendMap q e), |
| 114 | ← Category.assoc (Complex.Extension.mapExtendIso AY e L).inv, |
| 115 | ExtensionCoherence.Complex.mapExtendIso_inv_naturality AY e q, |
| 116 | Category.assoc] |
| 117 | exact congrArg |
| 118 | (fun k => HomologicalComplex.extendMap ((AY.mapHomologicalComplex (ComplexShape.up ℕ)).map q) e ≫ k) |
| 119 | (analyticExtensionComparisonSquare f) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | /-! Naturality of the actual algebraic-to-analytic map with its original source. -/ |
| 124 | |
| 125 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 126 | |
| 127 | attribute [local instance] AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForget₂PreservesFilteredColimits |
| 128 | AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForgetPreservesFilteredColimits InjectiveFlasque.complexModuleLimits |
| 129 | |
| 130 | /-- A component of the original realization, including its canonical zero degrees. -/ |
| 131 | def algebraicOptionAnalyticMap (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral Z.left] [Smooth Z.hom] |
| 132 | (o : Option ℕ) : |
| 133 | (presheafToSheaf (Opens.grothendieckTopology Z.left) (ModuleCat.{0} ℂ)).obj |
| 134 | (Algebraic.ExtensionNaturality.algebraicOptionPresheaf Z o) ⟶ |
| 135 | (Betti.Smooth.SheafMap.analytificationPushforward Z).obj (HomologicalComplex.extend.X (schemeAnalyticFormsNat Z) o) := |
| 136 | Algebraic.ExtensionNaturality.algebraicOptionSheafHom Z o ≫ HomologicalComplex.extend.mapX (Betti.Smooth.SheafMap.algebraicToSmoothSheafMap Z) o ≫ |
| 137 | (Complex.Extension.mapXIso (Betti.Smooth.SheafMap.analytificationPushforward Z) (schemeAnalyticFormsNat Z) o).inv |
| 138 | |
| 139 | theorem algebraicOptionAnalyticMap_some (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral Z.left] [Smooth Z.hom] |
| 140 | (n : ℕ) : algebraicOptionAnalyticMap Z (some n) = (Betti.Smooth.SheafMap.algebraicToSmoothSheafMap Z).f n := by |
| 141 | change Algebraic.ExtensionNaturality.algebraicOptionSheafHom Z (some n) ≫ (Betti.Smooth.SheafMap.algebraicToSmoothSheafMap Z).f n ≫ 𝟙 _ = _ |
| 142 | erw [Algebraic.ExtensionNaturality.algebraicOptionSheafHom_some Z n, Category.id_comp, Category.comp_id] |
| 143 | |
| 144 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 145 | [IsIntegral Y.left] [Smooth Y.hom] (f : X ⟶ Y) |
| 146 | |
| 147 | def analyticOptionDirectImage (o : Option ℕ) : |
| 148 | HomologicalComplex.extend.X (schemeAnalyticFormsNat Y) o ⟶ |
| 149 | (TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).obj |
| 150 | (HomologicalComplex.extend.X (C := Betti.Smooth.SheafMap.AnalyticComplexSheaves X) (schemeAnalyticFormsNat X) o) := |
| 151 | HomologicalComplex.extend.mapX (schemeAnalyticDeRhamDirectImage f) o ≫ |
| 152 | (Complex.Extension.mapXIso (TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)) |
| 153 | (schemeAnalyticFormsNat X) o).inv |
| 154 | |
| 155 | theorem analyticOptionDirectImage_some (n : ℕ) : |
| 156 | analyticOptionDirectImage f (some n) = (schemeAnalyticDeRhamDirectImage f).f n := by |
| 157 | change (schemeAnalyticDeRhamDirectImage f).f n ≫ 𝟙 _ = _ |
| 158 | exact Category.comp_id _ |
| 159 | |
| 160 | theorem algebraicOptionAnalyticMap_naturality (o : Option ℕ) : |
| 161 | algebraicOptionAnalyticMap Y o ≫ (Betti.Smooth.SheafMap.analytificationPushforward Y).map (analyticOptionDirectImage f o) = |
| 162 | Algebraic.ExtensionNaturality.algebraicOptionSheafDirectImage f o ≫ (Algebraic.Sheaves.directImage f).map (algebraicOptionAnalyticMap X o) := by |
| 163 | cases o with |
| 164 | | none => |
| 165 | exact ((Algebraic.Sheaves.directImage f).map_isZero ((Betti.Smooth.SheafMap.analytificationPushforward X).map_isZero |
| 166 | (isZero_zero (Betti.Smooth.SheafMap.AnalyticComplexSheaves X)))).eq_of_tgt _ _ |
| 167 | | some n => |
| 168 | erw [algebraicOptionAnalyticMap_some Y n, algebraicOptionAnalyticMap_some X n, |
| 169 | analyticOptionDirectImage_some f n] |
| 170 | exact congrArg (fun k => k.f n) (RealizationNaturality.algebraicToSmoothSheafMap_analytic_naturality f) |
| 171 | |
| 172 | /-- The original integer-indexed comparison commutes with the actual direct images. -/ |
| 173 | theorem algebraicToAnalyticDirectImageInt_naturality : |
| 174 | De.algebraicToAnalyticDirectImageInt Y ≫ |
| 175 | ((Betti.Smooth.SheafMap.analytificationPushforward Y).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 176 | (schemeAnalyticDeRhamDirectImageInt f) = |
| 177 | OpenForms.deRhamSheafDirectImageInt f ≫ |
| 178 | ((Algebraic.Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 179 | (De.algebraicToAnalyticDirectImageInt X) := by |
| 180 | apply HomologicalComplex.Hom.ext |
| 181 | funext i |
| 182 | exact algebraicOptionAnalyticMap_naturality f ((ComplexShape.embeddingUpIntGE 0).r i) |
| 183 | |
| 184 | end |
| 185 | |
| 186 | end OAI.AlgebraicGeometry.Comparison.Betti.Analytic.NaturalityInt |