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 Mathlib.RingTheory.KrullDimension.Polynomial |
| 2 | import Mathlib.RingTheory.Ideal.GoingDown |
| 3 | |
| 4 | /-! # Prime Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.PrimeExtension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: vertical divisor primes in a polynomial extension |
| 12 | |
| 13 | Extending a prime to the polynomial ring preserves its height. A |
| 14 | height-one prime meeting the base nontrivially is exactly that extension. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.Polynomial |
| 18 | |
| 19 | variable {R : Type*} [CommRing R] |
| 20 | |
| 21 | theorem polynomialPrimeExtension_comap (p : Ideal R) : |
| 22 | Ideal.comap (C : R →+* R[X]) (p.map C) = p := by |
| 23 | ext a |
| 24 | constructor |
| 25 | · intro ha |
| 26 | simpa only [coeff_C_zero] using (Ideal.mem_map_C_iff.mp ha) 0 |
| 27 | · intro ha |
| 28 | exact Ideal.mem_map_of_mem C ha |
| 29 | |
| 30 | theorem polynomialPrimeExtension_height [IsNoetherianRing R] (p : Ideal R) [p.IsPrime] : |
| 31 | (p.map (C : R →+* R[X])).height = p.height := by |
| 32 | let : (p.map (C : R →+* R[X])).LiesOver p := ⟨(polynomialPrimeExtension_comap p).symm⟩ |
| 33 | have h := Ideal.height_eq_height_add_of_liesOver_of_hasGoingDown p (p.map (C : R →+* R[X])) |
| 34 | change (p.map C).height = p.height + ((p.map C).map (Ideal.Quotient.mk (p.map C))).height at h |
| 35 | simpa only [Ideal.map_quotient_self, Ideal.height_bot, add_zero] using h |
| 36 | |
| 37 | theorem polynomialHeightOne_isExtended [IsNoetherianRing R] [IsDomain R] |
| 38 | (P : Ideal R[X]) [P.IsPrime] (hP : P.height = 1) |
| 39 | (hp : Ideal.comap (C : R →+* R[X]) P ≠ ⊥) : |
| 40 | (Ideal.comap (C : R →+* R[X]) P).map C = P := by |
| 41 | let p := Ideal.comap (C : R →+* R[X]) P |
| 42 | have hle : p.map C ≤ P := Ideal.map_comap_le |
| 43 | have hpheight : 1 ≤ p.height := |
| 44 | Order.one_le_iff_ne_zero.mpr (Ideal.height_eq_zero_iff_eq_bot.not.mpr hp) |
| 45 | apply Ideal.eq_of_le_of_height_le (p.map C) hle |
| 46 | rw [polynomialPrimeExtension_height, hP] |
| 47 | exact hpheight |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.PrimeExtension.BundleCycles |