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.DivisorClass.Chern.Supported.SectionsLeftExact |
| 2 | |
| 3 | /-! # Closed Support Intersection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ClosedSupportIntersection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Imposing both closed support conditions gives their literal intersection. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {X : TopCat.{0}} (O C : Opens X) |
| 20 | variable (F : TopCat.Sheaf (ModuleCat.{0} ℚ) X) |
| 21 | |
| 22 | theorem sheafRestriction_sup_zero (U : Opens X) (s : F.obj.obj (op U)) |
| 23 | (hO : F.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op s = 0) |
| 24 | (hC : F.obj.map (homOfLE (inf_le_left : U ⊓ C ≤ U)).op s = 0) : |
| 25 | F.obj.map (homOfLE (inf_le_left : U ⊓ (O ⊔ C) ≤ U)).op s = 0 := by |
| 26 | apply F.eq_of_locally_eq₂ |
| 27 | (homOfLE (inf_le_inf_left U le_sup_left : U ⊓ O ≤ U ⊓ (O ⊔ C))) |
| 28 | (homOfLE (inf_le_inf_left U le_sup_right : U ⊓ C ≤ U ⊓ (O ⊔ C))) |
| 29 | (le_of_eq (inf_sup_left U O C)) |
| 30 | · rw [map_zero, ← ConcreteCategory.comp_apply, ← F.obj.map_comp] |
| 31 | exact hO |
| 32 | · rw [map_zero, ← ConcreteCategory.comp_apply, ← F.obj.map_comp] |
| 33 | exact hC |
| 34 | |
| 35 | def closedSupportIntersectionInclusion : CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F) ⟶ F := |
| 36 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F) ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F |
| 37 | |
| 38 | theorem closedSupportIntersectionInclusion_zero : |
| 39 | closedSupportIntersectionInclusion O C F ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen (O ⊔ C) F = 0 := by |
| 40 | apply CategoryTheory.Sheaf.hom_ext |
| 41 | apply NatTrans.ext |
| 42 | funext U |
| 43 | apply ModuleCat.hom_ext |
| 44 | apply LinearMap.ext |
| 45 | intro s |
| 46 | change F.obj.map (homOfLE (inf_le_left : U.unop ⊓ (O ⊔ C) ≤ U.unop)).op |
| 47 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F).hom.app U |
| 48 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F)).hom.app U s)) = 0 |
| 49 | apply sheafRestriction_sup_zero O C F U.unop |
| 50 | · have hn := ConcreteCategory.congr_hom |
| 51 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F).hom.naturality |
| 52 | (homOfLE (inf_le_left : U.unop ⊓ O ≤ U.unop)).op) |
| 53 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F)).hom.app U s) |
| 54 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F).hom.app (op (U.unop ⊓ O)) |
| 55 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F).obj.map (homOfLE (inf_le_left : U.unop ⊓ O ≤ U.unop)).op |
| 56 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F)).hom.app U s)) = _ at hn |
| 57 | rw [CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion_vanishes, map_zero] at hn |
| 58 | exact hn.symm |
| 59 | · exact CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion_vanishes C U.unop F _ |
| 60 | |
| 61 | def closedSupportIntersectionMap : |
| 62 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F) ⟶ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf (O ⊔ C) F := |
| 63 | kernel.lift (CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpen (O ⊔ C) F) (closedSupportIntersectionInclusion O C F) |
| 64 | (closedSupportIntersectionInclusion_zero O C F) |
| 65 | |
| 66 | @[reassoc (attr := simp)] |
| 67 | theorem closedSupportIntersectionMap_inclusion : |
| 68 | closedSupportIntersectionMap O C F ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion (O ⊔ C) F = |
| 69 | closedSupportIntersectionInclusion O C F := kernel.lift_ι _ _ _ |
| 70 | |
| 71 | theorem closedSupportIntersectionMap_surjective (U : Opens X) : |
| 72 | Function.Surjective ((closedSupportIntersectionMap O C F).hom.app (op U)) := by |
| 73 | intro s |
| 74 | let q := (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion (O ⊔ C) F).hom.app (op U) s |
| 75 | have hz (D : Opens X) (hD : D ≤ O ⊔ C) : |
| 76 | F.obj.map (homOfLE (inf_le_left : U ⊓ D ≤ U)).op q = 0 := by |
| 77 | have h := congrArg |
| 78 | (F.obj.map (homOfLE (inf_le_inf_left U hD : U ⊓ D ≤ U ⊓ (O ⊔ C))).op) |
| 79 | (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion_vanishes (O ⊔ C) U F s) |
| 80 | rw [map_zero, ← ConcreteCategory.comp_apply, ← F.obj.map_comp] at h |
| 81 | exact h |
| 82 | obtain ⟨t, ht⟩ := Supported.SectionsLeftExact.exists_supportedSection C U F q (hz C le_sup_right) |
| 83 | have htO : (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F).obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op t = 0 := by |
| 84 | apply CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion_injective C (U ⊓ O) F |
| 85 | rw [map_zero] |
| 86 | have hn := ConcreteCategory.congr_hom |
| 87 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F).hom.naturality |
| 88 | (homOfLE (inf_le_left : U ⊓ O ≤ U)).op) t |
| 89 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F).hom.app (op (U ⊓ O)) |
| 90 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F).obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op t) = |
| 91 | F.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op (Supported.SectionsLeftExact.supportedSectionsInclusion C U F t) at hn |
| 92 | rw [ht] at hn |
| 93 | exact hn.trans (hz O le_sup_left) |
| 94 | obtain ⟨v, hv⟩ := Supported.SectionsLeftExact.exists_supportedSection O U (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F) t htO |
| 95 | refine ⟨v, ?_⟩ |
| 96 | apply CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion_injective (O ⊔ C) U F |
| 97 | have hn := ConcreteCategory.congr_hom |
| 98 | (congrArg (fun f => f.hom.app (op U)) (closedSupportIntersectionMap_inclusion O C F)) v |
| 99 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion (O ⊔ C) F).hom.app (op U) |
| 100 | ((closedSupportIntersectionMap O C F).hom.app (op U) v) = |
| 101 | Supported.SectionsLeftExact.supportedSectionsInclusion C U F (Supported.SectionsLeftExact.supportedSectionsInclusion O U (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F) v) at hn |
| 102 | rw [hv, ht] at hn |
| 103 | exact hn |
| 104 | |
| 105 | def closedSupportIntersectionIso : |
| 106 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F) ≅ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf (O ⊔ C) F := by |
| 107 | have hm : Mono (closedSupportIntersectionMap O C F) := by |
| 108 | have : Mono (closedSupportIntersectionMap O C F ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion (O ⊔ C) F) := by |
| 109 | rw [closedSupportIntersectionMap_inclusion] |
| 110 | change Mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F) ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F) |
| 111 | infer_instance |
| 112 | exact mono_of_mono (closedSupportIntersectionMap O C F) (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion (O ⊔ C) F) |
| 113 | have he : Epi (closedSupportIntersectionMap O C F).hom := by |
| 114 | apply (NatTrans.epi_iff_epi_app _).mpr |
| 115 | intro U |
| 116 | exact (ModuleCat.epi_iff_surjective _).mpr (closedSupportIntersectionMap_surjective O C F U.unop) |
| 117 | have : Epi (closedSupportIntersectionMap O C F) := by |
| 118 | exact (sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℚ)).epi_of_epi_map he |
| 119 | have := isIso_of_mono_of_epi (closedSupportIntersectionMap O C F) |
| 120 | exact asIso (closedSupportIntersectionMap O C F) |
| 121 | |
| 122 | end |
| 123 | |
| 124 | /-! The original nested support complexes and their inclusions identify with the literal intersection support. -/ |
| 125 | |
| 126 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 127 | |
| 128 | set_option backward.isDefEq.respectTransparency false |
| 129 | set_option backward.isDefEq.respectTransparency.types false |
| 130 | set_option backward.defeqAttrib.useBackward true |
| 131 | |
| 132 | variable {X : TopCat.{0}} (O C : Opens X) |
| 133 | |
| 134 | theorem closedSupportIntersectionMap_naturality |
| 135 | {F G : TopCat.Sheaf (ModuleCat.{0} ℚ) X} (f : F ⟶ G) : |
| 136 | ClosedSupportFunctor.closedSupportSheafMap O (ClosedSupportFunctor.closedSupportSheafMap C f) ≫ closedSupportIntersectionMap O C G = |
| 137 | closedSupportIntersectionMap O C F ≫ ClosedSupportFunctor.closedSupportSheafMap (O ⊔ C) f := by |
| 138 | apply (cancel_mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion (O ⊔ C) G)).mp |
| 139 | simp only [Category.assoc, closedSupportIntersectionMap_inclusion, |
| 140 | ClosedSupportFunctor.closedSupportSheafMap_inclusion, closedSupportIntersectionMap_inclusion_assoc] |
| 141 | unfold closedSupportIntersectionInclusion |
| 142 | simp only [Category.assoc, ClosedSupportFunctor.closedSupportSheafMap_inclusion_assoc, ClosedSupportFunctor.closedSupportSheafMap_inclusion] |
| 143 | |
| 144 | def closedSupportIntersectionFunctorIso : |
| 145 | ClosedSupportFunctor.closedSupportSheafFunctor (R := ℚ) C ⋙ ClosedSupportFunctor.closedSupportSheafFunctor O ≅ |
| 146 | ClosedSupportFunctor.closedSupportSheafFunctor (O ⊔ C) := |
| 147 | NatIso.ofComponents (closedSupportIntersectionIso O C) |
| 148 | (fun f => closedSupportIntersectionMap_naturality O C f) |
| 149 | |
| 150 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 151 | |
| 152 | def supportedIntersectionComplexIso : |
| 153 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) ≅ CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex (O ⊔ C) K := |
| 154 | ClosedSupportFunctor.supportedSheafComplexFunctorIso O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) ≪≫ |
| 155 | ((ClosedSupportFunctor.closedSupportSheafFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 156 | (ClosedSupportFunctor.supportedSheafComplexFunctorIso C K) ≪≫ |
| 157 | (NatIso.mapHomologicalComplex (closedSupportIntersectionFunctorIso O C) (ComplexShape.up ℕ)).app K ≪≫ |
| 158 | (ClosedSupportFunctor.supportedSheafComplexFunctorIso (O ⊔ C) K).symm |
| 159 | |
| 160 | theorem supportedSheafComplexDegreeIso_inv_inclusion (n : ℕ) : |
| 161 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso C K n).inv ≫ (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C K).f n = |
| 162 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C (K.X n) := by |
| 163 | rw [← CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso_inclusion C K n, Iso.inv_hom_id_assoc] |
| 164 | |
| 165 | theorem supportedIntersectionComplexIso_inclusion : |
| 166 | (supportedIntersectionComplexIso O C K).hom ≫ CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion (O ⊔ C) K = |
| 167 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) ≫ CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C K := by |
| 168 | apply HomologicalComplex.Hom.ext |
| 169 | funext n |
| 170 | change ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) n).hom ≫ |
| 171 | ClosedSupportFunctor.closedSupportSheafMap O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso C K n).hom ≫ |
| 172 | closedSupportIntersectionMap O C (K.X n) ≫ (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso (O ⊔ C) K n).inv) ≫ |
| 173 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion (O ⊔ C) K).f n = |
| 174 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K)).f n ≫ |
| 175 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C K).f n |
| 176 | simp only [Category.assoc, supportedSheafComplexDegreeIso_inv_inclusion, |
| 177 | closedSupportIntersectionMap_inclusion] |
| 178 | unfold closedSupportIntersectionInclusion |
| 179 | simp only [ClosedSupportFunctor.closedSupportSheafMap_inclusion_assoc, |
| 180 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso_inclusion_assoc, CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexDegreeIso_inclusion] |
| 181 | |
| 182 | end |
| 183 | |
| 184 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ClosedSupportIntersection |