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.Functor.SingleCoefficientChange |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleMapCoordinates |
| 3 | |
| 4 | /-! # Single Coefficient Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleCoefficientIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact coefficient change followed by a specified natural |
| 11 | isomorphism preserves the original single-total coordinate isomorphism. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v w z r s |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 17 | {D : Type w} [Category.{z} D] [Abelian D] [HasCoproducts.{0} D] |
| 18 | {E : Type r} [Category.{s} E] [Abelian E] [HasCoproducts.{0} E] |
| 19 | (F : C ⥤ CochainComplex D ℕ) [F.Additive] |
| 20 | (G : D ⥤ E) [G.Additive] [G.PreservesHomology] |
| 21 | (H : C ⥤ CochainComplex E ℕ) [H.Additive] |
| 22 | (e : SingleCoefficientChange.mappedFunctor F G ≅ H) |
| 23 | (M : C) (c : ℕ) |
| 24 | |
| 25 | abbrev bicomplexIso := |
| 26 | (NatIso.mapHomologicalComplex e (.up ℕ)).app ((single C (.up ℕ) c).obj M) |
| 27 | |
| 28 | def totalIso := (SingleCoefficientChange.totalIso F G M c).symm ≪≫ |
| 29 | HomologicalComplex₂.total.mapIso (bicomplexIso F G H e M c) (.up ℕ) |
| 30 | |
| 31 | def homologyIso (n : ℕ) := |
| 32 | ((((SingleTotal.bicomplex F M c).total (.up ℕ)).sc (n+c)).mapHomologyIso G).symm ≪≫ |
| 33 | homologyMapIso (totalIso F G H e M c) (n+c) |
| 34 | |
| 35 | def coefficientIso (n : ℕ) := |
| 36 | (((F.obj M).sc n).mapHomologyIso G).symm ≪≫ homologyMapIso (e.app M) n |
| 37 | |
| 38 | theorem comparison (n : ℕ) : |
| 39 | (homologyIso F G H e M c n).hom ≫ (SingleTotal.homologyIso H M c n).hom = |
| 40 | G.map (SingleTotal.homologyIso F M c n).hom ≫ |
| 41 | (coefficientIso F G H e M n).hom := by |
| 42 | have hc := SingleCoefficientChange.comparison F G M c n |
| 43 | have he := SingleMapCoordinates.naturality |
| 44 | (SingleCoefficientChange.mappedFunctor F G) H e.hom M c n |
| 45 | have hc' : |
| 46 | homologyMap (SingleCoefficientChange.totalIso F G M c).inv (n+c) ≫ |
| 47 | (SingleTotal.homologyIso (SingleCoefficientChange.mappedFunctor F G) M c n).hom = |
| 48 | ((((SingleTotal.bicomplex F M c).total (.up ℕ)).sc (n+c)).mapHomologyIso G).hom ≫ |
| 49 | G.map (SingleTotal.homologyIso F M c n).hom ≫ |
| 50 | (((F.obj M).sc n).mapHomologyIso G).inv := by |
| 51 | apply (cancel_mono (((F.obj M).sc n).mapHomologyIso G).hom).mp |
| 52 | simpa only [Category.assoc, Iso.inv_hom_id, Category.comp_id] using hc |
| 53 | simp only [homologyIso, totalIso, coefficientIso, Iso.trans_hom, Iso.symm_hom, |
| 54 | homologyMapIso_hom, homologyMap_comp, Category.assoc] |
| 55 | erw [he] |
| 56 | erw [← Category.assoc (homologyMap (SingleCoefficientChange.totalIso F G M c).inv (n+c)), hc'] |
| 57 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 58 | rfl |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleCoefficientIso |