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.CoefficientChange |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 3 | |
| 4 | /-! # Coefficient Cohomology -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientCohomology.Change |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient change on the original augmented Čech cohomology is |
| 11 | natural in the coefficient diagram. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u uA vA uB vB |
| 16 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 18 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] |
| 19 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] |
| 20 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] [G.PreservesHomology] |
| 21 | (P : Cᵒᵖ ⥤ A) |
| 22 | |
| 23 | def homologyIso (n : ℕ) : G.obj ((AugmentedOrdered.Cech.complex U P).homology n) ≅ |
| 24 | (AugmentedOrdered.Cech.complex U (P ⋙ G)).homology n := |
| 25 | (((AugmentedOrdered.Cech.complex U P).sc n).mapHomologyIso G).symm ≪≫ |
| 26 | homologyMapIso (CoefficientChange.complexIso U G P) n |
| 27 | |
| 28 | @[reassoc] |
| 29 | theorem homology_naturality {Q : Cᵒᵖ ⥤ A} (α : P ⟶ Q) (n : ℕ) : |
| 30 | G.map (homologyMap (AugmentedOrdered.CechFunctor.complexMap U α) n) ≫ (homologyIso U G Q n).hom = |
| 31 | (homologyIso U G P n).hom ≫ |
| 32 | homologyMap (AugmentedOrdered.CechFunctor.complexMap U (Functor.whiskerRight α G)) n := by |
| 33 | have h := congrArg (fun a => homologyMap a n) (CoefficientChange.naturality U G P α) |
| 34 | simp only [homologyMap_comp] at h |
| 35 | have hG : G.map (homologyMap (AugmentedOrdered.CechFunctor.complexMap U α) n) ≫ |
| 36 | (((AugmentedOrdered.Cech.complex U Q).sc n).mapHomologyIso G).inv = |
| 37 | (((AugmentedOrdered.Cech.complex U P).sc n).mapHomologyIso G).inv ≫ |
| 38 | homologyMap ((G.mapHomologicalComplex (.up ℕ)).map (AugmentedOrdered.CechFunctor.complexMap U α)) n := |
| 39 | ShortComplex.mapHomologyIso_inv_naturality |
| 40 | ((shortComplexFunctor A (.up ℕ) n).map (AugmentedOrdered.CechFunctor.complexMap U α)) G |
| 41 | simp only [homologyIso, Iso.trans_hom, Iso.symm_hom, homologyMapIso_hom] |
| 42 | rw [← Category.assoc, hG, Category.assoc, h, ← Category.assoc] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientCohomology.Change |