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.AbelianModuli.HilbertConstruction.Frame.Coordinates |
| 2 | |
| 3 | /-! # Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Global sections as actual module-sheaf maps, and scalars as endomorphisms of the structure module. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | /-- A compatible family of sections is determined by its value on the whole scheme. -/ |
| 18 | def moduleSectionsTopEquiv (L : X.Modules) : L.sections ≃ Γ(L, ⊤) where |
| 19 | toFun s := s.val (.op ⊤) |
| 20 | invFun z := PresheafOfModules.sectionsMk |
| 21 | (fun U => L.presheaf.map (homOfLE (show U.unop ≤ ⊤ from le_top)).op z) |
| 22 | (fun {U V} h => by |
| 23 | exact (ConcreteCategory.congr_hom |
| 24 | (L.presheaf.map_comp (homOfLE (show U.unop ≤ ⊤ from le_top)).op h) z).symm) |
| 25 | left_inv s := by |
| 26 | apply Subtype.ext |
| 27 | funext U |
| 28 | exact s.property (homOfLE (show U.unop ≤ ⊤ from le_top)).op |
| 29 | right_inv z := ConcreteCategory.congr_hom (L.presheaf.map_id (.op ⊤)) z |
| 30 | |
| 31 | /-- Global sections of a module sheaf are morphisms from the structure module. -/ |
| 32 | def moduleSectionHomEquiv (L : X.Modules) : (Line.Bundles.structureModule X ⟶ L) ≃ Γ(L, ⊤) := |
| 33 | L.unitHomEquiv.trans (moduleSectionsTopEquiv L) |
| 34 | |
| 35 | @[simp] |
| 36 | theorem moduleSectionHomEquiv_apply (L : X.Modules) (s : Line.Bundles.structureModule X ⟶ L) : |
| 37 | moduleSectionHomEquiv L s = s.app ⊤ (1 : Γ(X, ⊤)) := rfl |
| 38 | |
| 39 | /-- The scalar of a structure-module endomorphism determines that endomorphism uniquely. -/ |
| 40 | theorem structureModuleEndValue_injective (X : Scheme.{u}) : |
| 41 | Function.Injective (Frame.Coordinates.structureModuleEndValue X) := |
| 42 | (moduleSectionHomEquiv (Line.Bundles.structureModule X)).injective |
| 43 | |
| 44 | /-- Every global function is the scalar of a structure-module endomorphism. -/ |
| 45 | theorem structureModuleEndValue_surjective (X : Scheme.{u}) : |
| 46 | Function.Surjective (Frame.Coordinates.structureModuleEndValue X) := |
| 47 | (moduleSectionHomEquiv (Line.Bundles.structureModule X)).surjective |
| 48 | |
| 49 | /-- The endomorphism ring of the structure module is the ring of global functions. -/ |
| 50 | def structureModuleEndRingEquiv (X : Scheme.{u}) : End (Line.Bundles.structureModule X) ≃+* Γ(X, ⊤) := |
| 51 | RingEquiv.ofBijective (Frame.Coordinates.structureModuleEndValue X) |
| 52 | ⟨structureModuleEndValue_injective X, structureModuleEndValue_surjective X⟩ |
| 53 | |
| 54 | /-- A structure-module endomorphism is invertible exactly when its global scalar is a unit. -/ |
| 55 | theorem structureModuleEnd_isIso_iff (a : End (Line.Bundles.structureModule X)) : |
| 56 | IsIso a ↔ IsUnit (Frame.Coordinates.structureModuleEndValue X a) := by |
| 57 | rw [← isUnit_iff_isIso] |
| 58 | constructor |
| 59 | · exact fun h => h.map (Frame.Coordinates.structureModuleEndValue X) |
| 60 | · intro h |
| 61 | have hi := h.map (structureModuleEndRingEquiv X).symm.toRingHom |
| 62 | exact (congrArg IsUnit ((structureModuleEndRingEquiv X).symm_apply_apply a)).mp hi |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |