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 | |
| 3 | /-! # Stalk To Point Module -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.StalkToPointModule.Local |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A linear map from an actual module stalk gives a morphism to the |
| 10 | actual point-supported module sheaf, by applying it to section germs. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _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 stalkToPointModuleHom (f : (RingModuleStalkFunctor.Local.ringModuleStalk R x).obj M ⟶ N) : |
| 18 | M ⟶ PointModulePresheaf.Local.pointModulePresheaf R x N where |
| 19 | app U := ModuleCat.ofHom |
| 20 | (X := M.obj U) (Y := PointModulePresheaf.Local.pointModuleSections R x N U.unop) |
| 21 | { toFun m hx := f (TopCat.Presheaf.germ (C := AddCommGrpCat) (X := X) M.presheaf U.unop x hx.down m) |
| 22 | map_add' m n := by |
| 23 | funext hx |
| 24 | exact (congrArg f (map_add (TopCat.Presheaf.germ (C := AddCommGrpCat) (X := X) |
| 25 | M.presheaf U.unop x hx.down).hom m n)).trans (map_add f.hom _ _) |
| 26 | map_smul' r m := by |
| 27 | funext hx |
| 28 | exact (congrArg f (M.germ_ringCat_smul x U.unop hx.down r m)).trans (f.hom.map_smul _ _) } |
| 29 | naturality {U V} h := by |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro m |
| 33 | funext hx |
| 34 | exact congrArg f (TopCat.Presheaf.germ_res_apply' (C := AddCommGrpCat) (X := X) M.presheaf h x hx.down m) |
| 35 | |
| 36 | theorem stalkToPointModuleHom_apply (f : (RingModuleStalkFunctor.Local.ringModuleStalk R x).obj M ⟶ N) |
| 37 | (U : Opens X) (m : M.obj (op U)) (hx : x ∈ U) : |
| 38 | (stalkToPointModuleHom x M N f).app (op U) m ⟨hx⟩ = |
| 39 | f (TopCat.Presheaf.germ (C := AddCommGrpCat) (X := X) M.presheaf U x hx m) := rfl |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Comparison.Betti.StalkToPointModule.Local |