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.SelectedSectionImmersion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.ProjectivePresentation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveImmersions |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceOverComposition |
| 5 | import Mathlib.AlgebraicGeometry.Noetherian |
| 6 | |
| 7 | /-! # Quasi Projective Presentation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A separated finite-type scheme with an ample line bundle over an affine base has a constructed immersion in projective space. Over a Noetherian base its actual image closure provides a quasi-projective presentation. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | theorem Line.Bundles.LineBundle.IsAmple.exists_projectiveImmersion |
| 18 | {X S : Scheme.{u}} [X.IsSeparated] [IsAffine S] {L : Line.Bundles.LineBundle X} |
| 19 | (hL : L.IsAmple) (f : X ⟶ S) [LocallyOfFiniteType f] : |
| 20 | ∃ (n : ℕ) (a : Over.mk f ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n), IsImmersion a.left := by |
| 21 | have : CompactSpace X := ⟨hL.1⟩ |
| 22 | obtain ⟨d, _, k, s, hs, ha⟩ := hL.projective_section_family |
| 23 | obtain ⟨m, hm, n, q, j, hq, hgen⟩ := (L.tensorPower d).generating_power_family f s ha |
| 24 | have hD (i : Fin (k + 1)) : Ample.LineBundles.sectionNonvanishing (q (j i)) = Ample.LineBundles.sectionNonvanishing (s i) := |
| 25 | (congrArg Ample.LineBundles.sectionNonvanishing (hq i)).trans (Section.PowerLocus.sectionNonvanishing_tensorPowerSection (s i) m hm) |
| 26 | have hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (q (j i)) := by |
| 27 | intro x |
| 28 | obtain ⟨i, hi⟩ := hs x |
| 29 | exact ⟨i, (congrArg (fun U : X.Opens => x ∈ U) (hD i)).mpr hi⟩ |
| 30 | have hqcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (q i) := by |
| 31 | intro x |
| 32 | obtain ⟨i, hi⟩ := hcover x |
| 33 | exact ⟨j i, hi⟩ |
| 34 | have haq (i : Fin (k + 1)) : IsAffineOpen (Ample.LineBundles.sectionNonvanishing (q (j i))) := |
| 35 | (congrArg IsAffineOpen (hD i)).mpr (ha i) |
| 36 | have habs : IsImmersion (SectionsProjectiveMorphism.sectionAbsoluteMorphism f q hqcover) := |
| 37 | SelectedSectionImmersion.sectionAbsoluteMorphism_immersion_of_selected f q hqcover j hcover haq hgen |
| 38 | let a := SectionsProjectiveMorphism.sectionProjectiveMorphism f q hqcover |
| 39 | let p : (Projective.ProjectivePresentations.projectiveSpaceOver S n).left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).left := |
| 40 | pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ |
| 41 | have hp : a.left ≫ p = SectionsProjectiveMorphism.sectionAbsoluteMorphism f q hqcover := pullback.lift_fst _ _ _ |
| 42 | have : IsImmersion (a.left ≫ p) := hp.symm ▸ habs |
| 43 | exact ⟨n, a, IsImmersion.of_comp a.left p⟩ |
| 44 | |
| 45 | theorem Line.Bundles.LineBundle.IsAmple.exists_quasiProjectivePresentation |
| 46 | {X S : Scheme.{u}} [X.IsSeparated] [IsAffine S] [IsNoetherian S] {L : Line.Bundles.LineBundle X} |
| 47 | (hL : L.IsAmple) (f : X ⟶ S) [LocallyOfFiniteType f] : |
| 48 | Nonempty (Projective.ProjectivePresentations.QuasiProjectivePresentation (Over.mk f)) := by |
| 49 | have : CompactSpace X := ⟨hL.1⟩ |
| 50 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 51 | have : IsNoetherian X := ⟨⟩ |
| 52 | have hX : TopologicalSpace.NoetherianSpace X := IsNoetherian.noetherianSpace |
| 53 | obtain ⟨n, a, ha⟩ := hL.exists_projectiveImmersion f |
| 54 | have : IsImmersion a.left := ha |
| 55 | have : QuasiCompact a.left := by |
| 56 | constructor |
| 57 | intro U _ _ |
| 58 | exact @TopologicalSpace.NoetherianSpace.isCompact X _ hX (a.left ⁻¹' U) |
| 59 | exact ⟨(Projective.SpaceOverComposition.projectiveSpaceIdentityPresentation S n).quasiProjectiveImmersion a⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |