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.OrderedCech.CoefficientChange |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 4 | |
| 5 | /-! # Coefficient Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual nonempty ordered total and its cohomology commute with an |
| 12 | exact product-preserving additive coefficient functor. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u vA uA vB uB |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 20 | {A : Type uA} [Category.{vA} A] [Preadditive A] [HasProducts.{u} A] |
| 21 | {B : Type uB} [Category.{vB} B] [Preadditive B] [HasProducts.{u} B] |
| 22 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] |
| 23 | [HasCoproducts.{0} A] [HasCoproducts.{0} B] |
| 24 | (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 25 | |
| 26 | abbrev mapped := (((Functor.whiskeringRight Cᵒᵖ A B).obj G).mapHomologicalComplex (.up ℕ)).obj K |
| 27 | |
| 28 | abbrev bicomplex (L : CochainComplex (Cᵒᵖ ⥤ A) ℕ) : |
| 29 | HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 30 | ((OrderedCech.Functor.Projection.functor U).mapHomologicalComplex (.up ℕ)).obj L |
| 31 | |
| 32 | def bicomplexIso : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G (bicomplex U K) ≅ bicomplex U (mapped G K) := |
| 33 | HomologicalComplex.Hom.isoOfComponents |
| 34 | (fun q => CoefficientChange.complexIso U G (K.X q)) |
| 35 | (fun q r _ => (CoefficientChange.naturality U G (K.X q) (K.d q r)).symm) |
| 36 | |
| 37 | def totalIso [HasFiniteBiproducts A] : |
| 38 | (G.mapHomologicalComplex (.up ℕ)).obj ((bicomplex U K).total (.up ℕ)) ≅ |
| 39 | (bicomplex U (mapped G K)).total (.up ℕ) := |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (bicomplex U K)).symm ≪≫ |
| 41 | HomologicalComplex₂.total.mapIso (bicomplexIso U G K) (.up ℕ) |
| 42 | |
| 43 | variable [HasFiniteBiproducts A] [CategoryWithHomology A] [CategoryWithHomology B] |
| 44 | [G.PreservesHomology] |
| 45 | |
| 46 | def homologyIso (q : ℕ) : G.obj (((bicomplex U K).total (.up ℕ)).homology q) ≅ |
| 47 | ((bicomplex U (mapped G K)).total (.up ℕ)).homology q := |
| 48 | ((((bicomplex U K).total (.up ℕ)).sc q).mapHomologyIso G).symm ≪≫ |
| 49 | homologyMapIso (totalIso U G K) q |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientTotal |