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.BasicOpenAnnihilation |
| 2 | |
| 3 | /-! # Module Vanishing Support -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleVanishingSupport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /- Adapted from the IntegralModel affine module vanishing argument with HilbertConstruction's checked quasicoherent localization theorems. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 13 | universe u |
| 14 | |
| 15 | theorem affineModule_mem_vanishingOpen_iff |
| 16 | {X : Scheme.{u}} [IsAffine X] (M : X.Modules) |
| 17 | [M.IsQuasicoherent] [M.IsFiniteType] (x : X) : |
| 18 | x ∈ HilbertConstruction.Module.VanishingOpen.moduleVanishingOpen M ↔ |
| 19 | ¬ Module.annihilator Γ(X, ⊤) Γ(M, ⊤) ≤ (X.isoSpec.hom x).asIdeal := by |
| 20 | have hbasic (r : Γ(X, ⊤)) : |
| 21 | x ∈ X.basicOpen r ↔ r ∉ (X.isoSpec.hom x).asIdeal := by |
| 22 | rw [← Scheme.map_PrimeSpectrum_basicOpen_of_affine X r] |
| 23 | rfl |
| 24 | constructor |
| 25 | · intro hx hann |
| 26 | obtain ⟨U, hxU, hU⟩ := (HilbertConstruction.Module.VanishingOpen.mem_moduleVanishingOpen M x).mp hx |
| 27 | obtain ⟨r, hrU, hxr⟩ := (isAffineOpen_top X).exists_basicOpen_le ⟨x, hxU⟩ (by trivial) |
| 28 | have hz := HilbertConstruction.Module.VanishingOpen.module_restrict_isZero_of_le M hrU hU |
| 29 | obtain ⟨n, hn⟩ := (BasicOpenAnnihilation.affineModule_basicOpen_isZero_iff_pow_annihilator M r).mp hz |
| 30 | exact (hbasic r).mp hxr ((X.isoSpec.hom x).isPrime.mem_of_pow_mem n (hann hn)) |
| 31 | · intro h |
| 32 | obtain ⟨r, hr, hxr⟩ := SetLike.not_le_iff_exists.mp h |
| 33 | exact (HilbertConstruction.Module.VanishingOpen.mem_moduleVanishingOpen M x).mpr ⟨X.basicOpen r, (hbasic r).mpr hxr, |
| 34 | (BasicOpenAnnihilation.affineModule_basicOpen_isZero_iff_pow_annihilator M r).mpr ⟨1, by simpa using hr⟩⟩ |
| 35 | |
| 36 | theorem affineModule_vanishingOpen_compl_eq_support |
| 37 | {X : Scheme.{u}} [IsAffine X] (M : X.Modules) |
| 38 | [M.IsQuasicoherent] [M.IsFiniteType] : |
| 39 | ((HilbertConstruction.Module.VanishingOpen.moduleVanishingOpen M : X.Opens) : Set X)ᶜ = |
| 40 | X.isoSpec.hom ⁻¹' Module.support Γ(X, ⊤) Γ(M, ⊤) := by |
| 41 | have : Module.Finite Γ(X, ⊤) Γ(M, ⊤) := |
| 42 | QuasicoherentFiniteTypeSections.affine_quasicoherent_finiteType_sections_finite M |
| 43 | ext x |
| 44 | change (¬ x ∈ HilbertConstruction.Module.VanishingOpen.moduleVanishingOpen M) ↔ |
| 45 | X.isoSpec.hom x ∈ Module.support Γ(X, ⊤) Γ(M, ⊤) |
| 46 | rw [affineModule_mem_vanishingOpen_iff, not_not] |
| 47 | exact (Module.mem_support_iff_of_finite (R := Γ(X, ⊤)) |
| 48 | (M := Γ(M, ⊤)) (p := X.isoSpec.hom x)).symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleVanishingSupport |