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.AlgebraicGeometry.Picard.Homomorphisms.PullbackHomGluing |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.ModuleHomTransport |
| 3 | |
| 4 | /-! # Open Hom Equality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.OpenHomEquality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equality of module morphisms is local on the source scheme. |
| 11 | Transport detects the corresponding equality after pullback. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | theorem moduleHom_eq_of_open_cover {X : Scheme.{u}} {M N : X.Modules} |
| 22 | {ι : Type v} (U : ι → X.Opens) (hU : ∀ x : X, ∃ i, x ∈ U i) (a b : M ⟶ N) |
| 23 | (hab : ∀ i, (Scheme.Modules.pullback (U i).ι).map a = (Scheme.Modules.pullback (U i).ι).map b) : |
| 24 | a = b := by |
| 25 | apply (GlobalHomSections.Construction.moduleHomGlobalSectionEquiv M N).injective |
| 26 | apply (InternalHom.Construction.moduleInternalHom M N).isSheaf.section_ext |
| 27 | intro x _ |
| 28 | obtain ⟨i, hi⟩ := hU x |
| 29 | refine ⟨U i, le_top, hi, ?_⟩ |
| 30 | exact (PullbackHomGluing.Construction.pullbackHomOnOpenEquiv_map M N (U i) a).symm.trans |
| 31 | ((congrArg (PullbackHomGluing.Construction.pullbackHomOnOpenEquiv M N (U i)) (hab i)).trans |
| 32 | (PullbackHomGluing.Construction.pullbackHomOnOpenEquiv_map M N (U i) b)) |
| 33 | |
| 34 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) {L M : Y.Modules} |
| 35 | |
| 36 | theorem moduleHomTransport_map_eq_of_eq |
| 37 | (a b : (Scheme.Modules.pullback f).obj L ⟶ (Scheme.Modules.pullback f).obj M) |
| 38 | {T : Scheme.{u}} (t : T ⟶ X) (q : T ⟶ Y) (ht : t ≫ f = q) |
| 39 | (hab : ModuleHomTransport.Construction.moduleHomTransport f a t q ht = ModuleHomTransport.Construction.moduleHomTransport f b t q ht) : |
| 40 | (Scheme.Modules.pullback t).map a = (Scheme.Modules.pullback t).map b := by |
| 41 | have h := congrArg (fun z => |
| 42 | (Scheme.Modules.pullbackComp t f ≪≫ Scheme.Modules.pullbackCongr ht).hom.app L ≫ z ≫ |
| 43 | (Scheme.Modules.pullbackComp t f ≪≫ Scheme.Modules.pullbackCongr ht).inv.app M) hab |
| 44 | rw [ModuleHomTransport.Construction.moduleHomTransport_native f a t q ht, ModuleHomTransport.Construction.moduleHomTransport_native f b t q ht] at h |
| 45 | simp only [Category.assoc, Iso.hom_inv_id_app_assoc, Iso.hom_inv_id_app] at h |
| 46 | change (Scheme.Modules.pullback t).map a ≫ 𝟙 _ = (Scheme.Modules.pullback t).map b ≫ 𝟙 _ at h |
| 47 | rw [Category.comp_id, Category.comp_id] at h |
| 48 | exact h |
| 49 | |
| 50 | theorem moduleHomTransport_map (a : L ⟶ M) |
| 51 | {T : Scheme.{u}} (t : T ⟶ X) (q : T ⟶ Y) (ht : t ≫ f = q) : |
| 52 | ModuleHomTransport.Construction.moduleHomTransport f ((Scheme.Modules.pullback f).map a) t q ht = |
| 53 | (Scheme.Modules.pullback q).map a := by |
| 54 | rw [ModuleHomTransport.Construction.moduleHomTransport_native] |
| 55 | exact NatIso.naturality_1 (Scheme.Modules.pullbackComp t f ≪≫ Scheme.Modules.pullbackCongr ht) a |
| 56 | |
| 57 | end Construction |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.OpenHomEquality |