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.AdditiveCechCoverCongr |
| 2 | import Mathlib.Topology.Sheaves.Functors |
| 3 | |
| 4 | /-! # Additive Cech Image -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AdditiveCechImage |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual additive Čech intersection sections commute with a continuous inverse image of opens. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | open scoped Simplicial |
| 16 | |
| 17 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) {ι : Type} (U : ι → Opens X) |
| 18 | |
| 19 | theorem additiveCechIntersection_preimage (q : ℕ) (t : Fin (q + 1) → ι) : |
| 20 | (Opens.map f).obj (∏ᶜ fun k : Fin (q + 1) => U (t k)) = |
| 21 | ∏ᶜ fun k : Fin (q + 1) => (Opens.map f).obj (U (t k)) := by |
| 22 | rw [SheafCohomology.Cech.Cochains.TopologicalSpace.Opens.piObj_eq_iInf, SheafCohomology.Cech.Cochains.TopologicalSpace.Opens.piObj_eq_iInf] |
| 23 | ext y |
| 24 | change (f y ∈ ⨅ k : Fin (q + 1), U (t k)) ↔ |
| 25 | y ∈ ⨅ k : Fin (q + 1), (Opens.map f).obj (U (t k)) |
| 26 | simp only [← SetLike.mem_coe, Opens.coe_iInf, Set.mem_iInter] |
| 27 | rfl |
| 28 | |
| 29 | variable (F : (Opens Y)ᵒᵖ ⥤ AddCommGrpCat.{0}) |
| 30 | |
| 31 | def additiveCechDirectImageSectionIso (q : ℕ) (t : Fin (q + 1) → ι) : |
| 32 | F.obj (op ((Opens.map f).obj (∏ᶜ fun k : Fin (q + 1) => U (t k)))) ≅ |
| 33 | F.obj (op (∏ᶜ fun k : Fin (q + 1) => (Opens.map f).obj (U (t k)))) := |
| 34 | F.mapIso (eqToIso (congrArg op (additiveCechIntersection_preimage f U q t))) |
| 35 | |
| 36 | theorem additiveCechDirectImageSectionIso_precomp {a b : SimplexCategory} (g : a ⟶ b) |
| 37 | (t : Fin (b.len + 1) → ι) : |
| 38 | F.map ((Opens.map f).map (((FormalCoproduct.mk _ U).mapPower g.toOrderHom).φ t)).op ≫ |
| 39 | (additiveCechDirectImageSectionIso f U F b.len t).hom = |
| 40 | (additiveCechDirectImageSectionIso f U F a.len (t ∘ g.toOrderHom)).hom ≫ |
| 41 | F.map (((FormalCoproduct.mk _ (fun i => (Opens.map f).obj (U i))).mapPower |
| 42 | g.toOrderHom).φ t).op := by |
| 43 | change F.map _ ≫ F.map _ = F.map _ ≫ F.map _ |
| 44 | exact (F.map_comp _ _).symm.trans |
| 45 | ((congrArg F.map (Subsingleton.elim _ _)).trans (F.map_comp _ _)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | section |
| 50 | |
| 51 | /-! The original additive Čech complex of a direct image is the complex on the inverse-image cover. -/ |
| 52 | |
| 53 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 54 | open scoped Simplicial |
| 55 | |
| 56 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) {ι : Type} (U : ι → Opens X) |
| 57 | (F : (Opens Y)ᵒᵖ ⥤ AddCommGrpCat.{0}) |
| 58 | |
| 59 | def additiveCechDirectImageTermIso (q : ℕ) : |
| 60 | ((cechComplexFunctor U).obj ((Opens.map f).op ⋙ F)).X q ≅ |
| 61 | ((cechComplexFunctor (fun i => (Opens.map f).obj (U i))).obj F).X q := |
| 62 | Pi.mapIso (fun t : Fin (q + 1) → ι => additiveCechDirectImageSectionIso f U F q t) |
| 63 | |
| 64 | @[reassoc] |
| 65 | theorem additiveCechDirectImageTermIso_hom_proj (q : ℕ) (t : Fin (q + 1) → ι) : |
| 66 | (additiveCechDirectImageTermIso f U F q).hom ≫ |
| 67 | Pi.π (fun a : Fin (q + 1) → ι => |
| 68 | F.obj (op (∏ᶜ fun k => (Opens.map f).obj (U (a k))))) t = |
| 69 | Pi.π (fun a : Fin (q + 1) → ι => |
| 70 | F.obj (op ((Opens.map f).obj (∏ᶜ fun k => U (a k))))) t ≫ |
| 71 | (additiveCechDirectImageSectionIso f U F q t).hom := |
| 72 | Pi.mapIso_hom_π _ _ |
| 73 | |
| 74 | theorem additiveCechDirectImageTermIso_naturality {a b : SimplexCategory} (g : a ⟶ b) : |
| 75 | (((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk _ U).cech).obj |
| 76 | ((Opens.map f).op ⋙ F)).map g) ≫ (additiveCechDirectImageTermIso f U F b.len).hom = |
| 77 | (additiveCechDirectImageTermIso f U F a.len).hom ≫ |
| 78 | (((FormalCoproduct.cosimplicialObjectFunctor |
| 79 | (FormalCoproduct.mk _ (fun i => (Opens.map f).obj (U i))).cech).obj F).map g) := by |
| 80 | apply Pi.hom_ext |
| 81 | intro t |
| 82 | let S := (FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk _ U).cech).obj |
| 83 | ((Opens.map f).op ⋙ F) |
| 84 | let T := (FormalCoproduct.cosimplicialObjectFunctor |
| 85 | (FormalCoproduct.mk _ (fun i => (Opens.map f).obj (U i))).cech).obj F |
| 86 | let e₀ := (additiveCechDirectImageTermIso f U F a.len).hom |
| 87 | let e₁ := (additiveCechDirectImageTermIso f U F b.len).hom |
| 88 | let p₀ := Pi.π (fun u : Fin (a.len + 1) → ι => |
| 89 | F.obj (op ((Opens.map f).obj (∏ᶜ fun k => U (u k))))) (t ∘ g.toOrderHom) |
| 90 | let p₁ := Pi.π (fun u : Fin (b.len + 1) → ι => |
| 91 | F.obj (op ((Opens.map f).obj (∏ᶜ fun k => U (u k))))) t |
| 92 | let r₀ := Pi.π (fun u : Fin (a.len + 1) → ι => |
| 93 | F.obj (op (∏ᶜ fun k => (Opens.map f).obj (U (u k))))) (t ∘ g.toOrderHom) |
| 94 | let r₁ := Pi.π (fun u : Fin (b.len + 1) → ι => |
| 95 | F.obj (op (∏ᶜ fun k => (Opens.map f).obj (U (u k))))) t |
| 96 | let b₀ := (additiveCechDirectImageSectionIso f U F a.len (t ∘ g.toOrderHom)).hom |
| 97 | let b₁ := (additiveCechDirectImageSectionIso f U F b.len t).hom |
| 98 | let s := F.map ((Opens.map f).map (((FormalCoproduct.mk _ U).mapPower g.toOrderHom).φ t)).op |
| 99 | let r := F.map (((FormalCoproduct.mk _ (fun i => (Opens.map f).obj (U i))).mapPower |
| 100 | g.toOrderHom).φ t).op |
| 101 | have h₁ : e₁ ≫ r₁ = p₁ ≫ b₁ := additiveCechDirectImageTermIso_hom_proj f U F b.len t |
| 102 | have h₀ : e₀ ≫ r₀ = p₀ ≫ b₀ := |
| 103 | additiveCechDirectImageTermIso_hom_proj f U F a.len (t ∘ g.toOrderHom) |
| 104 | have hs : S.map g ≫ p₁ = p₀ ≫ s := AdditiveCechCoverCongr.additiveCechMap_proj ((Opens.map f).op ⋙ F) U g t |
| 105 | have hr : T.map g ≫ r₁ = r₀ ≫ r := |
| 106 | AdditiveCechCoverCongr.additiveCechMap_proj F (fun i => (Opens.map f).obj (U i)) g t |
| 107 | have hl : (S.map g ≫ e₁) ≫ r₁ = p₀ ≫ (s ≫ b₁) := |
| 108 | (Category.assoc _ _ _).trans ((congrArg (S.map g ≫ ·) h₁).trans |
| 109 | ((Category.assoc _ _ _).symm.trans ((congrArg (· ≫ b₁) hs).trans (Category.assoc _ _ _)))) |
| 110 | have hr' : (e₀ ≫ T.map g) ≫ r₁ = p₀ ≫ (b₀ ≫ r) := |
| 111 | (Category.assoc _ _ _).trans ((congrArg (e₀ ≫ ·) hr).trans |
| 112 | ((Category.assoc _ _ _).symm.trans ((congrArg (· ≫ r) h₀).trans (Category.assoc _ _ _)))) |
| 113 | exact hl.trans ((congrArg (p₀ ≫ ·) |
| 114 | (additiveCechDirectImageSectionIso_precomp f U F g t)).trans hr'.symm) |
| 115 | |
| 116 | def additiveCechDirectImageCosimplicialIso : |
| 117 | (FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk _ U).cech).obj ((Opens.map f).op ⋙ F) ≅ |
| 118 | (FormalCoproduct.cosimplicialObjectFunctor |
| 119 | (FormalCoproduct.mk _ (fun i => (Opens.map f).obj (U i))).cech).obj F := |
| 120 | NatIso.ofComponents (fun q => additiveCechDirectImageTermIso f U F q.len) |
| 121 | (fun g => additiveCechDirectImageTermIso_naturality f U F g) |
| 122 | |
| 123 | def additiveCechDirectImageIso : |
| 124 | (cechComplexFunctor U).obj ((Opens.map f).op ⋙ F) ≅ |
| 125 | (cechComplexFunctor (fun i => (Opens.map f).obj (U i))).obj F := |
| 126 | (AlgebraicTopology.alternatingCofaceMapComplex AddCommGrpCat).mapIso |
| 127 | (additiveCechDirectImageCosimplicialIso f U F) |
| 128 | |
| 129 | theorem additiveCechDirectImageIso_hom_f (q : ℕ) : |
| 130 | (additiveCechDirectImageIso f U F).hom.f q = (additiveCechDirectImageTermIso f U F q).hom := rfl |
| 131 | |
| 132 | end |
| 133 | |
| 134 | section |
| 135 | |
| 136 | /-! The native Čech direct-image identification is natural in the additive coefficient presheaf. -/ |
| 137 | |
| 138 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 139 | |
| 140 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) {ι : Type} (U : ι → Opens X) |
| 141 | {F G : (Opens Y)ᵒᵖ ⥤ AddCommGrpCat.{0}} (α : F ⟶ G) |
| 142 | |
| 143 | theorem additiveCechDirectImageSectionIso_naturality (q : ℕ) (t : Fin (q + 1) → ι) : |
| 144 | α.app (op ((Opens.map f).obj (∏ᶜ fun k => U (t k)))) ≫ |
| 145 | (additiveCechDirectImageSectionIso f U G q t).hom = |
| 146 | (additiveCechDirectImageSectionIso f U F q t).hom ≫ |
| 147 | α.app (op (∏ᶜ fun k => (Opens.map f).obj (U (t k)))) := |
| 148 | (α.naturality (eqToHom (congrArg op (additiveCechIntersection_preimage f U q t)))).symm |
| 149 | |
| 150 | theorem additiveCechDirectImageIso_naturality : |
| 151 | (cechComplexFunctor U).map (Functor.whiskerLeft (Opens.map f).op α) ≫ |
| 152 | (additiveCechDirectImageIso f U G).hom = |
| 153 | (additiveCechDirectImageIso f U F).hom ≫ |
| 154 | (cechComplexFunctor (fun i => (Opens.map f).obj (U i))).map α := by |
| 155 | apply HomologicalComplex.Hom.ext |
| 156 | funext q |
| 157 | change CategoryTheory.Limits.Pi.map (fun t : Fin (q + 1) → ι => |
| 158 | α.app (op ((Opens.map f).obj (∏ᶜ fun k => U (t k))))) ≫ |
| 159 | CategoryTheory.Limits.Pi.map (fun t : Fin (q + 1) → ι => (additiveCechDirectImageSectionIso f U G q t).hom) = |
| 160 | CategoryTheory.Limits.Pi.map (fun t : Fin (q + 1) → ι => (additiveCechDirectImageSectionIso f U F q t).hom) ≫ |
| 161 | CategoryTheory.Limits.Pi.map (fun t : Fin (q + 1) → ι => α.app (op (∏ᶜ fun k => (Opens.map f).obj (U (t k))))) |
| 162 | rw [CategoryTheory.Limits.Pi.map_comp_map, CategoryTheory.Limits.Pi.map_comp_map] |
| 163 | apply congrArg CategoryTheory.Limits.Pi.map |
| 164 | funext t |
| 165 | exact additiveCechDirectImageSectionIso_naturality f U α q t |
| 166 | |
| 167 | end |
| 168 | |
| 169 | section |
| 170 | |
| 171 | /-! The canonical additive Čech direct-image isomorphisms compose along actual continuous maps. -/ |
| 172 | |
| 173 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 174 | |
| 175 | theorem additiveCechDirectImageIso_comp |
| 176 | {X Y Z : TopCat.{0}} (f : Y ⟶ X) (g : Z ⟶ Y) {ι : Type} (U : ι → Opens X) |
| 177 | (F : (Opens Z)ᵒᵖ ⥤ AddCommGrpCat.{0}) : |
| 178 | (additiveCechDirectImageIso (g ≫ f) U F).hom = |
| 179 | (additiveCechDirectImageIso f U ((Opens.map g).op ⋙ F)).hom ≫ |
| 180 | (additiveCechDirectImageIso g (fun i => (Opens.map f).obj (U i)) F).hom := by |
| 181 | apply HomologicalComplex.Hom.ext |
| 182 | funext q |
| 183 | change CategoryTheory.Limits.Pi.map |
| 184 | (fun t : Fin (q + 1) → ι => (additiveCechDirectImageSectionIso (g ≫ f) U F q t).hom) = |
| 185 | CategoryTheory.Limits.Pi.map |
| 186 | (fun t : Fin (q + 1) → ι => (additiveCechDirectImageSectionIso f U |
| 187 | ((Opens.map g).op ⋙ F) q t).hom) ≫ |
| 188 | CategoryTheory.Limits.Pi.map |
| 189 | (fun t : Fin (q + 1) → ι => (additiveCechDirectImageSectionIso g |
| 190 | (fun i => (Opens.map f).obj (U i)) F q t).hom) |
| 191 | rw [CategoryTheory.Limits.Pi.map_comp_map] |
| 192 | apply congrArg CategoryTheory.Limits.Pi.map |
| 193 | funext t |
| 194 | change F.map _ = F.map _ ≫ F.map _ |
| 195 | exact (congrArg F.map (Subsingleton.elim _ _)).trans (F.map_comp _ _) |
| 196 | |
| 197 | end |
| 198 | |
| 199 | /-! Two naturality formulas for the original additive Čech pullback maps. -/ |
| 200 | |
| 201 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 202 | |
| 203 | theorem additiveCechPullback_postcompose |
| 204 | {X Y : TopCat.{0}} (f : Y ⟶ X) {ι : Type} (U : ι → Opens X) |
| 205 | {F : (Opens X)ᵒᵖ ⥤ AddCommGrpCat.{0}} {G H : (Opens Y)ᵒᵖ ⥤ AddCommGrpCat.{0}} |
| 206 | (α : F ⟶ (Opens.map f).op ⋙ G) (β : G ⟶ H) : |
| 207 | ((cechComplexFunctor U).map α ≫ (additiveCechDirectImageIso f U G).hom) ≫ |
| 208 | (cechComplexFunctor (fun i => (Opens.map f).obj (U i))).map β = |
| 209 | (cechComplexFunctor U).map (α ≫ Functor.whiskerLeft (Opens.map f).op β) ≫ |
| 210 | (additiveCechDirectImageIso f U H).hom := by |
| 211 | rw [(cechComplexFunctor U).map_comp, Category.assoc, Category.assoc, |
| 212 | additiveCechDirectImageIso_naturality] |
| 213 | |
| 214 | theorem additiveCechPullback_directImage |
| 215 | {X Y Z : TopCat.{0}} (f : Y ⟶ X) (g : Z ⟶ Y) {ι : Type} (U : ι → Opens X) |
| 216 | {F : (Opens Y)ᵒᵖ ⥤ AddCommGrpCat.{0}} {G : (Opens Z)ᵒᵖ ⥤ AddCommGrpCat.{0}} |
| 217 | (α : F ⟶ (Opens.map g).op ⋙ G) : |
| 218 | (cechComplexFunctor U).map (Functor.whiskerLeft (Opens.map f).op α) ≫ |
| 219 | (additiveCechDirectImageIso (g ≫ f) U G).hom = |
| 220 | (additiveCechDirectImageIso f U F).hom ≫ |
| 221 | ((cechComplexFunctor (fun i => (Opens.map f).obj (U i))).map α ≫ |
| 222 | (additiveCechDirectImageIso g (fun i => (Opens.map f).obj (U i)) G).hom) := by |
| 223 | let c := (cechComplexFunctor U).map (Functor.whiskerLeft (Opens.map f).op α) |
| 224 | let e := (additiveCechDirectImageIso g (fun i => (Opens.map f).obj (U i)) G).hom |
| 225 | exact (congrArg (c ≫ ·) (additiveCechDirectImageIso_comp f g U G)).trans |
| 226 | ((Category.assoc _ _ _).symm.trans |
| 227 | ((congrArg (· ≫ e) (additiveCechDirectImageIso_naturality f U α)).trans |
| 228 | (Category.assoc _ _ _))) |
| 229 | |
| 230 | end |
| 231 | |
| 232 | end OAI.AlgebraicGeometry.Comparison.Betti.AdditiveCechImage |