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.HomologyPreservationCompose |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Abelian |
| 3 | |
| 4 | /-! # Map Homology Iso Compose -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.MapHomologyIsoCompose |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical homology comparison for a composite functor is |
| 11 | the composite of the canonical comparisons. This keeps scalar extension |
| 12 | and affine sections normalized on the original homology object. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 20 | [Abelian C] [Abelian D] [Abelian E] |
| 21 | (F : C ⥤ D) (G : D ⥤ E) [F.PreservesZeroMorphisms] [G.PreservesZeroMorphisms] |
| 22 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] (S : ShortComplex C) |
| 23 | [F.PreservesLeftHomologyOf S] |
| 24 | |
| 25 | local instance : (F ⋙ G).PreservesLeftHomologyOf S := |
| 26 | HomologyPreservationCompose.left F G S |
| 27 | |
| 28 | theorem mapped_cycles (h : S.LeftHomologyData) : |
| 29 | (h.map (F ⋙ G)).cyclesIso.hom = ((h.map F).map G).cyclesIso.hom := by |
| 30 | apply (cancel_mono (h.map (F ⋙ G)).i).mp |
| 31 | exact (h.map (F ⋙ G)).cyclesIso_hom_comp_i.trans |
| 32 | ((h.map F).map G).cyclesIso_hom_comp_i.symm |
| 33 | |
| 34 | theorem mapped_homology (h : S.LeftHomologyData) : |
| 35 | (h.map (F ⋙ G)).homologyIso.hom = ((h.map F).map G).homologyIso.hom := by |
| 36 | apply (cancel_epi ((S.map F).map G).homologyπ).mp |
| 37 | exact (h.map (F ⋙ G)).homologyπ_comp_homologyIso_hom.trans |
| 38 | ((congrArg (fun k => k ≫ (h.map (F ⋙ G)).π) (mapped_cycles F G S h)).trans |
| 39 | ((h.map F).map G).homologyπ_comp_homologyIso_hom.symm) |
| 40 | |
| 41 | theorem iso_comp : |
| 42 | S.mapHomologyIso (F ⋙ G) = |
| 43 | (S.map F).mapHomologyIso G ≪≫ G.mapIso (S.mapHomologyIso F) := by |
| 44 | rw [(S.homologyData.left.map F).mapHomologyIso_eq G] |
| 45 | apply Iso.ext |
| 46 | change (S.homologyData.left.map (F ⋙ G)).homologyIso.hom = |
| 47 | (((S.homologyData.left.map F).map G).homologyIso.hom ≫ |
| 48 | G.map (S.homologyData.left.map F).homologyIso.inv) ≫ |
| 49 | G.map (S.homologyData.left.map F).homologyIso.hom |
| 50 | rw [Category.assoc, ← G.map_comp, Iso.inv_hom_id, G.map_id] |
| 51 | erw [Category.comp_id] |
| 52 | exact mapped_homology F G S S.homologyData.left |
| 53 | |
| 54 | @[reassoc] |
| 55 | theorem hom_comp : |
| 56 | (S.mapHomologyIso (F ⋙ G)).hom = |
| 57 | ((S.map F).mapHomologyIso G).hom ≫ G.map (S.mapHomologyIso F).hom := |
| 58 | congrArg Iso.hom (iso_comp F G S) |
| 59 | |
| 60 | @[reassoc] |
| 61 | theorem inv_comp : |
| 62 | (S.mapHomologyIso (F ⋙ G)).inv = |
| 63 | G.map (S.mapHomologyIso F).inv ≫ ((S.map F).mapHomologyIso G).inv := |
| 64 | congrArg Iso.inv (iso_comp F G S) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.MapHomologyIsoCompose |