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.Cech.TopTotalAugmentation |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.AdditiveCechPullbackBicomplex |
| 3 | |
| 4 | /-! # Cech Pullback Total -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CechPullbackTotal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual coefficient pullback commutes with the top-section augmentation into Čech totals. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex₂ |
| 13 | |
| 14 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) {ι : Type} (U : ι → Opens X) |
| 15 | |
| 16 | local instance cechAdditivePushforward : (TopCat.Sheaf.pushforward AddCommGrpCat.{0} f).Additive where |
| 17 | map_add := by intros; rfl |
| 18 | |
| 19 | def additivePresheafComplexOfSheaves |
| 20 | {Z : TopCat.{0}} (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} Z) ℕ) : |
| 21 | CochainComplex ((Opens Z)ᵒᵖ ⥤ AddCommGrpCat.{0}) ℕ := |
| 22 | ((TopCat.Sheaf.forget AddCommGrpCat.{0} Z).mapHomologicalComplex (.up ℕ)).obj K |
| 23 | |
| 24 | variable {K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} |
| 25 | {L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} Y) ℕ} |
| 26 | (α : K ⟶ ((TopCat.Sheaf.pushforward AddCommGrpCat.{0} f).mapHomologicalComplex (.up ℕ)).obj L) |
| 27 | |
| 28 | def additiveDirectImagePresheafMap : additivePresheafComplexOfSheaves K ⟶ |
| 29 | ((AdditiveCechPullbackBicomplex.additivePresheafDirectImage f).mapHomologicalComplex (.up ℕ)).obj (additivePresheafComplexOfSheaves L) := |
| 30 | ((TopCat.Sheaf.forget AddCommGrpCat.{0} X).mapHomologicalComplex (.up ℕ)).map α |
| 31 | |
| 32 | def sheafCechPullbackBicomplexMap : FlasqueCechTotal.additiveSheafSectionCechBicomplex U K ⟶ |
| 33 | FlasqueCechTotal.additiveSheafSectionCechBicomplex (fun i => (Opens.map f).obj (U i)) L := |
| 34 | AdditiveCechPullbackBicomplex.additiveCechPullbackBicomplexMap f U (additiveDirectImagePresheafMap f α) |
| 35 | |
| 36 | def topGlobalSectionsPullback : Cech.TopTotalAugmentation.additiveTopGlobalComplex K ⟶ Cech.TopTotalAugmentation.additiveTopGlobalComplex L where |
| 37 | f q := (α.f q).hom.app (op ⊤) |
| 38 | comm' q q' _ := congrArg (fun g => g.hom.app (op (⊤ : Opens X))) (α.comm q q') |
| 39 | |
| 40 | def sheafCechPullbackTotalMap : (FlasqueCechTotal.additiveSheafSectionCechBicomplex U K).total (.up ℕ) ⟶ |
| 41 | (FlasqueCechTotal.additiveSheafSectionCechBicomplex (fun i => (Opens.map f).obj (U i)) L).total (.up ℕ) := |
| 42 | total.map (sheafCechPullbackBicomplexMap f U α) (.up ℕ) |
| 43 | |
| 44 | theorem sheafCechPullbackTotalMap_topAugmentation |
| 45 | (hU : iSup U = ⊤) (hV : (⨆ i, (Opens.map f).obj (U i)) = ⊤) : |
| 46 | Cech.TopTotalAugmentation.topCechTotalAugmentation U K ≫ sheafCechPullbackTotalMap f U α = |
| 47 | topGlobalSectionsPullback f α ≫ Cech.TopTotalAugmentation.topCechTotalAugmentation (fun i => (Opens.map f).obj (U i)) L := by |
| 48 | apply HomologicalComplex.Hom.ext |
| 49 | funext q |
| 50 | let B := FlasqueCechTotal.additiveSheafSectionCechBicomplex U K |
| 51 | let C := FlasqueCechTotal.additiveSheafSectionCechBicomplex (fun i => (Opens.map f).obj (U i)) L |
| 52 | let φ : B ⟶ C := sheafCechPullbackBicomplexMap f U α |
| 53 | have hu : SheafCohomology.Cech.TopZeroCycles.TopCat.Sheaf.cechTopSectionsAugmentation U (K.X q) ≫ (φ.f q).f 0 = |
| 54 | (α.f q).hom.app (op ⊤) ≫ |
| 55 | SheafCohomology.Cech.TopZeroCycles.TopCat.Sheaf.cechTopSectionsAugmentation (fun i => (Opens.map f).obj (U i)) (L.X q) := |
| 56 | Cech.TopAugmentationPullback.additiveCechPullback_topAugmentation f U (K.X q) (L.X q) (α.f q).hom hU hV |
| 57 | change (Cech.TopTotalAugmentation.topCechTotalAugmentation U K).f q ≫ (total.map φ (.up ℕ)).f q = |
| 58 | (α.f q).hom.app (op ⊤) ≫ (Cech.TopTotalAugmentation.topCechTotalAugmentation (fun i => (Opens.map f).obj (U i)) L).f q |
| 59 | rw [Cech.TopTotalAugmentation.topCechTotalAugmentation_f, Cech.TopTotalAugmentation.topCechTotalAugmentation_f] |
| 60 | exact (Category.assoc _ _ _).trans |
| 61 | ((congrArg (fun a => SheafCohomology.Cech.TopZeroCycles.TopCat.Sheaf.cechTopSectionsAugmentation U (K.X q) ≫ a) |
| 62 | (ιTotal_map B C φ (.up ℕ) q 0 q rfl)).trans |
| 63 | ((Category.assoc _ _ _).symm.trans |
| 64 | ((congrArg (fun a => a ≫ C.ιTotal (.up ℕ) q 0 q rfl) hu).trans (Category.assoc _ _ _)))) |
| 65 | |
| 66 | theorem topGlobalSectionsPullback_quasiIso_of_flasque |
| 67 | (hU : iSup U = ⊤) (hV : (⨆ i, (Opens.map f).obj (U i)) = ⊤) |
| 68 | (hK : ∀ q, TopCat.Sheaf.IsFlasque (K.X q)) (hL : ∀ q, TopCat.Sheaf.IsFlasque (L.X q)) |
| 69 | (hα : QuasiIso (sheafCechPullbackTotalMap f U α)) : QuasiIso (topGlobalSectionsPullback f α) := by |
| 70 | have heK : QuasiIso (Cech.TopTotalAugmentation.topCechTotalAugmentation U K) := Cech.TopTotalAugmentation.topCechTotalAugmentation_quasiIso U K hU hK |
| 71 | have heL : QuasiIso (Cech.TopTotalAugmentation.topCechTotalAugmentation (fun i => (Opens.map f).obj (U i)) L) := |
| 72 | Cech.TopTotalAugmentation.topCechTotalAugmentation_quasiIso _ L hV hL |
| 73 | have hc : QuasiIso (topGlobalSectionsPullback f α ≫ |
| 74 | Cech.TopTotalAugmentation.topCechTotalAugmentation (fun i => (Opens.map f).obj (U i)) L) := by |
| 75 | rw [← sheafCechPullbackTotalMap_topAugmentation f U α hU hV] |
| 76 | exact quasiIso_comp _ _ (hφ := heK) (hφ' := hα) |
| 77 | exact quasiIso_of_comp_right _ _ (hφ := heL) (hφφ' := hc) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CechPullbackTotal |