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.IntersectionTheory.ProjectionFormula.Tor.ExactSequence |
| 2 | import Mathlib.Algebra.Homology.Linear |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.Linear |
| 4 | import Mathlib.CategoryTheory.Monoidal.Linear |
| 5 | |
| 6 | /-! # Linear -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Linear |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual homology and native Tor functors are linear over the |
| 13 | coefficient ring, including the first argument of Tor. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | section Homology |
| 20 | |
| 21 | variable (R : Type u) [Semiring R] (C : Type v) [Category.{w} C] [Abelian C] |
| 22 | [CategoryTheory.Linear R C] {ι : Type*} (c : ComplexShape ι) |
| 23 | |
| 24 | instance shortComplexFunctor_linear (i : ι) : |
| 25 | Functor.Linear R (HomologicalComplex.shortComplexFunctor C c i) where |
| 26 | map_smul := by intros; rfl |
| 27 | |
| 28 | instance homologyFunctor_linear (i : ι) : |
| 29 | Functor.Linear R (HomologicalComplex.homologyFunctor C c i) := |
| 30 | Functor.linear_of_iso R (HomologicalComplex.homologyFunctorIso C c i).symm |
| 31 | |
| 32 | end Homology |
| 33 | |
| 34 | variable (R : Type u) [CommRing R] |
| 35 | |
| 36 | instance tensorComplexFunctor_linear (K : ChainComplex (ModuleCat.{u} R) ℕ) : |
| 37 | Functor.Linear R (ExactSequence.tensorComplexFunctor R K) where |
| 38 | map_smul := by |
| 39 | intro M N f r |
| 40 | apply HomologicalComplex.Hom.ext |
| 41 | funext i |
| 42 | exact (tensorRight (K.X i)).map_smul r f |
| 43 | |
| 44 | instance tor_first_linear (N : ModuleCat.{u} R) (n : ℕ) : |
| 45 | Functor.Linear R ((Tor (ModuleCat R) n).flip.obj N) := |
| 46 | Functor.linear_of_iso R (ExactSequence.torIso R N (projectiveResolution N) n).symm |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Linear |