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.HodgeConjecture.DegreeTwo.ClosedSupportIs |
| 2 | |
| 3 | /-! # Closed Support Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportComparison.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Flasque resolution comparisons preserve exact specified closed supports on actual sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | variable {X : TopCat.{0}} |
| 18 | variable {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ} (f : K ⟶ L) |
| 19 | |
| 20 | theorem moduleSheafSectionsRestriction_naturality {U W : Opens X} (i : U ⟶ W) : |
| 21 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections W).mapHomologicalComplex (ComplexShape.up ℕ)).map f ≫ |
| 22 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction L i = |
| 23 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K i ≫ |
| 24 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map f := by |
| 25 | ext n : 1 |
| 26 | exact ((f.f n).hom.naturality i.op).symm |
| 27 | |
| 28 | theorem closedSupportCochainInclusion_naturality (O : Opens X) : |
| 29 | ((ClosedSupportIs.Constructions.closedSupportSheafFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map f ≫ |
| 30 | ClosedSupportIs.Constructions.closedSupportCochainInclusion O L = ClosedSupportIs.Constructions.closedSupportCochainInclusion O K ≫ f := by |
| 31 | ext n : 1 |
| 32 | exact ClosedSupportIs.Constructions.closedSupportSheafMap_inclusion O (f.f n) |
| 33 | |
| 34 | variable (O U : Opens X) |
| 35 | |
| 36 | def closedSupportSectionKernelMap : |
| 37 | kernel (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K (homOfLE (inf_le_left : U ⊓ O ≤ U))) ⟶ |
| 38 | kernel (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction L (homOfLE (inf_le_left : U ⊓ O ≤ U))) := |
| 39 | kernel.map _ _ |
| 40 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map f) |
| 41 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (U ⊓ O)).mapHomologicalComplex (ComplexShape.up ℕ)).map f) |
| 42 | (moduleSheafSectionsRestriction_naturality f (homOfLE inf_le_left)).symm |
| 43 | |
| 44 | theorem closedSupportSectionKernelMap_inclusion : |
| 45 | closedSupportSectionKernelMap f O U ≫ |
| 46 | kernel.ι (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction L (homOfLE (inf_le_left : U ⊓ O ≤ U))) = |
| 47 | kernel.ι (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K (homOfLE (inf_le_left : U ⊓ O ≤ U))) ≫ |
| 48 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map f := |
| 49 | kernel.lift_ι _ _ _ |
| 50 | |
| 51 | theorem closedSupportSectionKernelIso_naturality : |
| 52 | ((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map f ≫ |
| 53 | (ClosedSupportIs.Constructions.closedSupportSectionKernelIso O U L).hom = |
| 54 | (ClosedSupportIs.Constructions.closedSupportSectionKernelIso O U K).hom ≫ closedSupportSectionKernelMap f O U := by |
| 55 | apply (cancel_mono |
| 56 | (kernel.ι (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction L (homOfLE (inf_le_left : U ⊓ O ≤ U))))).mp |
| 57 | rw [Category.assoc, ClosedSupportIs.Constructions.closedSupportSectionKernelIso_inclusion, Category.assoc, |
| 58 | closedSupportSectionKernelMap_inclusion, ← Category.assoc, ClosedSupportIs.Constructions.closedSupportSectionKernelIso_inclusion] |
| 59 | change ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 60 | (((ClosedSupportIs.Constructions.closedSupportSheafFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map f) ≫ |
| 61 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 62 | (ClosedSupportIs.Constructions.closedSupportCochainInclusion O L) = _ |
| 63 | rw [← Functor.map_comp, closedSupportCochainInclusion_naturality, Functor.map_comp] |
| 64 | |
| 65 | def closedSupportSectionKernelSequenceMap : |
| 66 | AlgebraicTopology.Cohomology.Singular.SurjectiveQuasiIso.cochainKernelSequence (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K (homOfLE (inf_le_left : U ⊓ O ≤ U))) ⟶ |
| 67 | AlgebraicTopology.Cohomology.Singular.SurjectiveQuasiIso.cochainKernelSequence (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction L (homOfLE (inf_le_left : U ⊓ O ≤ U))) where |
| 68 | τ₁ := closedSupportSectionKernelMap f O U |
| 69 | τ₂ := ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map f |
| 70 | τ₃ := ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (U ⊓ O)).mapHomologicalComplex (ComplexShape.up ℕ)).map f |
| 71 | comm₁₂ := closedSupportSectionKernelMap_inclusion f O U |
| 72 | comm₂₃ := moduleSheafSectionsRestriction_naturality f |
| 73 | (homOfLE (inf_le_left : U ⊓ O ≤ U)) |
| 74 | |
| 75 | theorem flasqueSectionKernelSequence_shortExact |
| 76 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 77 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) : |
| 78 | (AlgebraicTopology.Cohomology.Singular.SurjectiveQuasiIso.cochainKernelSequence |
| 79 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K (homOfLE (inf_le_left : U ⊓ O ≤ U)))).ShortExact := by |
| 80 | have : Epi (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K (homOfLE (inf_le_left : U ⊓ O ≤ U))) := |
| 81 | HomologicalComplex.epi_of_epi_f _ (fun n => by |
| 82 | have := hK n |
| 83 | change Epi ((K.X n).obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op) |
| 84 | infer_instance) |
| 85 | change (ShortComplex.mk (kernel.ι _) _ _).ShortExact |
| 86 | exact { exact := ShortComplex.kernelSequence_exact _ } |
| 87 | |
| 88 | theorem closedSupportSectionKernelMap_quasiIso |
| 89 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 90 | (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) [QuasiIso f] : |
| 91 | QuasiIso (closedSupportSectionKernelMap f O U) := |
| 92 | AlgebraicTopology.Cohomology.Singular.ShortExactQuasiIso.quasiIso_first_of_shortExact (closedSupportSectionKernelSequenceMap f O U) |
| 93 | (flasqueSectionKernelSequence_shortExact O U K hK) |
| 94 | (flasqueSectionKernelSequence_shortExact O U L hL) |
| 95 | (FlasqueResolutionComparison.Constructions.rationalFlasqueSections_quasiIso f hK hL U) |
| 96 | (FlasqueResolutionComparison.Constructions.rationalFlasqueSections_quasiIso f hK hL (U ⊓ O)) |
| 97 | |
| 98 | theorem closedSupportFlasqueSections_quasiIso |
| 99 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 100 | (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) [QuasiIso f] : |
| 101 | QuasiIso (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map f) := by |
| 102 | have := closedSupportSectionKernelMap_quasiIso f O U hK hL |
| 103 | have h : QuasiIso |
| 104 | (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map f ≫ |
| 105 | (ClosedSupportIs.Constructions.closedSupportSectionKernelIso O U L).hom) := by |
| 106 | rw [closedSupportSectionKernelIso_naturality] |
| 107 | infer_instance |
| 108 | exact quasiIso_of_comp_right _ (ClosedSupportIs.Constructions.closedSupportSectionKernelIso O U L).hom |
| 109 | |
| 110 | end |
| 111 | |
| 112 | /-! The native derived section functor with specified closed support is computed by the actual flasque resolutions. -/ |
| 113 | |
| 114 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 115 | |
| 116 | set_option backward.isDefEq.respectTransparency false |
| 117 | |
| 118 | variable {X : TopCat.{0}} (O U : Opens X) |
| 119 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 120 | variable (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (heK : ∀ n, K.ExactAt (n+1)) |
| 121 | |
| 122 | include hK in |
| 123 | theorem closedSupportResolutionLift_quasiIso : |
| 124 | QuasiIso (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 125 | (ResolutionHomotopy.Constructions.resolutionLift K heK (FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (K.homology 0)))) := by |
| 126 | have := ResolutionHomotopy.Constructions.resolutionLift_quasiIso K heK (FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (K.homology 0)) |
| 127 | exact closedSupportFlasqueSections_quasiIso _ O U hK |
| 128 | (fun n => FlasqueInjectives.Constructions.injectiveModuleSheaf_isFlasque ((FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (K.homology 0)).cocomplex.X n)) |
| 129 | |
| 130 | def closedSupportResolutionDerivedIso (n : ℕ) : |
| 131 | (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).obj K).homology n ≅ |
| 132 | ((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).rightDerived n).obj (K.homology 0) := by |
| 133 | have := closedSupportResolutionLift_quasiIso O U K hK heK |
| 134 | exact isoOfQuasiIsoAt |
| 135 | (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 136 | (ResolutionHomotopy.Constructions.resolutionLift K heK (FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (K.homology 0)))) n ≪≫ |
| 137 | ((FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (K.homology 0)).isoRightDerivedObj |
| 138 | (ClosedSupportIs.Constructions.closedSupportSectionFunctor O U) n).symm |
| 139 | |
| 140 | variable {K} {L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ} (f : K ⟶ L) |
| 141 | variable (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) (heL : ∀ n, L.ExactAt (n+1)) |
| 142 | |
| 143 | theorem closedSupportResolutionDerivedIso_naturality (n : ℕ) : |
| 144 | HomologicalComplex.homologyMap |
| 145 | (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map f) n ≫ |
| 146 | (closedSupportResolutionDerivedIso O U L hL heL n).hom = |
| 147 | (closedSupportResolutionDerivedIso O U K hK heK n).hom ≫ |
| 148 | ((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).rightDerived n).map (HomologicalComplex.homologyMap f 0) := by |
| 149 | let I := FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (K.homology 0) |
| 150 | let J := FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (L.homology 0) |
| 151 | let F := ClosedSupportIs.Constructions.closedSupportSectionFunctor (R := ℚ) O U |
| 152 | let F' := F.mapHomologicalComplex (ComplexShape.up ℕ) |
| 153 | let d := InjectiveResolution.desc (HomologicalComplex.homologyMap f 0) J I |
| 154 | have hh : HomologicalComplex.homologyMap (F'.map f) n ≫ |
| 155 | HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift L heL J)) n = |
| 156 | HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift K heK I)) n ≫ |
| 157 | HomologicalComplex.homologyMap (F'.map d) n := by |
| 158 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 159 | ← Functor.map_comp, ← Functor.map_comp] |
| 160 | exact (F.mapHomotopy (FlasqueDerivedNaturality.Constructions.resolutionLiftNaturalityHomotopy f heK heL I J)).homologyMap_eq n |
| 161 | have hn := InjectiveResolution.isoRightDerivedObj_inv_naturality |
| 162 | (HomologicalComplex.homologyMap f 0) I J d |
| 163 | (InjectiveResolution.desc_commutes_zero (HomologicalComplex.homologyMap f 0) J I) F n |
| 164 | change (I.isoRightDerivedObj F n).inv ≫ (F.rightDerived n).map (HomologicalComplex.homologyMap f 0) = |
| 165 | HomologicalComplex.homologyMap (F'.map d) n ≫ (J.isoRightDerivedObj F n).inv at hn |
| 166 | change HomologicalComplex.homologyMap (F'.map f) n ≫ |
| 167 | (HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift L heL J)) n ≫ |
| 168 | (J.isoRightDerivedObj F n).inv) = |
| 169 | (HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift K heK I)) n ≫ |
| 170 | (I.isoRightDerivedObj F n).inv) ≫ (F.rightDerived n).map (HomologicalComplex.homologyMap f 0) |
| 171 | rw [← Category.assoc, hh, Category.assoc, ← hn, ← Category.assoc] |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportComparison.Constructions |