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.Algebra.Module.LocalizedModule.Basic |
| 3 | import Mathlib.RingTheory.Ideal.Maximal |
| 4 | |
| 5 | /-! # Point Module Localization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointModuleLocalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite module supported at one closed point is unchanged by localization at that point. Scalars outside the maximal ideal acquire explicit inverses on the module. -/ |
| 12 | universe u v |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | variable {M : Type v} [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 15 | |
| 16 | theorem singlePointSupported_scalar_inverse |
| 17 | (m : Ideal R) [m.IsMaximal] |
| 18 | (hSupport : Module.support R M ⊆ PrimeSpectrum.zeroLocus (m : Set R)) |
| 19 | (s : R) (hs : s ∉ m) : ∃ t : R, ∀ x : M, t • (s • x) = x := by |
| 20 | have hrad : m ≤ (Module.annihilator R M).radical := by |
| 21 | rwa [Module.support_eq_zeroLocus, PrimeSpectrum.zeroLocus_subset_zeroLocus_iff] at hSupport |
| 22 | have hsup : Module.annihilator R M ⊔ Ideal.span ({s} : Set R) = ⊤ := by |
| 23 | by_contra hn |
| 24 | obtain ⟨q, hq, hle⟩ := Ideal.exists_le_maximal _ hn |
| 25 | have hm : m ≤ q := hrad.trans |
| 26 | ((Ideal.radical_mono (le_sup_left.trans hle)).trans_eq hq.isPrime.radical) |
| 27 | have heq : m = q := (inferInstance : m.IsMaximal).eq_of_le hq.ne_top hm |
| 28 | have hsq : s ∈ q := hle |
| 29 | ((show Ideal.span ({s} : Set R) ≤ Module.annihilator R M ⊔ Ideal.span ({s} : Set R) |
| 30 | from le_sup_right) (Ideal.subset_span (Set.mem_singleton s))) |
| 31 | exact hs (by simpa only [heq] using hsq) |
| 32 | have h1 : (1 : R) ∈ Module.annihilator R M ⊔ Ideal.span ({s} : Set R) := by |
| 33 | rw [hsup] |
| 34 | exact Submodule.mem_top |
| 35 | obtain ⟨a, ha, b, hb, hab⟩ := Submodule.mem_sup.mp h1 |
| 36 | obtain ⟨t, rfl⟩ := Ideal.mem_span_singleton'.mp hb |
| 37 | refine ⟨t, fun x => ?_⟩ |
| 38 | have hax : a • x = 0 := Module.mem_annihilator.mp ha x |
| 39 | have h := congrArg (fun r : R => r • x) hab |
| 40 | simpa only [add_smul, hax, zero_add, mul_smul, one_smul] using h |
| 41 | |
| 42 | theorem singlePointSupported_scalar_bijective |
| 43 | (m : Ideal R) [m.IsMaximal] |
| 44 | (hSupport : Module.support R M ⊆ PrimeSpectrum.zeroLocus (m : Set R)) |
| 45 | (s : R) (hs : s ∉ m) : Function.Bijective (fun x : M => s • x) := by |
| 46 | obtain ⟨t, ht⟩ := singlePointSupported_scalar_inverse m hSupport s hs |
| 47 | constructor |
| 48 | · intro x y h |
| 49 | exact (ht x).symm.trans ((congrArg (fun z : M => t • z) h).trans (ht y)) |
| 50 | · intro y |
| 51 | exact ⟨t • y, (smul_comm s t y).trans (ht y)⟩ |
| 52 | |
| 53 | theorem singlePointSupported_isLocalizedIdentity |
| 54 | (m : Ideal R) [m.IsMaximal] |
| 55 | (hSupport : Module.support R M ⊆ PrimeSpectrum.zeroLocus (m : Set R)) : |
| 56 | IsLocalizedModule m.primeCompl (LinearMap.id : M →ₗ[R] M) where |
| 57 | map_units s := (Module.End.isUnit_iff _).mpr |
| 58 | (singlePointSupported_scalar_bijective m hSupport s s.property) |
| 59 | surj y := ⟨(y, 1), by simp⟩ |
| 60 | exists_of_eq h := ⟨1, by simpa using h⟩ |
| 61 | |
| 62 | def singlePointSupportedLocalizationEquiv |
| 63 | (m : Ideal R) [m.IsMaximal] |
| 64 | (hSupport : Module.support R M ⊆ PrimeSpectrum.zeroLocus (m : Set R)) : |
| 65 | M ≃ₗ[R] LocalizedModule m.primeCompl M := by |
| 66 | letI := singlePointSupported_isLocalizedIdentity m hSupport |
| 67 | exact (IsLocalizedModule.iso m.primeCompl (LinearMap.id : M →ₗ[R] M)).symm |
| 68 | |
| 69 | theorem singlePointSupportedLocalizationEquiv_toLinearMap |
| 70 | (m : Ideal R) [m.IsMaximal] |
| 71 | (hSupport : Module.support R M ⊆ PrimeSpectrum.zeroLocus (m : Set R)) : |
| 72 | (singlePointSupportedLocalizationEquiv m hSupport).toLinearMap = LocalizedModule.mkLinearMap m.primeCompl M := by |
| 73 | let := singlePointSupported_isLocalizedIdentity m hSupport |
| 74 | change (IsLocalizedModule.iso m.primeCompl (LinearMap.id : M →ₗ[R] M)).symm.toLinearMap = _ |
| 75 | simpa only [LinearMap.comp_id] using |
| 76 | (IsLocalizedModule.iso_symm_comp m.primeCompl (LinearMap.id : M →ₗ[R] M)) |
| 77 | |
| 78 | theorem singlePointSupported_subsingleton_of_localization |
| 79 | (m : Ideal R) [m.IsMaximal] |
| 80 | (hSupport : Module.support R M ⊆ PrimeSpectrum.zeroLocus (m : Set R)) |
| 81 | (hzero : Subsingleton (LocalizedModule m.primeCompl M)) : Subsingleton M := |
| 82 | ⟨fun x y => (singlePointSupportedLocalizationEquiv m hSupport).injective |
| 83 | (hzero.elim ((singlePointSupportedLocalizationEquiv m hSupport) x) |
| 84 | ((singlePointSupportedLocalizationEquiv m hSupport) y))⟩ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointModuleLocalization |