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.Localization.Ideal |
| 3 | |
| 4 | /-! # Annihilator Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.AnnihilatorLocalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /- Adapted from the corresponding IntegralModel finite-module argument, in the isolated HilbertConstruction namespace and at default computation limits. -/ |
| 11 | |
| 12 | open scoped BigOperators |
| 13 | universe u v w t |
| 14 | |
| 15 | theorem finite_localization_exists_multiplier_annihilator |
| 16 | {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 17 | [Module.Finite R M] (S : Submonoid R) |
| 18 | {N : Type w} [AddCommGroup N] [Module R N] |
| 19 | (g : M →ₗ[R] N) [IsLocalizedModule S g] (a : R) |
| 20 | (h : ∀ m : M, g (a • m) = 0) : |
| 21 | ∃ s ∈ S, s * a ∈ Module.annihilator R M := by |
| 22 | classical |
| 23 | obtain ⟨s, hs⟩ := ‹Module.Finite R M› |
| 24 | have hzero (m : s) : ∃ r ∈ S, r • (a • m.val) = 0 := by |
| 25 | obtain ⟨r, hr⟩ := (IsLocalizedModule.eq_zero_iff S g).mp (h m.val) |
| 26 | exact ⟨r, r.property, hr⟩ |
| 27 | choose r hr hrz using hzero |
| 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 ⟨b, hb⟩ := Finset.dvd_prod_of_mem r (Finset.mem_attach s m) |
| 32 | rw [mul_smul, hb, mul_comm, mul_smul, hrz, smul_zero] |
| 33 | |
| 34 | theorem annihilator_map_eq_of_isLocalizedModule |
| 35 | {R : Type u} [CommRing R] (S : Submonoid R) |
| 36 | (A : Type t) [CommRing A] [Algebra R A] [IsLocalization S A] |
| 37 | {M : Type v} [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 38 | {N : Type w} [AddCommGroup N] [Module R N] [Module A N] [IsScalarTower R A N] |
| 39 | (g : M →ₗ[R] N) [IsLocalizedModule S g] : |
| 40 | (Module.annihilator R M).map (algebraMap R A) = Module.annihilator A N := by |
| 41 | apply le_antisymm |
| 42 | · apply Ideal.map_le_iff_le_comap.mpr |
| 43 | intro a ha |
| 44 | apply Module.mem_annihilator.mpr |
| 45 | intro y |
| 46 | rw [IsScalarTower.algebraMap_smul] |
| 47 | obtain ⟨⟨m, s⟩, rfl⟩ := IsLocalizedModule.mk'_surjective S g y |
| 48 | change a • IsLocalizedModule.mk' g m s = 0 |
| 49 | rw [← IsLocalizedModule.mk'_smul, Module.mem_annihilator.mp ha m, |
| 50 | IsLocalizedModule.mk'_zero] |
| 51 | · apply (IsLocalization.under_le_under_iff S A).mp |
| 52 | intro a ha |
| 53 | change algebraMap R A a ∈ (Module.annihilator R M).map (algebraMap R A) |
| 54 | rw [IsLocalization.algebraMap_mem_map_algebraMap_iff S A] |
| 55 | apply finite_localization_exists_multiplier_annihilator S g a |
| 56 | intro m |
| 57 | rw [g.map_smul, ← IsScalarTower.algebraMap_smul A a (g m)] |
| 58 | exact Module.mem_annihilator.mp ha (g m) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.AnnihilatorLocalization |