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.NumberTheory.PadicHodge.GeometricComparison.Module.SheafLocalExactness |
| 2 | import Mathlib.Algebra.Homology.QuasiIso |
| 3 | import Mathlib.Algebra.Homology.Functor |
| 4 | |
| 5 | /-! # Sheaf Stalk Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Module.SheafStalkQuasiIso.ModuleSheafStalkQuasiIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Stalks detect quasi-isomorphisms of actual complexes of additive sheaves. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 14 | |
| 15 | variable (R : Type) [CommRing R] {X : TopCat.{0}} {κ : Type*} {c : ComplexShape κ} |
| 16 | {K L : HomologicalComplex (TopCat.Sheaf (ModuleCat.{0} R) X) c} (f : K ⟶ L) (n : κ) |
| 17 | |
| 18 | theorem sheafQuasiIsoAt_iff_stalk : |
| 19 | QuasiIsoAt f n ↔ ∀ x : X, |
| 20 | QuasiIsoAt (((TopCat.Sheaf.forget (ModuleCat R) X ⋙ |
| 21 | TopCat.Presheaf.stalkFunctor (ModuleCat R) x).mapHomologicalComplex c).map f) n := by |
| 22 | constructor |
| 23 | · intro h x |
| 24 | have := h |
| 25 | infer_instance |
| 26 | · intro h |
| 27 | rw [quasiIsoAt_iff_isIso_homologyMap, TopCat.Presheaf.isIso_iff_stalkFunctor_map_iso] |
| 28 | intro x |
| 29 | let F := TopCat.Sheaf.forget (ModuleCat R) X ⋙ TopCat.Presheaf.stalkFunctor (ModuleCat R) x |
| 30 | let φ := (shortComplexFunctor (TopCat.Sheaf (ModuleCat R) X) c n).map f |
| 31 | have hφ : ShortComplex.QuasiIso (F.mapShortComplex.map φ) := |
| 32 | (quasiIsoAt_iff _ n).mp (h x) |
| 33 | exact ((MorphismProperty.isomorphisms (ModuleCat R)).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.NumberTheory.PadicHodge.GeometricComparison.Module.SheafStalkQuasiIso.ModuleSheafStalkQuasiIso |