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.LocalHomSections |
| 2 | |
| 3 | /-! # Hom On Open Images -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.HomOnOpenImages |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A module morphism restricted to an open immersion is a section of |
| 10 | internal Hom on its image, with the actual local-map coordinates retained. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 21 | |
| 22 | def moduleHomOnImageEquiv : (M.restrict f ⟶ N.restrict f) ≃ |
| 23 | Γ(InternalHom.Construction.moduleInternalHom M N, f ''ᵁ (⊤ : X.Opens)) := |
| 24 | (GlobalHomSections.Construction.moduleHomGlobalSectionEquiv (M.restrict f) (N.restrict f)).trans |
| 25 | (InternalHomRestriction.Construction.localLinearHomRestrictEquiv f M N ⊤).symm |
| 26 | |
| 27 | theorem moduleHomOnImageEquiv_restrict (b : M.restrict f ⟶ N.restrict f) : |
| 28 | InternalHomRestriction.Construction.localLinearHomRestrict f M N ⊤ (moduleHomOnImageEquiv f M N b) = |
| 29 | GlobalHomSections.Construction.moduleHomGlobalSection (M.restrict f) (N.restrict f) b := |
| 30 | (InternalHomRestriction.Construction.localLinearHomRestrictEquiv f M N ⊤).apply_symm_apply _ |
| 31 | |
| 32 | theorem moduleHomOnImageEquiv_coordinate (b : M.restrict f ⟶ N.restrict f) (U : X.Opens) : |
| 33 | (moduleHomOnImageEquiv f M N b).val.app (op (Over.mk (f.opensFunctor.map U.leTop))) = |
| 34 | b.app U := by |
| 35 | have h := congrArg (fun a : Γ(InternalHom.Construction.moduleInternalHom (M.restrict f) (N.restrict f), ⊤) => |
| 36 | a.val.app (op (Over.mk U.leTop))) (moduleHomOnImageEquiv_restrict f M N b) |
| 37 | exact h |
| 38 | |
| 39 | omit [IsOpenImmersion f] in |
| 40 | theorem internalHom_coordinate_transport {W U V : Y.Opens} |
| 41 | (a : Γ(InternalHom.Construction.moduleInternalHom M N, W)) (hU : U ≤ W) (hV : V ≤ W) (h : U = V) : |
| 42 | a.val.app (op (Over.mk (homOfLE hU))) = |
| 43 | M.presheaf.map (eqToHom h.symm).op ≫ |
| 44 | a.val.app (op (Over.mk (homOfLE hV))) ≫ N.presheaf.map (eqToHom h).op := by |
| 45 | cases h |
| 46 | simp only [eqToHom_refl, op_id] |
| 47 | have he := congrArg₂ |
| 48 | (fun (r : End (M.presheaf.obj (op U))) (s : End (N.presheaf.obj (op U))) => |
| 49 | r ≫ a.val.app (op (Over.mk (homOfLE hV))) ≫ s) |
| 50 | (M.presheaf.map_id (op U)) (N.presheaf.map_id (op U)) |
| 51 | exact ((he.trans (Category.id_comp _)).trans (Category.comp_id _)).symm |
| 52 | |
| 53 | end Construction |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.HomOnOpenImages |