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.AffineOpen.QuasicoherentLocalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.RingModulePresheaf |
| 3 | |
| 4 | /-! # Global Coefficient Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.GlobalCoefficientLocalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Localization on an affine source open retains the action of the |
| 11 | global functions of the entire scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem affineOpen_globalCoefficientSection_isLocalized |
| 19 | {X : Scheme.{u}} (M : X.Modules) [M.IsQuasicoherent] |
| 20 | (U : X.affineOpens) (r : Γ(X, ⊤)) : |
| 21 | IsLocalizedModule.Away r |
| 22 | ((Global.RingModulePresheaf.globalRingModulePresheaf M).map |
| 23 | (homOfLE (X.basicOpen_le (X.presheaf.map U.1.leTop.op r))).op).hom := by |
| 24 | let s : Γ(X, U.1) := X.presheaf.map U.1.leTop.op r |
| 25 | let V := X.basicOpen s |
| 26 | let : Algebra Γ(X, ⊤) Γ(X, U.1) := (X.presheaf.map U.1.leTop.op).hom.toAlgebra |
| 27 | let : Module Γ(X, ⊤) Γ(M, U.1) := |
| 28 | Module.compHom Γ(M, U.1) (X.presheaf.map U.1.leTop.op).hom |
| 29 | let : Module Γ(X, ⊤) Γ(M, V) := |
| 30 | Module.compHom Γ(M, V) (X.presheaf.map V.leTop.op).hom |
| 31 | let : Module Γ(X, U.1) Γ(M, V) := |
| 32 | Module.compHom Γ(M, V) (algebraMap Γ(X, U.1) Γ(X, V)) |
| 33 | let : IsScalarTower Γ(X, ⊤) Γ(X, U.1) Γ(M, U.1) := |
| 34 | IsScalarTower.of_algebraMap_smul fun _ _ => rfl |
| 35 | let : IsScalarTower Γ(X, ⊤) Γ(X, U.1) Γ(M, V) := by |
| 36 | apply IsScalarTower.of_algebraMap_smul |
| 37 | intro a x |
| 38 | change X.presheaf.map (homOfLE (X.basicOpen_le s)).op |
| 39 | (X.presheaf.map U.1.leTop.op a) • x = |
| 40 | X.presheaf.map V.leTop.op a • x |
| 41 | rw [← X.presheaf.map_comp_apply] |
| 42 | rfl |
| 43 | let q : Γ(M, U.1) →ₗ[Γ(X, U.1)] Γ(M, V) := { |
| 44 | toFun := M.presheaf.map (homOfLE (X.basicOpen_le s)).op |
| 45 | map_add' := (M.presheaf.map (homOfLE (X.basicOpen_le s)).op).hom.map_add |
| 46 | map_smul' := fun a x => M.map_smul (homOfLE (X.basicOpen_le s)) a x } |
| 47 | have : IsLocalizedModule.Away s q := |
| 48 | QuasicoherentLocalization.affineOpen_quasicoherent_sections_localize M U s |
| 49 | exact IsLocalizedModule.restrictScalars_powers r q |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.GlobalCoefficientLocalization |