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.SurfacePrimeFactors |
| 2 | import Mathlib.RingTheory.Ideal.KrullsHeightTheorem |
| 3 | |
| 4 | /-! # Surface Parameters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SurfaceParameters.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: proper parameters on a local surface |
| 12 | |
| 13 | When (a,b) has maximal radical in a two-dimensional Noetherian local |
| 14 | ring, a is outside every prime minimal over (b). Krull's principal |
| 15 | ideal theorem rules out a common minimal component. This supplies |
| 16 | the actual injectivity on each prime support used in intersection lengths. |
| 17 | -/ |
| 18 | |
| 19 | variable {R : Type*} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 20 | |
| 21 | theorem surfaceParameter_not_mem_minimal (a b : R) |
| 22 | (hdim : ringKrullDim R = 2) |
| 23 | (hab : (Ideal.span {a, b}).radical = IsLocalRing.maximalIdeal R) |
| 24 | (P : Ideal R) (hP : P ∈ (Ideal.span {b}).minimalPrimes) : a ∉ P := by |
| 25 | let : P.IsPrime := hP.isPrime |
| 26 | intro haP |
| 27 | have hbP : b ∈ P := hP.le (Ideal.subset_span (Set.mem_singleton b)) |
| 28 | have hle : Ideal.span {a, b} ≤ P := by |
| 29 | apply Ideal.span_le.mpr |
| 30 | intro x hx |
| 31 | rcases Set.mem_insert_iff.mp hx with rfl | hx |
| 32 | · exact haP |
| 33 | · exact (Set.mem_singleton_iff.mp hx) ▸ hbP |
| 34 | have hmP : IsLocalRing.maximalIdeal R ≤ P := by |
| 35 | rw [← hab] |
| 36 | exact (Ideal.radical_mono hle).trans_eq hP.isPrime.radical |
| 37 | have hPe : P = IsLocalRing.maximalIdeal R := |
| 38 | le_antisymm (IsLocalRing.le_maximalIdeal Ideal.IsPrime.ne_top') hmP |
| 39 | have hh : P.height ≤ (1 : ℕ∞) := |
| 40 | Ideal.height_le_one_of_isPrincipal_of_mem_minimalPrimes (Ideal.span {b}) P hP |
| 41 | have hh' : ((IsLocalRing.maximalIdeal R).height : WithBot ℕ∞) ≤ 1 := |
| 42 | WithBot.coe_le_coe.mpr (hPe ▸ hh) |
| 43 | rw [IsLocalRing.maximalIdeal_height_eq_ringKrullDim, hdim] at hh' |
| 44 | exact (by norm_num : ¬ (2 : WithBot ℕ∞) ≤ 1) hh' |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SurfaceParameters.BundleCycles |