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.Global.Sections |
| 2 | |
| 3 | /-! # Module Scalars -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ModuleScalars |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every global regular function acts as an endomorphism of every module sheaf. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | def globalModuleScalar (M : X.Modules) (r : Γ(X, ⊤)) : End M where |
| 18 | val := |
| 19 | { app := fun U => ModuleCat.ofHom |
| 20 | (X.presheaf.map (homOfLE (show U.unop ≤ ⊤ from le_top)).op r • |
| 21 | (LinearMap.id : Γ(M, U.unop) →ₗ[Γ(X, U.unop)] Γ(M, U.unop))) |
| 22 | naturality := by |
| 23 | rintro ⟨U⟩ ⟨V⟩ h |
| 24 | apply ModuleCat.hom_ext |
| 25 | apply LinearMap.ext |
| 26 | intro m |
| 27 | change Γ(M, U) at m |
| 28 | change X.presheaf.map (homOfLE (show V ≤ ⊤ from le_top)).op r • |
| 29 | (M.presheaf.map h m : Γ(M, V)) = |
| 30 | M.presheaf.map h (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op r • m) |
| 31 | have hM : M.presheaf.map h |
| 32 | (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op r • m) = |
| 33 | X.presheaf.map h (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op r) • |
| 34 | (M.presheaf.map h m : Γ(M, V)) := M.map_smul h.unop _ m |
| 35 | exact (congrArg (fun a : Γ(X, V) => a • (M.presheaf.map h m : Γ(M, V))) |
| 36 | (ConcreteCategory.congr_hom |
| 37 | (X.presheaf.map_comp (homOfLE (show U ≤ ⊤ from le_top)).op h) r)).trans hM.symm } |
| 38 | |
| 39 | theorem globalModuleScalar_app (M : X.Modules) (r : Γ(X, ⊤)) (U : X.Opens) (m : Γ(M, U)) : |
| 40 | (globalModuleScalar M r).app U m = |
| 41 | X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op r • m := rfl |
| 42 | |
| 43 | theorem globalModuleScalar_natural {M N : X.Modules} (r : Γ(X, ⊤)) (φ : M ⟶ N) : |
| 44 | globalModuleScalar M r ≫ φ = φ ≫ globalModuleScalar N r := by |
| 45 | apply Scheme.Modules.hom_ext |
| 46 | intro U |
| 47 | apply ConcreteCategory.hom_ext |
| 48 | intro m |
| 49 | exact φ.app_smul _ m |
| 50 | |
| 51 | theorem globalModuleScalar_structure_value (r : Γ(X, ⊤)) : |
| 52 | Frame.Coordinates.structureModuleEndValue X (globalModuleScalar (Line.Bundles.structureModule X) r) = r := by |
| 53 | change X.presheaf.map (𝟙 (.op (⊤ : X.Opens))) r * 1 = r |
| 54 | rw [X.presheaf.map_id] |
| 55 | exact mul_one r |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ModuleScalars |