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.RelativeGluing |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | |
| 4 | /-! # Gluing Closed Immersion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GluingClosedImmersion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible closed chart embeddings glue to a closed immersion into the ambient scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem relativeGluing_toBase_closed |
| 17 | {S : Scheme.{u}} (U : S.OpenCover) [Category U.I₀] [U.LocallyDirected] |
| 18 | [Quiver.IsThin U.I₀] [Small.{u} U.I₀] (d : U.RelativeGluingData) |
| 19 | [∀ i, IsClosedImmersion (d.natTrans.app i)] : IsClosedImmersion d.toBase := by |
| 20 | apply (IsZariskiLocalAtTarget.iff_of_openCover (P := @IsClosedImmersion) U).mpr |
| 21 | intro i |
| 22 | let H := (d.isPullback_natTrans_ι_toBase i).flip |
| 23 | have hc : IsClosedImmersion (H.isoPullback.inv ≫ d.natTrans.app i) := IsClosedImmersion.comp _ _ |
| 24 | have he : H.isoPullback.inv ≫ d.natTrans.app i = U.pullbackHom d.toBase i := H.isoPullback_inv_snd |
| 25 | exact (congrArg IsClosedImmersion he).mp hc |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GluingClosedImmersion |