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.ProjectiveChartCoefficients |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.ProjectiveAdapter |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AmpleSectionEmbedding |
| 4 | |
| 5 | /-! # Section Morphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.SectionMorphism |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Section embeddings into the original native complex projective |
| 12 | space, with their actual local coordinate formulas retained. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) {L : X.left.Modules} {n : ℕ} |
| 17 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule X.left ⟶ L)) |
| 18 | (hs : ∀ x : X.left, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 19 | |
| 20 | def nativeSectionMorphism : X ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := |
| 21 | Over.homMk ((HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs).left ≫ (ProjectiveAdapter.ProjectiveCoefficients.complexProjectiveIso n).hom) |
| 22 | ((Category.assoc _ _ _).trans |
| 23 | ((congrArg (fun a => (HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs).left ≫ a) |
| 24 | (ProjectiveAdapter.ProjectiveCoefficients.complexProjectiveIso_base n)).trans (HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs).w)) |
| 25 | |
| 26 | theorem nativeSectionMorphism_left : |
| 27 | (nativeSectionMorphism X s hs).left = HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism X.hom s hs ≫ |
| 28 | ProjectiveCoefficientsId.ProjectiveCoefficients.schemeMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n := by |
| 29 | change (HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism X.hom s hs).left ≫ |
| 30 | (pullback.fst (HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n).hom Foundations.Scheme.ProjectiveSpace.complexBase.toSpecΓ ≫ |
| 31 | ProjectiveCoefficientsId.ProjectiveCoefficients.schemeMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n) = _ |
| 32 | exact (Category.assoc _ _ _).symm.trans |
| 33 | (congrArg (fun a => a ≫ ProjectiveCoefficientsId.ProjectiveCoefficients.schemeMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n) |
| 34 | (pullback.lift_fst _ _ _)) |
| 35 | |
| 36 | theorem nativeSectionMorphism_restrict (i : Fin (n + 1)) : |
| 37 | (HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ (nativeSectionMorphism X s hs).left = |
| 38 | HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartMap |
| 39 | ((((HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ X.hom).appTop.hom).comp |
| 40 | ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom) |
| 41 | (fun j => HilbertConstruction.Section.Frames.sectionRatio (s i) (s j)) i (HilbertConstruction.Section.Frames.sectionRatio_self (s i)) := by |
| 42 | exact (congrArg (fun a => (HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ a) |
| 43 | (nativeSectionMorphism_left X s hs)).trans |
| 44 | ((Category.assoc _ _ _).symm.trans |
| 45 | ((congrArg (fun a => a ≫ ProjectiveCoefficientsId.ProjectiveCoefficients.schemeMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n) |
| 46 | (HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism_restrict X.hom s hs i)).trans |
| 47 | (ProjectiveChartCoefficients.ProjectiveCoefficients.projectiveChartMap_coefficients ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom |
| 48 | ((HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ X.hom).appTop.hom |
| 49 | (fun j => HilbertConstruction.Section.Frames.sectionRatio (s i) (s j)) i (HilbertConstruction.Section.Frames.sectionRatio_self (s i))))) |
| 50 | |
| 51 | theorem nativeSectionMorphism_closedImmersion |
| 52 | (hc : IsClosedImmersion (HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism X.hom s hs)) : |
| 53 | IsClosedImmersion (nativeSectionMorphism X s hs).left := by |
| 54 | have : IsClosedImmersion (HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism X.hom s hs) := hc |
| 55 | have : IsIso (ProjectiveCoefficientsId.ProjectiveCoefficients.schemeMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n) := |
| 56 | inferInstanceAs (IsIso (ProjectiveCoefficientsId.ProjectiveCoefficients.schemeIso ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv n).inv) |
| 57 | have h : IsClosedImmersion (HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism X.hom s hs ≫ |
| 58 | ProjectiveCoefficientsId.ProjectiveCoefficients.schemeMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n) := inferInstance |
| 59 | exact (nativeSectionMorphism_left X s hs).symm ▸ h |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.SectionMorphism |