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.AlgebraicGeometry.IdealSheaf.Functorial |
| 2 | |
| 3 | /-! # Immersion Ideal Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ImmersionIdealEmbedding |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Closed subschemes of a closed ambient subscheme correspond exactly |
| 10 | to ambient ideals containing its defining ideal. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y : Scheme.{u}} (j : X ⟶ Y) [IsClosedImmersion j] |
| 16 | |
| 17 | theorem ideal_comap_map_closed (I : X.IdealSheafData) : (I.map j).comap j = I := by |
| 18 | have h : IsPullback I.subschemeι (𝟙 I.subscheme) j (I.subschemeι ≫ j) := |
| 19 | IsPullback.of_vert_isIso_mono ⟨(Category.id_comp _).symm⟩ |
| 20 | change (I.subschemeι ≫ j).ker.comap j = I |
| 21 | rw [← Scheme.IdealSheafData.ker_fst_of_isClosedImmersion, |
| 22 | ← Scheme.Hom.ker_comp_of_isIso h.isoPullback.hom, |
| 23 | h.isoPullback_hom_fst, Scheme.IdealSheafData.ker_subschemeι] |
| 24 | |
| 25 | theorem ideal_map_closed_injective : Function.Injective (fun I : X.IdealSheafData => I.map j) := by |
| 26 | intro I J h |
| 27 | have he := congrArg (fun K : Y.IdealSheafData => K.comap j) h |
| 28 | simpa only [ideal_comap_map_closed] using he |
| 29 | |
| 30 | theorem ideal_map_comap_closed (J : Y.IdealSheafData) (hJ : j.ker ≤ J) : |
| 31 | (J.comap j).map j = J := by |
| 32 | let l := IsClosedImmersion.lift j J.subschemeι (by simpa only [J.ker_subschemeι] using hJ) |
| 33 | have hl : l ≫ j = J.subschemeι := IsClosedImmersion.lift_fac _ _ _ |
| 34 | have hk : l.ker.map j = J := by |
| 35 | rw [Scheme.IdealSheafData.map_ker, hl, J.ker_subschemeι] |
| 36 | rw [← hk, ideal_comap_map_closed] |
| 37 | |
| 38 | theorem ideal_map_closed_range (J : Y.IdealSheafData) : |
| 39 | (∃ I : X.IdealSheafData, I.map j = J) ↔ j.ker ≤ J := by |
| 40 | constructor |
| 41 | · rintro ⟨I, rfl⟩ |
| 42 | exact Scheme.Hom.le_ker_comp I.subschemeι j |
| 43 | · intro hJ |
| 44 | exact ⟨J.comap j, ideal_map_comap_closed j J hJ⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ImmersionIdealEmbedding |