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.Ample.ProjectivePresentation |
| 2 | |
| 3 | /-! # Ample Section Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleSectionEmbedding.PolarizationEmbedding |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Retain the actual sections and their common positive tensor degree |
| 10 | when constructing a closed projective embedding from an ample bundle. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X S : Scheme.{u}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (f : X ⟶ S) |
| 17 | |
| 18 | /-- The projective embedding is given by specified sections of an actual |
| 19 | positive tensor power of the supplied ample bundle. -/ |
| 20 | theorem exists_closed_section_embedding [IsProper f] [IsAffine S] (hL : L.IsAmple) : |
| 21 | ∃ (d : ℕ), 0 < d ∧ ∃ (P : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X), AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower L.sheaf d P.sheaf ∧ |
| 22 | ∃ (n : ℕ) (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P.sheaf)) |
| 23 | (hs : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)), |
| 24 | IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left := by |
| 25 | have : CompactSpace X := ⟨hL.1⟩ |
| 26 | have : X.IsSeparated := ⟨by |
| 27 | rw [← CategoryTheory.Limits.terminal.comp_from f] |
| 28 | infer_instance⟩ |
| 29 | obtain ⟨a, ha, k, s, hs, hsa⟩ := hL.projective_section_family |
| 30 | let Q := L.tensorPower a |
| 31 | obtain ⟨b, hb, n, q, j, hq, hgen⟩ := Q.generating_power_family f s hsa |
| 32 | have hD (i : Fin (k + 1)) : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (q (j i)) = AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) := |
| 33 | (congrArg AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (hq i)).trans (AbelianModuli.HilbertConstruction.Section.PowerLocus.sectionNonvanishing_tensorPowerSection (s i) b hb) |
| 34 | have hcover : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (q (j i)) := by |
| 35 | intro x |
| 36 | obtain ⟨i, hi⟩ := hs x |
| 37 | exact ⟨i, (congrArg (fun U : X.Opens => x ∈ U) (hD i)).mpr hi⟩ |
| 38 | have hsq : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (q i) := by |
| 39 | intro x |
| 40 | obtain ⟨i, hi⟩ := hcover x |
| 41 | exact ⟨j i, hi⟩ |
| 42 | have haq (i : Fin (k + 1)) : IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (q (j i))) := |
| 43 | (congrArg IsAffineOpen (hD i)).mpr (hsa i) |
| 44 | have habs : IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f q hsq) := |
| 45 | AbelianModuli.HilbertConstruction.SelectedSectionEmbedding.sectionAbsoluteMorphism_closedImmersion_of_selected f q hsq j hcover haq hgen |
| 46 | let p : (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S n).left ⟶ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).left := |
| 47 | CategoryTheory.Limits.pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ |
| 48 | have hp : (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism f q hsq).left ≫ p = AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f q hsq := |
| 49 | CategoryTheory.Limits.pullback.lift_fst _ _ _ |
| 50 | have : IsClosedImmersion ((AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism f q hsq).left ≫ p) := hp.symm ▸ habs |
| 51 | have : IsIso p := inferInstanceAs |
| 52 | (IsIso (CategoryTheory.Limits.pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ)) |
| 53 | exact ⟨b * a, Nat.mul_pos hb ha, Q.tensorPower b, |
| 54 | (L.tensorPower_isTensorPower (b * a)).of_targetIso (L.tensorPowerComposeIso b a), |
| 55 | n, q, hsq, IsClosedImmersion.of_comp (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism f q hsq).left p⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleSectionEmbedding.PolarizationEmbedding |