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 Mathlib.RingTheory.Support |
| 2 | import Mathlib.RingTheory.Finiteness.Ideal |
| 3 | import Mathlib.RingTheory.Noetherian.Basic |
| 4 | |
| 5 | /-! # Module Annihilation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.ModuleAnnihilation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite modules admit a single annihilator after vanishing on a |
| 12 | localization, and a power of an ideal cutting out their support annihilates them. -/ |
| 13 | |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | theorem finite_localization_subsingleton_iff_exists_annihilator |
| 19 | {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 20 | [Module.Finite R M] (S : Submonoid R) |
| 21 | {N : Type w} [AddCommGroup N] [Module R N] |
| 22 | (g : M →ₗ[R] N) [IsLocalizedModule S g] : |
| 23 | Subsingleton N ↔ ∃ r ∈ S, r ∈ Module.annihilator R M := by |
| 24 | classical |
| 25 | rw [IsLocalizedModule.subsingleton_iff S g] |
| 26 | constructor |
| 27 | · intro h |
| 28 | obtain ⟨s, hs⟩ := ‹Module.Finite R M› |
| 29 | choose r hr hrz using (fun m : s => h m.val) |
| 30 | refine ⟨s.attach.prod r, S.prod_mem (fun m _ => hr m), ?_⟩ |
| 31 | rw [← Submodule.annihilator_top, ← hs, Submodule.mem_annihilator_span] |
| 32 | intro m |
| 33 | obtain ⟨a, ha⟩ := Finset.dvd_prod_of_mem r (Finset.mem_attach s m) |
| 34 | rw [ha, mul_comm, mul_smul, hrz, smul_zero] |
| 35 | · rintro ⟨r, hr, ha⟩ m |
| 36 | exact ⟨r, hr, (Module.mem_annihilator.mp ha) m⟩ |
| 37 | |
| 38 | theorem finite_away_subsingleton_iff_pow_annihilator |
| 39 | {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 40 | [Module.Finite R M] (r : R) |
| 41 | {N : Type w} [AddCommGroup N] [Module R N] |
| 42 | (g : M →ₗ[R] N) [IsLocalizedModule.Away r g] : |
| 43 | Subsingleton N ↔ ∃ n : ℕ, r ^ n ∈ Module.annihilator R M := by |
| 44 | rw [finite_localization_subsingleton_iff_exists_annihilator (Submonoid.powers r) g] |
| 45 | constructor |
| 46 | · rintro ⟨s, ⟨n, rfl⟩, hs⟩ |
| 47 | exact ⟨n, hs⟩ |
| 48 | · rintro ⟨n, hn⟩ |
| 49 | exact ⟨r ^ n, ⟨n, rfl⟩, hn⟩ |
| 50 | |
| 51 | theorem finiteModule_support_subset_iff_power_annihilator |
| 52 | {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 53 | [Module.Finite R M] (I : Ideal R) (hI : I.FG) : |
| 54 | Module.support R M ⊆ PrimeSpectrum.zeroLocus (I : Set R) ↔ |
| 55 | ∃ n : ℕ, I ^ n ≤ Module.annihilator R M := by |
| 56 | rw [Module.support_eq_zeroLocus, PrimeSpectrum.zeroLocus_subset_zeroLocus_iff] |
| 57 | constructor |
| 58 | · intro h |
| 59 | exact Ideal.exists_pow_le_of_le_radical_of_fg h hI |
| 60 | · rintro ⟨n, hn⟩ r hr |
| 61 | exact ⟨n, hn (Ideal.pow_mem_pow hr n)⟩ |
| 62 | |
| 63 | theorem finiteModule_support_subset_exists_power_annihilating |
| 64 | {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 65 | {M : Type v} [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 66 | (I : Ideal R) (h : Module.support R M ⊆ PrimeSpectrum.zeroLocus (I : Set R)) : |
| 67 | ∃ n : ℕ, ∀ r ∈ I ^ n, ∀ m : M, r • m = 0 := by |
| 68 | obtain ⟨n, hn⟩ := (finiteModule_support_subset_iff_power_annihilator I |
| 69 | I.fg_of_isNoetherianRing).mp h |
| 70 | exact ⟨n, fun r hr => Module.mem_annihilator.mp (hn hr)⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.ModuleAnnihilation |