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.Open.Image |
| 2 | |
| 3 | /-! # Pushforward Stalk -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.PushforwardStalk |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual pushforward stalk map is natural and is invertible on embedded points. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | open _root_.TopCat.Presheaf |
| 13 | |
| 14 | attribute [local instance] AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForget₂PreservesFilteredColimits |
| 15 | AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForgetPreservesFilteredColimits InjectiveFlasque.complexModuleLimits |
| 16 | |
| 17 | def sheafStalk (M : TopCat.{0}) (x : M) : ConstantSheafSections.ComplexSheaves M ⥤ ModuleCat.{0} ℂ := |
| 18 | TopCat.Sheaf.forget (ModuleCat.{0} ℂ) M ⋙ stalkFunctor (ModuleCat.{0} ℂ) x |
| 19 | |
| 20 | instance sheafStalkAdditive (M : TopCat.{0}) (x : M) : (sheafStalk M x).Additive := by |
| 21 | constructor |
| 22 | intro F G φ ψ |
| 23 | change (stalkFunctor (ModuleCat.{0} ℂ) x).map (φ.hom + ψ.hom) = |
| 24 | (stalkFunctor (ModuleCat.{0} ℂ) x).map φ.hom + (stalkFunctor (ModuleCat.{0} ℂ) x).map ψ.hom |
| 25 | exact (stalkFunctor (ModuleCat.{0} ℂ) x).map_add |
| 26 | |
| 27 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 28 | |
| 29 | theorem pushforwardStalk_naturality {F G : M.Presheaf (ModuleCat.{0} ℂ)} (φ : F ⟶ G) (x : M) : |
| 30 | (stalkFunctor (ModuleCat.{0} ℂ) (f x)).map ((pushforward (ModuleCat.{0} ℂ) f).map φ) ≫ |
| 31 | G.stalkPushforward (ModuleCat.{0} ℂ) f x = |
| 32 | F.stalkPushforward (ModuleCat.{0} ℂ) f x ≫ (stalkFunctor (ModuleCat.{0} ℂ) x).map φ := by |
| 33 | apply ((pushforward (ModuleCat.{0} ℂ) f).obj F).stalk_hom_ext |
| 34 | intro U hx |
| 35 | erw [← Category.assoc, stalkFunctor_map_germ, Category.assoc, stalkPushforward_germ, |
| 36 | ← Category.assoc, stalkPushforward_germ, stalkFunctor_map_germ] |
| 37 | rfl |
| 38 | |
| 39 | def pushforwardStalkMap (x : M) : TopologicalSheafPullback.sheafDirectImage f ⋙ sheafStalk N (f x) ⟶ sheafStalk M x where |
| 40 | app F := TopCat.Presheaf.stalkPushforward (ModuleCat.{0} ℂ) f F.obj x |
| 41 | naturality _ _ φ := pushforwardStalk_naturality f φ.hom x |
| 42 | |
| 43 | def pushforwardStalkIso (hf : Topology.IsInducing f) (x : M) : |
| 44 | TopologicalSheafPullback.sheafDirectImage f ⋙ sheafStalk N (f x) ≅ sheafStalk M x := by |
| 45 | have (F : ConstantSheafSections.ComplexSheaves M) : IsIso ((pushforwardStalkMap f x).app F) := |
| 46 | TopCat.Presheaf.stalkPushforward.stalkPushforward_iso_of_isInducing (ModuleCat.{0} ℂ) hf F.obj x |
| 47 | exact NatIso.ofComponents (fun F => asIso ((pushforwardStalkMap f x).app F)) |
| 48 | (fun φ => (pushforwardStalkMap f x).naturality φ) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Comparison.Betti.PushforwardStalk |