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.IntersectionTheory.ProjectionFormula.Parameter.ScalarQuotient |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BaseChangeSupport |
| 3 | import Mathlib.RingTheory.LocalRing.RingHom.Basic |
| 4 | |
| 5 | /-! # Quotient Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.QuotientSupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native parameter quotients preserve isolated pair supports. |
| 12 | Their primes strictly specialize any prime on which the parameter |
| 13 | was nonzero, giving the rank drop used in regular-sequence induction. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ScalarQuotient |
| 23 | |
| 24 | variable (R : Type u) [CommRing R] (r : R) |
| 25 | |
| 26 | theorem mem_image (M : ModuleCat.{u} R) [Module.Finite R M] (p : PrimeSpectrum (ScalarQuotient.Ring R r)) |
| 27 | (hp : p ∈ Module.support (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj M)) : |
| 28 | PrimeSpectrum.comap (Ideal.Quotient.mk (Ideal.span {r})) p ∈ Module.support R M := by |
| 29 | have h := hp |
| 30 | change p ∈ Module.support (ScalarQuotient.Ring R r) (QuotSMulTop r M) at h |
| 31 | rw [(ScalarQuotient.baseChangeEquiv R r M).support_eq] at h |
| 32 | exact BaseChangeSupport.mem_image R (ScalarQuotient.Ring R r) M p h |
| 33 | |
| 34 | theorem parameter_mem (p : PrimeSpectrum (ScalarQuotient.Ring R r)) : |
| 35 | r ∈ (PrimeSpectrum.comap (Ideal.Quotient.mk (Ideal.span {r})) p).asIdeal := by |
| 36 | change Ideal.Quotient.mk (Ideal.span {r}) r ∈ p.asIdeal |
| 37 | rw [(Ideal.Quotient.eq_zero_iff_mem).mpr (Ideal.subset_span (Set.mem_singleton r))] |
| 38 | exact p.asIdeal.zero_mem |
| 39 | |
| 40 | theorem isolated [IsLocalRing R] [IsLocalRing (ScalarQuotient.Ring R r)] |
| 41 | (M N : ModuleCat.{u} R) [Module.Finite R M] [Module.Finite R N] |
| 42 | (hiso : Module.support R M ∩ Module.support R N ⊆ {IsLocalRing.closedPoint R}) : |
| 43 | Module.support (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj M) ∩ |
| 44 | Module.support (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj N) ⊆ {IsLocalRing.closedPoint (ScalarQuotient.Ring R r)} := by |
| 45 | let f := Ideal.Quotient.mk (Ideal.span {r}) |
| 46 | let : IsLocalHom f := IsLocalHom.of_surjective f Ideal.Quotient.mk_surjective |
| 47 | intro p hp |
| 48 | have he : PrimeSpectrum.comap f p = IsLocalRing.closedPoint R := |
| 49 | Set.mem_singleton_iff.mp (hiso ⟨mem_image R r M p hp.1, mem_image R r N p hp.2⟩) |
| 50 | apply Set.mem_singleton_iff.mpr |
| 51 | apply PrimeSpectrum.comap_injective_of_surjective f Ideal.Quotient.mk_surjective |
| 52 | refine he.trans ?_ |
| 53 | apply PrimeSpectrum.ext |
| 54 | exact (IsLocalRing.maximalIdeal_comap f).symm |
| 55 | |
| 56 | theorem rank_strict (ρ : PrimeSpectrum R → ℕ) (hρ : StrictAnti ρ) : |
| 57 | StrictAnti (fun p : PrimeSpectrum (ScalarQuotient.Ring R r) => ρ (PrimeSpectrum.comap (Ideal.Quotient.mk (Ideal.span {r})) p)) := by |
| 58 | intro p q hpq |
| 59 | apply hρ |
| 60 | apply lt_of_le_of_ne (Ideal.comap_mono hpq.le) |
| 61 | intro he |
| 62 | exact hpq.ne (PrimeSpectrum.comap_injective_of_surjective _ Ideal.Quotient.mk_surjective (PrimeSpectrum.ext he)) |
| 63 | |
| 64 | theorem rank_drop (ρ : PrimeSpectrum R → ℕ) (hρ : StrictAnti ρ) |
| 65 | (p : PrimeSpectrum R) (hr : r ∉ p.asIdeal) (q : PrimeSpectrum (ScalarQuotient.Ring R r)) |
| 66 | (hq : q ∈ Module.support (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj (.of R (R ⧸ p.asIdeal)))) : |
| 67 | ρ (PrimeSpectrum.comap (Ideal.Quotient.mk (Ideal.span {r})) q) < ρ p := by |
| 68 | have hpq := mem_image R r (.of R (R ⧸ p.asIdeal)) q hq |
| 69 | rw [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker] at hpq |
| 70 | apply hρ |
| 71 | apply lt_of_le_of_ne hpq |
| 72 | intro he |
| 73 | exact hr (he.symm ▸ parameter_mem R r q) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.QuotientSupport |