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 Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 2 | import Mathlib.Algebra.Homology.TotalComplex |
| 3 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 4 | import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor |
| 5 | |
| 6 | /-! # Bicomplex Homology -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BicomplexHomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual homology complex of a bicomplex agrees with row homology after flipping. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits |
| 15 | |
| 16 | variable {A : Type*} [Category* A] [Abelian A] |
| 17 | (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) |
| 18 | |
| 19 | def rows (p : ℕ) : CochainComplex A ℕ := |
| 20 | ((HomologicalComplex.homologyFunctor A (.up ℕ) p).mapHomologicalComplex (.up ℕ)).obj K.flip |
| 21 | |
| 22 | def component (p q : ℕ) : (rows K p).X q ≅ (K.homology p).X q := |
| 23 | (K.sc p).mapHomologyIso (HomologicalComplex.eval A (.up ℕ) q) |
| 24 | |
| 25 | theorem component_d (p q r : ℕ) : |
| 26 | (component K p q).hom ≫ (K.homology p).d q r = (rows K p).d q r ≫ (component K p r).hom := by |
| 27 | let S := K.sc p |
| 28 | let τ := HomologicalComplex.dNatTrans A (.up ℕ) q r |
| 29 | have h := S.homologyMap_mapNatTrans τ |
| 30 | change (S.mapHomologyIso (HomologicalComplex.eval A (.up ℕ) q)).hom ≫ τ.app S.homology = |
| 31 | ShortComplex.homologyMap (S.mapNatTrans τ) ≫ |
| 32 | (S.mapHomologyIso (HomologicalComplex.eval A (.up ℕ) r)).hom |
| 33 | rw [h] |
| 34 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 35 | |
| 36 | def iso (p : ℕ) : rows K p ≅ K.homology p := |
| 37 | HomologicalComplex.Hom.isoOfComponents (component K p) (fun q r _ => component_d K p q r) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BicomplexHomology |