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.Tor.Support |
| 2 | import Mathlib.RingTheory.Ideal.Height |
| 3 | |
| 4 | /-! # Prime Quotient Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrimeQuotientLocalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Prime quotients vanish after localization away from their support; |
| 11 | height at least two makes this hold at every height-one prime. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R : Type u) [CommRing R] |
| 19 | |
| 20 | theorem annihilated (p : Ideal R) (r : R) (hr : r ∈ p) (x : R ⧸ p) : r • x = 0 := by |
| 21 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 22 | change Ideal.Quotient.mk p (r * a) = 0 |
| 23 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (p.mul_mem_right a hr) |
| 24 | |
| 25 | theorem localized_isZero (p q : Ideal R) [q.IsPrime] (h : ¬ p ≤ q) : |
| 26 | IsZero ((Flat.Extension.baseChange R (Localization.AtPrime q)).obj |
| 27 | (ModuleCat.of R (R ⧸ p))) := by |
| 28 | obtain ⟨r, hrp, hrq⟩ := SetLike.not_le_iff_exists.mp h |
| 29 | let : Subsingleton (LocalizedModule q.primeCompl (R ⧸ p)) := |
| 30 | LocalizedModule.subsingleton_iff.mpr (fun x => ⟨r, hrq, annihilated R p r hrp x⟩) |
| 31 | let : Subsingleton (Localization.AtPrime q ⊗[R] (R ⧸ p)) := |
| 32 | (LocalizedModule.equivTensorProduct q.primeCompl (R ⧸ p)).symm.injective.subsingleton |
| 33 | exact ModuleCat.isZero_iff_subsingleton.mpr |
| 34 | (inferInstanceAs (Subsingleton (Localization.AtPrime q ⊗[R] (R ⧸ p)))) |
| 35 | |
| 36 | theorem height_one_isZero (p : Ideal R) (hp : 1 < p.height) |
| 37 | (q : Ideal R) [q.IsPrime] (hq : q.height = 1) : |
| 38 | IsZero ((Flat.Extension.baseChange R (Localization.AtPrime q)).obj |
| 39 | (ModuleCat.of R (R ⧸ p))) := by |
| 40 | apply localized_isZero R p q |
| 41 | intro hle |
| 42 | exact (not_le_of_gt hp) ((Ideal.height_mono hle).trans hq.le) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrimeQuotientLocalization |