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.Incoming.SectionPresheaf |
| 2 | |
| 3 | /-! # Section Functor Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionFunctorMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A functor preserving the chosen open subsites induces the original restriction map on their section presheaves. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Opposite |
| 12 | |
| 13 | section |
| 14 | |
| 15 | universe u v w z |
| 16 | |
| 17 | variable {C D : Type u} [Category.{v} C] [Category.{v} D] |
| 18 | (F : C ⥤ D) (R : Type w) [CommRing R] (M : ModuleCat.{w} R) |
| 19 | (P : ObjectProperty C) (Q : ObjectProperty D) |
| 20 | (h : ∀ X, P X → Q (F.obj X)) |
| 21 | |
| 22 | def lift : P.FullSubcategory ⥤ Q.FullSubcategory := |
| 23 | Q.lift (P.ι ⋙ F) (fun X => h X.obj X.property) |
| 24 | |
| 25 | def sectionMap (K : Dᵒᵖ ⥤ ModuleCat.{w} R) : |
| 26 | SectionRestriction.Sections R M Q K →ₗ[R] |
| 27 | SectionRestriction.Sections R M P (F.op ⋙ K) where |
| 28 | toFun a := Functor.whiskerLeft (SectionFunctorMap.lift F P Q h).op a |
| 29 | map_add' _ _ := rfl |
| 30 | map_smul' _ _ := rfl |
| 31 | |
| 32 | end |
| 33 | |
| 34 | universe u v w z |
| 35 | |
| 36 | variable {C D : Type u} [Category.{v} C] [Category.{v} D] |
| 37 | (F : C ⥤ D) (R : Type w) [CommRing R] (M : ModuleCat.{w} R) |
| 38 | {A : Type z} [Preorder A] (P : A → ObjectProperty C) (Q : A → ObjectProperty D) |
| 39 | (hP : Monotone P) (hQ : Monotone Q) (h : ∀ a X, P a X → Q a (F.obj X)) |
| 40 | |
| 41 | def presheafMap (K : Dᵒᵖ ⥤ ModuleCat.{w} R) : |
| 42 | SectionPresheaf.presheaf R M Q hQ K ⟶ |
| 43 | SectionPresheaf.presheaf R M P hP (F.op ⋙ K) where |
| 44 | app U := ModuleCat.ofHom (sectionMap F R M (P U.unop) (Q U.unop) (h U.unop) K) |
| 45 | naturality U V α := by |
| 46 | apply ModuleCat.hom_ext |
| 47 | apply LinearMap.ext |
| 48 | intro a |
| 49 | apply NatTrans.ext |
| 50 | funext X |
| 51 | rfl |
| 52 | |
| 53 | def functorMap : SectionPresheaf.functor R M Q hQ ⟶ |
| 54 | (Functor.whiskeringLeft _ _ (ModuleCat.{w} R)).obj F.op ⋙ SectionPresheaf.functor R M P hP where |
| 55 | app K := presheafMap F R M P Q hP hQ h K |
| 56 | naturality K L α := by |
| 57 | apply NatTrans.ext |
| 58 | funext U |
| 59 | apply ModuleCat.hom_ext |
| 60 | apply LinearMap.ext |
| 61 | intro a |
| 62 | apply NatTrans.ext |
| 63 | funext X |
| 64 | rfl |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionFunctorMap |