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 | /-! # Localization Annihilation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.LocalizationAnnihilation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /- Adapted from the corresponding IntegralModel finite-module argument, in the isolated HilbertConstruction namespace and at default computation limits. -/ |
| 12 | |
| 13 | open scoped BigOperators |
| 14 | universe u v w t |
| 15 | |
| 16 | theorem finite_localization_subsingleton_iff_exists_annihilator |
| 17 | {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 18 | [Module.Finite R M] (S : Submonoid R) |
| 19 | {N : Type w} [AddCommGroup N] [Module R N] |
| 20 | (g : M →ₗ[R] N) [IsLocalizedModule S g] : |
| 21 | Subsingleton N ↔ ∃ r ∈ S, r ∈ Module.annihilator R M := by |
| 22 | classical |
| 23 | rw [IsLocalizedModule.subsingleton_iff S g] |
| 24 | constructor |
| 25 | · intro h |
| 26 | obtain ⟨s, hs⟩ := ‹Module.Finite R M› |
| 27 | choose r hr hrz using (fun m : s => h m.val) |
| 28 | refine ⟨s.attach.prod r, S.prod_mem (fun m _ => hr m), ?_⟩ |
| 29 | rw [← Submodule.annihilator_top, ← hs, Submodule.mem_annihilator_span] |
| 30 | intro m |
| 31 | obtain ⟨a, ha⟩ := Finset.dvd_prod_of_mem r (Finset.mem_attach s m) |
| 32 | rw [ha, mul_comm, mul_smul, hrz, smul_zero] |
| 33 | · rintro ⟨r, hr, ha⟩ m |
| 34 | exact ⟨r, hr, (Module.mem_annihilator.mp ha) m⟩ |
| 35 | |
| 36 | theorem finite_away_subsingleton_iff_pow_annihilator |
| 37 | {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 38 | [Module.Finite R M] (r : R) |
| 39 | {N : Type w} [AddCommGroup N] [Module R N] |
| 40 | (g : M →ₗ[R] N) [IsLocalizedModule.Away r g] : |
| 41 | Subsingleton N ↔ ∃ n : ℕ, r ^ n ∈ Module.annihilator R M := by |
| 42 | rw [finite_localization_subsingleton_iff_exists_annihilator (Submonoid.powers r) g] |
| 43 | constructor |
| 44 | · rintro ⟨s, ⟨n, rfl⟩, hs⟩ |
| 45 | exact ⟨n, hs⟩ |
| 46 | · rintro ⟨n, hn⟩ |
| 47 | exact ⟨r ^ n, ⟨n, rfl⟩, hn⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.LocalizationAnnihilation |