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.Holomorphic.SectionGerms |
| 2 | import Mathlib.Topology.Sheaves.Stalks |
| 3 | import Mathlib.Algebra.Category.Ring.Colimits |
| 4 | import Mathlib.Algebra.Category.Ring.FilteredColimits |
| 5 | |
| 6 | /-! # Stalk Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.StalkMap.AnalyticLocal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual sheaf stalk maps to the holomorphic germ ring through |
| 13 | the colimit of its section-to-germ maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 18 | |
| 19 | def holomorphicGermCocone (x : E) : |
| 20 | Cocone ((OpenNhds.inclusion (X := TopCat.of E) x).op ⋙ FunctionSheaf.holomorphicFunctionPresheaf E) where |
| 21 | pt := CommRingCat.of (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) |
| 22 | ι := |
| 23 | { app := fun U => CommRingCat.ofHom (SectionGerms.AnalyticLocal.holomorphicSectionGerm U.unop.val x U.unop.property) |
| 24 | naturality := by |
| 25 | intro U V f |
| 26 | change CommRingCat.ofHom ((SectionGerms.AnalyticLocal.holomorphicSectionGerm V.unop.val x V.unop.property).comp |
| 27 | (Restrictions.holomorphicFunctionRestrict (leOfHom f.unop)).toRingHom) = |
| 28 | CommRingCat.ofHom (SectionGerms.AnalyticLocal.holomorphicSectionGerm U.unop.val x U.unop.property) |
| 29 | exact congrArg CommRingCat.ofHom |
| 30 | (SectionGerms.AnalyticLocal.holomorphicSectionGerm_restrict (leOfHom f.unop) x V.unop.property) } |
| 31 | |
| 32 | def holomorphicStalkToGerm (x : E) : (FunctionSheaf.holomorphicFunctionPresheaf E).stalk x →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 33 | (colimit.desc _ (holomorphicGermCocone E x)).hom |
| 34 | |
| 35 | theorem holomorphicStalkToGerm_germ (x : E) (U : Opens E) (hx : x ∈ U) : |
| 36 | (holomorphicStalkToGerm E x).comp ((FunctionSheaf.holomorphicFunctionPresheaf E).germ U x hx).hom = |
| 37 | SectionGerms.AnalyticLocal.holomorphicSectionGerm U x hx := by |
| 38 | exact congrArg CommRingCat.Hom.hom (colimit.ι_desc (holomorphicGermCocone E x) (op ⟨U, hx⟩)) |
| 39 | |
| 40 | theorem holomorphicStalkToGerm_germ_apply (x : E) (U : Opens E) (hx : x ∈ U) |
| 41 | (f : FunctionPure.holomorphicFunctions U) : |
| 42 | holomorphicStalkToGerm E x ((FunctionSheaf.holomorphicFunctionPresheaf E).germ U x hx f) = |
| 43 | SectionGerms.AnalyticLocal.holomorphicSectionGerm U x hx f := DFunLike.congr_fun (holomorphicStalkToGerm_germ E x U hx) f |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.StalkMap.AnalyticLocal |