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.GeneratedFiberAmpleNeighborhood |
| 2 | |
| 3 | /-! # Section Ampleness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.SectionAmpleness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Section-morphism finiteness and ampleness retain an arbitrary actual |
| 10 | cartesian square over the original affine base. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | namespace PolarizationEmbedding |
| 17 | universe u |
| 18 | |
| 19 | theorem isAmple_pullback_iff_of_cartesian |
| 20 | {X Y S T : Scheme.{u}} (f : X ⟶ S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 21 | (a : Y ⟶ X) (ρ : Y ⟶ T) (g : T ⟶ S) (hp : IsPullback a ρ f g) : |
| 22 | (L.pullback a).IsAmple ↔ (L.pullback (pullback.fst f g)).IsAmple := by |
| 23 | constructor |
| 24 | · intro hL |
| 25 | let e : ((L.pullback a).pullback hp.isoPullback.inv).sheaf ≅ |
| 26 | (L.pullback (pullback.fst f g)).sheaf := |
| 27 | (Scheme.Modules.pullbackComp hp.isoPullback.inv a).app L.sheaf ≪≫ |
| 28 | (Scheme.Modules.pullbackCongr hp.isoPullback_inv_fst).app L.sheaf |
| 29 | exact (hL.pullback_of_isIso hp.isoPullback.inv).of_iso e |
| 30 | · intro hL |
| 31 | let e : ((L.pullback (pullback.fst f g)).pullback hp.isoPullback.hom).sheaf ≅ |
| 32 | (L.pullback a).sheaf := |
| 33 | (Scheme.Modules.pullbackComp hp.isoPullback.hom (pullback.fst f g)).app L.sheaf ≪≫ |
| 34 | (Scheme.Modules.pullbackCongr hp.isoPullback_hom_fst).app L.sheaf |
| 35 | exact (hL.pullback_of_isIso hp.isoPullback.hom).of_iso e |
| 36 | |
| 37 | variable {X Y S T : Scheme.{0}} (f : X ⟶ S) [IsAffine S] |
| 38 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) {n : ℕ} |
| 39 | variable (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 40 | variable (hs : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 41 | variable (a : Y ⟶ X) (ρ : Y ⟶ T) (g : T ⟶ S) (hp : IsPullback a ρ f g) |
| 42 | include hp hs |
| 43 | |
| 44 | theorem sectionCoefficient_isPullback : IsPullback a ρ |
| 45 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) |
| 46 | (g ≫ S.toSpecΓ) := by |
| 47 | rw [AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism_over] |
| 48 | have h : IsPullback g (𝟙 T) S.toSpecΓ (g ≫ S.toSpecΓ) := |
| 49 | IsPullback.of_vert_isIso ⟨by simp⟩ |
| 50 | simpa only [Category.comp_id] using hp.paste_vert h |
| 51 | |
| 52 | theorem section_finite_of_cartesian_ample [IsProper f] |
| 53 | (hL : (L.pullback a).IsAmple) : |
| 54 | IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 55 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom (g ≫ S.toSpecΓ)) := by |
| 56 | have H : IsPullback a ρ |
| 57 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) |
| 58 | (g ≫ S.toSpecΓ) := sectionCoefficient_isPullback f L s hs a ρ g hp |
| 59 | have hcan : (L.pullback (pullback.fst |
| 60 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) |
| 61 | (g ≫ S.toSpecΓ))).IsAmple := |
| 62 | (isAmple_pullback_iff_of_cartesian |
| 63 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) |
| 64 | L a ρ (g ≫ S.toSpecΓ) H).mp hL |
| 65 | exact GeneratedFiberAmpleNeighborhood.PolarizationEmbedding.section_baseChange_finite_of_ample_fiber (X := X) (S := S) (T := T) |
| 66 | f L s hs (g ≫ S.toSpecΓ) hcan |
| 67 | |
| 68 | theorem cartesian_isAmple_of_section_finite [IsProper f] [IsAffine T] |
| 69 | (h : IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 70 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom (g ≫ S.toSpecΓ))) : |
| 71 | (L.pullback a).IsAmple := by |
| 72 | let H := sectionCoefficient_isPullback f L s hs a ρ g hp |
| 73 | exact (isAmple_pullback_iff_of_cartesian _ L a ρ _ H).mpr |
| 74 | (Relative.FiniteSectionAmpleness.PolarizationEmbedding.isAmple_after_finite_section_baseChange f L s hs (g ≫ S.toSpecΓ) h) |
| 75 | |
| 76 | theorem exists_affine_ample_neighborhood_of_cartesian_generated_ample |
| 77 | [IsProper f] (t : T) (hL : (L.pullback a).IsAmple) : |
| 78 | ∃ U : S.Opens, g t ∈ U ∧ IsAffineOpen U ∧ |
| 79 | (L.pullback (f ⁻¹ᵁ U).ι).IsAmple := by |
| 80 | let A := AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 81 | let q := (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom |
| 82 | have : IsProper A := AbelianModuli.HilbertConstruction.Affine.SectionMorphism.sectionAbsoluteMorphism_proper f s hs |
| 83 | have hfin := section_finite_of_cartesian_ample f L s hs a ρ g hp hL |
| 84 | have hb : S.toSpecΓ (g t) ∈ Proper.RelativeFiniteNeighborhood.properRelativeFiniteOpen A q := |
| 85 | (Relative.FiniteLocus.relativeMorphismBaseChange_isFinite_iff_range A q (g ≫ S.toSpecΓ)).mp hfin ⟨t, rfl⟩ |
| 86 | obtain ⟨U, hU, htU, hsub⟩ := exists_isAffineOpen_mem_and_subset |
| 87 | (show g t ∈ S.toSpecΓ ⁻¹ᵁ Proper.RelativeFiniteNeighborhood.properRelativeFiniteOpen A q from hb) |
| 88 | refine ⟨U, htU, hU, ?_⟩ |
| 89 | have : IsAffine U.toScheme := hU |
| 90 | apply cartesian_isAmple_of_section_finite f L s hs (f ⁻¹ᵁ U).ι |
| 91 | (f ∣_ U) U.ι (isPullback_morphismRestrict f U).flip |
| 92 | apply Proper.RelativeFiniteNeighborhood.relativeMorphismBaseChange_isFinite_of_range_subset A q |
| 93 | rintro _ ⟨y, rfl⟩ |
| 94 | exact hsub y.property |
| 95 | |
| 96 | end PolarizationEmbedding |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.SectionAmpleness |