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.Nakayama |
| 2 | import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic |
| 3 | import Mathlib.RingTheory.Noetherian.Basic |
| 4 | |
| 5 | /-! # Idempotent Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IdempotentKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A proper ideal in a Noetherian local ring cannot retain a nonzero |
| 12 | idempotent quotient. Applied after a surjection, this identifies the |
| 13 | localized inverse-image ideal with the localized kernel. -/ |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable (R : Type u) (S : Type v) (L : Type w) [CommRing R] [CommRing S] [CommRing L] |
| 18 | |
| 19 | theorem global_containment (φ : R →+* S) (hφ : Function.Surjective φ) |
| 20 | (I : Ideal S) (hI : I * I = I) : |
| 21 | I.comap φ ≤ RingHom.ker φ ⊔ (I.comap φ) * (I.comap φ) := by |
| 22 | have hk : RingHom.ker φ ≤ I.comap φ := Ideal.comap_mono bot_le |
| 23 | have he : ((I.comap φ) * (I.comap φ)).map φ = (I.comap φ).map φ := by |
| 24 | rw [Ideal.map_mul, Ideal.map_comap_of_surjective φ hφ, hI] |
| 25 | have hc := congrArg (Ideal.comap φ) he |
| 26 | rw [Ideal.comap_map_of_surjective', Ideal.comap_map_of_surjective', sup_of_le_left hk] at hc |
| 27 | · exact le_of_eq (hc.symm.trans (sup_comm _ _)) |
| 28 | all_goals exact hφ |
| 29 | |
| 30 | theorem localized [IsNoetherianRing L] [IsLocalRing L] |
| 31 | (φ : R →+* S) (hφ : Function.Surjective φ) (I : Ideal S) (hI : I * I = I) |
| 32 | (g : R →+* L) (hp : (I.comap φ).map g ≠ ⊤) : |
| 33 | (I.comap φ).map g = (RingHom.ker φ).map g := by |
| 34 | let J := (I.comap φ).map g |
| 35 | let K := (RingHom.ker φ).map g |
| 36 | have hK : K ≤ J := Ideal.map_mono (Ideal.comap_mono bot_le) |
| 37 | have hj : J ≤ K ⊔ J * J := by |
| 38 | have h := Ideal.map_mono (global_containment R S φ hφ I hI) (f := g) |
| 39 | simpa only [Ideal.map_sup, Ideal.map_mul] using h |
| 40 | apply le_antisymm _ hK |
| 41 | apply Submodule.le_of_le_smul_of_le_jacobson_bot (IsNoetherian.noetherian J) |
| 42 | ((IsLocalRing.le_maximalIdeal hp).trans (IsLocalRing.maximalIdeal_le_jacobson _)) |
| 43 | simpa only [Ideal.smul_eq_mul] using hj |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IdempotentKernel |