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.PointModulePresheaf |
| 2 | |
| 3 | /-! # Point Module To Stalk -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.PointModuleToStalk.Local |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A morphism to the actual point-supported module determines a |
| 10 | linear map from the module stalk by the neighborhood colimit. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable {X : TopCat.{0}} {R : TopCat.Presheaf RingCat.{0} X} (x : X) |
| 15 | (M : PresheafOfModules.{0} R) (N : ModuleCat.{0} (R.stalk x)) |
| 16 | |
| 17 | def pointModuleHomCocone (f : M ⟶ PointModulePresheaf.Local.pointModulePresheaf R x N) : |
| 18 | Cocone ((OpenNhds.inclusion x).op ⋙ M.presheaf) where |
| 19 | pt := AddCommGrpCat.of N |
| 20 | ι := |
| 21 | { app := fun U => AddCommGrpCat.ofHom (AddMonoidHom.mk' |
| 22 | (fun m => (f.app (op U.unop.val) m : PointModulePresheaf.Local.pointModuleSections R x N U.unop.val) ⟨U.unop.property⟩) |
| 23 | (by |
| 24 | intro m n |
| 25 | exact congrArg (fun a : PointModulePresheaf.Local.pointModuleSections R x N U.unop.val => a ⟨U.unop.property⟩) |
| 26 | ((f.app (op U.unop.val)).hom.map_add m n))) |
| 27 | naturality := by |
| 28 | intro U V h |
| 29 | apply AddCommGrpCat.hom_ext |
| 30 | apply AddMonoidHom.ext |
| 31 | intro m |
| 32 | exact congrArg (fun a : PointModulePresheaf.Local.pointModuleSections R x N V.unop.val => a ⟨V.unop.property⟩) |
| 33 | (PresheafOfModules.naturality_apply f ((OpenNhds.inclusion x).op.map h) m) } |
| 34 | |
| 35 | def pointModuleHomToStalkAdd (f : M ⟶ PointModulePresheaf.Local.pointModulePresheaf R x N) : |
| 36 | TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := X) M.presheaf x →+ N := |
| 37 | (colimit.desc _ (pointModuleHomCocone x M N f)).hom |
| 38 | |
| 39 | theorem pointModuleHomToStalkAdd_germ (f : M ⟶ PointModulePresheaf.Local.pointModulePresheaf R x N) |
| 40 | (U : Opens X) (hx : x ∈ U) (m : M.obj (op U)) : |
| 41 | pointModuleHomToStalkAdd x M N f |
| 42 | (TopCat.Presheaf.germ (C := AddCommGrpCat) (X := X) M.presheaf U x hx m) = |
| 43 | (f.app (op U) m : PointModulePresheaf.Local.pointModuleSections R x N U) ⟨hx⟩ := |
| 44 | DFunLike.congr_fun (congrArg AddCommGrpCat.Hom.hom |
| 45 | (colimit.ι_desc (pointModuleHomCocone x M N f) (op ⟨U, hx⟩))) m |
| 46 | |
| 47 | theorem pointModuleHomToStalkAdd_smul (f : M ⟶ PointModulePresheaf.Local.pointModulePresheaf R x N) (r : R.stalk x) |
| 48 | (m : TopCat.Presheaf.stalk (C := AddCommGrpCat) (X := X) M.presheaf x) : |
| 49 | pointModuleHomToStalkAdd x M N f (r • m) = r • pointModuleHomToStalkAdd x M N f m := by |
| 50 | obtain ⟨U, hxU, a, rfl⟩ := R.exists_germ_eq r |
| 51 | obtain ⟨V, hxV, b, rfl⟩ := TopCat.Presheaf.exists_germ_eq (C := AddCommGrpCat) (X := X) M.presheaf m |
| 52 | change M.obj (op V) at b |
| 53 | let W := U ⊓ V |
| 54 | have hxW : x ∈ W := ⟨hxU, hxV⟩ |
| 55 | have hWU : W ≤ U := inf_le_left |
| 56 | have hWV : W ≤ V := inf_le_right |
| 57 | have hr := R.germ_res_apply (homOfLE hWU) x hxW a |
| 58 | have hm := TopCat.Presheaf.germ_res_apply (C := AddCommGrpCat) (X := X) M.presheaf |
| 59 | (homOfLE hWV) x hxW b |
| 60 | rw [← hr, ← hm] |
| 61 | erw [← M.germ_ringCat_smul x W hxW (R.map (homOfLE hWU).op a) (M.map (homOfLE hWV).op b), |
| 62 | pointModuleHomToStalkAdd_germ, pointModuleHomToStalkAdd_germ] |
| 63 | exact congrArg (fun v : PointModulePresheaf.Local.pointModuleSections R x N W => v ⟨hxW⟩) |
| 64 | ((f.app (op W)).hom.map_smul (R.map (homOfLE hWU).op a) (M.map (homOfLE hWV).op b)) |
| 65 | |
| 66 | def pointModuleHomToStalk (f : M ⟶ PointModulePresheaf.Local.pointModulePresheaf R x N) : (RingModuleStalkFunctor.Local.ringModuleStalk R x).obj M ⟶ N := |
| 67 | ModuleCat.ofHom |
| 68 | { __ := pointModuleHomToStalkAdd x M N f |
| 69 | map_smul' r m := pointModuleHomToStalkAdd_smul x M N f r m } |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Comparison.Betti.PointModuleToStalk.Local |