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.Morphisms.Separated |
| 2 | |
| 3 | /-! # Pullback Embedding Of -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackEmbeddingOf.Construction.PullbackEmbedding |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A fiber product over a separated base embeds as a closed subscheme |
| 10 | of the ordinary product. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem closed {S X Y : Scheme.{u}} [S.IsSeparated] (f : X ⟶ S) (g : Y ⟶ S) : |
| 17 | IsClosedImmersion (prod.lift (pullback.fst f g) (pullback.snd f g)) := by |
| 18 | let e := pullback.congrHom (terminal.comp_from f) (terminal.comp_from g) |
| 19 | have he : prod.lift (pullback.fst f g) (pullback.snd f g) = |
| 20 | pullback.mapDesc f g (terminal.from S) ≫ e.hom ≫ (prodIsoPullback X Y).inv := by |
| 21 | apply prod.hom_ext <;> |
| 22 | simp only [Category.assoc, prod.lift_fst, prod.lift_snd, |
| 23 | prodIsoPullback_inv_fst, prodIsoPullback_inv_snd, e, pullback.congrHom_hom, |
| 24 | pullback.map, pullback.mapDesc, pullback.lift_fst, pullback.lift_snd, Category.comp_id] |
| 25 | rw [he] |
| 26 | infer_instance |
| 27 | |
| 28 | theorem pair_of_closed {S X Y Z : Scheme.{u}} [S.IsSeparated] |
| 29 | (f : X ⟶ S) (g : Y ⟶ S) (c : Z ⟶ pullback f g) [IsClosedImmersion c] : |
| 30 | IsClosedImmersion (prod.lift (c ≫ pullback.fst f g) (c ≫ pullback.snd f g)) := by |
| 31 | have := closed f g |
| 32 | rw [← prod.comp_lift] |
| 33 | infer_instance |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackEmbeddingOf.Construction.PullbackEmbedding |