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.Ideal.KrullsHeightTheorem |
| 2 | import Mathlib.RingTheory.Ideal.GoingDown |
| 3 | |
| 4 | /-! # Flat Prime Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.FlatPrimeExtension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flat prime extension preserves height when extension and contraction |
| 11 | agree. Height-one primes meeting the base are then extended primes. -/ |
| 12 | |
| 13 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 14 | [IsNoetherianRing R] [IsNoetherianRing S] [Module.Flat R S] |
| 15 | |
| 16 | theorem flatPrimeExtension_height (p : Ideal R) [p.IsPrime] |
| 17 | [(p.map (algebraMap R S)).IsPrime] |
| 18 | (hp : Ideal.comap (algebraMap R S) (p.map (algebraMap R S)) = p) : |
| 19 | (p.map (algebraMap R S)).height = p.height := by |
| 20 | let : (p.map (algebraMap R S)).LiesOver p := ⟨hp.symm⟩ |
| 21 | have h := Ideal.height_eq_height_add_of_liesOver_of_hasGoingDown p (p.map (algebraMap R S)) |
| 22 | simpa only [Ideal.map_quotient_self, Ideal.height_bot, add_zero] using h |
| 23 | |
| 24 | theorem flatHeightOne_isExtended [IsDomain R] |
| 25 | (P : Ideal S) [P.IsPrime] [((P.comap (algebraMap R S)).map (algebraMap R S)).IsPrime] |
| 26 | (hP : P.height = 1) (hp : P.comap (algebraMap R S) ≠ ⊥) |
| 27 | (hcomp : Ideal.comap (algebraMap R S) ((P.comap (algebraMap R S)).map (algebraMap R S)) = |
| 28 | P.comap (algebraMap R S)) : (P.comap (algebraMap R S)).map (algebraMap R S) = P := by |
| 29 | let p := P.comap (algebraMap R S) |
| 30 | have hle : p.map (algebraMap R S) ≤ P := Ideal.map_comap_le |
| 31 | have hpheight : 1 ≤ p.height := |
| 32 | Order.one_le_iff_ne_zero.mpr (Ideal.height_eq_zero_iff_eq_bot.not.mpr hp) |
| 33 | apply Ideal.eq_of_le_of_height_le (p.map (algebraMap R S)) hle |
| 34 | rw [flatPrimeExtension_height p hcomp, hP] |
| 35 | exact hpheight |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Divisors.LineBundles.FlatPrimeExtension.BundleCycles |