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.ReferenceFamily.ProjectiveCoefficientBase |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjective |
| 3 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 4 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Iso |
| 5 | |
| 6 | /-! # Projective Adapter -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.ProjectiveAdapter.ProjectiveCoefficients |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! HilbertConstruction's relative projective presentations over Spec C give native |
| 13 | projective presentations of the very same complex scheme. The adapter |
| 14 | uses actual coefficient-ring and pullback isomorphisms. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjective |
| 19 | |
| 20 | def complexSectionRingEquiv : Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) ≃+* ℂ := |
| 21 | (Scheme.ΓSpecIso (.of ℂ)).commRingCatIsoToRingEquiv |
| 22 | |
| 23 | /-- The relative projective space of HilbertConstruction is the native complex Proj. -/ |
| 24 | def complexProjectiveIso (n : ℕ) : |
| 25 | (HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver Foundations.Scheme.ProjectiveSpace.complexBase n).left ≅ Foundations.Scheme.ProjectiveSpace.projectiveSpace n := by |
| 26 | let : IsIso Foundations.Scheme.ProjectiveSpace.complexBase.toSpecΓ := IsAffine.affine |
| 27 | have hfst : IsIso (pullback.fst (HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n).hom |
| 28 | Foundations.Scheme.ProjectiveSpace.complexBase.toSpecΓ) := pullback_fst_iso_of_right_iso _ _ |
| 29 | let e := @asIso Scheme _ _ _ |
| 30 | (pullback.fst (HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n).hom Foundations.Scheme.ProjectiveSpace.complexBase.toSpecΓ) hfst |
| 31 | exact e ≪≫ (ProjectiveCoefficientsId.ProjectiveCoefficients.schemeIso complexSectionRingEquiv n).symm |
| 32 | |
| 33 | theorem complexProjectiveIso_base (n : ℕ) : |
| 34 | (complexProjectiveIso n).hom ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n = |
| 35 | (HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver Foundations.Scheme.ProjectiveSpace.complexBase n).hom := by |
| 36 | let p := pullback.fst (HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n).hom Foundations.Scheme.ProjectiveSpace.complexBase.toSpecΓ |
| 37 | let q := pullback.snd (HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n).hom Foundations.Scheme.ProjectiveSpace.complexBase.toSpecΓ |
| 38 | have hc : (ProjectiveCoefficientsId.ProjectiveCoefficients.schemeIso complexSectionRingEquiv n).inv ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n = |
| 39 | (HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n).hom ≫ |
| 40 | Spec.map (Scheme.ΓSpecIso (.of ℂ)).inv := |
| 41 | ProjectiveCoefficientBase.ProjectiveCoefficients.schemeMap_base complexSectionRingEquiv.symm.toRingHom n |
| 42 | change (p ≫ (ProjectiveCoefficientsId.ProjectiveCoefficients.schemeIso complexSectionRingEquiv n).inv) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n = q |
| 43 | exact (Category.assoc _ _ _).trans |
| 44 | ((congrArg (fun z => p ≫ z) hc).trans |
| 45 | ((Category.assoc _ _ _).symm.trans |
| 46 | ((congrArg (fun z => z ≫ Spec.map (Scheme.ΓSpecIso (.of ℂ)).inv) pullback.condition).trans |
| 47 | ((Category.assoc _ _ _).trans |
| 48 | ((congrArg (fun z => q ≫ z) (toSpecΓ_SpecMap_ΓSpecIso_inv (.of ℂ))).trans |
| 49 | (Category.comp_id q)))))) |
| 50 | |
| 51 | def nativeProjectivePresentation {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} (P : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) : |
| 52 | Foundations.Scheme.SmoothProjective.ProjectivePresentation X.left X.hom where |
| 53 | ambientDimension := P.dimension |
| 54 | embedding := P.embedding.left ≫ (complexProjectiveIso P.dimension).hom |
| 55 | closedImmersion := inferInstanceAs |
| 56 | (IsClosedImmersion (P.embedding.left ≫ (complexProjectiveIso P.dimension).hom)) |
| 57 | over_base := (Category.assoc _ _ _).trans |
| 58 | ((congrArg (fun q => P.embedding.left ≫ q) (complexProjectiveIso_base P.dimension)).trans P.embedding.w) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.ProjectiveAdapter.ProjectiveCoefficients |