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.Affine.SectionAmpleness |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.RelativeFiniteNeighborhood |
| 3 | |
| 4 | /-! # Finite Section Ampleness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FiniteSectionAmpleness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite coefficient fiber of an actual section morphism gives |
| 11 | ampleness over an affine base neighborhood. The sections are retained, |
| 12 | and no relative-ampleness assumption is made in this step. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace PolarizationEmbedding |
| 19 | universe u |
| 20 | variable {X S T : Scheme.{u}} (f : X ⟶ S) [IsProper f] [IsAffine S] |
| 21 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) {n : ℕ} |
| 22 | variable (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 23 | variable (hs : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 24 | |
| 25 | theorem isAmple_after_finite_section_baseChange [IsAffine T] |
| 26 | (g : T ⟶ Spec (.of Γ(S, ⊤))) |
| 27 | (h : IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 28 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom g)) : |
| 29 | (L.pullback (pullback.fst |
| 30 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) g)).IsAmple := by |
| 31 | let a := AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 32 | let q := (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom |
| 33 | let e := HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange a q g |
| 34 | have : IsProper a := AbelianModuli.HilbertConstruction.Affine.SectionMorphism.sectionAbsoluteMorphism_proper f s hs |
| 35 | have : IsFinite e := h |
| 36 | have : IsAffineHom g := inferInstance |
| 37 | have : IsAffineHom (pullback.fst q g) := MorphismProperty.pullback_fst _ _ inferInstance |
| 38 | have : CompactSpace (pullback (a ≫ q) g : Scheme.{u}) := |
| 39 | QuasiCompact.compactSpace_of_compactSpace (pullback.snd (a ≫ q) g) |
| 40 | have he : e ≫ pullback.fst q g = pullback.fst (a ≫ q) g ≫ a := by |
| 41 | simp only [e, HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange, pullback.map, pullback.lift_fst] |
| 42 | have : IsAffineHom (pullback.fst (a ≫ q) g ≫ a) := by |
| 43 | rw [← he] |
| 44 | infer_instance |
| 45 | exact Affine.SectionAmpleness.PolarizationEmbedding.isAmple_pullback_of_affine_section_composite f L s hs (pullback.fst (a ≫ q) g) |
| 46 | |
| 47 | theorem exists_affine_ample_neighborhood_of_finite_section_fiber |
| 48 | (b : Spec (.of Γ(S, ⊤))) |
| 49 | (h : IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 50 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom ((Spec (.of Γ(S, ⊤))).fromSpecResidueField b))) : |
| 51 | ∃ U : (Spec (.of Γ(S, ⊤))).Opens, b ∈ U ∧ IsAffineOpen U ∧ |
| 52 | (L.pullback (pullback.fst |
| 53 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) U.ι)).IsAmple := by |
| 54 | let a := AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 55 | let q := (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom |
| 56 | have : IsProper a := AbelianModuli.HilbertConstruction.Affine.SectionMorphism.sectionAbsoluteMorphism_proper f s hs |
| 57 | have hb : b ∈ Proper.RelativeFiniteNeighborhood.properRelativeFiniteOpen a q := |
| 58 | Proper.RelativeFiniteNeighborhood.mem_properRelativeFiniteOpen_of_finite_fiber a q b h |
| 59 | obtain ⟨U, hU, hbU, hsub⟩ := exists_isAffineOpen_mem_and_subset hb |
| 60 | refine ⟨U, hbU, hU, ?_⟩ |
| 61 | have : IsAffine U.toScheme := hU |
| 62 | apply isAmple_after_finite_section_baseChange f L s hs U.ι |
| 63 | apply Proper.RelativeFiniteNeighborhood.relativeMorphismBaseChange_isFinite_of_range_subset a q |
| 64 | rw [Scheme.Opens.range_ι] |
| 65 | exact hsub |
| 66 | |
| 67 | end PolarizationEmbedding |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FiniteSectionAmpleness |