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.FlasqueCechD |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.FlasqueResolution |
| 3 | |
| 4 | /-! # Gamma Sections Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.GammaSectionsComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The native right-adjoint global sections and actual sections on the whole space agree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | variable {X : TopCat.{0}} |
| 21 | |
| 22 | def abelianGammaSectionsIso |
| 23 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) : |
| 24 | FlasqueCechD.abelianDerivedSectionsComplex K ≅ CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex K := |
| 25 | HomologicalComplex.Hom.isoOfComponents |
| 26 | (fun n => (CategoryTheory.Sheaf.ΓNatIsoSheafSections |
| 27 | (Opens.grothendieckTopology X) AddCommGrpCat.{0} isTerminalTop).app (K.X n)) |
| 28 | (fun i j _ => |
| 29 | ((CategoryTheory.Sheaf.ΓNatIsoSheafSections |
| 30 | (Opens.grothendieckTopology X) AddCommGrpCat.{0} isTerminalTop).hom.naturality (K.d i j)).symm) |
| 31 | |
| 32 | theorem abelianGammaSectionsIso_naturality |
| 33 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} (f : K ⟶ L) : |
| 34 | FlasqueCechD.abelianDerivedSectionsMap f ≫ (abelianGammaSectionsIso L).hom = |
| 35 | (abelianGammaSectionsIso K).hom ≫ |
| 36 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map f := by |
| 37 | apply HomologicalComplex.Hom.ext |
| 38 | funext n |
| 39 | exact (CategoryTheory.Sheaf.ΓNatIsoSheafSections |
| 40 | (Opens.grothendieckTopology X) AddCommGrpCat.{0} isTerminalTop).hom.naturality (f.f n) |
| 41 | |
| 42 | theorem abelianFlasqueGamma_quasiIso |
| 43 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} (f : K ⟶ L) |
| 44 | (hK : ∀ n, IsFlasque (K.X n)) (hL : ∀ n, IsFlasque (L.X n)) [QuasiIso f] : |
| 45 | QuasiIso (FlasqueCechD.abelianDerivedSectionsMap f) := by |
| 46 | have := Abelian.FlasqueComparison.abelianFlasqueGlobalSections_quasiIso f hK hL |
| 47 | have he : FlasqueCechD.abelianDerivedSectionsMap f = (abelianGammaSectionsIso K).hom ≫ |
| 48 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map f ≫ |
| 49 | (abelianGammaSectionsIso L).inv := by |
| 50 | rw [← Category.assoc, (abelianGammaSectionsIso L).eq_comp_inv] |
| 51 | exact abelianGammaSectionsIso_naturality f |
| 52 | rw [he] |
| 53 | infer_instance |
| 54 | |
| 55 | end |
| 56 | |
| 57 | /-! An actual flasque-resolution comparison with sheaf cohomology compatible with the Cech map. -/ |
| 58 | |
| 59 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf |
| 60 | |
| 61 | set_option backward.isDefEq.respectTransparency false |
| 62 | set_option backward.isDefEq.respectTransparency.types false |
| 63 | set_option backward.defeqAttrib.useBackward true |
| 64 | |
| 65 | variable {X : TopCat.{0}} |
| 66 | |
| 67 | local instance nativeFlasqueSections_additive : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive := |
| 68 | (CategoryTheory.constantSheafΓAdj |
| 69 | (Opens.grothendieckTopology X) AddCommGrpCat.{0}).right_adjoint_additive |
| 70 | |
| 71 | def nativeInjectiveCohomologyIso (F : TopCat.Sheaf AddCommGrpCat.{0} X) (n : ℕ) : |
| 72 | (FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex).homology (n + 1) ≅ |
| 73 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj F := by |
| 74 | letI : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive := nativeFlasqueSections_additive |
| 75 | exact ((injectiveResolution F).isoRightDerivedObj (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (n + 1)).symm ≪≫ |
| 76 | (SheafCohomology.Cech.Compat.TopCat.Sheaf.H.addEquivRightDerivedGlobalSections F (n + 1)).symm.toAddCommGrpIso |
| 77 | |
| 78 | variable (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) |
| 79 | (hK : ∀ q, IsFlasque (K.X q)) (he : ∀ q, K.ExactAt (q + 1)) |
| 80 | |
| 81 | theorem nativeInjectiveResolution_flasque (q : ℕ) : |
| 82 | IsFlasque ((injectiveResolution (K.homology 0)).cocomplex.X q) := |
| 83 | @SheafCohomology.Cech.Compat.TopCat.Sheaf.IsFlasque.of_injective X _ ((injectiveResolution (K.homology 0)).injective q) |
| 84 | |
| 85 | include hK in |
| 86 | theorem nativeFlasqueResolutionLift_quasiIso : |
| 87 | QuasiIso (FlasqueCechD.abelianDerivedSectionsMap (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he (injectiveResolution (K.homology 0)))) := by |
| 88 | have := HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift_quasiIso K he (injectiveResolution (K.homology 0)) |
| 89 | exact abelianFlasqueGamma_quasiIso _ hK (nativeInjectiveResolution_flasque K) |
| 90 | |
| 91 | def nativeFlasqueCohomologyIso (n : ℕ) : |
| 92 | (FlasqueCechD.abelianDerivedSectionsComplex K).homology (n + 1) ≅ |
| 93 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj (K.homology 0) := by |
| 94 | have := nativeFlasqueResolutionLift_quasiIso K hK he |
| 95 | exact asIso (HomologicalComplex.homologyMap |
| 96 | (FlasqueCechD.abelianDerivedSectionsMap (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he (injectiveResolution (K.homology 0)))) (n + 1)) ≪≫ |
| 97 | nativeInjectiveCohomologyIso (K.homology 0) n |
| 98 | |
| 99 | def nativeFlasqueCohomologyIsoOfZero (n : ℕ) {F : TopCat.Sheaf AddCommGrpCat.{0} X} |
| 100 | (e : F ≅ K.homology 0) : |
| 101 | (FlasqueCechD.abelianDerivedSectionsComplex K).homology (n + 1) ≅ |
| 102 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj F := |
| 103 | nativeFlasqueCohomologyIso K hK he n ≪≫ |
| 104 | ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).mapIso e).symm |
| 105 | |
| 106 | theorem nativeFlasqueCohomologyIso_hom (n : ℕ) : |
| 107 | (nativeFlasqueCohomologyIso K hK he n).hom = |
| 108 | HomologicalComplex.homologyMap |
| 109 | (FlasqueCechD.abelianDerivedSectionsMap (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he (injectiveResolution (K.homology 0)))) (n + 1) ≫ |
| 110 | (nativeInjectiveCohomologyIso (K.homology 0) n).hom := rfl |
| 111 | |
| 112 | variable {I : Type} (U : I → Opens X) (hU : ⨆ i, U i = ⊤) |
| 113 | |
| 114 | theorem nativeFlasqueCohomologyIso_cech (n : ℕ) : |
| 115 | FlasqueCechD.abelianCechFlasqueComparison U hK ((HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation K).f 0) |
| 116 | (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.zeroAugmentationSequence K).zero hU n ≫ (nativeFlasqueCohomologyIso K hK he n).hom = |
| 117 | Abelian.CechComparison.abelianCechToSheaf U (K.homology 0) hU n := by |
| 118 | let R := injectiveResolution (K.homology 0) |
| 119 | let f := HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K he R |
| 120 | have ha : (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation K).f 0 ≫ f.f 0 = R.ι.f 0 := |
| 121 | congrArg (fun g => g.f 0) (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift_augmentation K he R) |
| 122 | rw [nativeFlasqueCohomologyIso_hom, ← Category.assoc, |
| 123 | FlasqueCechD.abelianCechFlasqueComparison_naturality U hK (nativeInjectiveResolution_flasque K) |
| 124 | ((HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation K).f 0) (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.zeroAugmentationSequence K).zero |
| 125 | (R.ι.f 0) R.ι_f_zero_comp_complex_d f ha hU n] |
| 126 | unfold FlasqueCechD.abelianCechFlasqueComparison nativeInjectiveCohomologyIso Abelian.CechComparison.abelianCechToSheaf Abelian.CechComparison.abelianCechToDerived |
| 127 | simp only [Iso.trans_hom, Category.assoc] |
| 128 | rfl |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.DivisorClass.Chern.GammaSectionsComparison |