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.HilbertScheme.Presentations.Closed.ImmersionIdealEmbedding |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 3 | |
| 4 | /-! # Kernel Flat Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.KernelFlatBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The kernel ideal of a quasi-compact morphism commutes with flat |
| 11 | base change, by factoring through its scheme-theoretic image. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {X Y S : Scheme.{u}} |
| 17 | |
| 18 | theorem toImage_schemeTheoreticallyDominant (g : Y ⟶ S) : |
| 19 | IsSchemeTheoreticallyDominant g.toImage := by |
| 20 | constructor |
| 21 | apply Closed.ImmersionIdealEmbedding.ideal_map_closed_injective g.imageι |
| 22 | dsimp only |
| 23 | rw [Scheme.IdealSheafData.map_ker, g.toImage_imageι, |
| 24 | Scheme.IdealSheafData.map_bot, g.ker.ker_subschemeι] |
| 25 | |
| 26 | theorem kernel_flat_baseChange (f : X ⟶ S) (g : Y ⟶ S) |
| 27 | [Flat f] [QuasiCompact g] : |
| 28 | (pullback.fst f g).ker = g.ker.comap f := by |
| 29 | let : IsSchemeTheoreticallyDominant g.toImage := toImage_schemeTheoreticallyDominant g |
| 30 | let e := pullbackLeftPullbackSndIso f g.imageι g.toImage |
| 31 | have hz : (pullback.fst (pullback.snd f g.imageι) g.toImage).ker = ⊥ := |
| 32 | Scheme.Hom.ker_eq_bot _ |
| 33 | calc |
| 34 | (pullback.fst f g).ker = (pullback.fst f (g.toImage ≫ g.imageι)).ker := by |
| 35 | rw [g.toImage_imageι] |
| 36 | _ = (e.hom ≫ pullback.fst f (g.toImage ≫ g.imageι)).ker := |
| 37 | (Scheme.Hom.ker_comp_of_isIso e.hom _).symm |
| 38 | _ = (pullback.fst (pullback.snd f g.imageι) g.toImage ≫ |
| 39 | pullback.fst f g.imageι).ker := by |
| 40 | rw [pullbackLeftPullbackSndIso_hom_fst] |
| 41 | _ = g.ker.comap f := by |
| 42 | rw [Scheme.Hom.ker_comp, hz, Scheme.IdealSheafData.map_bot, |
| 43 | Scheme.IdealSheafData.ker_fst_of_isClosedImmersion, g.ker.ker_subschemeι] |
| 44 | |
| 45 | theorem ideal_vanishing_flat_baseChange (f : X ⟶ S) (g : Y ⟶ S) |
| 46 | [Flat f] [QuasiCompact g] (K : X.IdealSheafData) : |
| 47 | K.comap (pullback.fst f g) = ⊥ ↔ K ≤ g.ker.comap f := by |
| 48 | rw [← le_bot_iff, ← Scheme.IdealSheafData.le_map_iff_comap_le, |
| 49 | Scheme.IdealSheafData.map_bot, kernel_flat_baseChange] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.KernelFlatBaseChange |