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.CountableProductHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AllBoundedSectionsFunctor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.ComplexExact |
| 4 | |
| 5 | /-! # Family -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.Family |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: all bounded section complexes as a countable family |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustivePresheafSections |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] (R : Type u) [CommRing R] |
| 22 | (P : ℕ → ObjectProperty C) (M : ModuleCat.{u} R) |
| 23 | |
| 24 | def functor : (Cᵒᵖ ⥤ ModuleCat.{u} R) ⥤ (Discrete ℕ ⥤ ModuleCat.{u} R) where |
| 25 | obj F := Discrete.functor (fun n => ModuleCat.of R (ExhaustivePresheafSections.Stage P M F n)) |
| 26 | map β := Discrete.natTrans (fun n => ModuleCat.ofHom (Linear.rightComp R _ (Functor.whiskerLeft (P n.as).ι.op β))) |
| 27 | map_id F := by |
| 28 | apply NatTrans.ext |
| 29 | funext n |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro a |
| 33 | exact Category.comp_id a |
| 34 | map_comp α β := by |
| 35 | apply NatTrans.ext |
| 36 | funext n |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply LinearMap.ext |
| 39 | intro a |
| 40 | exact (Category.assoc a (Functor.whiskerLeft (P n.as).ι.op α) (Functor.whiskerLeft (P n.as).ι.op β)).symm |
| 41 | |
| 42 | instance additive : (Family.functor R P M).Additive where |
| 43 | map_add {F G} α β := by |
| 44 | apply NatTrans.ext |
| 45 | funext n |
| 46 | apply ModuleCat.hom_ext |
| 47 | apply LinearMap.ext |
| 48 | intro a |
| 49 | exact Preadditive.comp_add _ _ _ a (Functor.whiskerLeft (P n.as).ι.op α) (Functor.whiskerLeft (P n.as).ι.op β) |
| 50 | |
| 51 | def productIso : Family.functor R P M ⋙ CountableModuleProduct.functor R ≅ |
| 52 | AllBoundedSectionsFunctor.functor R P M := Iso.refl _ |
| 53 | |
| 54 | def complex (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ) : |
| 55 | CochainComplex (Discrete ℕ ⥤ ModuleCat.{u} R) ℕ := |
| 56 | ((Family.functor R P M).mapHomologicalComplex (ComplexShape.up ℕ)).obj K |
| 57 | |
| 58 | def productComplexIso (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ) : |
| 59 | CountableProductHomology.complex R (complex R P M K) ≅ |
| 60 | ComplexExact.allComplex R P M K := Iso.refl _ |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.Family |