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.InternalHom |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 3 | |
| 4 | /-! # Global Hom Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.GlobalHomSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global sections of the constructed internal Hom are the actual |
| 11 | module-sheaf morphisms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X : Scheme.{u}} (M N : X.Modules) |
| 22 | |
| 23 | def moduleHomGlobalSection (b : M ⟶ N) : Γ(InternalHom.Construction.moduleInternalHom M N, ⊤) := |
| 24 | ⟨Functor.whiskerLeft (Over.forget (⊤ : X.Opens)).op b.mapPresheaf, |
| 25 | fun _ r s => b.app_smul r s⟩ |
| 26 | |
| 27 | def moduleHomOfGlobalSection (a : Γ(InternalHom.Construction.moduleInternalHom M N, ⊤)) : M ⟶ N where |
| 28 | val.app U := ModuleCat.ofHom |
| 29 | { toFun := a.val.app (op (Over.mk (homOfLE (show U.unop ≤ ⊤ from le_top)))) |
| 30 | map_add' r s := map_add (a.val.app (op (Over.mk (homOfLE (show U.unop ≤ ⊤ from le_top))))).hom r s |
| 31 | map_smul' r s := a.property (Over.mk (homOfLE (show U.unop ≤ ⊤ from le_top))) r s } |
| 32 | val.naturality {U V} j := by |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply LinearMap.ext |
| 35 | intro s |
| 36 | let j' : Over.mk (homOfLE (show V.unop ≤ ⊤ from le_top)) ⟶ |
| 37 | Over.mk (homOfLE (show U.unop ≤ ⊤ from le_top)) := Over.homMk j.unop |
| 38 | exact ConcreteCategory.congr_hom (a.val.naturality j'.op) s |
| 39 | |
| 40 | def moduleHomGlobalSectionEquiv : (M ⟶ N) ≃ Γ(InternalHom.Construction.moduleInternalHom M N, ⊤) where |
| 41 | toFun := moduleHomGlobalSection M N |
| 42 | invFun := moduleHomOfGlobalSection M N |
| 43 | left_inv b := by |
| 44 | apply Scheme.Modules.hom_ext |
| 45 | intro U |
| 46 | ext s |
| 47 | rfl |
| 48 | right_inv a := by |
| 49 | apply Subtype.ext |
| 50 | apply NatTrans.ext |
| 51 | funext V |
| 52 | apply AddCommGrpCat.ext |
| 53 | intro s |
| 54 | have hv : Over.mk (homOfLE (show V.unop.left ≤ (⊤ : X.Opens) from le_top)) = V.unop := by |
| 55 | cases V.unop |
| 56 | congr |
| 57 | change a.val.app (op (Over.mk (homOfLE (show V.unop.left ≤ ⊤ from le_top)))) s = a.val.app V s |
| 58 | cases V |
| 59 | cases hv |
| 60 | rfl |
| 61 | |
| 62 | end Construction |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.GlobalHomSections |