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.Crystalline.Cohomology.Cech.CochainLimits |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison |
| 4 | |
| 5 | /-! # Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical coefficient change for the actual Čech total complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits |
| 14 | |
| 15 | universe w uC vC uA vA uB vB |
| 16 | |
| 17 | variable {C : Type uC} [Category.{vC} C] |
| 18 | {A : Type uA} [Category.{vA} A] [Preadditive A] [HasProducts.{w} A] |
| 19 | {B : Type uB} [Category.{vB} B] [Preadditive B] [HasProducts.{w} B] |
| 20 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{w, w} G] |
| 21 | (E : SimplicialObject (FormalCoproduct.{w} C)) |
| 22 | (M : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 23 | |
| 24 | def bicomplex : HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 25 | ((FormalCoproduct.cochainComplexFunctor E).mapHomologicalComplex (.up ℕ)).obj M |
| 26 | |
| 27 | def mappedComplex : CochainComplex (Cᵒᵖ ⥤ B) ℕ := |
| 28 | (((Functor.whiskeringRight Cᵒᵖ A B).obj G).mapHomologicalComplex (.up ℕ)).obj M |
| 29 | |
| 30 | variable [HasCoproducts.{0} A] [HasCoproducts.{0} B] |
| 31 | |
| 32 | def bicomplexIso : |
| 33 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G (bicomplex E M) ≅ bicomplex E (mappedComplex G M) := |
| 34 | HomologicalComplex.Hom.isoOfComponents |
| 35 | (fun n => AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G E (M.X n)) |
| 36 | (fun n m _ => (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.naturality G E (M.d n m)).symm) |
| 37 | |
| 38 | def totalIso [HasFiniteBiproducts A] : |
| 39 | (G.mapHomologicalComplex (.up ℕ)).obj ((bicomplex E M).total (.up ℕ)) ≅ |
| 40 | (bicomplex E (mappedComplex G M)).total (.up ℕ) := |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G (bicomplex E M)).symm ≪≫ |
| 42 | HomologicalComplex₂.total.mapIso (bicomplexIso G E M) (.up ℕ) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total |