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.Intrinsic.SectionCohomologyMap |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueDerivedNaturality |
| 3 | |
| 4 | /-! # Section Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.SectionNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native section comparison respects actual cochain maps and the original flasque comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueDerivedNaturality.Constructions |
| 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}} |
| 20 | |
| 21 | theorem abelianGammaSectionsIso_inv_naturality |
| 22 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} (f : K ⟶ L) : |
| 23 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map f ≫ (GammaSectionsComparison.abelianGammaSectionsIso L).inv = |
| 24 | (GammaSectionsComparison.abelianGammaSectionsIso K).inv ≫ FlasqueCechD.abelianDerivedSectionsMap f := by |
| 25 | apply (GammaSectionsComparison.abelianGammaSectionsIso K).eq_inv_comp.mpr |
| 26 | rw [← Category.assoc, ← GammaSectionsComparison.abelianGammaSectionsIso_naturality, Category.assoc, |
| 27 | Iso.hom_inv_id, Category.comp_id] |
| 28 | |
| 29 | theorem nativeSectionCohomologyMap_eq_flasque |
| 30 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) |
| 31 | (hK : ∀ q, IsFlasque (K.X q)) (he : ∀ q, K.ExactAt (q + 1)) (n : ℕ) : |
| 32 | SectionCohomologyMap.nativeSectionCohomologyMap K he n = |
| 33 | HomologicalComplex.homologyMap (GammaSectionsComparison.abelianGammaSectionsIso K).inv (n + 1) ≫ |
| 34 | (GammaSectionsComparison.nativeFlasqueCohomologyIso K hK he n).hom := by |
| 35 | unfold SectionCohomologyMap.nativeSectionCohomologyMap SectionCohomologyMap.nativeInjectiveSectionCohomologyMap |
| 36 | rw [GammaSectionsComparison.nativeFlasqueCohomologyIso_hom, ← Category.assoc, ← Category.assoc, |
| 37 | ← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 38 | abelianGammaSectionsIso_inv_naturality] |
| 39 | |
| 40 | local instance nativeSectionNaturality_additive : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive := |
| 41 | (constantSheafΓAdj (Opens.grothendieckTopology X) AddCommGrpCat.{0}).right_adjoint_additive |
| 42 | |
| 43 | theorem nativeInjectiveCohomologyIso_naturality |
| 44 | {F G : TopCat.Sheaf AddCommGrpCat.{0} X} (f : F ⟶ G) |
| 45 | (r : (injectiveResolution F).cocomplex ⟶ (injectiveResolution G).cocomplex) |
| 46 | (hr : (injectiveResolution F).ι.f 0 ≫ r.f 0 = f ≫ (injectiveResolution G).ι.f 0) (n : ℕ) : |
| 47 | HomologicalComplex.homologyMap (FlasqueCechD.abelianDerivedSectionsMap r) (n + 1) ≫ |
| 48 | (GammaSectionsComparison.nativeInjectiveCohomologyIso G n).hom = |
| 49 | (GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom ≫ |
| 50 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map f := by |
| 51 | let : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive := nativeSectionNaturality_additive |
| 52 | have hd := InjectiveResolution.isoRightDerivedObj_inv_naturality f |
| 53 | (injectiveResolution F) (injectiveResolution G) r hr (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (n + 1) |
| 54 | change ((injectiveResolution F).isoRightDerivedObj (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (n + 1)).inv ≫ |
| 55 | ((SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).rightDerived (n + 1)).map f = |
| 56 | HomologicalComplex.homologyMap (FlasqueCechD.abelianDerivedSectionsMap r) (n + 1) ≫ |
| 57 | ((injectiveResolution G).isoRightDerivedObj (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) (n + 1)).inv at hd |
| 58 | unfold GammaSectionsComparison.nativeInjectiveCohomologyIso |
| 59 | simp only [Iso.trans_hom, Iso.symm_hom] |
| 60 | rw [← Category.assoc, ← hd, Category.assoc] |
| 61 | simp only [Category.assoc] |
| 62 | congr 1 |
| 63 | ext x |
| 64 | exact SheafCohomology.Cech.Compat.TopCat.Sheaf.H.addEquivRightDerivedGlobalSections_symm_naturality f (n + 1) x |
| 65 | |
| 66 | theorem nativeInjectiveSectionCohomologyMap_naturality |
| 67 | {F G : TopCat.Sheaf AddCommGrpCat.{0} X} (f : F ⟶ G) |
| 68 | (r : (injectiveResolution F).cocomplex ⟶ (injectiveResolution G).cocomplex) |
| 69 | (hr : (injectiveResolution F).ι.f 0 ≫ r.f 0 = f ≫ (injectiveResolution G).ι.f 0) (n : ℕ) : |
| 70 | HomologicalComplex.homologyMap (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map r) (n + 1) ≫ |
| 71 | SectionCohomologyMap.nativeInjectiveSectionCohomologyMap G n = |
| 72 | SectionCohomologyMap.nativeInjectiveSectionCohomologyMap F n ≫ |
| 73 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map f := by |
| 74 | unfold SectionCohomologyMap.nativeInjectiveSectionCohomologyMap |
| 75 | rw [← Category.assoc, ← HomologicalComplex.homologyMap_comp, |
| 76 | abelianGammaSectionsIso_inv_naturality, HomologicalComplex.homologyMap_comp, |
| 77 | Category.assoc, nativeInjectiveCohomologyIso_naturality f r hr, ← Category.assoc] |
| 78 | |
| 79 | theorem nativeSectionCohomologyMap_naturality |
| 80 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} (f : K ⟶ L) |
| 81 | (heK : ∀ q, K.ExactAt (q + 1)) (heL : ∀ q, L.ExactAt (q + 1)) (n : ℕ) : |
| 82 | HomologicalComplex.homologyMap (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map f) (n + 1) ≫ |
| 83 | SectionCohomologyMap.nativeSectionCohomologyMap L heL n = |
| 84 | SectionCohomologyMap.nativeSectionCohomologyMap K heK n ≫ |
| 85 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map (HomologicalComplex.homologyMap f 0) := by |
| 86 | let I := injectiveResolution (K.homology 0) |
| 87 | let J := injectiveResolution (L.homology 0) |
| 88 | let S := (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ) |
| 89 | let r := InjectiveResolution.desc (HomologicalComplex.homologyMap f 0) J I |
| 90 | have hh : HomologicalComplex.homologyMap (S.map f) (n + 1) ≫ |
| 91 | HomologicalComplex.homologyMap (S.map (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift L heL J)) (n + 1) = |
| 92 | HomologicalComplex.homologyMap (S.map (HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.resolutionLift K heK I)) (n + 1) ≫ |
| 93 | HomologicalComplex.homologyMap (S.map r) (n + 1) := by |
| 94 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 95 | ← Functor.map_comp, ← Functor.map_comp] |
| 96 | exact ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomotopy (HodgeConjecture.DegreeTwo.FlasqueDerivedNaturality.Constructions.resolutionLiftNaturalityHomotopy f heK heL I J)).homologyMap_eq (n + 1) |
| 97 | unfold SectionCohomologyMap.nativeSectionCohomologyMap |
| 98 | rw [← Category.assoc, hh, Category.assoc, |
| 99 | nativeInjectiveSectionCohomologyMap_naturality _ _ (InjectiveResolution.desc_commutes_zero _ _ _), |
| 100 | ← Category.assoc] |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.SectionNaturality |