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.Resolution.Blowups.Etale.CenterDescent |
| 2 | import Mathlib.RingTheory.LocalProperties.Basic |
| 3 | |
| 4 | /-! # Flat Containment -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.FlatContainment.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ideal containment descends from actual pointed flat charts. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem flat_map_ideal_containment_at_prime |
| 15 | {R S : Type*} [CommRing R] [CommRing S] (f : R →+* S) (hf : f.Flat) |
| 16 | (J K p : Ideal R) [p.IsPrime] (q : Ideal S) [q.IsPrime] |
| 17 | (hq : q.comap f = p) (h : J.map f ≤ K.map f) : |
| 18 | J.map (algebraMap R (Localization.AtPrime p)) ≤ |
| 19 | K.map (algebraMap R (Localization.AtPrime p)) := by |
| 20 | have he : (J ⊔ K).map f = K.map f := by rw [Ideal.map_sup, sup_eq_right.mpr h] |
| 21 | have hl := Etale.CenterDescent.Construction.flat_map_ideal_equality_at_prime f hf (J ⊔ K) K p q hq he |
| 22 | rw [Ideal.map_sup] at hl |
| 23 | exact sup_eq_right.mp hl |
| 24 | |
| 25 | theorem ideal_le_of_pointed_flat_charts |
| 26 | {R : Type u} [CommRing R] (J K : Ideal R) |
| 27 | (h : ∀ p : PrimeSpectrum R, |
| 28 | ∃ (S : CommRingCat.{u}) (f : R →+* S), f.Flat ∧ |
| 29 | ∃ q : PrimeSpectrum S, PrimeSpectrum.comap f q = p ∧ J.map f ≤ K.map f) : |
| 30 | J ≤ K := by |
| 31 | apply Ideal.le_of_localization_maximal |
| 32 | intro p hp |
| 33 | let : p.IsMaximal := hp |
| 34 | obtain ⟨S, f, hf, q, hq, hJK⟩ := h ⟨p, inferInstance⟩ |
| 35 | exact flat_map_ideal_containment_at_prime f hf J K p q.asIdeal |
| 36 | (congrArg PrimeSpectrum.asIdeal hq) hJK |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.FlatContainment.Construction |