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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SheafCechInjectiveComparison.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FlasqueIntrinsicCechExactness |
| 8 | |
| 9 | /-! # Global Augmentation Exactness -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.GlobalAugmentationExactness.IntrinsicCech |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 16 | universe u |
| 17 | variable {X : TopCat.{u}} {ι : Type u} (U : ι → Opens X) |
| 18 | |
| 19 | local instance : (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).Additive := |
| 20 | (CategoryTheory.constantSheafΓAdj |
| 21 | (Opens.grothendieckTopology X) AddCommGrpCat.{u}).right_adjoint_additive |
| 22 | local instance : (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).PreservesZeroMorphisms := |
| 23 | Functor.preservesZeroMorphisms_of_additive (F := TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X) |
| 24 | |
| 25 | /-- The native Cech short complex augmented by global sections. -/ |
| 26 | noncomputable def cechGlobalSectionsNativeShortComplex |
| 27 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) : |
| 28 | ShortComplex AddCommGrpCat.{u} := |
| 29 | ShortComplex.mk (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsAugmentation F U) |
| 30 | (((cechComplexFunctor U).obj F.obj).d 0 1) |
| 31 | (GlobalAugmentationComplex.IntrinsicCech.cechGlobalSectionsAugmentation_comp_d F U) |
| 32 | |
| 33 | noncomputable def cechGlobalSectionsMappedAugmentedShortComplex |
| 34 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) : |
| 35 | ShortComplex AddCommGrpCat.{u} := |
| 36 | ShortComplex.mk |
| 37 | ((TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map (SheafAugmentation.IntrinsicCech.cechAugmentation F U)) |
| 38 | ((TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map (SheafDifferential.IntrinsicCech.cechDifferential F U 0)) |
| 39 | (by |
| 40 | have hzero := SheafAugmentation.IntrinsicCech.cechAugmentation_comp F U |
| 41 | calc |
| 42 | _ = (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map |
| 43 | (SheafAugmentation.IntrinsicCech.cechAugmentation F U ≫ SheafDifferential.IntrinsicCech.cechDifferential F U 0) := |
| 44 | ((TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map_comp _ _).symm |
| 45 | _ = (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map 0 := |
| 46 | congrArg (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map hzero |
| 47 | _ = 0 := (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map_zero _ _) |
| 48 | |
| 49 | theorem cechGlobalSections_map_augmented_exact_and_mono |
| 50 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (hU : ⨆ i, U i = ⊤) : |
| 51 | (cechGlobalSectionsMappedAugmentedShortComplex U F).Exact ∧ |
| 52 | Mono ((TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map (SheafAugmentation.IntrinsicCech.cechAugmentation F U)) := by |
| 53 | let S := SheafAugmentation.IntrinsicCech.cechAugmentedShortComplex F U |
| 54 | have hS : S.Exact := ZeroCycleStalks.IntrinsicCech.cechAugmentedShortComplex_exact F U hU |
| 55 | have hmono : Mono S.f := by |
| 56 | change Mono (SheafAugmentation.IntrinsicCech.cechAugmentation F U) |
| 57 | exact SheafResolution.IntrinsicCech.cechAugmentation_mono F U hU |
| 58 | have hmap := (((Functor.preservesFiniteLimits_tfae |
| 59 | (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X)).out 4 2 rfl rfl).mp |
| 60 | (inferInstance : PreservesFiniteLimits (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X))) |
| 61 | S ⟨hS, hmono⟩ |
| 62 | refine ⟨?_, by simpa [S, SheafAugmentation.IntrinsicCech.cechAugmentedShortComplex] using hmap.2⟩ |
| 63 | have hex := (ShortComplex.ab_exact_iff _).mp hmap.1 |
| 64 | rw [ShortComplex.ab_exact_iff] |
| 65 | intro x hx |
| 66 | exact hex x hx |
| 67 | |
| 68 | /-- The native Cech short complex augmented by global sections is exact for an |
| 69 | open cover. -/ |
| 70 | theorem cechGlobalSectionsNativeShortComplex_exact |
| 71 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (hU : ⨆ i, U i = ⊤) : |
| 72 | (cechGlobalSectionsNativeShortComplex U F).Exact := by |
| 73 | let S := SheafAugmentation.IntrinsicCech.cechAugmentedShortComplex F U |
| 74 | have hmap := cechGlobalSections_map_augmented_exact_and_mono U F hU |
| 75 | have hcomm := (GlobalSectionsComplex.IntrinsicCech.cechGlobalSectionsComplexIso F U).hom.comm 0 1 |
| 76 | change (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsXIso F U 0).hom ≫ |
| 77 | ((cechComplexFunctor U).obj F.obj).d 0 1 = |
| 78 | (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map (SheafDifferential.IntrinsicCech.cechDifferential F U 0) ≫ |
| 79 | (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsXIso F U 1).hom at hcomm |
| 80 | let e : cechGlobalSectionsMappedAugmentedShortComplex U F ≅ |
| 81 | cechGlobalSectionsNativeShortComplex U F := |
| 82 | ShortComplex.isoMk (Iso.refl _) |
| 83 | (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsXIso F U 0) |
| 84 | (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsXIso F U 1) |
| 85 | (by |
| 86 | change 𝟙 _ ≫ ((TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map |
| 87 | (SheafAugmentation.IntrinsicCech.cechAugmentation F U) ≫ |
| 88 | (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsXIso F U 0).hom) = |
| 89 | (TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map (SheafAugmentation.IntrinsicCech.cechAugmentation F U) ≫ |
| 90 | (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsXIso F U 0).hom |
| 91 | rw [Category.id_comp]) hcomm |
| 92 | exact ShortComplex.exact_of_iso e hmap.1 |
| 93 | |
| 94 | /-- The native Cech augmentation on global sections is monic for an open cover. -/ |
| 95 | theorem cechGlobalSectionsAugmentation_mono |
| 96 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (hU : ⨆ i, U i = ⊤) : |
| 97 | Mono (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsAugmentation F U) := by |
| 98 | have hmap := cechGlobalSections_map_augmented_exact_and_mono U F hU |
| 99 | let : Mono ((TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map |
| 100 | (SheafAugmentation.IntrinsicCech.cechAugmentation F U)) := hmap.2 |
| 101 | change Mono ((TopologicalSheafCohomology.IntrinsicCech.globalSectionsFunctor X).map (SheafAugmentation.IntrinsicCech.cechAugmentation F U) ≫ |
| 102 | (GlobalAugmentation.IntrinsicCech.cechGlobalSectionsXIso F U 0).hom) |
| 103 | infer_instance |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.GlobalAugmentationExactness.IntrinsicCech |