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.Finite.ModuleSupportAnnihilation |
| 2 | import Mathlib.RingTheory.Regular.IsSMulRegular |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basic |
| 4 | |
| 5 | /-! # Supported Regular Module Vanishing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SupportedRegularModuleVanishing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite module supported where a regular scalar vanishes must be zero. The same criterion applies to finite submodules of flat modules over a Noetherian ring. -/ |
| 12 | universe u v |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | variable {M : Type v} [AddCommGroup M] [Module R M] |
| 15 | |
| 16 | theorem regular_power_smul_eq_zero {r : R} (hreg : IsSMulRegular M r) |
| 17 | (n : ℕ) (x : M) (hx : r ^ n • x = 0) : x = 0 := by |
| 18 | induction n with |
| 19 | | zero => simpa only [pow_zero, one_smul] using hx |
| 20 | | succ n ih => |
| 21 | apply ih |
| 22 | apply hreg.right_eq_zero_of_smul |
| 23 | simpa only [pow_succ', mul_smul] using hx |
| 24 | |
| 25 | theorem finiteSupportedModule_subsingleton_of_regularElement |
| 26 | [IsNoetherianRing R] [Module.Finite R M] |
| 27 | (I : Ideal R) (hSupport : Module.support R M ⊆ PrimeSpectrum.zeroLocus (I : Set R)) |
| 28 | (r : R) (hr : r ∈ I) (hreg : IsSMulRegular M r) : Subsingleton M := by |
| 29 | obtain ⟨n, hn⟩ := HilbertConstruction.Finite.ModuleSupportAnnihilation.finiteModule_support_subset_exists_power_annihilating I hSupport |
| 30 | have hz (x : M) : x = 0 := |
| 31 | regular_power_smul_eq_zero hreg n x (hn (r ^ n) (Ideal.pow_mem_pow hr n) x) |
| 32 | exact ⟨fun x y => (hz x).trans (hz y).symm⟩ |
| 33 | |
| 34 | theorem finiteFlatSubmodule_subsingleton_of_supported_regularElement |
| 35 | [IsNoetherianRing R] [Module.Finite R M] [Module.Flat R M] |
| 36 | (N : Submodule R M) (I : Ideal R) |
| 37 | (hSupport : Module.support R N ⊆ PrimeSpectrum.zeroLocus (I : Set R)) |
| 38 | (r : R) (hr : r ∈ I) (hreg : IsSMulRegular R r) : Subsingleton N := by |
| 39 | have hM : IsSMulRegular M r := |
| 40 | ((TensorProduct.rid R M).isSMulRegular_congr r).mp (hreg.lTensor M) |
| 41 | exact finiteSupportedModule_subsingleton_of_regularElement I hSupport r hr (hM.submodule N r) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SupportedRegularModuleVanishing |