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 | /-! # Pullback Vanishing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.PullbackVanishing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Vanishing of an ideal is unchanged by an isomorphism or by |
| 10 | reassociating an iterated base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem ideal_comap_iso_eq_bot_iff {X Y : Scheme.{u}} (e : X ≅ Y) |
| 17 | (K : Y.IdealSheafData) : K.comap e.hom = ⊥ ↔ K = ⊥ := by |
| 18 | constructor |
| 19 | · intro h |
| 20 | have he := congrArg (fun J : X.IdealSheafData => J.comap e.inv) h |
| 21 | simpa only [← Scheme.IdealSheafData.comap_comp, Iso.inv_hom_id, |
| 22 | Scheme.IdealSheafData.comap_id, Scheme.IdealSheafData.comap_bot] using he |
| 23 | · intro h |
| 24 | rw [h, Scheme.IdealSheafData.comap_bot] |
| 25 | |
| 26 | theorem pullback_ideal_vanishing_comp {X S T U : Scheme.{u}} |
| 27 | (f : X ⟶ S) (g : T ⟶ S) (h : U ⟶ T) (K : X.IdealSheafData) : |
| 28 | (K.comap (pullback.fst f g)).comap (pullback.fst (pullback.snd f g) h) = ⊥ ↔ |
| 29 | K.comap (pullback.fst f (h ≫ g)) = ⊥ := by |
| 30 | let e := pullbackLeftPullbackSndIso f g h |
| 31 | rw [← Scheme.IdealSheafData.comap_comp, |
| 32 | ← pullbackLeftPullbackSndIso_hom_fst, Scheme.IdealSheafData.comap_comp] |
| 33 | exact ideal_comap_iso_eq_bot_iff e _ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.PullbackVanishing |