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 | /-! # Incoming Section -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IncomingSection.IncomingSectionFunctorRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction along a functor preserving a family of full-subcategory |
| 10 | conditions gives a natural map of the original section presheaves. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Opposite |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |
| 15 | universe u v w z |
| 16 | variable {C D : Type u} [Category.{v} C] [Category.{v} D] {A : Type z} [Preorder A] |
| 17 | (R : Type w) [CommRing R] (M : ModuleCat.{w} R) (t : D ⥤ C) |
| 18 | (P : A → ObjectProperty C) (Q : A → ObjectProperty D) |
| 19 | (h : ∀ a d, Q a d → P a (t.obj d)) |
| 20 | |
| 21 | def sections (a : A) (F : Cᵒᵖ ⥤ ModuleCat.{w} R) : IntegralComparison.Incoming.SectionRestriction.Sections R M (P a) F →ₗ[R] |
| 22 | IntegralComparison.Incoming.SectionRestriction.Sections R M (Q a) (t.op ⋙ F) where |
| 23 | toFun s := |
| 24 | { app U := s.app (op ⟨t.obj U.unop.obj, h a U.unop.obj U.unop.property⟩) |
| 25 | naturality U V α := s.naturality |
| 26 | (ObjectProperty.homMk (t.map α.unop.hom) : |
| 27 | (⟨t.obj V.unop.obj, h a V.unop.obj V.unop.property⟩ : (P a).FullSubcategory) ⟶ |
| 28 | ⟨t.obj U.unop.obj, h a U.unop.obj U.unop.property⟩).op } |
| 29 | map_add' _ _ := rfl |
| 30 | map_smul' _ _ := rfl |
| 31 | |
| 32 | variable (hP : Monotone P) (hQ : Monotone Q) |
| 33 | |
| 34 | def map (F : Cᵒᵖ ⥤ ModuleCat.{w} R) : IntegralComparison.Incoming.SectionPresheaf.presheaf R M P hP F ⟶ |
| 35 | IntegralComparison.Incoming.SectionPresheaf.presheaf R M Q hQ (t.op ⋙ F) where |
| 36 | app U := ModuleCat.ofHom (sections R M t P Q h U.unop F) |
| 37 | naturality U V α := by |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply LinearMap.ext |
| 40 | intro s |
| 41 | apply NatTrans.ext |
| 42 | funext T |
| 43 | rfl |
| 44 | |
| 45 | def transformation : IntegralComparison.Incoming.SectionPresheaf.functor R M P hP ⟶ |
| 46 | (Functor.whiskeringLeft _ _ _).obj t.op ⋙ IntegralComparison.Incoming.SectionPresheaf.functor R M Q hQ where |
| 47 | app F := IncomingSectionFunctorRestriction.map R M t P Q h hP hQ F |
| 48 | naturality F G β := by |
| 49 | apply NatTrans.ext |
| 50 | funext U |
| 51 | apply ModuleCat.hom_ext |
| 52 | apply LinearMap.ext |
| 53 | intro s |
| 54 | apply NatTrans.ext |
| 55 | funext T |
| 56 | rfl |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IncomingSection.IncomingSectionFunctorRestriction |