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.AbelianModuli.HilbertConstruction.Closed.ConditionIdeals |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.IdealBaseChange |
| 3 | |
| 4 | /-! # Ideal Chart Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.IdealChartPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed chart whose defining ideal is the pulled-back ideal gives an actual Cartesian family square. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {P Q Z : Scheme.{u}} (I : P.IdealSheafData) |
| 17 | variable (j : Z ⟶ Q) (p : Q ⟶ P) (hI : I.comap p = j.ker) |
| 18 | |
| 19 | include hI in |
| 20 | theorem closedIdealChart_le_kernel : I ≤ (j ≫ p).ker := by |
| 21 | apply (ConditionIdeals.ideal_comap_eq_bot_iff I (j ≫ p)).mp |
| 22 | rw [I.comap_comp, hI] |
| 23 | exact (ConditionIdeals.ideal_comap_eq_bot_iff j.ker j).mpr le_rfl |
| 24 | |
| 25 | def closedIdealChartMap : Z ⟶ I.subscheme := |
| 26 | IsClosedImmersion.lift I.subschemeι (j ≫ p) |
| 27 | (I.ker_subschemeι.symm ▸ closedIdealChart_le_kernel I j p hI) |
| 28 | |
| 29 | theorem closedIdealChartMap_embedding : |
| 30 | closedIdealChartMap I j p hI ≫ I.subschemeι = j ≫ p := |
| 31 | IsClosedImmersion.lift_fac _ _ _ |
| 32 | |
| 33 | variable [IsClosedImmersion j] |
| 34 | |
| 35 | theorem closedIdealChartMap_isPullback : |
| 36 | IsPullback (closedIdealChartMap I j p hI) j I.subschemeι p := by |
| 37 | apply (isPullback_of_isClosedImmersion j I.subschemeι |
| 38 | (closedIdealChartMap I j p hI) p (closedIdealChartMap_embedding I j p hI).symm ?_).flip |
| 39 | exact (congrArg (fun J => J.comap p) I.ker_subschemeι).trans hI |
| 40 | |
| 41 | theorem closedIdealChartFamily_isPullback {S T : Scheme.{u}} (q : Q ⟶ T) |
| 42 | (f : P ⟶ S) (x : T ⟶ S) (h : IsPullback p q f x) : |
| 43 | IsPullback (closedIdealChartMap I j p hI) (j ≫ q) (I.subschemeι ≫ f) x := |
| 44 | (closedIdealChartMap_isPullback I j p hI).paste_vert h |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.IdealChartPullback |