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.ProjectivePresentations |
| 2 | |
| 3 | /-! # Projective Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.ProjectiveEmbedding |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Over an affine base, an actual projective presentation gives an actual |
| 10 | closed immersion into polynomial projective space over the ring of base functions. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | def projectiveAffineEmbedding {S : Scheme.{u}} (A : Over S) |
| 21 | (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) : |
| 22 | A.left ⟶ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).left := |
| 23 | P.embedding.left ≫ pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom S.toSpecΓ |
| 24 | |
| 25 | instance projectiveAffineEmbedding_isClosedImmersion {S : Scheme.{u}} [IsAffine S] |
| 26 | (A : Over S) (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) : |
| 27 | IsClosedImmersion (projectiveAffineEmbedding A P) := by |
| 28 | have : IsClosedImmersion P.embedding.left := P.closedImmersion |
| 29 | have : IsIso (pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom S.toSpecΓ) := |
| 30 | inferInstance |
| 31 | unfold projectiveAffineEmbedding |
| 32 | exact IsClosedImmersion.comp P.embedding.left _ |
| 33 | |
| 34 | end Construction |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.ProjectiveEmbedding |