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.AugmentedCech.CoefficientNaturality |
| 2 | |
| 3 | /-! # Coefficient Homology Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientHomologyNaturality.Total |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient comparison on the original augmented Cech cohomology |
| 10 | is natural for every map of coefficient complexes. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u vA uA vB uB |
| 15 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 16 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 17 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] |
| 18 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] |
| 19 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] |
| 20 | [HasCoproducts.{0} A] [HasCoproducts.{0} B] [HasFiniteBiproducts A] |
| 21 | [G.PreservesHomology] |
| 22 | {K L : CochainComplex (Cᵒᵖ ⥤ A) ℕ} (a : K ⟶ L) |
| 23 | |
| 24 | theorem homologyIso_naturality (q : ℕ) : |
| 25 | G.map (homologyMap (CoefficientNaturality.Total.totalMap U a) q) ≫ (CoefficientTotal.homologyIso U G L q).hom = |
| 26 | (CoefficientTotal.homologyIso U G K q).hom ≫ homologyMap (CoefficientNaturality.Total.totalMap U (CoefficientNaturality.Total.mappedComplexMap G a)) q := by |
| 27 | have ht := congrArg (fun f => homologyMap f q) (CoefficientNaturality.Total.totalIso_naturality U G a) |
| 28 | simp only [homologyMap_comp] at ht |
| 29 | have hn := ShortComplex.mapHomologyIso_inv_naturality |
| 30 | ((shortComplexFunctor A (.up ℕ) q).map (CoefficientNaturality.Total.totalMap U a)) G |
| 31 | change G.map (homologyMap (CoefficientNaturality.Total.totalMap U a) q) ≫ |
| 32 | ((((AugmentedOrdered.CechFunctor.bicomplex U L).total (.up ℕ)).sc q).mapHomologyIso G).inv = |
| 33 | ((((AugmentedOrdered.CechFunctor.bicomplex U K).total (.up ℕ)).sc q).mapHomologyIso G).inv ≫ |
| 34 | homologyMap ((G.mapHomologicalComplex (.up ℕ)).map (CoefficientNaturality.Total.totalMap U a)) q at hn |
| 35 | change G.map (homologyMap (CoefficientNaturality.Total.totalMap U a) q) ≫ |
| 36 | (((((AugmentedOrdered.CechFunctor.bicomplex U L).total (.up ℕ)).sc q).mapHomologyIso G).inv ≫ |
| 37 | homologyMap (CoefficientTotal.totalIso U G L).hom q) = |
| 38 | (((((AugmentedOrdered.CechFunctor.bicomplex U K).total (.up ℕ)).sc q).mapHomologyIso G).inv ≫ |
| 39 | homologyMap (CoefficientTotal.totalIso U G K).hom q) ≫ _ |
| 40 | rw [← Category.assoc, hn, Category.assoc, ht, ← Category.assoc] |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientHomologyNaturality.Total |