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.DivisorClass.Chern.Regular.LineGluing |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineSectionModules |
| 3 | |
| 4 | /-! # Line Module Sheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineModuleSheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The glued regular sections form a native sheaf of modules on the original scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | |
| 17 | variable {X : Scheme} {ι : Type} (D : FunctionGluing.RegularLineCocycle X ι) |
| 18 | |
| 19 | instance regularLineSection_ringModule (U : (Opens X)ᵒᵖ) : |
| 20 | Module (X.ringCatSheaf.obj.obj U) (LineSections.RegularLineSection D U.unop) := |
| 21 | LineSectionModules.regularLineSection_module D U.unop |
| 22 | |
| 23 | def regularLineModulePresheaf : PresheafOfModules X.ringCatSheaf.obj where |
| 24 | obj U := ModuleCat.of _ (LineSections.RegularLineSection D U.unop) |
| 25 | map {U V} f := ModuleCat.ofHom |
| 26 | (Y := (ModuleCat.restrictScalars (X.ringCatSheaf.obj.map f).hom).obj |
| 27 | (ModuleCat.of _ (LineSections.RegularLineSection D V.unop))) |
| 28 | { toFun := LineSections.regularLineSectionRestrict D (leOfHom f.unop) |
| 29 | map_add' := (LineSections.regularLineSectionRestrict D (leOfHom f.unop)).map_add |
| 30 | map_smul' := LineSectionModules.regularLineSectionRestrict_smul D (leOfHom f.unop) } |
| 31 | map_id U := by |
| 32 | apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro s |
| 35 | rfl |
| 36 | map_comp f g := by |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply LinearMap.ext |
| 39 | intro s |
| 40 | rfl |
| 41 | |
| 42 | theorem regularLineModulePresheaf_isSheaf : Presheaf.IsSheaf (Opens.grothendieckTopology X) |
| 43 | (regularLineModulePresheaf D).presheaf := LineGluing.regularLineSectionPresheaf_isSheaf D |
| 44 | |
| 45 | def regularLineModuleSheaf : X.Modules where |
| 46 | val := regularLineModulePresheaf D |
| 47 | isSheaf := regularLineModulePresheaf_isSheaf D |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineModuleSheaf |