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.AbelianModuli.HilbertConstruction.InjectiveSectionsNaturality |
| 2 | |
| 3 | /-! # Natural Cohomology Excision -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalCohomologyExcision.IntrinsicCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The two-open excision isomorphism is natural in the sheaf. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 11 | universe u |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | private def rebundleGroupHom {A B : AddCommGrpCat.{u}} (f : A ⟶ B) : |
| 15 | AddCommGrpCat.of A ⟶ AddCommGrpCat.of B := AddCommGrpCat.ofHom f.hom |
| 16 | |
| 17 | private def cohomologyMap {X : TopCat.{u}} {F G : TopCat.Sheaf AddCommGrpCat.{u} X} |
| 18 | (f : F ⟶ G) (n : ℕ) : |
| 19 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).obj F) ⟶ |
| 20 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).obj G) := |
| 21 | rebundleGroupHom ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).map f) |
| 22 | |
| 23 | variable {X : TopCat.{u}} |
| 24 | |
| 25 | theorem injectiveOpenSectionsRestriction_naturality |
| 26 | {F G : TopCat.Sheaf AddCommGrpCat.{u} X} (f : F ⟶ G) |
| 27 | {U V : Opens X} (h : U ≤ V) : |
| 28 | RestrictedSectionsNaturality.IntrinsicCech.injectiveOpenSectionsMap f V ≫ InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction G h = |
| 29 | InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction F h ≫ RestrictedSectionsNaturality.IntrinsicCech.injectiveOpenSectionsMap f U := by |
| 30 | apply HomologicalComplex.Hom.ext |
| 31 | funext n |
| 32 | exact ((RestrictedSectionsNaturality.IntrinsicCech.chosenSheafResolutionMap f).f n).hom.naturality (homOfLE h).op |>.symm |
| 33 | |
| 34 | def naturalSheafCohomologyTwoOpenExcisionIso |
| 35 | (F : TopCat.Sheaf AddCommGrpCat.{u} X) (U V : Opens X) (hcover : U ⊔ V = ⊤) |
| 36 | (hV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat V.isOpenEmbedding).obj F) q)) |
| 37 | (hUV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H |
| 38 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat (U ⊓ V).isOpenEmbedding).obj F) q)) (n : ℕ) : |
| 39 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).obj F) ≅ |
| 40 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology U) n : _ ⥤ AddCommGrpCat.{u}).obj ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat U.isOpenEmbedding).obj F)) := by |
| 41 | have : QuasiIso (InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction F (show U ≤ ⊤ from le_top)) := by |
| 42 | have hh : ∀ (h : U ≤ U ⊔ V), QuasiIso (InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction F h) := |
| 43 | fun _ => InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction_quasiIso F U V hV hUV |
| 44 | rw [hcover] at hh |
| 45 | exact hh le_top |
| 46 | exact (HilbertConstruction.Sheaf.CohomologyExcision.IntrinsicCech.injectiveGlobalSectionsCohomologyIso F n).symm ≪≫ |
| 47 | asIso (HomologicalComplex.homologyMap |
| 48 | (InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction F (show U ≤ ⊤ from le_top)) n) ≪≫ |
| 49 | InjectiveSectionsNaturality.IntrinsicCech.naturalInjectiveOpenSectionsCohomologyIso F U n |
| 50 | |
| 51 | private theorem iso_square_inv |
| 52 | {A B C D : AddCommGrpCat.{u}} (e : A ≅ B) (d : C ≅ D) |
| 53 | (a : A ⟶ C) (b : B ⟶ D) (h : a ≫ d.hom = e.hom ≫ b) : |
| 54 | b ≫ d.inv = e.inv ≫ a := by |
| 55 | calc |
| 56 | _ = e.inv ≫ (e.hom ≫ b) ≫ d.inv := by simp only [← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 57 | _ = e.inv ≫ (a ≫ d.hom) ≫ d.inv := by rw [← h] |
| 58 | _ = _ := by simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 59 | |
| 60 | theorem naturalSheafCohomologyTwoOpenExcisionIso_naturality |
| 61 | {F G : TopCat.Sheaf AddCommGrpCat.{u} X} (f : F ⟶ G) |
| 62 | (U V : Opens X) (hcover : U ⊔ V = ⊤) |
| 63 | (hFV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat V.isOpenEmbedding).obj F) q)) |
| 64 | (hFUV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H |
| 65 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat (U ⊓ V).isOpenEmbedding).obj F) q)) |
| 66 | (hGV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat V.isOpenEmbedding).obj G) q)) |
| 67 | (hGUV : ∀ q, Subsingleton (CategoryTheory.Sheaf.H |
| 68 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat (U ⊓ V).isOpenEmbedding).obj G) q)) (n : ℕ) : |
| 69 | cohomologyMap f n ≫ |
| 70 | (naturalSheafCohomologyTwoOpenExcisionIso G U V hcover hGV hGUV n).hom = |
| 71 | (naturalSheafCohomologyTwoOpenExcisionIso F U V hcover hFV hFUV n).hom ≫ |
| 72 | cohomologyMap ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat U.isOpenEmbedding).map f) n := by |
| 73 | let aF := HilbertConstruction.Sheaf.CohomologyExcision.IntrinsicCech.injectiveGlobalSectionsCohomologyIso F n |
| 74 | let aG := HilbertConstruction.Sheaf.CohomologyExcision.IntrinsicCech.injectiveGlobalSectionsCohomologyIso G n |
| 75 | let bF := HomologicalComplex.homologyMap |
| 76 | (InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction F (show U ≤ ⊤ from le_top)) n |
| 77 | let bG := HomologicalComplex.homologyMap |
| 78 | (InjectiveTwoOpenComplex.IntrinsicCech.injectiveOpenSectionsRestriction G (show U ≤ ⊤ from le_top)) n |
| 79 | let cF := InjectiveSectionsNaturality.IntrinsicCech.naturalInjectiveOpenSectionsCohomologyIso F U n |
| 80 | let cG := InjectiveSectionsNaturality.IntrinsicCech.naturalInjectiveOpenSectionsCohomologyIso G U n |
| 81 | let mt := HomologicalComplex.homologyMap (RestrictedSectionsNaturality.IntrinsicCech.injectiveOpenSectionsMap f ⊤) n |
| 82 | let mu := HomologicalComplex.homologyMap (RestrictedSectionsNaturality.IntrinsicCech.injectiveOpenSectionsMap f U) n |
| 83 | have ha : cohomologyMap f n ≫ aG.inv = aF.inv ≫ mt := |
| 84 | iso_square_inv aF aG mt _ (InjectiveSectionsNaturality.IntrinsicCech.injectiveGlobalSectionsCohomologyIso_naturality f n) |
| 85 | have hb : mt ≫ bG = bF ≫ mu := by |
| 86 | have h := congrArg (fun k => HomologicalComplex.homologyMap k n) |
| 87 | (injectiveOpenSectionsRestriction_naturality f (show U ≤ ⊤ from le_top)) |
| 88 | simpa only [HomologicalComplex.homologyMap_comp] using h |
| 89 | have hc : mu ≫ cG.hom = cF.hom ≫ cohomologyMap ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat U.isOpenEmbedding).map f) n := |
| 90 | InjectiveSectionsNaturality.IntrinsicCech.naturalInjectiveOpenSectionsCohomologyIso_naturality f U n |
| 91 | change cohomologyMap f n ≫ (aG.inv ≫ bG ≫ cG.hom) = |
| 92 | (aF.inv ≫ bF ≫ cF.hom) ≫ _ |
| 93 | calc |
| 94 | _ = aF.inv ≫ (mt ≫ bG) ≫ cG.hom := by |
| 95 | rw [← Category.assoc, ha] |
| 96 | simp only [Category.assoc] |
| 97 | _ = aF.inv ≫ (bF ≫ mu) ≫ cG.hom := by rw [hb] |
| 98 | _ = _ := by |
| 99 | simpa only [Category.assoc] using congrArg (fun k => aF.inv ≫ bF ≫ k) hc |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalCohomologyExcision.IntrinsicCech |