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 | /-! # Embedding Cartesian Kernels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.EmbeddingCartesianKernels |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A Cartesian square of closed embeddings identifies the inverse-image ideal sheaf. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem closedEmbedding_ker_of_isPullback |
| 16 | {ZX ZY X Y : Scheme.{u}} (iX : ZX ⟶ X) (iY : ZY ⟶ Y) (q : ZX ⟶ ZY) (f : X ⟶ Y) |
| 17 | [IsClosedImmersion iY] (h : IsPullback iX q f iY) : iX.ker = iY.ker.comap f := by |
| 18 | calc |
| 19 | iX.ker = (h.isoPullback.hom ≫ pullback.fst f iY).ker := congrArg (fun k => k.ker) h.isoPullback_hom_fst.symm |
| 20 | _ = (pullback.fst f iY).ker := Scheme.Hom.ker_comp_of_isIso _ _ |
| 21 | _ = iY.ker.comap f := Scheme.IdealSheafData.ker_fst_of_isClosedImmersion iY f |
| 22 | |
| 23 | end |
| 24 | |
| 25 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.EmbeddingCartesianKernels |