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.OrderedCech.Reindex |
| 2 | |
| 3 | /-! # Reindex Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ordered inverse-image coordinates compose through the original |
| 10 | chosen finite products. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u v |
| 15 | private theorem components {A : Type v} [Category A] {ι : Type u} [HasProducts.{u} A] |
| 16 | {L M N : ι → A} (e : ∀ i, L i ≅ M i) (f : ∀ i, M i ≅ N i) (g : ∀ i, L i ≅ N i) |
| 17 | (h : ∀ i, (e i).hom ≫ (f i).hom = (g i).hom) : |
| 18 | (Pi.mapIso e).hom ≫ (Pi.mapIso f).hom = (Pi.mapIso g).hom := by |
| 19 | apply Pi.hom_ext |
| 20 | intro i |
| 21 | simp only [Category.assoc, Pi.mapIso_hom_π, Pi.mapIso_hom_π_assoc, h] |
| 22 | |
| 23 | variable {C D E : Type u} |
| 24 | [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 25 | [Preorder E] [HasFiniteProducts E] |
| 26 | (r : C ⥤ D) [PreservesFiniteLimits r] (s : D ⥤ E) [PreservesFiniteLimits s] |
| 27 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 28 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] (P : Eᵒᵖ ⥤ A) |
| 29 | |
| 30 | theorem composition : |
| 31 | (Reindex.iso r U (s.op ⋙ P)).hom ≫ |
| 32 | (Reindex.iso s (r.obj ∘ U) P).hom = |
| 33 | (Reindex.iso (r ⋙ s) U P).hom := by |
| 34 | apply HomologicalComplex.Hom.ext |
| 35 | funext n |
| 36 | change (AugmentedOrdered.CechReindex.componentIso r U (s.op ⋙ P) (n+1)).hom ≫ |
| 37 | (AugmentedOrdered.CechReindex.componentIso s (r.obj ∘ U) P (n+1)).hom = |
| 38 | (AugmentedOrdered.CechReindex.componentIso (r ⋙ s) U P (n+1)).hom |
| 39 | dsimp only [AugmentedOrdered.CechReindex.componentIso] |
| 40 | apply components |
| 41 | intro a |
| 42 | change P.map _ ≫ P.map _ = P.map _ |
| 43 | rw [← P.map_comp] |
| 44 | congr 1 |
| 45 | |
| 46 | theorem inverse_composition : |
| 47 | (Reindex.iso r U (s.op ⋙ P)).inv ≫ |
| 48 | (Reindex.iso (r ⋙ s) U P).hom = |
| 49 | (Reindex.iso s (r.obj ∘ U) P).hom := by |
| 50 | rw [← composition, Iso.inv_hom_id_assoc] |
| 51 | |
| 52 | theorem homology (n : ℕ) : |
| 53 | homologyMap (Reindex.iso r U (s.op ⋙ P)).inv n ≫ |
| 54 | homologyMap (Reindex.iso (r ⋙ s) U P).hom n = |
| 55 | homologyMap (Reindex.iso s (r.obj ∘ U) P).hom n := by |
| 56 | simpa only [homologyMap_comp] using |
| 57 | congrArg (fun a => homologyMap a n) (inverse_composition r s U P) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexComposition |