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 Mathlib.CategoryTheory.Preadditive.Biproducts |
| 2 | import Mathlib.CategoryTheory.Preadditive.Opposite |
| 3 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Biproducts |
| 4 | |
| 5 | /-! # Coproduct Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.CoproductIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Additive contravariant functors preserve finite direct sums, with |
| 12 | the maps given by the actual inclusions and projections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v w z |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Preadditive C] [HasFiniteBiproducts C] |
| 19 | {D : Type w} [Category.{z} D] [Preadditive D] [HasFiniteBiproducts D] |
| 20 | (F : Cᵒᵖ ⥤ D) [F.Additive] {I : Type} [Fintype I] (M : I → C) |
| 21 | |
| 22 | open scoped Classical in |
| 23 | def biproductIso : F.obj (op (⨁ M)) ≅ ⨁ (fun i => F.obj (op (M i))) where |
| 24 | hom := biproduct.lift (fun i => F.map (biproduct.ι M i).op) |
| 25 | inv := biproduct.desc (fun i => F.map (biproduct.π M i).op) |
| 26 | hom_inv_id := by |
| 27 | rw [biproduct.lift_desc] |
| 28 | simp only [← F.map_comp, ← F.map_sum, ← op_comp, ← op_sum, |
| 29 | biproduct.total, op_id, F.map_id] |
| 30 | inv_hom_id := by |
| 31 | apply biproduct.hom_ext' |
| 32 | intro i |
| 33 | apply biproduct.hom_ext |
| 34 | intro j |
| 35 | simp only [Category.comp_id, ← Category.assoc, biproduct.ι_desc] |
| 36 | rw [Category.assoc, biproduct.lift_π, ← F.map_comp, ← op_comp] |
| 37 | by_cases hij : i = j |
| 38 | · subst j |
| 39 | simp |
| 40 | · simp [hij, Ne.symm hij] |
| 41 | |
| 42 | def coproductIso : F.obj (op (∐ M)) ≅ ∐ (fun i => F.obj (op (M i))) := |
| 43 | F.mapIso (biproduct.isoCoproduct M).op ≪≫ biproductIso F M ≪≫ |
| 44 | biproduct.isoCoproduct (fun i => F.obj (op (M i))) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.CoproductIso |