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.BrutalFiltrationQuotient |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.TensorSingle |
| 3 | import Mathlib.Algebra.Homology.SpectralObject.FirstPage |
| 4 | |
| 5 | /-! # Brutal Tensor Spectral Sequence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalTensorSpectralSequence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A spectral sequence for the tensor of two actual cochain complexes. |
| 12 | The first page is identified with the homology of the individual columns. |
| 13 | The library numbers this initial page `2`. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 19 | |
| 20 | variable (R : Type) [CommRing R] (A K : CochainComplex (ModuleCat.{0} R) ℤ) |
| 21 | |
| 22 | def spectralSequence : E₂CohomologicalSpectralSequence (ModuleCat.{0} R) := |
| 23 | Tensor.SpectralObject.spectralSequence R K (BrutalFiltration.filtration R A) |
| 24 | |
| 25 | def firstPageXIso (p q : ℤ) : |
| 26 | ((spectralSequence R A K).page 2).X (p, q) ≅ |
| 27 | ((Tensor.Homotopy.complexFunctor R K).obj |
| 28 | (BrutalFiltrationQuotient.quotient R A q)).homology (p + q) := |
| 29 | (Tensor.SpectralObject.abelian R K (BrutalFiltration.filtration R A)).spectralSequenceFirstPageXIso |
| 30 | Abelian.SpectralObject.coreE₂Cohomological (p, q) |
| 31 | (q : EInt) ((q + 1 : ℤ) : EInt) rfl rfl (p + q) rfl ≪≫ |
| 32 | BrutalFiltrationQuotient.relativeTermIso R A q K (p + q) |
| 33 | |
| 34 | def firstPageFlatIso (p q : ℤ) [Module.Flat R (A.X (-(q + 1)))] : |
| 35 | ((spectralSequence R A K).page 2).X (p, q) ≅ |
| 36 | (tensorLeft (A.X (-(q + 1)))).obj (K.homology (p + 2 * q + 1)) := |
| 37 | firstPageXIso R A K p q ≪≫ |
| 38 | Tensor.TensorSingle.flatHomologyIso R (A.X (-(q + 1))) K (-(q + 1)) (p + q) ≪≫ |
| 39 | (tensorLeft (A.X (-(q + 1)))).mapIso (eqToIso (by congr 1; omega)) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalTensorSpectralSequence |