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.Affine.ModuleZeroCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.LocalizationAnnihilation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentLocalization |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentFiniteTypeSections |
| 5 | |
| 6 | /-! # Basic Open Annihilation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.BasicOpenAnnihilation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /- Adapted from the IntegralModel affine module vanishing argument with HilbertConstruction's checked quasicoherent localization theorems. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | universe u |
| 17 | |
| 18 | theorem module_restrict_isZero_iff_sections_subsingleton |
| 19 | {X : Scheme.{u}} (M : X.Modules) [M.IsQuasicoherent] |
| 20 | (U : X.Opens) (hU : IsAffineOpen U) : |
| 21 | IsZero (M.restrict U.ι) ↔ Subsingleton Γ(M, U) := by |
| 22 | let : IsAffine U.toScheme := hU |
| 23 | rw [ModuleZeroCriterion.affineModule_isZero_iff_globalSections_subsingleton] |
| 24 | let e := M.restrictAppIso U.ι ⊤ ≪≫ |
| 25 | M.presheaf.mapIso (eqToIso U.ι_image_top.symm).op |
| 26 | exact ⟨fun h => by |
| 27 | let := h |
| 28 | exact (ConcreteCategory.bijective_of_isIso e.inv).injective.subsingleton, |
| 29 | fun h => by |
| 30 | let := h |
| 31 | exact (ConcreteCategory.bijective_of_isIso e.hom).injective.subsingleton⟩ |
| 32 | |
| 33 | theorem affineOpenModule_basicOpen_isZero_iff_pow_annihilator |
| 34 | {X : Scheme.{u}} (M : X.Modules) |
| 35 | [M.IsQuasicoherent] [M.IsFiniteType] (U : X.affineOpens) (r : Γ(X, U.1)) : |
| 36 | IsZero (M.restrict (X.basicOpen r).ι) ↔ |
| 37 | ∃ n : ℕ, r ^ n ∈ Module.annihilator Γ(X, U.1) Γ(M, U.1) := by |
| 38 | rw [module_restrict_isZero_iff_sections_subsingleton M _ (U.2.basicOpen r)] |
| 39 | let : Module.Finite Γ(X, U.1) Γ(M, U.1) := |
| 40 | QuasicoherentFiniteTypeSections.affineOpen_quasicoherent_finiteType_sections_finite M U |
| 41 | let : Module Γ(X, U.1) Γ(M, X.basicOpen r) := |
| 42 | Module.compHom _ (algebraMap Γ(X, U.1) Γ(X, X.basicOpen r)) |
| 43 | let g : Γ(M, U.1) →ₗ[Γ(X, U.1)] Γ(M, X.basicOpen r) := |
| 44 | { toFun := M.presheaf.map (homOfLE (X.basicOpen_le r)).op |
| 45 | map_add' := (M.presheaf.map (homOfLE (X.basicOpen_le r)).op).hom.map_add |
| 46 | map_smul' := fun a x => M.map_smul (homOfLE (X.basicOpen_le r)) a x } |
| 47 | have : IsLocalizedModule.Away r g := |
| 48 | AffineOpen.QuasicoherentLocalization.affineOpen_quasicoherent_sections_localize M U r |
| 49 | exact HilbertConstruction.Finite.LocalizationAnnihilation.finite_away_subsingleton_iff_pow_annihilator r g |
| 50 | |
| 51 | theorem affineModule_basicOpen_isZero_iff_pow_annihilator |
| 52 | {X : Scheme.{u}} [IsAffine X] (M : X.Modules) |
| 53 | [M.IsQuasicoherent] [M.IsFiniteType] (r : Γ(X, ⊤)) : |
| 54 | IsZero (M.restrict (X.basicOpen r).ι) ↔ |
| 55 | ∃ n : ℕ, r ^ n ∈ Module.annihilator Γ(X, ⊤) Γ(M, ⊤) := |
| 56 | affineOpenModule_basicOpen_isZero_iff_pow_annihilator M ⟨⊤, isAffineOpen_top X⟩ r |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.BasicOpenAnnihilation |