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.AugmentationInt |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.ConstantPullback |
| 4 | |
| 5 | /-! # Resolution Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Analytic.ResolutionNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The proved analytic resolution and its inverse commute with actual scheme pullback. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 16 | |
| 17 | abbrev schemeAnalyticInverseImage : Betti.Smooth.SheafMap.AnalyticComplexSheaves Y ⥤ Betti.Smooth.SheafMap.AnalyticComplexSheaves X := |
| 18 | TopologicalSheafPullback.sheafInverseImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 19 | |
| 20 | instance schemeAnalyticInverseImageAdditive : (schemeAnalyticInverseImage f).Additive := |
| 21 | TopologicalSheafPullback.sheafInverseImageAdditive (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 22 | |
| 23 | instance schemeAnalyticInverseImageLimits : PreservesFiniteLimits (schemeAnalyticInverseImage f) := |
| 24 | TopologicalSheafPullback.sheafInverseImageLimits (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 25 | |
| 26 | instance schemeAnalyticInverseImageColimits : PreservesFiniteColimits (schemeAnalyticInverseImage f) := |
| 27 | TopologicalSheafPullback.sheafInverseImageColimits (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 28 | |
| 29 | instance schemeAnalyticInverseImageLinear : (schemeAnalyticInverseImage f).Linear ℂ := |
| 30 | Derived.ConstantPullback.sheafInverseImageLinear (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 31 | |
| 32 | def schemeAnalyticDerivedConstantIso : |
| 33 | (schemeAnalyticInverseImage f).mapDerivedCategory.obj |
| 34 | ((DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves Y) 0).obj (De.analyticConstantSheaf Y)) ≅ |
| 35 | (DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).obj (De.analyticConstantSheaf X) := |
| 36 | ((schemeAnalyticInverseImage f).mapDerivedCategorySingleFunctor 0).app (De.analyticConstantSheaf Y) ≪≫ |
| 37 | (DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).mapIso |
| 38 | (TopologicalSheafPullback.constantPullbackIso (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)) |
| 39 | |
| 40 | variable [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 41 | |
| 42 | def derivedAnalyticDeRhamPullback : |
| 43 | (schemeAnalyticInverseImage f).mapDerivedCategory.obj |
| 44 | (DerivedCategory.Q.obj (De.analyticDeRhamSheafComplexInt Y)) ⟶ |
| 45 | DerivedCategory.Q.obj (De.analyticDeRhamSheafComplexInt X) := |
| 46 | Derived.ResolutionNaturality.Ext.derivedComplexMap (schemeAnalyticInverseImage f) (InverseNaturalityInt.schemeAnalyticDeRhamPullbackInt f) |
| 47 | |
| 48 | theorem analyticDeRhamResolutionIso_naturality : |
| 49 | (schemeAnalyticInverseImage f).mapDerivedCategory.map (De.analyticDeRhamResolutionIso Y).hom ≫ |
| 50 | derivedAnalyticDeRhamPullback f = |
| 51 | (schemeAnalyticDerivedConstantIso f).hom ≫ (De.analyticDeRhamResolutionIso X).hom := by |
| 52 | have h := Derived.ResolutionNaturality.Ext.derived_augmentation_square.{1, 1} (schemeAnalyticInverseImage f) |
| 53 | (De.analyticDeRhamAugmentationInt Y) (De.analyticDeRhamAugmentationInt X) |
| 54 | (InverseNaturalityInt.schemeAnalyticDeRhamPullbackInt f) |
| 55 | (TopologicalSheafPullback.constantPullbackIso (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).hom |
| 56 | (AugmentationInt.analyticDeRhamAugmentationInt_naturality f) |
| 57 | exact h.trans (Category.assoc |
| 58 | (((schemeAnalyticInverseImage f).mapDerivedCategorySingleFunctor 0).hom.app (De.analyticConstantSheaf Y)) |
| 59 | ((DerivedCategory.singleFunctor (Betti.Smooth.SheafMap.AnalyticComplexSheaves X) 0).map |
| 60 | (TopologicalSheafPullback.constantPullbackIso (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f)).hom) |
| 61 | (DerivedCategory.Q.map (De.analyticDeRhamAugmentationInt X))).symm |
| 62 | |
| 63 | theorem analyticDeRhamResolutionIso_inv_naturality : |
| 64 | derivedAnalyticDeRhamPullback f ≫ (De.analyticDeRhamResolutionIso X).inv = |
| 65 | (schemeAnalyticInverseImage f).mapDerivedCategory.map (De.analyticDeRhamResolutionIso Y).inv ≫ |
| 66 | (schemeAnalyticDerivedConstantIso f).hom := by |
| 67 | let a := (schemeAnalyticInverseImage f).mapDerivedCategory.mapIso (De.analyticDeRhamResolutionIso Y) |
| 68 | let b := De.analyticDeRhamResolutionIso X |
| 69 | let c := schemeAnalyticDerivedConstantIso f |
| 70 | let p := derivedAnalyticDeRhamPullback f |
| 71 | have h : a.hom ≫ p = c.hom ≫ b.hom := analyticDeRhamResolutionIso_naturality f |
| 72 | change p ≫ b.inv = a.inv ≫ c.hom |
| 73 | apply (Iso.cancel_iso_hom_left a _ _).mp |
| 74 | rw [← Category.assoc a.hom p, h] |
| 75 | simp only [Category.assoc, Iso.hom_inv_id_assoc, Iso.hom_inv_id, Category.comp_id] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Comparison.Betti.Analytic.ResolutionNaturality |