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.ResidualPrimeOrder |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SurjectiveModuleSupport |
| 3 | |
| 4 | /-! # Residual Source Prime -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourcePrime.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every actual residual support prime canonically determines a |
| 11 | prime of the source quotient with the same ambient inverse image. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedModuleLength.Constructions |
| 14 | open scoped Pointwise |
| 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 | |
| 23 | include hp |
| 24 | |
| 25 | theorem sourceIdeal_le : |
| 26 | P ≤ (PrimeSpectrum.comap (algebraMap R (R ⧸ Ideal.span {r})) p).asIdeal := by |
| 27 | have hR := (SurjectiveModuleSupport.Constructions.comap_mem_support_iff R (R ⧸ Ideal.span {r}) |
| 28 | (QuotSMulTop r (R ⧸ P)) Ideal.Quotient.mk_surjective p).mpr hp |
| 29 | have hS := Module.support_subset_of_surjective |
| 30 | (r • (⊤ : Submodule R (R ⧸ P))).mkQ (Submodule.mkQ_surjective _) hR |
| 31 | rwa [Module.mem_support_iff_of_finite, Ideal.annihilator_quotient] at hS |
| 32 | |
| 33 | def sourcePrime : PrimeSpectrum (R ⧸ P) := |
| 34 | P.primeSpectrumQuotientOrderIsoZeroLocus.symm |
| 35 | ⟨PrimeSpectrum.comap (algebraMap R (R ⧸ Ideal.span {r})) p, sourceIdeal_le R P r p hp⟩ |
| 36 | |
| 37 | theorem sourcePrime_comap : |
| 38 | PrimeSpectrum.comap (algebraMap R (R ⧸ P)) (sourcePrime R P r p hp) = |
| 39 | PrimeSpectrum.comap (algebraMap R (R ⧸ Ideal.span {r})) p := |
| 40 | congrArg Subtype.val (P.primeSpectrumQuotientOrderIsoZeroLocus.apply_symm_apply |
| 41 | ⟨PrimeSpectrum.comap (algebraMap R (R ⧸ Ideal.span {r})) p, sourceIdeal_le R P r p hp⟩) |
| 42 | |
| 43 | theorem localLength_eq_sourcePrime_ord : |
| 44 | LocalizedModuleLength.Constructions.localLength (R ⧸ Ideal.span {r}) (QuotSMulTop r (R ⧸ P)) p = |
| 45 | Ring.ord (Localization.AtPrime (sourcePrime R P r p hp).asIdeal) |
| 46 | (algebraMap (R ⧸ P) (Localization.AtPrime (sourcePrime R P r p hp).asIdeal) |
| 47 | (algebraMap R (R ⧸ P) r)) := |
| 48 | ResidualPrimeOrder.Constructions.localLength_eq_source_ord R P r p (sourcePrime R P r p hp) |
| 49 | (sourcePrime_comap R P r p hp).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourcePrime.Constructions |