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.ExhaustiveLinearSections |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Basic |
| 3 | |
| 4 | /-! # Exhaustive Section Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveSectionNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: bounded-section reconstruction is natural in the coefficient presheaf |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustivePresheafSections OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveLinearSections |
| 17 | |
| 18 | universe u v w z t |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{z} D] |
| 21 | [Preadditive D] (R : Type t) [CommRing R] [Linear R D] |
| 22 | (P : ℕ → ObjectProperty C) (hP : Monotone P) (hC : ∀ U, ∃ n, P n U) (M : D) |
| 23 | |
| 24 | def globalSectionsFunctor : (Cᵒᵖ ⥤ D) ⥤ ModuleCat.{max u z} R where |
| 25 | obj F := ModuleCat.of R ((Functor.const Cᵒᵖ).obj M ⟶ F) |
| 26 | map β := ModuleCat.ofHom (Linear.rightComp R _ β) |
| 27 | map_id F := by |
| 28 | apply ModuleCat.hom_ext |
| 29 | apply LinearMap.ext |
| 30 | intro a |
| 31 | exact Category.comp_id a |
| 32 | map_comp α β := by |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply LinearMap.ext |
| 35 | intro a |
| 36 | exact (Category.assoc a α β).symm |
| 37 | |
| 38 | def map {F G : Cᵒᵖ ⥤ D} (β : F ⟶ G) : |
| 39 | ExhaustiveLinearSections.compatibleSubmodule R P hP M F →ₗ[R] ExhaustiveLinearSections.compatibleSubmodule R P hP M G where |
| 40 | toFun a := ⟨fun n => a.val n ≫ Functor.whiskerLeft (P n).ι.op β, by |
| 41 | intro n m hnm |
| 42 | exact congrArg (fun t => t ≫ Functor.whiskerLeft (P n).ι.op β) (a.property n m hnm)⟩ |
| 43 | map_add' a b := by |
| 44 | apply Subtype.ext |
| 45 | funext n |
| 46 | exact Preadditive.add_comp _ _ _ (a.val n) (b.val n) (Functor.whiskerLeft (P n).ι.op β) |
| 47 | map_smul' r a := by |
| 48 | apply Subtype.ext |
| 49 | funext n |
| 50 | exact Linear.smul_comp _ _ _ r (a.val n) (Functor.whiskerLeft (P n).ι.op β) |
| 51 | |
| 52 | def boundedSectionsFunctor : (Cᵒᵖ ⥤ D) ⥤ ModuleCat.{max u z} R where |
| 53 | obj F := ModuleCat.of R (ExhaustiveLinearSections.compatibleSubmodule R P hP M F) |
| 54 | map β := ModuleCat.ofHom (ExhaustiveSectionNaturality.map R P hP M β) |
| 55 | map_id F := by |
| 56 | apply ModuleCat.hom_ext |
| 57 | apply LinearMap.ext |
| 58 | intro a |
| 59 | apply Subtype.ext |
| 60 | funext n |
| 61 | exact Category.comp_id (a.val n) |
| 62 | map_comp α β := by |
| 63 | apply ModuleCat.hom_ext |
| 64 | apply LinearMap.ext |
| 65 | intro a |
| 66 | apply Subtype.ext |
| 67 | funext n |
| 68 | exact (Category.assoc (a.val n) (Functor.whiskerLeft (P n).ι.op α) (Functor.whiskerLeft (P n).ι.op β)).symm |
| 69 | |
| 70 | instance globalSectionsFunctor_additive : (globalSectionsFunctor (C := C) R M).Additive where |
| 71 | map_add {F G} α β := by |
| 72 | apply ModuleCat.hom_ext |
| 73 | apply LinearMap.ext |
| 74 | intro a |
| 75 | exact Preadditive.comp_add _ _ _ a α β |
| 76 | |
| 77 | instance boundedSectionsFunctor_additive : (boundedSectionsFunctor R P hP M).Additive where |
| 78 | map_add {F G} α β := by |
| 79 | apply ModuleCat.hom_ext |
| 80 | apply LinearMap.ext |
| 81 | intro a |
| 82 | apply Subtype.ext |
| 83 | funext n |
| 84 | exact Preadditive.comp_add _ _ _ (a.val n) (Functor.whiskerLeft (P n).ι.op α) (Functor.whiskerLeft (P n).ι.op β) |
| 85 | |
| 86 | def iso : globalSectionsFunctor (C := C) R M ≅ boundedSectionsFunctor R P hP M := |
| 87 | NatIso.ofComponents (fun F => (ExhaustiveLinearSections.linearEquiv R P hP hC M F).toModuleIso) (by |
| 88 | intro F G β |
| 89 | apply ModuleCat.hom_ext |
| 90 | apply LinearMap.ext |
| 91 | intro a |
| 92 | apply Subtype.ext |
| 93 | funext n |
| 94 | rfl) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveSectionNaturality |