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.IntegralComparison.CountableModuleProduct |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 4 | import Mathlib.CategoryTheory.Abelian.FunctorCategory |
| 5 | |
| 6 | /-! # Countable Product Homology -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CountableProductHomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: cohomology of a countable product of module complexes |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (R : Type u) [CommRing R] (K : CochainComplex (Discrete ℕ ⥤ ModuleCat.{u} R) ℕ) |
| 21 | |
| 22 | def complex : CochainComplex (ModuleCat.{u} R) ℕ := |
| 23 | ((CountableModuleProduct.functor R).mapHomologicalComplex (ComplexShape.up ℕ)).obj K |
| 24 | |
| 25 | def component (n : ℕ) : CochainComplex (ModuleCat.{u} R) ℕ := |
| 26 | (((evaluation (Discrete ℕ) (ModuleCat.{u} R)).obj ⟨n⟩).mapHomologicalComplex (ComplexShape.up ℕ)).obj K |
| 27 | |
| 28 | def homologyIso (i : ℕ) : (complex R K).homology i ≅ ModuleCat.of R (∀ n, (component R K n).homology i) := |
| 29 | (K.sc i).mapHomologyIso (CountableModuleProduct.functor R) ≪≫ |
| 30 | (LinearEquiv.piCongrRight (fun n => ((K.sc i).mapHomologyIso |
| 31 | ((evaluation (Discrete ℕ) (ModuleCat.{u} R)).obj ⟨n⟩)).symm.toLinearEquiv)).toModuleIso |
| 32 | |
| 33 | def projection (n : ℕ) : complex R K ⟶ component R K n := |
| 34 | (NatTrans.mapHomologicalComplex (CountableModuleProduct.projection R n) (ComplexShape.up ℕ)).app K |
| 35 | |
| 36 | theorem homologyIso_projection (i n : ℕ) : |
| 37 | (homologyIso R K i).hom ≫ ModuleCat.ofHom (LinearMap.proj n) = |
| 38 | HomologicalComplex.homologyMap (projection R K n) i := |
| 39 | ((K.sc i).homologyMap_mapNatTrans (CountableModuleProduct.projection R n)).symm |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CountableProductHomology |