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.Analysis.DifferentialForms.Manifold.ComplexSheafHomology |
| 2 | import Mathlib.Topology.Sheaves.Abelian |
| 3 | import Mathlib.Algebra.Homology.QuasiIso |
| 4 | import Mathlib.Algebra.Homology.Functor |
| 5 | |
| 6 | /-! # Sheaf Stalk Quasi Iso -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafStalkQuasiIso.Holomorphic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Stalks detect quasi-isomorphisms of actual complexes of complex-module sheaves. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 15 | |
| 16 | variable {X : TopCat.{0}} {κ : Type*} {c : ComplexShape κ} |
| 17 | {K L : HomologicalComplex (Sheaf (Opens.grothendieckTopology X) |
| 18 | (ModuleCat.{0} ℂ)) c} (f : K ⟶ L) (n : κ) |
| 19 | |
| 20 | theorem moduleSheafQuasiIsoAt_of_stalk |
| 21 | (h : ∀ x : X, |
| 22 | QuasiIsoAt (((TopCat.Sheaf.forget (ModuleCat.{0} ℂ) X ⋙ |
| 23 | TopCat.Presheaf.stalkFunctor (ModuleCat.{0} ℂ) x).mapHomologicalComplex c).map f) n) : |
| 24 | QuasiIsoAt f n := by |
| 25 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 26 | erw [TopCat.Presheaf.isIso_iff_stalkFunctor_map_iso] |
| 27 | intro x |
| 28 | let F := TopCat.Sheaf.forget (ModuleCat.{0} ℂ) X ⋙ TopCat.Presheaf.stalkFunctor (ModuleCat.{0} ℂ) x |
| 29 | let φ := (shortComplexFunctor (Sheaf (Opens.grothendieckTopology X) |
| 30 | (ModuleCat.{0} ℂ)) c n).map f |
| 31 | have hφ : ShortComplex.QuasiIso (F.mapShortComplex.map φ) := |
| 32 | (quasiIsoAt_iff _ n).mp (h x) |
| 33 | exact ((MorphismProperty.isomorphisms (ModuleCat.{0} ℂ)).arrow_mk_iso_iff |
| 34 | (((Functor.mapArrowFunctor _ _).mapIso (ShortComplex.homologyFunctorIso F)).app |
| 35 | (Arrow.mk φ))).mp ((ShortComplex.quasiIso_iff _).mp hφ) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Comparison.Betti.Module.SheafStalkQuasiIso.Holomorphic |