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.PrimeEuler |
| 2 | import Mathlib.RingTheory.KrullDimension.Regular |
| 3 | |
| 4 | /-! # Isolated Parameter Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedParameterDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A parameter whose module fiber is supported only at the closed |
| 11 | point forces the module support to have dimension at most one. Thus |
| 12 | every nonclosed support prime is minimal in that support. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory IsLocalRing |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 21 | (M : ModuleCat.{u} R) [Module.Finite R M] (r : R) |
| 22 | (hisolated : Module.support R M ∩ Module.support R (R ⧸ Ideal.span {r}) ⊆ {closedPoint R}) |
| 23 | |
| 24 | include hisolated |
| 25 | |
| 26 | omit [IsNoetherianRing R] in |
| 27 | theorem quotient_support : Module.support R (QuotSMulTop r M) ⊆ {closedPoint R} := by |
| 28 | rw [Module.support_quotSMulTop] |
| 29 | intro p hp |
| 30 | apply hisolated |
| 31 | refine ⟨hp.1, ?_⟩ |
| 32 | rw [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker] |
| 33 | exact Ideal.span_le.mpr hp.2 |
| 34 | |
| 35 | theorem dimension (hr : r ∈ maximalIdeal R) : Module.supportDim R M ≤ 1 := by |
| 36 | have hs := quotient_support R M r hisolated |
| 37 | let : Subsingleton (Module.support R (QuotSMulTop r M)) := ⟨fun p q => |
| 38 | Subtype.ext ((Set.mem_singleton_iff.mp (hs p.property)).trans (Set.mem_singleton_iff.mp (hs q.property)).symm)⟩ |
| 39 | have hd : Module.supportDim R (QuotSMulTop r M) ≤ 0 := Order.krullDim_nonpos_of_subsingleton |
| 40 | have hsum : Module.supportDim R (QuotSMulTop r M) + 1 ≤ (0 : WithBot ℕ∞) + 1 := add_le_add hd le_rfl |
| 41 | have h := (Module.supportDim_le_supportDim_quotSMulTop_succ (M := M) hr).trans hsum |
| 42 | simpa only [zero_add] using h |
| 43 | |
| 44 | theorem minimal (hr : r ∈ maximalIdeal R) (p : PrimeSpectrum R) (hp : p ∈ Module.support R M) |
| 45 | (hne : p ≠ closedPoint R) (q : PrimeSpectrum R) (hq : q ∈ Module.support R M) |
| 46 | (hqp : q.asIdeal ≤ p.asIdeal) : q = p := by |
| 47 | have hd : Order.krullDim (Module.support R M) ≤ 1 := dimension R M r hisolated hr |
| 48 | rcases (Order.krullDim_le_one_iff.mp hd) ⟨p, hp⟩ with hmin | hmax |
| 49 | · apply PrimeSpectrum.ext |
| 50 | exact le_antisymm hqp (hmin (b := ⟨q, hq⟩) hqp) |
| 51 | · have hpm : p.asIdeal ≤ maximalIdeal R := le_maximalIdeal p.isPrime.ne_top |
| 52 | have hm : closedPoint R ∈ Module.support R M := Module.mem_support_mono hpm hp |
| 53 | have hmp : (⟨closedPoint R, hm⟩ : Module.support R M) ≤ ⟨p, hp⟩ := hmax hpm |
| 54 | exact (hne (PrimeSpectrum.ext (le_antisymm hpm hmp))).elim |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedParameterDimension |