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 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Has |
| 3 | |
| 4 | /-! # Construction Projective Presentation Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact comparison of the HilbertConstruction and Presentations projective-space conventions, |
| 11 | preserving closed embeddings and the structure maps to the base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem Hilbert.ConstructionProjectivePresentationComparison.Core.e33_affineProjectiveSpace_map (R : CommRingCat.{u}) (n : ℕ) : |
| 18 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace R n).hom = Has.Core.projectiveSpaceMap R n := by |
| 19 | change Proj.toSpecZero _ ≫ Spec.map (CommRingCat.ofHom |
| 20 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.degreeZeroConstants R n).toRingHom) = |
| 21 | Proj.toSpecZero _ ≫ Spec.map (CommRingCat.ofHom (algebraMap R _)) |
| 22 | congr 2 |
| 23 | |
| 24 | def Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso (S : Scheme.{u}) (n : ℕ) : |
| 25 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S n ≅ Over.mk (Has.Core.projectiveSpaceProjection S n) := |
| 26 | Over.isoMk (pullback.congrHom (Hilbert.ConstructionProjectivePresentationComparison.Core.e33_affineProjectiveSpace_map Γ(S, ⊤) n) rfl) |
| 27 | (by |
| 28 | change pullback.lift _ _ _ ≫ pullback.snd _ _ = _ |
| 29 | exact pullback.lift_snd _ _ _) |
| 30 | |
| 31 | theorem Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso_hom_fst (S : Scheme.{u}) (n : ℕ) : |
| 32 | (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S n).hom.left ≫ pullback.fst (Has.Core.projectiveSpaceMap Γ(S, ⊤) n) S.toSpecΓ = |
| 33 | pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ := |
| 34 | pullback.lift_fst _ _ _ |
| 35 | |
| 36 | theorem Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso_inv_fst (S : Scheme.{u}) (n : ℕ) : |
| 37 | (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S n).inv.left ≫ |
| 38 | pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ = |
| 39 | pullback.fst (Has.Core.projectiveSpaceMap Γ(S, ⊤) n) S.toSpecΓ := |
| 40 | (Iso.inv_comp_eq ((Over.forget S).mapIso (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S n))).mpr |
| 41 | (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso_hom_fst S n).symm |
| 42 | |
| 43 | def Has.Core.ProjectivePresentation.toHilbertConstruction {S : Scheme.{u}} {X : Over S} |
| 44 | (B : Has.Core.ProjectivePresentation X) : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X where |
| 45 | dimension := B.dimension |
| 46 | embedding := Over.homMk B.embedding B.over_base ≫ (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).inv |
| 47 | closedImmersion := by |
| 48 | let := B.closed |
| 49 | let : IsIso (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).inv.left := |
| 50 | ((Over.forget S).mapIso (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).symm).isIso_hom |
| 51 | change IsClosedImmersion (B.embedding ≫ (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).inv.left) |
| 52 | infer_instance |
| 53 | |
| 54 | def Has.Core.ProjectivePresentation.ofHilbertConstruction {S : Scheme.{u}} {X : Over S} |
| 55 | (B : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) : Has.Core.ProjectivePresentation X where |
| 56 | dimension := B.dimension |
| 57 | embedding := (B.embedding ≫ (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).hom).left |
| 58 | closed := by |
| 59 | let : IsIso (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).hom.left := |
| 60 | ((Over.forget S).mapIso (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension)).isIso_hom |
| 61 | change IsClosedImmersion (B.embedding.left ≫ (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).hom.left) |
| 62 | infer_instance |
| 63 | over_base := (B.embedding ≫ (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S B.dimension).hom).w |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations |