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.ComplexMultiplication.Reference.IntegerTransportNaturality |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.Reference.HypercohomologyAdditive |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HomFunctorDerived |
| 4 | import OAI.AlgebraicGeometry.ComplexMultiplication.HomDerivedPrecomp |
| 5 | import OAI.AlgebraicGeometry.ComplexMultiplication.ShiftedHomSourceNaturality |
| 6 | import OAI.AlgebraicGeometry.ComplexMultiplication.GlobalNaturality |
| 7 | |
| 8 | /-! # Hypercohomology Class Naturality -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.Reference.HypercohomologyClassNaturality |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! # Original Hom-complex classes and genuine inverse image |
| 15 | |
| 16 | The original class-to-hypercohomology map commutes with actual inverse image |
| 17 | under the actual scheme-point map, with its original integer source transport. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry ComplexPoint |
| 21 | open _root_.CochainComplex.HomComplex Localization |
| 22 | |
| 23 | variable {X Y : Over (Spec (.of ℂ))} |
| 24 | |
| 25 | local instance CMOriginalHypercohomologyClassNaturality.localInstance1 (Z : Over (Spec (.of ℂ))) : HasDerivedCategory (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf Z) := |
| 26 | HasDerivedCategory.standard _ |
| 27 | |
| 28 | local instance CMOriginalHypercohomologyClassNaturality.localInstance2 (f : X ⟶ Y) : (AnalyticInverseImage.originalAnalyticInverseImageLocalizer f).functor.CommShift ℤ := |
| 29 | inferInstanceAs |
| 30 | (((AnalyticInverseImage.originalAnalyticSheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).CommShift ℤ) |
| 31 | |
| 32 | set_option backward.defeqAttrib.useBackward true in |
| 33 | set_option backward.isDefEq.respectTransparency false in |
| 34 | /-- The genuine source transport square remains the same in the derived category. -/ |
| 35 | theorem originalIntegerDerivedSource_square (f : X ⟶ Y) : |
| 36 | (DerivedCategory.Q.map (AnalyticInverseImage.originalIntegerComplexInverseImageIso f).inv ≫ |
| 37 | (AnalyticInverseImage.originalAnalyticSheafInverseImage f).mapDerivedCategoryFactors.inv.app |
| 38 | (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt Y)) ≫ |
| 39 | (AnalyticInverseImage.originalAnalyticSheafInverseImage f).mapDerivedCategory.map |
| 40 | (DerivedCategory.Q.map (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle Y).hom) = |
| 41 | DerivedCategory.Q.map (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle X).hom ≫ |
| 42 | (DerivedCategory.Q.map (HomPullback.originalIntegerSingleInverseImageIso f).inv ≫ |
| 43 | (AnalyticInverseImage.originalAnalyticSheafInverseImage f).mapDerivedCategoryFactors.inv.app |
| 44 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint Y)))) := by |
| 45 | let F := AnalyticInverseImage.originalAnalyticSheafInverseImage f |
| 46 | let Φ := AnalyticInverseImage.originalAnalyticInverseImageLocalizer f |
| 47 | let G := F.mapDerivedCategory |
| 48 | let : G.CommShift ℤ := inferInstanceAs (F.mapDerivedCategory.CommShift ℤ) |
| 49 | let e : Φ.functor ⋙ DerivedCategory.Q ≅ DerivedCategory.Q ⋙ G := |
| 50 | F.mapDerivedCategoryFactors.symm |
| 51 | let : NatTrans.CommShift e.hom ℤ := inferInstanceAs |
| 52 | (NatTrans.CommShift F.mapDerivedCategoryFactors.inv ℤ) |
| 53 | let cY := (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle Y).hom |
| 54 | let cX := (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle X).hom |
| 55 | let eI := AnalyticInverseImage.originalIntegerComplexInverseImageIso f |
| 56 | let eS := HomPullback.originalIntegerSingleInverseImageIso f |
| 57 | have hn := e.hom.naturality cY |
| 58 | change DerivedCategory.Q.map (Φ.functor.map cY) ≫ e.hom.app _ = |
| 59 | e.hom.app _ ≫ G.map (DerivedCategory.Q.map cY) at hn |
| 60 | change |
| 61 | (DerivedCategory.Q.map eI.inv ≫ e.hom.app (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt Y)) ≫ |
| 62 | G.map (DerivedCategory.Q.map cY) = |
| 63 | DerivedCategory.Q.map cX ≫ |
| 64 | (DerivedCategory.Q.map eS.inv ≫ e.hom.app |
| 65 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint Y)))) |
| 66 | calc |
| 67 | _ = DerivedCategory.Q.map eI.inv ≫ |
| 68 | (DerivedCategory.Q.map (Φ.functor.map cY) ≫ e.hom.app _) := by |
| 69 | rw [Category.assoc, hn] |
| 70 | _ = _ := by |
| 71 | rw [← Functor.map_comp_assoc] |
| 72 | have hc : eI.inv ≫ Φ.functor.map cY = cX ≫ eS.inv := |
| 73 | IntegerTransportNaturality.originalIntegerComplexInverseImageIso_inv_comp f |
| 74 | rw [hc, Functor.map_comp, Category.assoc] |
| 75 | |
| 76 | set_option backward.defeqAttrib.useBackward true in |
| 77 | set_option backward.isDefEq.respectTransparency false in |
| 78 | /-- Mapping original classes through inverse image gives the actual derived functor. -/ |
| 79 | theorem originalHomComplexClassInverseImage_derived (f : X ⟶ Y) |
| 80 | (K : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf Y) ℤ) (n : ℤ) |
| 81 | (z : CohomologyClass |
| 82 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint Y))) K n) : |
| 83 | HomPostcomp.cohomologyClassToDerived |
| 84 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X))) |
| 85 | ((AnalyticInverseImage.originalAnalyticInverseImageLocalizer f).functor.obj K) n |
| 86 | (HomPullback.originalHomComplexClassInverseImage f K n z) = |
| 87 | DerivedCategory.Q.map (HomPullback.originalIntegerSingleInverseImageIso f).inv ≫ |
| 88 | (ShiftedHom.mk₀ 0 rfl |
| 89 | ((AnalyticInverseImage.originalAnalyticSheafInverseImage f).mapDerivedCategoryFactors.inv.app |
| 90 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint Y))))).comp |
| 91 | (((HomPostcomp.cohomologyClassToDerived _ K n z).map |
| 92 | (AnalyticInverseImage.originalAnalyticSheafInverseImage f).mapDerivedCategory).comp |
| 93 | (ShiftedHom.mk₀ 0 rfl |
| 94 | ((AnalyticInverseImage.originalAnalyticSheafInverseImage f).mapDerivedCategoryFactors.hom.app K)) |
| 95 | (zero_add n)) (add_zero n) := by |
| 96 | change HomPostcomp.cohomologyClassToDerived _ _ n |
| 97 | (Algebra.Homology.HomComplexPrecomp.CochainComplex.HomComplex.precompClass (HomPullback.originalIntegerSingleInverseImageIso f).inv _ n |
| 98 | (HomFunctorMap.HomComplex.functorMapClass (AnalyticInverseImage.originalAnalyticSheafInverseImage f) _ K n z)) = _ |
| 99 | rw [HomDerivedPrecomp.cohomologyClassToDerived_precomp, HomFunctorDerived.cohomologyClassToDerived_functorMap] |
| 100 | |
| 101 | set_option backward.defeqAttrib.useBackward true in |
| 102 | set_option backward.isDefEq.respectTransparency false in |
| 103 | /-- Actual inverse image commutes with the original class-to-hypercohomology map. -/ |
| 104 | theorem originalHypercohomologyPullback_homComplexClass (f : X ⟶ Y) |
| 105 | (K : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf Y) ℤ) (n : ℤ) |
| 106 | (z : CohomologyClass |
| 107 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint Y))) K n) : |
| 108 | HypercohomologyPullback.originalHypercohomologyPullback f K n |
| 109 | (GlobalNaturality.homComplexClassToHypercohomology Y K n z) = |
| 110 | GlobalNaturality.homComplexClassToHypercohomology X |
| 111 | ((AnalyticInverseImage.originalAnalyticInverseImageLocalizer f).functor.obj K) n |
| 112 | (HomPullback.originalHomComplexClassInverseImage f K n z) := by |
| 113 | let F := AnalyticInverseImage.originalAnalyticSheafInverseImage f |
| 114 | let Φ := AnalyticInverseImage.originalAnalyticInverseImageLocalizer f |
| 115 | let G := F.mapDerivedCategory |
| 116 | let : G.CommShift ℤ := inferInstanceAs (F.mapDerivedCategory.CommShift ℤ) |
| 117 | let e : Φ.functor ⋙ DerivedCategory.Q ≅ DerivedCategory.Q ⋙ G := |
| 118 | F.mapDerivedCategoryFactors.symm |
| 119 | let : NatTrans.CommShift e.hom ℤ := inferInstanceAs |
| 120 | (NatTrans.CommShift F.mapDerivedCategoryFactors.inv ℤ) |
| 121 | let cY := (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle Y).hom |
| 122 | let cX := (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle X).hom |
| 123 | let eI := AnalyticInverseImage.originalIntegerComplexInverseImageIso f |
| 124 | let eS := HomPullback.originalIntegerSingleInverseImageIso f |
| 125 | let T : ShiftedHom (DerivedCategory.Q.obj (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt Y)) |
| 126 | (DerivedCategory.Q.obj K) n → |
| 127 | ShiftedHom (DerivedCategory.Q.obj (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt X)) |
| 128 | (DerivedCategory.Q.obj (Φ.functor.obj K)) n := |
| 129 | fun γ => (ShiftedHom.mk₀ 0 rfl |
| 130 | (DerivedCategory.Q.map eI.inv ≫ e.hom.app (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt Y))).comp |
| 131 | ((γ.map G).comp (ShiftedHom.mk₀ 0 rfl (e.inv.app K)) (zero_add n)) (add_zero n) |
| 132 | have hL : |
| 133 | (SmallShiftedHom.equiv (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms X) DerivedCategory.Q) |
| 134 | (HypercohomologyPullback.originalHypercohomologyPullback f K n |
| 135 | (GlobalNaturality.homComplexClassToHypercohomology Y K n z)) = |
| 136 | T ((SmallShiftedHom.equiv (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms Y) DerivedCategory.Q) |
| 137 | (GlobalNaturality.homComplexClassToHypercohomology Y K n z)) := by |
| 138 | let γ := (SmallShiftedHom.equiv (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms Y) DerivedCategory.Q) |
| 139 | (GlobalNaturality.homComplexClassToHypercohomology Y K n z) |
| 140 | have hi : |
| 141 | (DerivedCategory.Q : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ ⥤ |
| 142 | DerivedCategory (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X)).map (𝟙 (Φ.functor.obj K)) = |
| 143 | 𝟙 (DerivedCategory.Q.obj (Φ.functor.obj K)) := DerivedCategory.Q.map_id _ |
| 144 | have ht : e.inv.app K ≫ DerivedCategory.Q.map (𝟙 (Φ.functor.obj K)) = e.inv.app K := |
| 145 | (congrArg (fun q : DerivedCategory.Q.obj (Φ.functor.obj K) ⟶ |
| 146 | DerivedCategory.Q.obj (Φ.functor.obj K) => e.inv.app K ≫ q) hi).trans |
| 147 | (Category.comp_id _) |
| 148 | have h₀ := HypercohomologyAdditive.originalHypercohomologyPullback_equiv f K n G e |
| 149 | (GlobalNaturality.homComplexClassToHypercohomology Y K n z) |
| 150 | exact h₀.trans (congrArg (fun t : G.obj (DerivedCategory.Q.obj K) ⟶ |
| 151 | DerivedCategory.Q.obj (Φ.functor.obj K) => |
| 152 | (ShiftedHom.mk₀ 0 rfl |
| 153 | (DerivedCategory.Q.map eI.inv ≫ e.hom.app (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt Y))).comp |
| 154 | ((γ.map G).comp (ShiftedHom.mk₀ 0 rfl t) (zero_add n)) (add_zero n)) ht) |
| 155 | have h := ShiftedHomSourceNaturality.shiftedHomSourceNaturality G |
| 156 | (DerivedCategory.Q.map eI.inv ≫ e.hom.app (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt Y)) |
| 157 | (DerivedCategory.Q.map cX) |
| 158 | (DerivedCategory.Q.map eS.inv ≫ e.hom.app |
| 159 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint Y)))) |
| 160 | (e.inv.app K) (DerivedCategory.Q.map cY) (originalIntegerDerivedSource_square f) n |
| 161 | (HomPostcomp.cohomologyClassToDerived _ K n z) |
| 162 | have hM : T (DerivedCategory.Q.map cY ≫ HomPostcomp.cohomologyClassToDerived _ K n z) = |
| 163 | DerivedCategory.Q.map cX ≫ HomPostcomp.cohomologyClassToDerived _ (Φ.functor.obj K) n |
| 164 | (HomPullback.originalHomComplexClassInverseImage f K n z) := by |
| 165 | have hD := originalHomComplexClassInverseImage_derived f K n z |
| 166 | have hm : T (DerivedCategory.Q.map cY ≫ HomPostcomp.cohomologyClassToDerived _ K n z) = |
| 167 | DerivedCategory.Q.map cX ≫ |
| 168 | (DerivedCategory.Q.map eS.inv ≫ |
| 169 | (ShiftedHom.mk₀ 0 rfl (e.hom.app |
| 170 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint Y))))).comp |
| 171 | (((HomPostcomp.cohomologyClassToDerived _ K n z).map G).comp |
| 172 | (ShiftedHom.mk₀ 0 rfl (e.inv.app K)) (zero_add n)) (add_zero n)) := by |
| 173 | simpa only [T, ShiftedHom.mk₀_comp, Category.assoc] using h |
| 174 | exact hm.trans |
| 175 | (congrArg (fun q => DerivedCategory.Q.map cX ≫ q) hD).symm |
| 176 | apply (SmallShiftedHom.equiv (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms X) DerivedCategory.Q).injective |
| 177 | exact hL.trans |
| 178 | ((congrArg T (GlobalNaturality.homComplexClassToHypercohomology_equiv Y K n z)).trans |
| 179 | (hM.trans (GlobalNaturality.homComplexClassToHypercohomology_equiv X _ n _).symm)) |
| 180 | |
| 181 | end |
| 182 | |
| 183 | end OAI.AlgebraicGeometry.ComplexMultiplication.Reference.HypercohomologyClassNaturality |