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.PointModuleFunctor |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.PushforwardContinuous |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.RingModuleStalkFunctor |
| 4 | |
| 5 | /-! # Ringed Stalk Pushforward -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Module.RingedStalkPushforward.Local |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The map of native ring stalks induced by a continuous map and a |
| 14 | morphism into the direct image, with its formula on every section. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 17 | |
| 18 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 19 | {R : TopCat.Presheaf RingCat.{0} X} {S : TopCat.Presheaf RingCat.{0} Y} |
| 20 | (φ : S ⟶ (Opens.map f).op ⋙ R) (x : X) |
| 21 | |
| 22 | def ringedStalkMap : S.stalk (f x) →+* R.stalk x := |
| 23 | ((TopCat.Presheaf.stalkFunctor RingCat (f x)).map φ ≫ |
| 24 | TopCat.Presheaf.stalkPushforward RingCat f R x).hom |
| 25 | |
| 26 | theorem ringedStalkMap_germ (U : Opens Y) (hx : f x ∈ U) (s : S.obj (op U)) : |
| 27 | ringedStalkMap f φ x (S.germ U (f x) hx s) = |
| 28 | R.germ ((Opens.map f).obj U) x hx (φ.app (op U) s) := by |
| 29 | change TopCat.Presheaf.stalkPushforward RingCat f R x |
| 30 | ((TopCat.Presheaf.stalkFunctor RingCat (f x)).map φ (S.germ U (f x) hx s)) = _ |
| 31 | rw [TopCat.Presheaf.stalkFunctor_map_germ_apply] |
| 32 | exact ConcreteCategory.congr_hom |
| 33 | (TopCat.Presheaf.stalkPushforward_germ RingCat f R U x hx) (φ.app (op U) s) |
| 34 | |
| 35 | end |
| 36 | |
| 37 | section |
| 38 | |
| 39 | /-! The actual stalk map for module pushforward is semilinear over the original ringed stalk map. -/ |
| 40 | |
| 41 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 42 | |
| 43 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 44 | {R : TopCat.Presheaf RingCat.{0} X} {S : TopCat.Presheaf RingCat.{0} Y} |
| 45 | (φ : S ⟶ (Opens.map f).op ⋙ R) (M : PresheafOfModules.{0} R) (x : X) |
| 46 | |
| 47 | def modulePushforwardAdditiveStalkMap : |
| 48 | TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := Y) |
| 49 | ((PresheafOfModules.pushforward φ).obj M).presheaf (f x) →+ |
| 50 | TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := X) M.presheaf x := |
| 51 | (TopCat.Presheaf.stalkPushforward AddCommGrpCat f M.presheaf x).hom |
| 52 | |
| 53 | theorem modulePushforwardAdditiveStalkMap_germ (U : Opens Y) (hx : f x ∈ U) |
| 54 | (m : ((PresheafOfModules.pushforward φ).obj M).obj (op U)) : |
| 55 | modulePushforwardAdditiveStalkMap f φ M x |
| 56 | (TopCat.Presheaf.germ (C := AddCommGrpCat) (X := Y) |
| 57 | ((PresheafOfModules.pushforward φ).obj M).presheaf U (f x) hx m) = |
| 58 | TopCat.Presheaf.germ (C := AddCommGrpCat) (X := X) M.presheaf |
| 59 | ((Opens.map f).obj U) x hx m := |
| 60 | ConcreteCategory.congr_hom (TopCat.Presheaf.stalkPushforward_germ AddCommGrpCat f M.presheaf U x hx) m |
| 61 | |
| 62 | theorem modulePushforwardAdditiveStalkMap_smul |
| 63 | (r : S.stalk (f x)) |
| 64 | (m : TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := Y) |
| 65 | ((PresheafOfModules.pushforward φ).obj M).presheaf (f x)) : |
| 66 | modulePushforwardAdditiveStalkMap f φ M x (r • m) = |
| 67 | ringedStalkMap f φ x r • modulePushforwardAdditiveStalkMap f φ M x m := by |
| 68 | let P := (PresheafOfModules.pushforward φ).obj M |
| 69 | obtain ⟨U, hxU, a, rfl⟩ := S.exists_germ_eq r |
| 70 | obtain ⟨V, hxV, b, rfl⟩ := TopCat.Presheaf.exists_germ_eq (C := AddCommGrpCat) (X := Y) P.presheaf m |
| 71 | change P.obj (op V) at b |
| 72 | let W := U ⊓ V |
| 73 | have hxW : f x ∈ W := ⟨hxU, hxV⟩ |
| 74 | have hWU : W ≤ U := inf_le_left |
| 75 | have hWV : W ≤ V := inf_le_right |
| 76 | have hr := S.germ_res_apply (homOfLE hWU) (f x) hxW a |
| 77 | have hm := TopCat.Presheaf.germ_res_apply (C := AddCommGrpCat) (X := Y) |
| 78 | P.presheaf (homOfLE hWV) (f x) hxW b |
| 79 | rw [← hr, ← hm] |
| 80 | erw [← P.germ_ringCat_smul (f x) W hxW (S.map (homOfLE hWU).op a) (P.map (homOfLE hWV).op b)] |
| 81 | erw [modulePushforwardAdditiveStalkMap_germ, ringedStalkMap_germ, |
| 82 | modulePushforwardAdditiveStalkMap_germ] |
| 83 | exact M.germ_ringCat_smul x ((Opens.map f).obj W) hxW |
| 84 | (φ.app (op W) (S.map (homOfLE hWU).op a)) (P.map (homOfLE hWV).op b) |
| 85 | |
| 86 | def ringModulePushforwardStalkMap : |
| 87 | TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := Y) |
| 88 | ((PresheafOfModules.pushforward φ).obj M).presheaf (f x) →ₛₗ[ringedStalkMap f φ x] |
| 89 | TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := X) M.presheaf x where |
| 90 | __ := modulePushforwardAdditiveStalkMap f φ M x |
| 91 | map_smul' := modulePushforwardAdditiveStalkMap_smul f φ M x |
| 92 | |
| 93 | theorem ringModulePushforwardStalkMap_bijective (hf : Topology.IsInducing f) : |
| 94 | Function.Bijective (ringModulePushforwardStalkMap f φ M x) := by |
| 95 | let : IsIso (TopCat.Presheaf.stalkPushforward AddCommGrpCat f M.presheaf x) := |
| 96 | TopCat.Presheaf.stalkPushforward.stalkPushforward_iso_of_isInducing AddCommGrpCat hf M.presheaf x |
| 97 | exact ConcreteCategory.bijective_of_isIso |
| 98 | (TopCat.Presheaf.stalkPushforward AddCommGrpCat f M.presheaf x) |
| 99 | |
| 100 | theorem ringModulePushforwardStalkMap_naturality {N : PresheafOfModules.{0} R} (g : M ⟶ N) |
| 101 | (m : TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := Y) |
| 102 | ((PresheafOfModules.pushforward φ).obj M).presheaf (f x)) : |
| 103 | ringModulePushforwardStalkMap f φ N x |
| 104 | (RingModuleStalkMap.Local.ringModuleStalkMap ((PresheafOfModules.pushforward φ).map g) (f x) m) = |
| 105 | RingModuleStalkMap.Local.ringModuleStalkMap g x (ringModulePushforwardStalkMap f φ M x m) := by |
| 106 | obtain ⟨U, hxU, a, rfl⟩ := TopCat.Presheaf.exists_germ_eq (C := AddCommGrpCat) (X := Y) |
| 107 | ((PresheafOfModules.pushforward φ).obj M).presheaf m |
| 108 | erw [RingModuleStalkMap.Local.ringModuleStalkMap_germ] |
| 109 | change modulePushforwardAdditiveStalkMap f φ N x _ = |
| 110 | RingModuleStalkMap.Local.ringModuleStalkMap g x (modulePushforwardAdditiveStalkMap f φ M x _) |
| 111 | erw [modulePushforwardAdditiveStalkMap_germ, modulePushforwardAdditiveStalkMap_germ, |
| 112 | RingModuleStalkMap.Local.ringModuleStalkMap_germ] |
| 113 | rfl |
| 114 | |
| 115 | end |
| 116 | |
| 117 | /-! At an embedded point, native module pushforward stalks are restriction of scalars along the actual ring map. -/ |
| 118 | |
| 119 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 120 | |
| 121 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 122 | {R : TopCat.Presheaf RingCat.{0} X} {S : TopCat.Presheaf RingCat.{0} Y} |
| 123 | (φ : S ⟶ (Opens.map f).op ⋙ R) (x : X) |
| 124 | |
| 125 | def modulePushforwardStalkHom (M : PresheafOfModules.{0} R) : |
| 126 | (RingModuleStalkFunctor.Local.ringModuleStalk S (f x)).obj ((PresheafOfModules.pushforward φ).obj M) ⟶ |
| 127 | (ModuleCat.restrictScalars (ringedStalkMap f φ x)).obj ((RingModuleStalkFunctor.Local.ringModuleStalk R x).obj M) := |
| 128 | ModuleCat.ofHom (R := S.stalk (f x)) |
| 129 | (X := (RingModuleStalkFunctor.Local.ringModuleStalk S (f x)).obj ((PresheafOfModules.pushforward φ).obj M)) |
| 130 | (Y := (ModuleCat.restrictScalars (ringedStalkMap f φ x)).obj ((RingModuleStalkFunctor.Local.ringModuleStalk R x).obj M)) |
| 131 | { toFun := ringModulePushforwardStalkMap f φ M x |
| 132 | map_add' := (ringModulePushforwardStalkMap f φ M x).map_add |
| 133 | map_smul' := (ringModulePushforwardStalkMap f φ M x).map_smul' } |
| 134 | |
| 135 | def modulePushforwardStalkNatTrans : |
| 136 | PresheafOfModules.pushforward φ ⋙ RingModuleStalkFunctor.Local.ringModuleStalk S (f x) ⟶ |
| 137 | RingModuleStalkFunctor.Local.ringModuleStalk R x ⋙ ModuleCat.restrictScalars (ringedStalkMap f φ x) where |
| 138 | app := modulePushforwardStalkHom f φ x |
| 139 | naturality {M N} g := by |
| 140 | apply ModuleCat.hom_ext |
| 141 | apply LinearMap.ext |
| 142 | intro m |
| 143 | exact ringModulePushforwardStalkMap_naturality f φ M x g m |
| 144 | |
| 145 | def modulePushforwardStalkIso (hf : Topology.IsInducing f) : |
| 146 | PresheafOfModules.pushforward φ ⋙ RingModuleStalkFunctor.Local.ringModuleStalk S (f x) ≅ |
| 147 | RingModuleStalkFunctor.Local.ringModuleStalk R x ⋙ ModuleCat.restrictScalars (ringedStalkMap f φ x) := by |
| 148 | have (M : PresheafOfModules.{0} R) : IsIso ((modulePushforwardStalkNatTrans f φ x).app M) := by |
| 149 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 150 | exact ringModulePushforwardStalkMap_bijective f φ M x hf |
| 151 | exact NatIso.ofComponents (fun M => asIso ((modulePushforwardStalkNatTrans f φ x).app M)) |
| 152 | (fun g => (modulePushforwardStalkNatTrans f φ x).naturality g) |
| 153 | |
| 154 | theorem modulePushforwardStalkIso_germ (hf : Topology.IsInducing f) |
| 155 | (M : PresheafOfModules.{0} R) (U : Opens Y) (hx : f x ∈ U) |
| 156 | (m : ((PresheafOfModules.pushforward φ).obj M).obj (op U)) : |
| 157 | (modulePushforwardStalkIso f φ x hf).hom.app M |
| 158 | (TopCat.Presheaf.germ (C := AddCommGrpCat) (X := Y) |
| 159 | ((PresheafOfModules.pushforward φ).obj M).presheaf U (f x) hx m) = |
| 160 | TopCat.Presheaf.germ (C := AddCommGrpCat) (X := X) M.presheaf |
| 161 | ((Opens.map f).obj U) x hx m := |
| 162 | modulePushforwardAdditiveStalkMap_germ f φ M x U hx m |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI.AlgebraicGeometry.Comparison.Betti.Module.RingedStalkPushforward.Local |