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.StableHilbert.CanonicalCompleteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.HomogeneousCoverage |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ScalarCoordinateCoverage |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IsoSchemeSectionEquiv |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpecIsoProjections |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectiveBaseChange |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionEquations |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameChartProjectivePoints |
| 9 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.SectionFiberCriterion |
| 10 | |
| 11 | /-! # Presentation Completeness -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PresentationCompleteness |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | /-! The standard frame detects the actual canonical coordinate |
| 18 | sections of any flat projective presentation over a field. -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 21 | universe u |
| 22 | namespace StableHilbertCoverage |
| 23 | |
| 24 | theorem affineProjectiveChartMap_identity_eq_specIso_inv |
| 25 | (R : CommRingCat.{u}) (n : ℕ) : |
| 26 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec R)) n = (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso R n).inv.left := by |
| 27 | apply (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection_isPullback (Spec R) n).hom_ext |
| 28 | · have hc : AffineProjective.Charts.affinePointCoefficients (𝟙 (Spec R)) = (Scheme.ΓSpecIso R).hom := by |
| 29 | simp only [AffineProjective.Charts.affinePointCoefficients, Scheme.Hom.id_appTop, Category.id_comp] |
| 30 | exact (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection_affine (𝟙 (Spec R)) n).trans |
| 31 | ((congrArg (fun c => Projective.CoefficientFunctoriality.polynomialProjectiveMap c n) hc).trans |
| 32 | (Projective.SpecIsoProjections.projectiveSpaceOverSpecIso_inv_coefficients R n).symm) |
| 33 | · exact (AffineProjective.Charts.affineProjectiveChartMap_over (𝟙 (Spec R)) n).trans |
| 34 | ((Category.comp_id _).trans (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso R n).inv.w.symm) |
| 35 | |
| 36 | private theorem affineCoordinates_congr |
| 37 | (R : Type u) [CommRing R] {n : ℕ} (v w : Fin (n + 1) → R) |
| 38 | (i : Fin (n + 1)) (hv : v i = 1) (hw : w i = 1) (h : v = w) : |
| 39 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R v i hv = |
| 40 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R w i hw := by |
| 41 | subst w |
| 42 | rfl |
| 43 | |
| 44 | theorem standardBasisProjectivePoint_affine |
| 45 | (R : Type u) [CommRing R] (n : ℕ) (i : Fin (n + 1)) : |
| 46 | (Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint (Spec (.of R)) n i).left = |
| 47 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R (Pi.single i 1) i (Pi.single_eq_same i 1) ≫ |
| 48 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of R))) n := by |
| 49 | classical |
| 50 | let v := Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates (Spec (.of R)) n i |
| 51 | have hi : v i = 1 := ite_eq_left rfl |
| 52 | have hv : (fun k => (Scheme.ΓSpecIso (.of R)).hom (v k)) = Pi.single i 1 := by |
| 53 | funext k |
| 54 | by_cases h : i = k |
| 55 | · subst k |
| 56 | simp only [v, Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates, ite_true, map_one, Pi.single_eq_same] |
| 57 | · simp only [v, Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates, ite_eq_right h, map_zero, |
| 58 | Pi.single_eq_of_ne (Ne.symm h)] |
| 59 | exact (ScalarCoordinateCoverage.StableHilbertCoverage.scalarCoordinateProjectivePoint_affine R v |
| 60 | (Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates_cover (Spec (.of R)) n i) i hi).trans |
| 61 | (congrArg (fun p => p ≫ AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of R))) n) |
| 62 | (affineCoordinates_congr R _ _ i _ _ hv)) |
| 63 | |
| 64 | private theorem point_of_embedding_square |
| 65 | {C : Type*} [Category* C] {T X Y P Q : C} |
| 66 | (x : T ⟶ X) (e : X ⟶ Y) (j : Y ⟶ P) (q : P ⟶ Q) [hmono : Mono q] |
| 67 | (p : T ⟶ P) (i : X ⟶ Q) |
| 68 | (he : (e ≫ j) ≫ q = i) (hx : x ≫ i = p ≫ q) : (x ≫ e) ≫ j = p := by |
| 69 | apply (cancel_mono q).mp |
| 70 | exact ((congrArg (fun a => a ≫ q) (Category.assoc x e j)).trans |
| 71 | (Category.assoc x (e ≫ j) q)).trans |
| 72 | ((congrArg (fun a => x ≫ a) he).trans hx) |
| 73 | |
| 74 | private theorem model_standardFrame |
| 75 | {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 76 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 77 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K P.dimension)) |
| 78 | (e : X ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I) |
| 79 | (he : (e.hom.left ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) ≫ |
| 80 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of K))) P.dimension = P.embedding.left) |
| 81 | (x : Fin (P.dimension + 1) → (Over.mk (𝟙 (Spec (.of K))) ⟶ X)) |
| 82 | (hx : ∀ i, x i ≫ P.embedding = Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint (Spec (.of K)) P.dimension i) : |
| 83 | ∀ i, ((x i).left ≫ e.hom.left) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = |
| 84 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of K) K (Pi.single i 1) i (Pi.single_eq_same i 1) := by |
| 85 | let q := AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of K))) P.dimension |
| 86 | let hq : IsIso q := |
| 87 | (AffineProjective.Charts.affineProjectiveChartMap_isPullback (𝟙 (Spec (.of K))) P.dimension).isIso_fst_of_isIso |
| 88 | let hmono : Mono q := @IsIso.mono_of_iso _ _ _ _ q hq |
| 89 | intro i |
| 90 | exact point_of_embedding_square (C := Scheme.{u}) (x i).left e.hom.left |
| 91 | (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) q (hmono := hmono) |
| 92 | (AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of K) K (Pi.single i 1) i (Pi.single_eq_same i 1)) |
| 93 | P.embedding.left he ((congrArg Over.Hom.left (hx i)).trans |
| 94 | (standardBasisProjectivePoint_affine K P.dimension i)) |
| 95 | |
| 96 | private theorem model_linearSections_bijective |
| 97 | {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 98 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 99 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K P.dimension)) |
| 100 | (e : X ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I) |
| 101 | (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).pullback e.hom.left).sheaf ≅ P.ampleLineBundle.sheaf) |
| 102 | (y : Fin (P.dimension + 1) → (Spec (.of K) ⟶ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))) |
| 103 | (hy : ∀ i, y i ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = |
| 104 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of K) K (Pi.single i 1) i (Pi.single_eq_same i 1)) |
| 105 | [Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf)] |
| 106 | (hr : Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf) = |
| 107 | P.dimension + 1) : Function.Bijective (SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I 1) := by |
| 108 | let H : ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))).obj |
| 109 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf) ≃ₗ[K] |
| 110 | ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf) := |
| 111 | IsoSchemeSectionEquiv.sourceBundleIsoSchemeSectionEquiv e (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf eL |
| 112 | let : Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))).obj |
| 113 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf) := Module.Finite.equiv H.symm |
| 114 | exact FieldCompleteness.StableHilbertCoverage.linearSections_bijective_of_frame_rank I y hy (H.finrank_eq.trans hr) |
| 115 | |
| 116 | private theorem model_embedding_eq |
| 117 | {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 118 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 119 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K P.dimension)) |
| 120 | (e : X ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I) |
| 121 | (he : (e.hom.left ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) ≫ |
| 122 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of K))) P.dimension = P.embedding.left) : |
| 123 | e.hom ≫ (Affine.CoordinateSectionData.quotientCoordinatePresentation I).embedding = P.embedding := by |
| 124 | apply Over.OverMorphism.ext |
| 125 | change e.hom.left ≫ (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I ≫ |
| 126 | (Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of K) P.dimension).inv.left) = P.embedding.left |
| 127 | exact (Category.assoc _ _ _).symm.trans |
| 128 | ((congrArg (fun z => (e.hom.left ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) ≫ z) |
| 129 | (affineProjectiveChartMap_identity_eq_specIso_inv (.of K) P.dimension).symm).trans he) |
| 130 | |
| 131 | private def canonicalCompleteData_of_model_frame_rank |
| 132 | {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 133 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 134 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K P.dimension)) |
| 135 | (e : X ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I) |
| 136 | (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).pullback e.hom.left).sheaf ≅ P.ampleLineBundle.sheaf) |
| 137 | (he : (e.hom.left ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) ≫ |
| 138 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of K))) P.dimension = P.embedding.left) |
| 139 | (x : Fin (P.dimension + 1) → (Over.mk (𝟙 (Spec (.of K))) ⟶ X)) |
| 140 | (hx : ∀ i, x i ≫ P.embedding = Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint (Spec (.of K)) P.dimension i) |
| 141 | [Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf)] |
| 142 | (hr : Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf) = |
| 143 | P.dimension + 1) : P.canonicalSectionData.CompleteData := by |
| 144 | let y := fun i => (x i).left ≫ e.hom.left |
| 145 | have hI := model_linearSections_bijective P I e eL y (model_standardFrame P I e he x hx) hr |
| 146 | let Q := Affine.CoordinateSectionData.quotientCoordinatePresentation I |
| 147 | have heQ := model_embedding_eq P I e he |
| 148 | have he' : e.inv ≫ P.embedding = Q.embedding := |
| 149 | (congrArg (fun z => e.inv ≫ z) heQ).symm.trans (e.inv_hom_id_assoc Q.embedding) |
| 150 | exact CanonicalCompleteness.StableHilbertCoverage.canonicalCompleteData_of_quotientIso I hI P.embedding (hi := P.closedImmersion) e.symm he' |
| 151 | |
| 152 | def canonicalCompleteData_of_frame_rank |
| 153 | {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 154 | [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 155 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 156 | (x : Fin (P.dimension + 1) → (Over.mk (𝟙 (Spec (.of K))) ⟶ X)) |
| 157 | (hx : ∀ i, x i ≫ P.embedding = Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint (Spec (.of K)) P.dimension i) |
| 158 | [Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf)] |
| 159 | (hr : Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf) = |
| 160 | P.dimension + 1) : P.canonicalSectionData.CompleteData := by |
| 161 | let : IsClosedImmersion P.embedding.left := P.closedImmersion |
| 162 | exact canonicalCompleteData_of_model_frame_rank P (HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.ideal P.embedding) |
| 163 | (HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.iso P.embedding) (HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.twistingIso P.embedding) |
| 164 | (HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.embedding P.embedding) x hx hr |
| 165 | |
| 166 | end StableHilbertCoverage |
| 167 | |
| 168 | namespace ProjectivePresentation.SectionData |
| 169 | variable {S : Scheme.{u}} {X : Over S} {P : Projective.ProjectivePresentations.ProjectivePresentation X} |
| 170 | variable {L : Line.Bundles.LineBundle X.left} |
| 171 | |
| 172 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation.SectionData.completeData_ofCanonical (D : P.SectionData L) |
| 173 | (C : P.canonicalSectionData.CompleteData) : D.CompleteData := by |
| 174 | let E := C.ofBundleIso D.twistingIso |
| 175 | have hs : D.sections = (P.canonicalSectionData.ofBundleIso D.twistingIso).sections := by |
| 176 | funext i |
| 177 | exact (D.twistingIso_coordinate i).symm |
| 178 | exact ⟨E.basis, hs.trans E.sections_eq⟩ |
| 179 | |
| 180 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation.SectionData.CompleteData.bijective {D : P.SectionData L} (C : D.CompleteData) : |
| 181 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination X.hom.appTop.hom L.sheaf D.sections) := |
| 182 | (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination_bijective_iff _ _ _).mpr ⟨C.basis, C.sections_eq.symm⟩ |
| 183 | |
| 184 | end ProjectivePresentation.SectionData |
| 185 | |
| 186 | namespace StableHilbertCoverage |
| 187 | |
| 188 | theorem standardBasisProjectivePoint_baseChange |
| 189 | {S T : Scheme.{u}} (f : T ⟶ S) (n : ℕ) (i : Fin (n + 1)) : |
| 190 | Projective.SectionBaseChange.projectiveSectionBaseChange (Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint S n i) f = |
| 191 | Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint T n i := by |
| 192 | classical |
| 193 | let v := Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates S n i |
| 194 | have he : (fun k => f.appTop (v k)) = Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates T n i := by |
| 195 | funext k |
| 196 | by_cases h : i = k |
| 197 | · simp only [v, Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates, ite_eq_left h, map_one] |
| 198 | · simp only [v, Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates, ite_eq_right h, map_zero] |
| 199 | have hv : ∀ x : T, ∃ k, x ∈ T.basicOpen (f.appTop (v k)) := by |
| 200 | intro x |
| 201 | obtain ⟨k, hk⟩ := Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates_cover T n i x |
| 202 | exact ⟨k, (congrArg (fun a => x ∈ T.basicOpen a) (congrFun he k)).mpr hk⟩ |
| 203 | exact (Scalar.CoordinateProjectiveBaseChange.scalarCoordinateProjectivePoint_baseChange f v |
| 204 | (Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates_cover S n i) hv).trans |
| 205 | (Balanced.FrameChartProjectivePoints.scalarCoordinateProjectivePoint_congr hv (Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates_cover T n i) he) |
| 206 | |
| 207 | private theorem fullLevelMarkedProjectivePoint_unfold |
| 208 | {S : Scheme.{u}} {g N : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (level : A.FullLevel N) |
| 209 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (c : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 210 | Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A level P c = |
| 211 | Over.homMk (A.fullLevelGlobalSection level c) (A.fullLevelGlobalSection_comp level c) ≫ |
| 212 | P.embedding := rfl |
| 213 | |
| 214 | private theorem fullLevelMarkedProjectivePoint_pullback_baseMap |
| 215 | {S T : Scheme.{u}} {g N : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (level : A.FullLevel N) |
| 216 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (f : T ⟶ S) |
| 217 | (c : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 218 | (Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 T)) (A.pullback f) (level.pullback f) |
| 219 | (P.baseChange f) c).left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f P.dimension = |
| 220 | f ≫ (Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A level P c).left := by |
| 221 | let x := A.fullLevelGlobalSection level c |
| 222 | let y := (A.pullback f).fullLevelGlobalSection (level.pullback f) c |
| 223 | have hy : y ≫ pullback.fst A.scheme.hom f = f ≫ x := |
| 224 | A.fullLevelGlobalSection_pullback level f c |
| 225 | have hi : (P.baseChange f).embedding.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f P.dimension = |
| 226 | pullback.fst A.scheme.hom f ≫ P.embedding.left := |
| 227 | Projective.EmbeddingPullbackComposition.ProjectivePullback.embedding_baseMap P.embedding f |
| 228 | exact (Category.assoc y _ _).trans ((congrArg (fun z => y ≫ z) hi).trans |
| 229 | ((Category.assoc y _ _).symm.trans |
| 230 | ((congrArg (fun z => z ≫ P.embedding.left) hy).trans (Category.assoc f x _)))) |
| 231 | |
| 232 | private theorem fullLevelMarkedProjectivePoint_pullback |
| 233 | {S T : Scheme.{u}} {g N : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (level : A.FullLevel N) |
| 234 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (f : T ⟶ S) |
| 235 | (c : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 236 | Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 T)) (A.pullback f) (level.pullback f) |
| 237 | (P.baseChange f) c = |
| 238 | Projective.SectionBaseChange.projectiveSectionBaseChange (Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A level P c) f := by |
| 239 | apply Projective.SectionBaseChange.projectiveSections_eq_of_baseMap f |
| 240 | exact (fullLevelMarkedProjectivePoint_pullback_baseMap A level P f c).trans |
| 241 | (Projective.SectionBaseChange.projectiveSectionBaseChange_baseMap |
| 242 | (Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A level P c) f).symm |
| 243 | |
| 244 | theorem fullLevelStandardFrame_baseChange |
| 245 | {S T : Scheme.{u}} {g N : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (level : A.FullLevel N) |
| 246 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 247 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod N)) |
| 248 | (hσ : ∀ i, Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A level P (σ i) = |
| 249 | Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint S P.dimension i) (f : T ⟶ S) : |
| 250 | ∀ i, Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 T)) (A.pullback f) (level.pullback f) |
| 251 | (P.baseChange f) (σ i) = Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint T P.dimension i := by |
| 252 | intro i |
| 253 | exact (fullLevelMarkedProjectivePoint_pullback A level P f (σ i)).trans |
| 254 | ((congrArg (fun p => Projective.SectionBaseChange.projectiveSectionBaseChange p f) (hσ i)).trans |
| 255 | (standardBasisProjectivePoint_baseChange f P.dimension i)) |
| 256 | |
| 257 | private def canonicalCompleteData_of_frame_rank' |
| 258 | {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 259 | [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 260 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 261 | (x : Fin (P.dimension + 1) → (Over.mk (𝟙 (Spec (.of K))) ⟶ X)) |
| 262 | (hx : ∀ i, x i ≫ P.embedding = Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint (Spec (.of K)) P.dimension i) |
| 263 | (hr : Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf) = |
| 264 | P.dimension + 1) : P.canonicalSectionData.CompleteData := by |
| 265 | let : Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj P.ampleLineBundle.sheaf) := |
| 266 | Module.finite_of_finrank_pos (hr.symm ▸ Nat.succ_pos P.dimension) |
| 267 | exact canonicalCompleteData_of_frame_rank P x hx hr |
| 268 | |
| 269 | private def abelianCanonicalCompleteData_of_markedFrame_rank |
| 270 | {K : Type u} [Field K] {g N : ℕ} |
| 271 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (level : A.FullLevel N) |
| 272 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 273 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod N)) |
| 274 | (hσ : ∀ i, Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 (Spec (.of K)))) A level P (σ i) = |
| 275 | Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint (Spec (.of K)) P.dimension i) |
| 276 | (hr : Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.scheme.hom).obj |
| 277 | P.ampleLineBundle.sheaf) = P.dimension + 1) : P.canonicalSectionData.CompleteData := by |
| 278 | exact canonicalCompleteData_of_frame_rank' P |
| 279 | (fun i => Over.homMk (A.fullLevelGlobalSection level (σ i)) |
| 280 | (A.fullLevelGlobalSection_comp level (σ i))) |
| 281 | (fun i => (fullLevelMarkedProjectivePoint_unfold A level P (σ i)).symm.trans (hσ i)) hr |
| 282 | |
| 283 | private def pullbackCanonicalCompleteData_of_markedFrame_rank |
| 284 | {S : Scheme.{u}} {g N : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (level : A.FullLevel N) |
| 285 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 286 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod N)) |
| 287 | (hσ : ∀ i, Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A level P (σ i) = |
| 288 | Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint S P.dimension i) |
| 289 | {K : Type u} [Field K] (f : Spec (.of K) ⟶ S) |
| 290 | (hr : Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (A.pullback f).scheme.hom).obj |
| 291 | (P.baseChange f).ampleLineBundle.sheaf) = P.dimension + 1) : |
| 292 | (P.baseChange f).canonicalSectionData.CompleteData := by |
| 293 | exact abelianCanonicalCompleteData_of_markedFrame_rank (A.pullback f) (level.pullback f) |
| 294 | (P.baseChange f) σ (fullLevelStandardFrame_baseChange A level P σ hσ f) hr |
| 295 | |
| 296 | private theorem canonicalSections_baseChange_bijective |
| 297 | {S : Scheme.{u}} {X : Over S} (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 298 | {K : Type u} [Field K] (f : Spec (.of K) ⟶ S) |
| 299 | (C : (P.baseChange f).canonicalSectionData.CompleteData) : |
| 300 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 301 | (pullback.snd X.hom f).appTop.hom |
| 302 | ((Scheme.Modules.pullback (pullback.fst X.hom f)).obj P.ampleLineBundle.sheaf) |
| 303 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst X.hom f) (P.canonicalSectionData.sections i))) := by |
| 304 | let E := P.canonicalSectionData.baseChange f |
| 305 | exact (E.completeData_ofCanonical C).bijective |
| 306 | |
| 307 | theorem canonicalSections_geometricallyComplete_of_markedFrame_rank |
| 308 | {S : Scheme.{u}} {g N : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (level : A.FullLevel N) |
| 309 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 310 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod N)) |
| 311 | (hσ : ∀ i, Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A level P (σ i) = |
| 312 | Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint S P.dimension i) |
| 313 | (hr : ∀ (K : Type u) [Field K] (f : Spec (.of K) ⟶ S), |
| 314 | Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (A.pullback f).scheme.hom).obj |
| 315 | (P.baseChange f).ampleLineBundle.sheaf) = P.dimension + 1) : |
| 316 | ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily A.scheme.hom P.ampleLineBundle.sheaf |
| 317 | P.canonicalSectionData.sections (𝟙 S) := by |
| 318 | intro K _ f |
| 319 | change Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 320 | (pullback.snd A.scheme.hom (f ≫ 𝟙 S)).appTop.hom |
| 321 | ((Scheme.Modules.pullback (pullback.fst A.scheme.hom (f ≫ 𝟙 S))).obj P.ampleLineBundle.sheaf) |
| 322 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst A.scheme.hom (f ≫ 𝟙 S)) |
| 323 | (P.canonicalSectionData.sections i))) |
| 324 | rw [Category.comp_id] |
| 325 | exact canonicalSections_baseChange_bijective P f |
| 326 | (pullbackCanonicalCompleteData_of_markedFrame_rank A level P σ hσ f (hr K f)) |
| 327 | |
| 328 | end StableHilbertCoverage |
| 329 | |
| 330 | end |
| 331 | |
| 332 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PresentationCompleteness |