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.SpaceOverComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveProducts |
| 3 | |
| 4 | /-! # Quasi Projective Composite Immersion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveCompositeImmersion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A composition of quasi-projective presentations has a specified immersion into the projective product of the outer compactification and a projective space. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {M : Over S} {X : Over M.left} |
| 18 | variable (P : Projective.ProjectivePresentations.QuasiProjectivePresentation M) (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) |
| 19 | |
| 20 | def quasiProjectiveCompositeAmbient : Over S := |
| 21 | Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension ⊗ P.compactification |
| 22 | |
| 23 | def quasiProjectiveCompositeProjectivePresentation : Projective.ProjectivePresentations.ProjectivePresentation (quasiProjectiveCompositeAmbient P Q) := |
| 24 | (Projective.SpaceOverComposition.projectiveSpaceIdentityPresentation S Q.projective.dimension).product P.projective |
| 25 | |
| 26 | def quasiProjectiveCompositeEmbedding : (Over.map M.hom).obj X ⟶ quasiProjectiveCompositeAmbient P Q := |
| 27 | (Over.map M.hom).map Q.embedding ≫ (Over.map M.hom).map Q.projective.embedding ≫ |
| 28 | (Projective.SpaceOverComposition.projectiveSpaceOverCompositionIso M Q.projective.dimension).hom ≫ |
| 29 | (𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension) ⊗ₘ P.embedding) |
| 30 | |
| 31 | theorem quasiProjectiveCompositeEmbedding_immersion : IsImmersion (quasiProjectiveCompositeEmbedding P Q).left := by |
| 32 | have : IsOpenImmersion (𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension) : |
| 33 | Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension).left := |
| 34 | inferInstanceAs (IsOpenImmersion (𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension).left)) |
| 35 | have : IsOpenImmersion (𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension) ⊗ₘ P.embedding).left := |
| 36 | QuasiProjectiveProducts.overTensorMap_open (𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension)) P.embedding |
| 37 | have : IsIso (Projective.SpaceOverComposition.projectiveSpaceOverCompositionIso M Q.projective.dimension).hom.left := |
| 38 | inferInstanceAs (IsIso ((Over.forget S).map (Projective.SpaceOverComposition.projectiveSpaceOverCompositionIso M Q.projective.dimension).hom)) |
| 39 | have : IsOpenImmersion ((Over.map M.hom).map Q.embedding).left := Q.openImmersion |
| 40 | have : IsClosedImmersion ((Over.map M.hom).map Q.projective.embedding).left := Q.projective.closedImmersion |
| 41 | change IsImmersion (((Over.map M.hom).map Q.embedding).left ≫ |
| 42 | ((Over.map M.hom).map Q.projective.embedding).left ≫ |
| 43 | (Projective.SpaceOverComposition.projectiveSpaceOverCompositionIso M Q.projective.dimension).hom.left ≫ |
| 44 | (𝟙 (Projective.ProjectivePresentations.projectiveSpaceOver S Q.projective.dimension) ⊗ₘ P.embedding).left) |
| 45 | infer_instance |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveCompositeImmersion |