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.Spectrum.Prime.Basic |
| 2 | |
| 3 | /-! # Point Over Closed Point -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.PointOverClosedPoint.Construction |
| 6 | |
| 7 | /-! A prime over a closed point has a maximal specialization over that same point. -/ |
| 8 | |
| 9 | theorem exists_maximal_point_over_closed_point {R S : Type*} [CommRing R] [CommRing S] |
| 10 | (f : R →+* S) (q : Ideal R) [q.IsMaximal] |
| 11 | (P : PrimeSpectrum S) (hP : P.asIdeal.comap f = q) : |
| 12 | ∃ Q : Ideal S, Q.IsMaximal ∧ Q.comap f = q := by |
| 13 | obtain ⟨Q, hQ, hPQ⟩ := Ideal.exists_le_maximal P.asIdeal P.isPrime.ne_top |
| 14 | let : Q.IsMaximal := hQ |
| 15 | have hqQ : q ≤ Q.comap f := hP ▸ Ideal.comap_mono hPQ |
| 16 | exact ⟨Q, hQ, ((inferInstance : q.IsMaximal).eq_of_le |
| 17 | (inferInstance : (Q.comap f).IsPrime).ne_top hqQ).symm⟩ |
| 18 | |
| 19 | end OAI.AlgebraicGeometry.Resolution.Blowups.PointOverClosedPoint.Construction |