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.CycleClass.Thom.ResidualSourcePrime |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SurjectiveMinimalSupport |
| 3 | import Mathlib.RingTheory.Ideal.KrullsHeightTheorem |
| 4 | |
| 5 | /-! # Residual Minimal Source Prime -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ResidualMinimalSourcePrime.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A minimal residual component is a genuine minimal prime of the |
| 12 | source principal ideal; for a regular equation it has height one. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourcePrime.Constructions |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | variable (R : Type u) [CommRing R] (P : Ideal R) (r : R) |
| 20 | (p : PrimeSpectrum (R ⧸ Ideal.span {r})) |
| 21 | (hp : p ∈ Module.support (R ⧸ Ideal.span {r}) (QuotSMulTop r (R ⧸ P))) |
| 22 | (hm : p.asIdeal ∈ (Module.annihilator (R ⧸ Ideal.span {r}) (QuotSMulTop r (R ⧸ P))).minimalPrimes) |
| 23 | |
| 24 | include hm |
| 25 | |
| 26 | theorem sourcePrime_minimal : |
| 27 | (ResidualSourcePrime.Constructions.sourcePrime R P r p hp).asIdeal ∈ (Ideal.span {algebraMap R (R ⧸ P) r}).minimalPrimes := by |
| 28 | have hR := (SurjectiveMinimalSupport.Constructions.comap_mem_minimalPrimes_iff R (R ⧸ Ideal.span {r}) |
| 29 | (QuotSMulTop r (R ⧸ P)) Ideal.Quotient.mk_surjective p).mpr hm |
| 30 | have ha := (QuotientEquationScalarChange.Constructions.algebraQuotientEquiv R (R ⧸ P) r).annihilator_eq |
| 31 | rw [ha, ← ResidualSourcePrime.Constructions.sourcePrime_comap R P r p hp] at hR |
| 32 | have hS := (SurjectiveMinimalSupport.Constructions.comap_mem_minimalPrimes_iff R (R ⧸ P) |
| 33 | ((R ⧸ P) ⧸ Ideal.span {algebraMap R (R ⧸ P) r}) Ideal.Quotient.mk_surjective |
| 34 | (ResidualSourcePrime.Constructions.sourcePrime R P r p hp)).mp hR |
| 35 | rwa [Ideal.annihilator_quotient] at hS |
| 36 | |
| 37 | theorem sourcePrime_height_one [IsNoetherianRing R] |
| 38 | (hn : algebraMap R (R ⧸ P) r ∈ nonZeroDivisors (R ⧸ P)) : |
| 39 | (ResidualSourcePrime.Constructions.sourcePrime R P r p hp).asIdeal.height = 1 := by |
| 40 | have hmin := sourcePrime_minimal R P r p hp hm |
| 41 | exact le_antisymm |
| 42 | (Ideal.height_le_one_of_isPrincipal_of_mem_minimalPrimes _ _ hmin) |
| 43 | ((Ideal.one_le_height_span_singleton_of_mem_nonZeroDivisors hn).trans (Ideal.height_mono hmin.le)) |
| 44 | |
| 45 | theorem minimal_mem_support : |
| 46 | p ∈ Module.support (R ⧸ Ideal.span {r}) (QuotSMulTop r (R ⧸ P)) := by |
| 47 | let : Module.Finite (R ⧸ Ideal.span {r}) (QuotSMulTop r (R ⧸ P)) := |
| 48 | Module.Finite.of_restrictScalars_finite R (R ⧸ Ideal.span {r}) _ |
| 49 | exact Module.mem_support_iff_of_finite.mpr hm.le |
| 50 | |
| 51 | def minimalSourcePrime : PrimeSpectrum (R ⧸ P) := |
| 52 | ResidualSourcePrime.Constructions.sourcePrime R P r p (minimal_mem_support R P r p hm) |
| 53 | |
| 54 | theorem minimalSourcePrime_height_one [IsNoetherianRing R] |
| 55 | (hn : algebraMap R (R ⧸ P) r ∈ nonZeroDivisors (R ⧸ P)) : |
| 56 | (minimalSourcePrime R P r p hm).asIdeal.height = 1 := |
| 57 | sourcePrime_height_one R P r p (minimal_mem_support R P r p hm) hm hn |
| 58 | |
| 59 | theorem localLength_eq_minimalSourcePrime_ord : |
| 60 | LocalizedModuleLength.Constructions.localLength (R ⧸ Ideal.span {r}) (QuotSMulTop r (R ⧸ P)) p = |
| 61 | Ring.ord (Localization.AtPrime (minimalSourcePrime R P r p hm).asIdeal) |
| 62 | (algebraMap (R ⧸ P) (Localization.AtPrime (minimalSourcePrime R P r p hm).asIdeal) |
| 63 | (algebraMap R (R ⧸ P) r)) := |
| 64 | ResidualSourcePrime.Constructions.localLength_eq_sourcePrime_ord R P r p (minimal_mem_support R P r p hm) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.CycleClass.Thom.ResidualMinimalSourcePrime.Constructions |