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.AbelianModuli.HilbertConstruction.Projective.ParameterLoci |
| 2 | |
| 3 | /-! # Quasi Projective Immersions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A quasi-compact immersion into an actually projective scheme has an actual projective compactification and quasi-projective presentation. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {X Y : Over S} |
| 16 | |
| 17 | def Projective.ProjectivePresentations.ProjectivePresentation.quasiProjectiveImmersion (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 18 | (j : Y ⟶ X) [IsImmersion j.left] [QuasiCompact j.left] : Projective.ProjectivePresentations.QuasiProjectivePresentation Y := by |
| 19 | let Z : Over S := Over.mk (j.left.imageι ≫ X.hom) |
| 20 | let k : Z ⟶ X := Over.homMk j.left.imageι |
| 21 | let a : Y ⟶ Z := Over.homMk j.left.toImage (by |
| 22 | change j.left.toImage ≫ (j.left.imageι ≫ X.hom) = Y.hom |
| 23 | rw [← Category.assoc, j.left.toImage_imageι, j.w]) |
| 24 | have : IsClosedImmersion k.left := inferInstanceAs (IsClosedImmersion j.left.imageι) |
| 25 | have : IsOpenImmersion a.left := inferInstanceAs (IsOpenImmersion j.left.toImage) |
| 26 | have : QuasiCompact a.left := inferInstanceAs (QuasiCompact j.left.toImage) |
| 27 | exact (P.ofClosedImmersion k).quasiProjectiveOpen a |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |