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.DualComplexHomology |
| 2 | |
| 3 | /-! # Homology Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologySquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A commuting square of complexes gives the corresponding commuting |
| 10 | square for canonical exact-functor homology comparisons. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | variable {C D : Type*} [Category* C] [Category* D] [Abelian C] [Abelian D] |
| 18 | (F : C ⥤ D) [F.Additive] [F.PreservesHomology] |
| 19 | {ι : Type*} {c : ComplexShape ι} |
| 20 | {K L : HomologicalComplex C c} {K' L' : HomologicalComplex D c} |
| 21 | |
| 22 | def iso (e : (F.mapHomologicalComplex c).obj K ≅ K') (i : ι) : |
| 23 | F.obj (K.homology i) ≅ K'.homology i := |
| 24 | ((K.sc i).mapHomologyIso F).symm ≪≫ homologyMapIso e i |
| 25 | |
| 26 | theorem naturality (a : K ⟶ L) (b : K' ⟶ L') |
| 27 | (eK : (F.mapHomologicalComplex c).obj K ≅ K') |
| 28 | (eL : (F.mapHomologicalComplex c).obj L ≅ L') |
| 29 | (h : (F.mapHomologicalComplex c).map a ≫ eL.hom = eK.hom ≫ b) (i : ι) : |
| 30 | F.map (homologyMap a i) ≫ (iso F eL i).hom = |
| 31 | (iso F eK i).hom ≫ homologyMap b i := by |
| 32 | have h₁ := ShortComplex.mapHomologyIso_inv_naturality |
| 33 | ((shortComplexFunctor C c i).map a) F |
| 34 | change F.map (homologyMap a i) ≫ ((L.sc i).mapHomologyIso F).inv = |
| 35 | ((K.sc i).mapHomologyIso F).inv ≫ homologyMap ((F.mapHomologicalComplex c).map a) i at h₁ |
| 36 | have h₂ := congrArg (fun f => homologyMap f i) h |
| 37 | simp only [homologyMap_comp] at h₂ |
| 38 | exact DualComplexHomology.compose_squares _ _ _ _ _ _ _ h₁ h₂ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologySquare |