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.PELModuli.IntegralModel.Relative.AmplePullbackFinite |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FiniteSectionAmpleness |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FiniteLocus |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.HyperplanePowers |
| 5 | |
| 6 | /-! # Generated Fiber Ample Neighborhood -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GeneratedFiberAmpleNeighborhood |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Given generating sections on the family, ampleness on any geometric |
| 13 | coefficient fiber implies ampleness on an affine neighborhood of its base |
| 14 | point. The proof uses the actual hyperplane pullback and finite-family locus. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | namespace PolarizationEmbedding |
| 21 | variable {X S : Scheme.{0}} (f : X ⟶ S) [IsProper f] [IsAffine S] |
| 22 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) {n : ℕ} |
| 23 | variable (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 24 | variable (hs : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 25 | |
| 26 | theorem section_baseChange_finite_of_ample_fiber {T : Scheme.{0}} |
| 27 | (g : T ⟶ Spec (.of Γ(S, ⊤))) |
| 28 | (hL : (L.pullback (pullback.fst |
| 29 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) g)).IsAmple) : |
| 30 | IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 31 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom g) := by |
| 32 | have : IsProper (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := AbelianModuli.HilbertConstruction.Affine.SectionMorphism.sectionAbsoluteMorphism_proper f s hs |
| 33 | obtain ⟨e⟩ := Section.HyperplanePullback.PolarizationEmbedding.exists_sectionHyperplane_pullback_iso f s hs (0 : Fin (n + 1)) |
| 34 | exact Relative.AmplePullbackFinite.relativeMorphismBaseChange_isFinite_of_ample_pullback _ _ |
| 35 | (Projective.HyperplanePowers.PolarizationEmbedding.projectiveHyperplaneLine Γ(S, ⊤) n 0) L e g hL |
| 36 | |
| 37 | theorem exists_affine_ample_neighborhood_of_generated_ample_fiber |
| 38 | {K : Type} [Field K] (g : Spec (.of K) ⟶ Spec (.of Γ(S, ⊤))) |
| 39 | (hL : (L.pullback (pullback.fst |
| 40 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) g)).IsAmple) : |
| 41 | ∃ U : (Spec (.of Γ(S, ⊤))).Opens, |
| 42 | g (IsLocalRing.closedPoint K) ∈ U ∧ IsAffineOpen U ∧ |
| 43 | (L.pullback (pullback.fst |
| 44 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) U.ι)).IsAmple := by |
| 45 | let a := AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 46 | let q := (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom |
| 47 | have : IsProper a := AbelianModuli.HilbertConstruction.Affine.SectionMorphism.sectionAbsoluteMorphism_proper f s hs |
| 48 | have hfin : IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange a q g) := |
| 49 | section_baseChange_finite_of_ample_fiber f L s hs g hL |
| 50 | have hb : g (IsLocalRing.closedPoint K) ∈ Proper.RelativeFiniteNeighborhood.properRelativeFiniteOpen a q := |
| 51 | (Relative.FiniteLocus.relativeMorphismBaseChange_isFinite_iff_range a q g).mp hfin ⟨_, rfl⟩ |
| 52 | obtain ⟨U, hU, hbU, hsub⟩ := exists_isAffineOpen_mem_and_subset hb |
| 53 | refine ⟨U, hbU, hU, ?_⟩ |
| 54 | have : IsAffine U.toScheme := hU |
| 55 | apply Relative.FiniteSectionAmpleness.PolarizationEmbedding.isAmple_after_finite_section_baseChange f L s hs U.ι |
| 56 | apply Proper.RelativeFiniteNeighborhood.relativeMorphismBaseChange_isFinite_of_range_subset a q |
| 57 | rw [Scheme.Opens.range_ι] |
| 58 | exact hsub |
| 59 | |
| 60 | end PolarizationEmbedding |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GeneratedFiberAmpleNeighborhood |