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.HomologySquare |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.MapHomologyIsoCompose |
| 3 | |
| 4 | /-! # Homology Composition -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologyComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical exact-functor homology coordinates compose with actual |
| 11 | complex isomorphisms, before any geometric complex is substituted. -/ |
| 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 | variable {A B D : Type*} [Category* A] [Category* B] [Category* D] |
| 16 | [Abelian A] [Abelian B] [Abelian D] |
| 17 | (F : A ⥤ B) (G : B ⥤ D) |
| 18 | [F.Additive] [G.Additive] [F.PreservesHomology] [G.PreservesHomology] |
| 19 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 20 | |
| 21 | omit [G.PreservesHomology] in |
| 22 | theorem composite_preservesHomology : (F ⋙ G).PreservesHomology where |
| 23 | preservesKernels _ _ f := by |
| 24 | let := Functor.PreservesHomology.preservesKernel F f |
| 25 | infer_instance |
| 26 | preservesCokernels _ _ f := by |
| 27 | let := Functor.PreservesHomology.preservesCokernel F f |
| 28 | infer_instance |
| 29 | |
| 30 | attribute [local instance] composite_preservesHomology |
| 31 | |
| 32 | variable {ι : Type*} {s : ComplexShape ι} |
| 33 | (K : HomologicalComplex A s) (L : HomologicalComplex B s) (M : HomologicalComplex D s) |
| 34 | (e : (F.mapHomologicalComplex s).obj K ≅ L) |
| 35 | (d : (G.mapHomologicalComplex s).obj L ≅ M) |
| 36 | (h : ((F ⋙ G).mapHomologicalComplex s).obj K ≅ M) |
| 37 | (eh : (G.mapHomologicalComplex s).map e.hom ≫ d.hom = h.hom) |
| 38 | (q : ι) |
| 39 | |
| 40 | include eh in |
| 41 | theorem comparison : |
| 42 | G.map (HomologySquare.iso F e q).hom ≫ |
| 43 | (HomologySquare.iso G d q).hom = |
| 44 | (HomologySquare.iso (F ⋙ G) h q).hom := by |
| 45 | have hn := ShortComplex.mapHomologyIso_inv_naturality |
| 46 | ((shortComplexFunctor B s q).map e.hom) G |
| 47 | change G.map (homologyMap e.hom q) ≫ ((L.sc q).mapHomologyIso G).inv = |
| 48 | ((((F.mapHomologicalComplex s).obj K).sc q).mapHomologyIso G).inv ≫ |
| 49 | homologyMap ((G.mapHomologicalComplex s).map e.hom) q at hn |
| 50 | simp only [HomologySquare.iso, Iso.trans_hom, Iso.symm_hom, |
| 51 | homologyMapIso_hom, G.map_comp, Category.assoc] |
| 52 | rw [← Category.assoc (G.map (homologyMap e.hom q)), hn] |
| 53 | simp only [Category.assoc] |
| 54 | rw [← homologyMap_comp, eh, MapHomologyIsoCompose.inv_comp] |
| 55 | simp only [Category.assoc] |
| 56 | rfl |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologyComposition |