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.GlobalSections |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HomPostcomp |
| 3 | import OAI.Algebra.Homology.Notation |
| 4 | |
| 5 | /-! # Global Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.GlobalNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Naturality of global sections and hypercohomology -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry ComplexPoint |
| 14 | open _root_.CochainComplex.HomComplex |
| 15 | |
| 16 | variable (X : Over (Spec ↧ℂ)) |
| 17 | |
| 18 | local instance CMGlobalNaturality.localInstance1 : HasDerivedCategory (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) := |
| 19 | HasDerivedCategory.standard _ |
| 20 | |
| 21 | /-- The canonical map from Hom-complex classes to the original hypercohomology. -/ |
| 22 | def homComplexClassToHypercohomology |
| 23 | (K : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ) (n : ℤ) : |
| 24 | CohomologyClass (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex ↧(ComplexPoint.Basic.ComplexSchemePoint X)) K n →+ |
| 25 | ComplexPoint.Basic.ComplexSchemePoint.Hypercohomology X K n := |
| 26 | let e : ComplexPoint.Basic.ComplexSchemePoint.Hypercohomology X K n ≃+ |
| 27 | ShiftedHom (DerivedCategory.Q.obj (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt X)) |
| 28 | (DerivedCategory.Q.obj K) n := |
| 29 | { toEquiv := Localization.SmallShiftedHom.equiv |
| 30 | (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms X) DerivedCategory.Q |
| 31 | map_add' := ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyEquiv_add X K n } |
| 32 | let pre : ShiftedHom |
| 33 | (DerivedCategory.Q.obj (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex ↧(ComplexPoint.Basic.ComplexSchemePoint X))) |
| 34 | (DerivedCategory.Q.obj K) n →+ |
| 35 | ShiftedHom (DerivedCategory.Q.obj (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexInt X)) |
| 36 | (DerivedCategory.Q.obj K) n := |
| 37 | { toFun f := DerivedCategory.Q.map (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle X).hom ≫ f |
| 38 | map_zero' := by simp |
| 39 | map_add' _ _ := by simp only [Preadditive.comp_add] } |
| 40 | e.symm.toAddMonoidHom.comp <| pre.comp |
| 41 | (HomPostcomp.cohomologyClassToDerived _ K n) |
| 42 | |
| 43 | lemma homComplexClassToHypercohomology_equiv |
| 44 | (K : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ) (n : ℤ) |
| 45 | (z : CohomologyClass (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex ↧(ComplexPoint.Basic.ComplexSchemePoint X)) K n) : |
| 46 | (Localization.SmallShiftedHom.equiv (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms X) DerivedCategory.Q) |
| 47 | (homComplexClassToHypercohomology X K n z) = |
| 48 | DerivedCategory.Q.map (ComplexPoint.Basic.ComplexSchemePoint.constantIntegerSheafComplexIntIsoSingle X).hom ≫ |
| 49 | HomPostcomp.cohomologyClassToDerived _ K n z := by |
| 50 | dsimp only [homComplexClassToHypercohomology, AddMonoidHom.comp_apply, |
| 51 | AddEquiv.toAddMonoidHom_eq_coe, AddMonoidHom.coe_mk, ZeroHom.coe_mk] |
| 52 | exact (Localization.SmallShiftedHom.equiv |
| 53 | (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms X) DerivedCategory.Q).apply_symm_apply _ |
| 54 | |
| 55 | /-- The canonical class map respects every chain map of target complexes. -/ |
| 56 | lemma homComplexClassToHypercohomology_postcomp |
| 57 | {K L : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ} (f : K ⟶ L) (n : ℤ) |
| 58 | (z : CohomologyClass (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex ↧(ComplexPoint.Basic.ComplexSchemePoint X)) K n) : |
| 59 | homComplexClassToHypercohomology X L n |
| 60 | (HomPostcomp.HomComplex.postcompClass f _ n z) = |
| 61 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X f n (homComplexClassToHypercohomology X K n z) := by |
| 62 | apply (Localization.SmallShiftedHom.equiv |
| 63 | (ComplexPoint.Basic.ComplexSchemePoint.analyticQuasiIsomorphisms X) DerivedCategory.Q).injective |
| 64 | rw [homComplexClassToHypercohomology_equiv] |
| 65 | rw [HomPostcomp.cohomologyClassToDerived_postcomp] |
| 66 | simp only [ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap, AddMonoidHom.coe_mk, ZeroHom.coe_mk, |
| 67 | Localization.SmallShiftedHom.equiv_comp, Localization.SmallShiftedHom.equiv_mk₀, |
| 68 | ShiftedHom.comp_mk₀, homComplexClassToHypercohomology_equiv] |
| 69 | exact (Category.assoc _ _ _).symm |
| 70 | |
| 71 | /-- Evaluation at the constant section one, on Hom-complex classes. -/ |
| 72 | def globalSectionsToHomComplexClass |
| 73 | (K : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ) (n : ℤ) : |
| 74 | (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt ↧(ComplexPoint.Basic.ComplexSchemePoint X) K).homology n ≃+ |
| 75 | CohomologyClass (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex ↧(ComplexPoint.Basic.ComplexSchemePoint X)) K n := |
| 76 | let e := HomologicalComplex.homologyMapIso |
| 77 | (Cohomology.GlobalSections.TopCat.Sheaf.homComplexSingleIntegerIsoGlobalSections ↧(ComplexPoint.Basic.ComplexSchemePoint X) K) n |
| 78 | e.symm.addCommGroupIsoToAddEquiv.trans <| |
| 79 | CochainComplex.HomComplex.homologyAddEquiv _ K n |
| 80 | |
| 81 | /-- The canonical map from actual global-section cohomology to hypercohomology. -/ |
| 82 | def globalSectionsToHypercohomology |
| 83 | (K : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ) (n : ℤ) : |
| 84 | (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt ↧(ComplexPoint.Basic.ComplexSchemePoint X) K).homology n →+ |
| 85 | ComplexPoint.Basic.ComplexSchemePoint.Hypercohomology X K n := |
| 86 | (homComplexClassToHypercohomology X K n).comp |
| 87 | (globalSectionsToHomComplexClass X K n).toAddMonoidHom |
| 88 | |
| 89 | set_option backward.isDefEq.respectTransparency false in |
| 90 | /-- Evaluation at one is natural for the actual sheaf complexes. -/ |
| 91 | lemma homComplexSingleIntegerIsoGlobalSections_naturality |
| 92 | {K L : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ} (f : K ⟶ L) : |
| 93 | HomPostcomp.HomComplex.postcompMap f (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex ↧(ComplexPoint.Basic.ComplexSchemePoint X)) ≫ |
| 94 | (Cohomology.GlobalSections.TopCat.Sheaf.homComplexSingleIntegerIsoGlobalSections ↧(ComplexPoint.Basic.ComplexSchemePoint X) L).hom = |
| 95 | (Cohomology.GlobalSections.TopCat.Sheaf.homComplexSingleIntegerIsoGlobalSections ↧(ComplexPoint.Basic.ComplexSchemePoint X) K).hom ≫ |
| 96 | ((AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor |
| 97 | ↧(ComplexPoint.Basic.ComplexSchemePoint X)).mapHomologicalComplex ℤᵘᵖ).map f := by |
| 98 | let : (AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor |
| 99 | ↧(ComplexPoint.Basic.ComplexSchemePoint X)).PreservesZeroMorphisms := |
| 100 | Functor.preservesZeroMorphisms_of_additive _ |
| 101 | let B : ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X := |
| 102 | (AlgebraicTopology.Sheaf.Constant.TopCat.constantFunctor ↧(ComplexPoint.Basic.ComplexSchemePoint X)).obj (AddCommGrpCat.of ℤ) |
| 103 | let Γ := (AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor |
| 104 | ↧(ComplexPoint.Basic.ComplexSchemePoint X)).mapHomologicalComplex ℤᵘᵖ |
| 105 | let e : (preadditiveCoyoneda.obj (.op B)).mapHomologicalComplex ℤᵘᵖ ≅ Γ := |
| 106 | NatIso.mapHomologicalComplex |
| 107 | (Cohomology.GlobalSections.TopCat.Sheaf.integerConstantHomIsoGlobalSectionsFunctor ↧(ComplexPoint.Basic.ComplexSchemePoint X)) ℤᵘᵖ |
| 108 | change HomPostcomp.HomComplex.postcompMap f _ ≫ |
| 109 | (Algebra.Homology.HomComplexSingle.CochainComplex.HomComplex.fromSingleZeroIsoPreadditiveCoyoneda B L).hom ≫ (e.app L).hom = |
| 110 | ((Algebra.Homology.HomComplexSingle.CochainComplex.HomComplex.fromSingleZeroIsoPreadditiveCoyoneda B K).hom ≫ (e.app K).hom) ≫ _ |
| 111 | rw [← Category.assoc, HomPostcomp.HomComplex.postcompMap_fromSingleZeroIsoPreadditiveCoyoneda, |
| 112 | Category.assoc] |
| 113 | have h : ((preadditiveCoyoneda.obj (.op B)).mapHomologicalComplex ℤᵘᵖ).map f ≫ |
| 114 | (e.app L).hom = (e.app K).hom ≫ Γ.map f := e.hom.naturality f |
| 115 | rw [h] |
| 116 | exact (Category.assoc _ _ _).symm |
| 117 | |
| 118 | set_option backward.isDefEq.respectTransparency false in |
| 119 | /-- The class associated to a global cohomology element commutes with target maps. -/ |
| 120 | lemma globalSectionsToHomComplexClass_naturality |
| 121 | {K L : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ} (f : K ⟶ L) (n : ℤ) |
| 122 | (x : (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt ↧(ComplexPoint.Basic.ComplexSchemePoint X) K).homology n) : |
| 123 | globalSectionsToHomComplexClass X L n |
| 124 | (HomologicalComplex.homologyMap |
| 125 | (((AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor |
| 126 | ↧(ComplexPoint.Basic.ComplexSchemePoint X)).mapHomologicalComplex ℤᵘᵖ).map f) n x) = |
| 127 | HomPostcomp.HomComplex.postcompClass f _ n (globalSectionsToHomComplexClass X K n x) := by |
| 128 | let A := Cohomology.GlobalSections.TopCat.Sheaf.integerConstantSingleComplex ↧(ComplexPoint.Basic.ComplexSchemePoint X) |
| 129 | let eK := Cohomology.GlobalSections.TopCat.Sheaf.homComplexSingleIntegerIsoGlobalSections ↧(ComplexPoint.Basic.ComplexSchemePoint X) K |
| 130 | let eL := Cohomology.GlobalSections.TopCat.Sheaf.homComplexSingleIntegerIsoGlobalSections ↧(ComplexPoint.Basic.ComplexSchemePoint X) L |
| 131 | let Γ := (AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor |
| 132 | ↧(ComplexPoint.Basic.ComplexSchemePoint X)).mapHomologicalComplex ℤᵘᵖ |
| 133 | have h : eK.inv ≫ HomPostcomp.HomComplex.postcompMap f A = Γ.map f ≫ eL.inv := by |
| 134 | apply (cancel_mono eL.hom).1 |
| 135 | rw [Category.assoc, homComplexSingleIntegerIsoGlobalSections_naturality X] |
| 136 | change eK.inv ≫ eK.hom ≫ Γ.map f = (Γ.map f ≫ eL.inv) ≫ eL.hom |
| 137 | rw [eK.inv_hom_id_assoc, Category.assoc, eL.inv_hom_id] |
| 138 | change Γ.map f = Γ.map f ≫ 𝟙 (Γ.obj L) |
| 139 | exact (Category.comp_id _).symm |
| 140 | have hh : HomologicalComplex.homologyMap (HomPostcomp.HomComplex.postcompMap f A) n |
| 141 | (HomologicalComplex.homologyMap eK.inv n x) = |
| 142 | HomologicalComplex.homologyMap eL.inv n |
| 143 | (HomologicalComplex.homologyMap (Γ.map f) n x) := by |
| 144 | simpa only [HomologicalComplex.homologyMap_comp, AddCommGrpCat.comp_apply] using! |
| 145 | ConcreteCategory.congr_hom |
| 146 | (congrArg (fun g ↦ HomologicalComplex.homologyMap g n) h) x |
| 147 | change homologyAddEquiv A L n |
| 148 | (HomologicalComplex.homologyMap eL.inv n (HomologicalComplex.homologyMap (Γ.map f) n x)) = |
| 149 | HomPostcomp.HomComplex.postcompClass f A n |
| 150 | (homologyAddEquiv A K n (HomologicalComplex.homologyMap eK.inv n x)) |
| 151 | rw [← hh, HomPostcomp.HomComplex.homologyAddEquiv_postcompMap] |
| 152 | |
| 153 | /-- The canonical global-section comparison respects every actual chain map. -/ |
| 154 | lemma globalSectionsToHypercohomology_naturality |
| 155 | {K L : CochainComplex (ComplexPoint.Basic.ComplexSchemePoint.AnalyticAdditiveSheaf X) ℤ} (f : K ⟶ L) (n : ℤ) |
| 156 | (x : (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt ↧(ComplexPoint.Basic.ComplexSchemePoint X) K).homology n) : |
| 157 | globalSectionsToHypercohomology X L n |
| 158 | (HomologicalComplex.homologyMap |
| 159 | (((AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor |
| 160 | ↧(ComplexPoint.Basic.ComplexSchemePoint X)).mapHomologicalComplex ℤᵘᵖ).map f) n x) = |
| 161 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X f n (globalSectionsToHypercohomology X K n x) := by |
| 162 | change homComplexClassToHypercohomology X L n |
| 163 | (globalSectionsToHomComplexClass X L n _) = _ |
| 164 | rw [globalSectionsToHomComplexClass_naturality, |
| 165 | homComplexClassToHypercohomology_postcomp] |
| 166 | rfl |
| 167 | |
| 168 | end |
| 169 | |
| 170 | end OAI.AlgebraicGeometry.ComplexMultiplication.GlobalNaturality |