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/SheafCechSheafAugmentation.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.SheafComplex |
| 8 | |
| 9 | /-! # Augmentation -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Cech.Augmentation.TopCat.Sheaf |
| 12 | |
| 13 | open _root_.TopCat |
| 14 | open _root_.TopCat.Sheaf |
| 15 | |
| 16 | /-! |
| 17 | # The augmentation of the sheaf-level Cech complex |
| 18 | |
| 19 | This file defines the canonical map from a sheaf to the degree-zero term of its |
| 20 | sheaf-level Cech complex. Its composite with the first differential is zero because the |
| 21 | two degree-zero cofaces agree after restriction. |
| 22 | -/ |
| 23 | |
| 24 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable {X : TopCat.{u}} |
| 29 | variable (F : Sheaf AddCommGrpCat.{u} X) |
| 30 | variable {ι : Type u} (U : ι → Opens X) |
| 31 | |
| 32 | private noncomputable def cechAugmentationFactorSectionsIso (A V : Opens X) : |
| 33 | ((TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat A.isOpenEmbedding ⋙ |
| 34 | pushforward AddCommGrpCat A.inclusion').obj F).obj.obj (op V) ≅ |
| 35 | F.obj.obj (op (V ⊓ A)) := |
| 36 | F.obj.mapIso (eqToIso (congrArg op (Opens.functor_map_eq_inf A V))) |
| 37 | |
| 38 | private theorem cechAugmentationFactorSectionsIso_hom (A V : Opens X) : |
| 39 | (cechAugmentationFactorSectionsIso F A V).hom = |
| 40 | ((eqToIso (by rw [TopCatRestrict.TopCat.Sheaf.toRestrict_obj_obj_obj, |
| 41 | Opens.functor_map_eq_inf])) : |
| 42 | ((TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat A.isOpenEmbedding ⋙ |
| 43 | pushforward AddCommGrpCat A.inclusion').obj F).obj.obj (op V) ≅ |
| 44 | F.obj.obj (op (V ⊓ A))).hom := by |
| 45 | rw [cechAugmentationFactorSectionsIso, Functor.mapIso_hom, eqToIso.hom, |
| 46 | eqToIso.hom, eqToHom_map] |
| 47 | cat_disch |
| 48 | |
| 49 | /-- The canonical augmentation from `F` to the degree-zero term of its sheaf-level Cech |
| 50 | complex. -/ |
| 51 | noncomputable def cechAugmentation : F ⟶ Terms.TopCat.Sheaf.cechTerm F U 0 := |
| 52 | Pi.lift fun i : Fin 1 → ι => |
| 53 | (TopCatRestrict.TopCat.Sheaf.toRestrict AddCommGrpCat (∏ᶜ fun k : Fin 1 => U (i k))).app F |
| 54 | |
| 55 | /-- Under the concrete section equivalence, the Cech augmentation restricts a section to |
| 56 | each member of the open family. -/ |
| 57 | theorem cechAugmentation_apply (V : Opens X) (x : F.obj.obj (op V)) |
| 58 | (i : Fin 1 → ι) : |
| 59 | Terms.TopCat.Sheaf.cechTermSectionsAddEquiv F U 0 V |
| 60 | ((cechAugmentation F U).hom.app (op V) x) i = |
| 61 | F.obj.map (homOfLE (inf_le_left : |
| 62 | (V ⊓ (∏ᶜ fun k : Fin 1 => U (i k))) ≤ V)).op x := by |
| 63 | rw [Terms.TopCat.Sheaf.cechTermSectionsAddEquiv_apply] |
| 64 | rw [← cechAugmentationFactorSectionsIso_hom F |
| 65 | (∏ᶜ fun k : Fin 1 => U (i k)) V] |
| 66 | have hcomponent : |
| 67 | (Pi.π (Terms.TopCat.Sheaf.cechTermFactor F U 0) i).hom.app (op V) |
| 68 | ((cechAugmentation F U).hom.app (op V) x) = |
| 69 | ((TopCatRestrict.TopCat.Sheaf.toRestrict AddCommGrpCat |
| 70 | (∏ᶜ fun k : Fin 1 => U (i k))).app F).hom.app (op V) x := by |
| 71 | exact ConcreteCategory.congr_hom |
| 72 | (congrArg (fun f => f.hom.app (op V)) |
| 73 | (Pi.lift_comp_π (fun i : Fin 1 → ι => |
| 74 | (TopCatRestrict.TopCat.Sheaf.toRestrict AddCommGrpCat |
| 75 | (∏ᶜ fun k : Fin 1 => U (i k))).app F) i)) x |
| 76 | rw [hcomponent, TopCatRestrict.TopCat.Sheaf.toRestrict_app_hom_app] |
| 77 | change (F.obj.map _ ≫ F.obj.map _) x = F.obj.map _ x |
| 78 | exact ConcreteCategory.congr_hom |
| 79 | ((F.obj.map_comp _ _).symm.trans |
| 80 | (congrArg F.obj.map (Subsingleton.elim _ _))) x |
| 81 | |
| 82 | private theorem cechAugmentation_comp_coface_eq : |
| 83 | cechAugmentation F U ≫ SheafDifferential.TopCat.Sheaf.cechCoface F U 0 0 = |
| 84 | cechAugmentation F U ≫ SheafDifferential.TopCat.Sheaf.cechCoface F U 0 1 := by |
| 85 | apply CategoryTheory.Sheaf.hom_ext |
| 86 | apply NatTrans.ext |
| 87 | funext V |
| 88 | apply ConcreteCategory.hom_ext |
| 89 | intro x |
| 90 | apply (Terms.TopCat.Sheaf.cechTermSectionsAddEquiv F U 1 V.unop).injective |
| 91 | funext i |
| 92 | have hcompZero : |
| 93 | (cechAugmentation F U ≫ SheafDifferential.TopCat.Sheaf.cechCoface F U 0 0).hom.app V = |
| 94 | (cechAugmentation F U).hom.app V ≫ |
| 95 | (SheafDifferential.TopCat.Sheaf.cechCoface F U 0 0).hom.app V := rfl |
| 96 | have hcompOne : |
| 97 | (cechAugmentation F U ≫ SheafDifferential.TopCat.Sheaf.cechCoface F U 0 1).hom.app V = |
| 98 | (cechAugmentation F U).hom.app V ≫ |
| 99 | (SheafDifferential.TopCat.Sheaf.cechCoface F U 0 1).hom.app V := rfl |
| 100 | rw [hcompZero, hcompOne, CategoryTheory.comp_apply, |
| 101 | CategoryTheory.comp_apply, SheafDifferential.TopCat.Sheaf.cechCoface_apply, SheafDifferential.TopCat.Sheaf.cechCoface_apply, |
| 102 | cechAugmentation_apply, cechAugmentation_apply] |
| 103 | change (F.obj.map _ ≫ F.obj.map _) x = |
| 104 | (F.obj.map _ ≫ F.obj.map _) x |
| 105 | exact ConcreteCategory.congr_hom |
| 106 | ((F.obj.map_comp _ _).symm.trans |
| 107 | ((congrArg F.obj.map (Subsingleton.elim _ _)).trans |
| 108 | (F.obj.map_comp _ _))) x |
| 109 | |
| 110 | /-- The Cech augmentation followed by the first differential is zero. -/ |
| 111 | theorem cechAugmentation_comp : |
| 112 | cechAugmentation F U ≫ SheafDifferential.TopCat.Sheaf.cechDifferential F U 0 = 0 := by |
| 113 | rw [SheafDifferential.TopCat.Sheaf.cechDifferential, Fin.sum_univ_two] |
| 114 | simp [cechAugmentation_comp_coface_eq F U] |
| 115 | |
| 116 | /-- The augmentation and first differential of the sheaf-level Cech complex. -/ |
| 117 | noncomputable def cechAugmentedShortComplex : |
| 118 | ShortComplex (Sheaf AddCommGrpCat.{u} X) := |
| 119 | ShortComplex.mk (cechAugmentation F U) (SheafDifferential.TopCat.Sheaf.cechDifferential F U 0) |
| 120 | (cechAugmentation_comp F U) |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.SheafCohomology.Cech.Augmentation.TopCat.Sheaf |