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.Section.ProjectivePresentation |
| 2 | |
| 3 | /-! # Selected Section Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SelectedSectionEmbedding |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | A proper section morphism is a closed immersion when a subfamily of its |
| 11 | charts covers the source and has surjective coordinate maps. Extra numerator |
| 12 | sections need not be assumed to have affine nonvanishing opens. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | variable {S X : Scheme.{u}} {L : X.Modules} {n : ℕ} |
| 20 | |
| 21 | /-- Surjective evaluation on one affine nonvanishing open makes its chart map a closed immersion. -/ |
| 22 | theorem sectionAffineChart_closedImmersion (f : X ⟶ S) |
| 23 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) (i : Fin (n + 1)) |
| 24 | (ha : IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) |
| 25 | (hgen : Function.Surjective |
| 26 | (ProjectiveChart.Evaluation.projectiveChartEvaluation ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ f).appTop.hom |
| 27 | (fun k => Section.Frames.sectionRatio (s i) (s k)) i (Section.Frames.sectionRatio_self (s i)))) : |
| 28 | IsClosedImmersion (Section.Embedding.sectionAffineChart f s i) := by |
| 29 | have : IsAffine (Ample.LineBundles.sectionNonvanishing (s i)).toScheme := ha |
| 30 | have hspec : IsClosedImmersion (Spec.map (CommRingCat.ofHom |
| 31 | (ProjectiveChart.Evaluation.projectiveChartEvaluation ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ f).appTop.hom |
| 32 | (fun k => Section.Frames.sectionRatio (s i) (s k)) i (Section.Frames.sectionRatio_self (s i))))) := |
| 33 | IsClosedImmersion.spec_of_surjective _ hgen |
| 34 | have hto : IsClosedImmersion (Ample.LineBundles.sectionNonvanishing (s i)).toScheme.toSpecΓ := by |
| 35 | infer_instance |
| 36 | exact @IsClosedImmersion.comp _ _ _ _ _ hto hspec |
| 37 | |
| 38 | /-- Generating ratios on a covering selection of affine charts give a preimmersion. -/ |
| 39 | theorem sectionAbsoluteMorphism_preimmersion_of_selected (f : X ⟶ S) |
| 40 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 41 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 42 | {ι : Type v} (j : ι → Fin (n + 1)) |
| 43 | (hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s (j i))) |
| 44 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s (j i)))) |
| 45 | (hgen : ∀ i, Function.Surjective |
| 46 | (ProjectiveChart.Evaluation.projectiveChartEvaluation ((Ample.LineBundles.sectionNonvanishing (s (j i))).ι ≫ f).appTop.hom |
| 47 | (fun k => Section.Frames.sectionRatio (s (j i)) (s k)) (j i) (Section.Frames.sectionRatio_self (s (j i))))) : |
| 48 | IsPreimmersion (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := by |
| 49 | let a := SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 50 | have : MorphismProperty.RespectsRight (@IsPreimmersion) (@IsOpenImmersion) := ⟨by |
| 51 | intro _ _ _ g hg f hf |
| 52 | have : IsOpenImmersion g := hg |
| 53 | have : IsPreimmersion f := hf |
| 54 | infer_instance⟩ |
| 55 | have : MorphismProperty.HasOfPostcompProperty (@IsPreimmersion) (@IsOpenImmersion) := ⟨by |
| 56 | intro _ _ _ f g hg hfg |
| 57 | have : IsOpenImmersion g := hg |
| 58 | have : IsPreimmersion (f ≫ g) := hfg |
| 59 | exact IsPreimmersion.of_comp f g⟩ |
| 60 | apply IsZariskiLocalAtTarget.of_forall_source_exists_preimage (P := @IsPreimmersion) a |
| 61 | intro x |
| 62 | obtain ⟨i, hi⟩ := hcover x |
| 63 | let V := Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X (j i)) |
| 64 | have he : a ⁻¹ᵁ V = Ample.LineBundles.sectionNonvanishing (s (j i)) := |
| 65 | ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage f s hs (j i) |
| 66 | refine ⟨V, (congrArg (fun U : X.Opens => x ∈ U) he).mpr hi, ?_⟩ |
| 67 | have hchart : IsClosedImmersion (Section.Embedding.sectionAffineChart f s (j i)) := |
| 68 | sectionAffineChart_closedImmersion f s (j i) (ha i) (hgen i) |
| 69 | have hopen : IsOpenImmersion (Proj.awayι (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) |
| 70 | (MvPolynomial.X (j i)) (MvPolynomial.isHomogeneous_X Γ(S, ⊤) (j i)) Nat.zero_lt_one) := by |
| 71 | change IsOpenImmersion ((Proj.basicOpenIsoSpec (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) |
| 72 | (MvPolynomial.X (j i)) (MvPolynomial.isHomogeneous_X Γ(S, ⊤) (j i)) Nat.zero_lt_one).inv ≫ V.ι) |
| 73 | infer_instance |
| 74 | have hpre : IsPreimmersion (Section.Embedding.sectionAffineChart f s (j i)) := inferInstance |
| 75 | have hcomp : IsPreimmersion (Section.Embedding.sectionAffineChart f s (j i) ≫ |
| 76 | Proj.awayι (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X (j i)) |
| 77 | (MvPolynomial.isHomogeneous_X Γ(S, ⊤) (j i)) Nat.zero_lt_one) := |
| 78 | @IsPreimmersion.comp _ _ _ (Section.Embedding.sectionAffineChart f s (j i)) _ hpre inferInstance |
| 79 | have habs : IsPreimmersion (Section.ChartOverlaps.sectionAbsoluteChart f s (j i)) := |
| 80 | (congrArg IsPreimmersion (Section.Embedding.sectionAffineChart_away f s (j i))).mp hcomp |
| 81 | have hres : IsPreimmersion ((Ample.LineBundles.sectionNonvanishing (s (j i))).ι ≫ a) := |
| 82 | (congrArg IsPreimmersion (SectionsProjectiveMorphism.sectionAbsoluteMorphism_restrict f s hs (j i))).mpr habs |
| 83 | exact (congrArg (fun U : X.Opens => IsPreimmersion (U.ι ≫ a)) he).mpr hres |
| 84 | |
| 85 | /-- Properness closes the immersion supplied by the selected affine charts. -/ |
| 86 | theorem sectionAbsoluteMorphism_closedImmersion_of_selected (f : X ⟶ S) |
| 87 | [IsProper f] [IsAffine S] |
| 88 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 89 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 90 | {ι : Type v} (j : ι → Fin (n + 1)) |
| 91 | (hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s (j i))) |
| 92 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s (j i)))) |
| 93 | (hgen : ∀ i, Function.Surjective |
| 94 | (ProjectiveChart.Evaluation.projectiveChartEvaluation ((Ample.LineBundles.sectionNonvanishing (s (j i))).ι ≫ f).appTop.hom |
| 95 | (fun k => Section.Frames.sectionRatio (s (j i)) (s k)) (j i) (Section.Frames.sectionRatio_self (s (j i))))) : |
| 96 | IsClosedImmersion (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := by |
| 97 | have : IsPreimmersion (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := |
| 98 | sectionAbsoluteMorphism_preimmersion_of_selected f s hs j hcover ha hgen |
| 99 | have : IsProper (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := Affine.SectionMorphism.sectionAbsoluteMorphism_proper f s hs |
| 100 | apply IsClosedImmersion.of_isPreimmersion |
| 101 | exact (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs).isClosedMap.isClosed_range |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SelectedSectionEmbedding |