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.Single.ComplexTransport |
| 2 | |
| 3 | /-! # Complex Transport Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransportComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Composition of actual augmentation transport through naturally isomorphic functors. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 14 | [Abelian C] [Abelian D] [Abelian E] |
| 15 | (F : C ⥤ D) (G : D ⥤ E) (H : C ⥤ E) [F.Additive] [G.Additive] [H.Additive] |
| 16 | (e : F ⋙ G ≅ H) {Z : C} {Z' : D} {Z'' : E} |
| 17 | (eF : F.obj Z ≅ Z') (eG : G.obj Z' ≅ Z'') (eH : H.obj Z ≅ Z'') |
| 18 | (he : G.map eF.hom ≫ eG.hom = (e.app Z).hom ≫ eH.hom) |
| 19 | |
| 20 | include he |
| 21 | |
| 22 | omit [Abelian C] [Abelian D] [Abelian E] [F.Additive] [G.Additive] [H.Additive] in |
| 23 | theorem inverse : eG.inv ≫ G.map eF.inv ≫ (e.app Z).hom = eH.inv := by |
| 24 | apply (cancel_mono eH.hom).mp |
| 25 | rw [Category.assoc, Category.assoc, ← he, ← Category.assoc (G.map eF.inv), ← G.map_comp, |
| 26 | eF.inv_hom_id, G.map_id, Category.id_comp, eG.inv_hom_id, eH.inv_hom_id] |
| 27 | |
| 28 | variable {K : CochainComplex C ℕ} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 29 | |
| 30 | theorem map : ComplexTransport.map G eG (ComplexTransport.map F eF ι) ≫ |
| 31 | ((NatIso.mapHomologicalComplex e (.up ℕ)).app K).hom = ComplexTransport.map H eH ι := by |
| 32 | apply HomologicalComplex.from_single_hom_ext |
| 33 | change (ComplexTransport.map G eG (ComplexTransport.map F eF ι)).f 0 ≫ |
| 34 | (e.app (K.X 0)).hom = (ComplexTransport.map H eH ι).f 0 |
| 35 | rw [ComplexTransport.map_zero, ComplexTransport.map_zero, |
| 36 | ComplexTransport.map_zero] |
| 37 | let b : Z ⟶ K.X 0 := ι.f 0 |
| 38 | change (eG.inv ≫ G.map (eF.inv ≫ F.map b)) ≫ (e.app (K.X 0)).hom = eH.inv ≫ H.map b |
| 39 | rw [G.map_comp] |
| 40 | have hnat : G.map (F.map b) ≫ (e.app (K.X 0)).hom = (e.app Z).hom ≫ H.map b := |
| 41 | e.hom.naturality b |
| 42 | rw [Category.assoc, Category.assoc, hnat, ← Category.assoc (G.map eF.inv), |
| 43 | ← Category.assoc, inverse F G H e eF eG eH he] |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransportComposition |