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.Tensor.Triangulated |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HomologicalSpectralObject |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 4 | import Mathlib.Algebra.Homology.HomotopyCategory.SpectralObject |
| 5 | import Mathlib.Algebra.Homology.HomotopyCategory.HomologicalFunctor |
| 6 | import Mathlib.Algebra.Homology.HomotopyCategory.ShiftSequence |
| 7 | import Mathlib.Algebra.Homology.SpectralObject.SpectralSequence |
| 8 | |
| 9 | /-! # Spectral Object -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.SpectralObject |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! The spectral object and spectral sequence of an actual filtered complex |
| 16 | after tensoring. Its relative terms are the homology of the total tensor |
| 17 | of the native relative mapping cones. -/ |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.ComposableArrows |
| 23 | |
| 24 | variable (R : Type) [CommRing R] (K : CochainComplex (ModuleCat.{0} R) ℤ) |
| 25 | variable {ι : Type*} [Category* ι] (D : ι ⥤ CochainComplex (ModuleCat.{0} R) ℤ) |
| 26 | |
| 27 | def triangulated : Triangulated.SpectralObject (HomotopyCategory (ModuleCat.{0} R) (.up ℤ)) ι := |
| 28 | ((HomotopyCategory.spectralObjectMappingCone (ModuleCat.{0} R)).precomp D).mapTriangulatedFunctor |
| 29 | (Homotopy.homotopyFunctor R K) |
| 30 | |
| 31 | def abelian : Abelian.SpectralObject (ModuleCat.{0} R) ι := |
| 32 | HomologicalSpectralObject.spectralObject (triangulated R K D) |
| 33 | (HomotopyCategory.homologyFunctor (ModuleCat.{0} R) (.up ℤ) 0) |
| 34 | |
| 35 | def termIso {i j : ι} (f : i ⟶ j) (n : ℤ) : |
| 36 | ((abelian R K D).H n).obj (mk₁ f) ≅ |
| 37 | ((Homotopy.complexFunctor R K).obj (CochainComplex.mappingCone (D.map f))).homology n := |
| 38 | (HomotopyCategory.homologyFunctorFactors (ModuleCat.{0} R) (.up ℤ) n).app _ |
| 39 | |
| 40 | def spectralSequence (D : EInt ⥤ CochainComplex (ModuleCat.{0} R) ℤ) : |
| 41 | E₂CohomologicalSpectralSequence (ModuleCat.{0} R) := |
| 42 | (abelian R K D).E₂SpectralSequence |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.SpectralObject |