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.Divisors.LineBundles.LocalIntersectionFiniteness |
| 2 | import Mathlib.RingTheory.Support |
| 3 | |
| 4 | /-! # Support Length -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.SupportLength.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: finite length from support at the closed point |
| 12 | |
| 13 | For a finite module over a Noetherian local ring, vanishing at every |
| 14 | other prime forces the annihilator radical to be the maximal ideal. |
| 15 | The actual annihilator quotient then supplies finite module length. |
| 16 | -/ |
| 17 | |
| 18 | variable {R M : Type*} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 19 | [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 20 | |
| 21 | theorem moduleLength_ne_top_of_closed_support |
| 22 | (hs : ∀ p ∈ Module.support R M, p.asIdeal = IsLocalRing.maximalIdeal R) : |
| 23 | Module.length R M ≠ ⊤ := by |
| 24 | by_cases hM : Subsingleton M |
| 25 | · let closedSupportSubsingleton : Subsingleton M := hM |
| 26 | rw [Module.length_eq_zero] |
| 27 | exact ENat.zero_ne_top |
| 28 | have hI : Module.annihilator R M ≠ ⊤ := |
| 29 | fun h => hM (Module.annihilator_eq_top_iff.mp h) |
| 30 | have hIm : Module.annihilator R M ≤ IsLocalRing.maximalIdeal R := |
| 31 | IsLocalRing.le_maximalIdeal hI |
| 32 | have hrad : (Module.annihilator R M).radical = IsLocalRing.maximalIdeal R := by |
| 33 | apply le_antisymm |
| 34 | · exact (Ideal.radical_mono hIm).trans_eq |
| 35 | (inferInstance : (IsLocalRing.maximalIdeal R).IsPrime).radical |
| 36 | · rw [Ideal.radical_eq_sInf] |
| 37 | apply le_sInf |
| 38 | rintro P ⟨hIP, hP⟩ |
| 39 | have hp : (⟨P, hP⟩ : PrimeSpectrum R) ∈ Module.support R M := |
| 40 | Module.mem_support_iff_of_finite.mpr hIP |
| 41 | exact le_of_eq (hs ⟨P, hP⟩ hp).symm |
| 42 | apply EquationFiniteLength.BundleCycles.moduleLength_ne_top_of_killedIdeal (Module.annihilator R M) |
| 43 | (LocalIntersectionFiniteness.BundleCycles.finiteLength_quotient_of_radical_maximal _ hrad) |
| 44 | intro m r |
| 45 | exact Module.mem_annihilator.mp r.2 m |
| 46 | |
| 47 | theorem moduleLength_ne_top_of_localizations_zero |
| 48 | (hs : ∀ p : PrimeSpectrum R, p.asIdeal ≠ IsLocalRing.maximalIdeal R → |
| 49 | Subsingleton (LocalizedModule p.asIdeal.primeCompl M)) : |
| 50 | Module.length R M ≠ ⊤ := by |
| 51 | apply moduleLength_ne_top_of_closed_support |
| 52 | intro p hp |
| 53 | by_contra hpm |
| 54 | exact (Module.notMem_support_iff.mpr (hs p hpm)) hp |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.SupportLength.BundleCycles |