Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import Mathlib.Algebra.Order.Star.Int |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.WeaklyEtale |
| 5 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 6 | public import Lib.General.Geometry.GaloisCovers |
| 7 | public import Lib.Shimura.HeckeTower.Model |
| 8 | public import Lib.Shimura.Uniformisation.TorusModel |
| 9 | public import Lib.Shimura.Uniformisation.BallModel |
| 10 | import Lib.General.Geometry.SerreTheorem |
| 11 | import Lib.Shimura.AbelianScheme.Pairings |
| 12 | import Lib.Shimura.ArcExtension |
| 13 | |
| 14 | /-! |
| 15 | # The universal family: models along arcs, rigid fibres and points of linear data |
| 16 | |
| 17 | This file studies the universal abelian scheme 𝒜 → S of PEL data D and describes its complex points |
| 18 | by linear algebra. Over an arc `O` (`New.ValuativeArc`, a valuation ring with fraction field `ℂ`), a |
| 19 | description of the generic fibre as a complex torus (`New.ThetaObject.TorusModel`) is also a |
| 20 | description of the object over `O`. The geometric fibres of such a modelled object are rigid |
| 21 | (`New.ThetaObject.HasSpanningCoords`): on each of their pull-backs to a noetherian local ring `B`, |
| 22 | global functions come from the base (`New.HasConstFunctions`), and the coordinates span the sections |
| 23 | of the line bundle `N` of the object over `B`. A linear datum a = (x, ℓ, P) |
| 24 | (`New.Variety.ModuliPoint`) consists of an adelic frame x, a reflection ℓ of ℂⁿ (1 on a line, −1 on |
| 25 | a complement), and vectors P_i. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.Variety.UniversalFamily`: the universal object, with the standing hypotheses. |
| 30 | * `New.ThetaFamily.IsPointOf`, `New.Variety.UniversalFamily.datumPoint`: the point of a fibre power |
| 31 | of 𝒜 given by a fibre modelled on a, its non-zero 𝔪-torsion points and the images of the P_i. |
| 32 | * `New.ThetaFamily.IsPointOf.eq_iff`, `New.Variety.UniversalFamily.datumPoint_eq_iff`: two such |
| 33 | points are equal exactly when the data are isomorphic (`New.Variety.ModuliPoint.IsLevelIso`) at |
| 34 | level K(𝔑) ∩ K(𝔪), where K is the principal level `New.Variety.levelGU` and 𝔑 the level of D. Here |
| 35 | a ≅ b via z in GL_n(E) means: b.x⁻¹ z a.x lies in the level group, z conjugates a's reflection to |
| 36 | b's, and z P_i − b.P_i lies in the lattice of b.x. |
| 37 | * `New.Variety.UniversalFamily.GraphClosure`: the closure of the graph of finitely many translations |
| 38 | a ↦ a·(g_j, 1). |
| 39 | * `New.Variety.UniversalFamily.smooth_and_isDenseFamily_and_exists_comp_eq_act`: at level 1 the |
| 40 | fibre power is smooth over R, and the points of linear data are dense in it. |
| 41 | |
| 42 | Notions from other files: |
| 43 | * `New.ThetaObject`: an object of the family X over a scheme T: a morphism from T to the base of X; |
| 44 | `x.IsPullbackAlong f y` means x = f ≫ y, the pull-back of y along f. |
| 45 | * `New.Variety.ModuliPoint.act`: a·(g, α) = (x g, ℓ, α_i P_i) for a = (x, ℓ, P), an adelic |
| 46 | similitude g and integers α_i of E. |
| 47 | * `New.ThetaObject.TorusModel.π`: for a model m, the map from (E ⊗ ℝ)ⁿ to the sections of the |
| 48 | object; `m.fullStructure.torsionPoint` labels the torsion sections by `New.AdelicTorsion`. |
| 49 | * `New.Variety.NonzeroTorsion`: for a non-zero element 𝔪 of O_E, the set of non-zero elements of |
| 50 | (𝔸_f / Ô)ⁿ ≅ (E / O_E)ⁿ killed by 𝔪. |
| 51 | |
| 52 | ## Relation to the literature |
| 53 | |
| 54 | Known result: the sections of an ample line bundle on an abelian variety are spanned by theta |
| 55 | functions. Here it is stated for the coordinates of an object with a torus model, on the pull-backs |
| 56 | of its geometric fibres to noetherian local rings (`hasSpanningCoords_of_specMap_comp_eq`). Spanning |
| 57 | of the sections is proved by reduction from the complex numbers rather than by Riemann–Roch, and the |
| 58 | only consequence drawn is that a map of such objects respecting the pairing and the level points |
| 59 | lies over the family, which gives the criterion for equal points (`IsPointOf.eq_iff`). Source: D. |
| 60 | Mumford, On the equations defining abelian varieties I, Invent. Math. 1 (1966), §§1–2; S. W. Shin, |
| 61 | Abelian varieties and Weil representations, Algebra Number Theory 6 (2012), Prop. 2.12 (over a |
| 62 | base); M. Bolognesi, A. Massarenti, Comment. Math. Helv. 91 (2016), Lemma 4.1 (odd type). |
| 63 | |
| 64 | See also `Lib.Shimura.ArcExtension` and `Lib.Shimura.IntegralModel.TowerExistence`. |
| 65 | -/ |
| 66 | |
| 67 | @[expose] public section |
| 68 | |
| 69 | noncomputable section |
| 70 | |
| 71 | /-! ## Models of the generic fibre as models along the arc -/ |
| 72 | |
| 73 | section ModelAlongArc |
| 74 | |
| 75 | open CategoryTheory AlgebraicGeometry New.ValuativeArc |
| 76 | open scoped CategoryTheory.MonoidalCategory |
| 77 | |
| 78 | namespace New.ThetaObject.TorusModel |
| 79 | variable {E : Type} [Field E] [CMBase E] {D : PEL E} {Z : Scheme} |
| 80 | {τ : Z ⟶ Spec (CommRingCat.of (NumberField.RingOfIntegers E))} {O : Type} |
| 81 | {X : ThetaFamily D Z τ} [CommRing O] [ValuativeArc O] |
| 82 | {y : ThetaObject X (Spec (CommRingCat.of O))} {x : ThetaObject X (Spec (CommRingCat.of ℂ))} |
| 83 | |
| 84 | /-- Restriction to the generic point is an `𝓞 E`-linear isomorphism from the sections of |
| 85 | `y.groupScheme` over `O` to those of its generic fibre `x.groupScheme` over `ℂ`. -/ |
| 86 | private def genericPullSectionEquiv (h_pull : x.IsPullbackAlong (genericPt (O := O)) y) : |
| 87 | (𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme) ≃ₗ[NumberField.RingOfIntegers E] |
| 88 | (𝟙_ (Over (Spec (CommRingCat.of ℂ))) ⟶ x.groupScheme) := |
| 89 | LinearEquiv.ofBijective h_pull.isGroupBaseChange.pullSection |
| 90 | (h_pull.isGroupBaseChange.pointEquiv.symm.bijective.comp bijective_restrict_genericPt) |
| 91 | |
| 92 | /-- For a section `s` of `y.groupScheme` over `O`, its restriction |
| 93 | `genericPullSectionEquiv h_pull s` to the generic fibre `x.groupScheme`, followed by |
| 94 | `h_pull.schemeMap`, equals `genericPt ≫ s`. -/ |
| 95 | private lemma genericPullSectionEquiv_comp (h_pull : x.IsPullbackAlong (genericPt (O := O)) y) |
| 96 | (s : 𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme) : |
| 97 | (genericPullSectionEquiv h_pull s).left ≫ h_pull.schemeMap.left = genericPt ≫ s.left := |
| 98 | h_pull.isGroupBaseChange.pullSection_comp s |
| 99 | |
| 100 | variable {V : Type} [FinComplexSpace V] {g : GL D.Index (𝔸f E)} {ℓ : Matrix D.Index D.Index ℂ} |
| 101 | |
| 102 | /-- On complex points, transporting `expMap` along `(genericPullSectionEquiv h_pull)⁻¹` simply |
| 103 | post-composes `atGeneric expMap` with `h_pull.schemeMap.left`. -/ |
| 104 | private lemma atGeneric_symm_comp_expMap {Y : ThetaTori.PeriodMap D g ℓ V} (m : x.TorusModel Y) |
| 105 | (h_pull : x.IsPullbackAlong (genericPt (O := O)) y) : |
| 106 | atGeneric ((genericPullSectionEquiv h_pull).symm.toAddMonoidHom.comp m.uniformisation.expMap) = |
| 107 | fun w : V ↦ atGeneric m.uniformisation.expMap w ≫ h_pull.schemeMap.left := by |
| 108 | funext w |
| 109 | have h_comp : (m.uniformisation.expMap w).left ≫ h_pull.schemeMap.left = |
| 110 | genericPt ≫ ((genericPullSectionEquiv h_pull).symm (m.uniformisation.expMap w)).left := by |
| 111 | simp [← genericPullSectionEquiv_comp h_pull] |
| 112 | exact h_comp.symm |
| 113 | |
| 114 | /-- Universal property of the transported exponential map on `y.groupScheme`: any homomorphism `γ` |
| 115 | into sections of `y.groupScheme` that is holomorphic at `0` lifts to a continuous `ℂ`-linear map |
| 116 | `W →L[ℂ] V`, by pulling back its homogeneous coordinates to the generic fibre `x`. -/ |
| 117 | private lemma exists_lift_of_isPullbackAlong {Y : ThetaTori.PeriodMap D g ℓ V} (m : x.TorusModel Y) |
| 118 | (h_pull : x.IsPullbackAlong (genericPt (O := O)) y) {W : Type} [FinComplexSpace W] |
| 119 | (γ : W →+ (𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme)) |
| 120 | (hγ : HolomorphicAt (atGeneric γ) 0) : |
| 121 | ∃ F : W →L[ℂ] V, ∀ z : W, |
| 122 | (genericPullSectionEquiv h_pull).symm (m.uniformisation.expMap (F z)) = γ z := by |
| 123 | -- Analytic coordinates `q` of `γ` are also coordinates of its restriction to the generic fibre. |
| 124 | let j := genericPullSectionEquiv h_pull |
| 125 | obtain ⟨q, hq_analytic, hq_coords⟩ := |
| 126 | hγ.exists_isHomogeneousCoords y.isProjEmbedding.isLinearSystem |
| 127 | have hq_coords_x : ∀ᶠ w : W in nhds 0, |
| 128 | x.lineBundle.IsHomogeneousCoords (atGeneric (j.toAddMonoidHom.comp γ) w) (q w) := by |
| 129 | filter_upwards [hq_coords] with w hw |
| 130 | rw [h_pull.lineBundle_eq_pull, LineBundle.IsHomogeneousCoords.pull_iff] |
| 131 | change y.lineBundle.IsHomogeneousCoords ((j (γ w)).left ≫ h_pull.schemeMap.left) (q w) |
| 132 | rwa [genericPullSectionEquiv_comp] |
| 133 | obtain ⟨F, hF⟩ : ∃ F : W →L[ℂ] V, ∀ z : W, m.uniformisation.expMap (F z) = j (γ z) := |
| 134 | m.uniformisation.universal (j.toAddMonoidHom.comp γ) |
| 135 | (.of_isHomogeneousCoords x.isProjEmbedding hq_analytic hq_coords_x fun _ ↦ Over.w _) |
| 136 | exact ⟨F, fun z ↦ by simp [j, hF]⟩ |
| 137 | |
| 138 | /-- Transporting `m.uniformisation` from the generic fibre `x.groupScheme` along |
| 139 | `(genericPullSectionEquiv h_pull)⁻¹` gives a uniformisation of `y.groupScheme` over `O`. -/ |
| 140 | private def uniformisationOfIsPullbackAlong {Y : ThetaTori.PeriodMap D g ℓ V} (m : x.TorusModel Y) |
| 141 | (h_pull : x.IsPullbackAlong (genericPt (O := O)) y) : Uniformisation y.groupScheme V := |
| 142 | { m.uniformisation with |
| 143 | expMap := (genericPullSectionEquiv h_pull).symm.toAddMonoidHom.comp m.uniformisation.expMap |
| 144 | surjective := |
| 145 | (genericPullSectionEquiv h_pull).symm.surjective.comp m.uniformisation.surjective |
| 146 | eq_zero_iff := by simp [Uniformisation.eq_zero_iff] |
| 147 | immersive z := by |
| 148 | rw [atGeneric_symm_comp_expMap m h_pull] |
| 149 | exact m.uniformisation.isHolomorphicImmersionAt_of_isPullback |
| 150 | h_pull.isGroupBaseChange.isPullback z |
| 151 | universal := exists_lift_of_isPullbackAlong m h_pull } |
| 152 | |
| 153 | /-- The theta coordinates of `m` on the generic fibre `x.lineBundle` remain theta coordinates for |
| 154 | `y.lineBundle` along the transported uniformisation, since `x.lineBundle` is the pull-back of |
| 155 | `y.lineBundle` along `h_pull.schemeMap`. -/ |
| 156 | private lemma hasThetaCoords_of_isPullbackAlong {Y : ThetaTori.PeriodMap D g ℓ V} |
| 157 | (m : x.TorusModel Y) (h_pull : x.IsPullbackAlong (genericPt (O := O)) y) : |
| 158 | HasThetaCoords m.uniformisation.lattice |
| 159 | (atGeneric (uniformisationOfIsPullbackAlong m h_pull).expMap) |
| 160 | y.lineBundle Y.automorphyForm m.χ m.θ := |
| 161 | { m.hasThetaCoords with |
| 162 | isLinearSystem := y.isProjEmbedding.isLinearSystem |
| 163 | hasFieldCoords := fun z ↦ by |
| 164 | dsimp only [uniformisationOfIsPullbackAlong] |
| 165 | rw [atGeneric_symm_comp_expMap m h_pull, ← LineBundle.IsHomogeneousCoords.pull_iff, |
| 166 | ← h_pull.lineBundle_eq_pull] |
| 167 | exact m.hasThetaCoords.hasFieldCoords z } |
| 168 | |
| 169 | end New.ThetaObject.TorusModel |
| 170 | |
| 171 | /-- Let `O` be a valuation ring with fraction field `ℂ`, `y` an object over `O` and `x` its |
| 172 | pull-back `h_pull` to the generic point. A model `m` of `x` on the period map `Y` (an isomorphism |
| 173 | `Y.realEquiv` of `(E ⊗ ℝ)ⁿ` with `V` and a Hermitian form `Y.automorphyForm`) gives a model `m'` of |
| 174 | `y` on `Y` whose sections `m'.π w` restrict to `m.π w` followed by the map of `h_pull`. A case of |
| 175 | the extension of homomorphisms and line bundles of abelian schemes from the generic fibre. -/ |
| 176 | lemma New.ThetaObject.TorusModel.exists_torusModel_of_isPullbackAlong {E V : Type} [Field E] |
| 177 | [CMBase E] |
| 178 | [FinComplexSpace V] {D : PEL E} {g : GL D.Index (𝔸f E)} {ℓ : Matrix D.Index D.Index ℂ} |
| 179 | {Z : Scheme} {τ : Z ⟶ Spec (CommRingCat.of (NumberField.RingOfIntegers E))} {O : Type} |
| 180 | {X : ThetaFamily D Z τ} [CommRing O] [ValuativeArc O] |
| 181 | {y : ThetaObject X (Spec (CommRingCat.of O))} {x : ThetaObject X (Spec (CommRingCat.of ℂ))} |
| 182 | {Y : ThetaTori.PeriodMap D g ℓ V} (m : x.TorusModel Y) |
| 183 | (h_pull : x.IsPullbackAlong (genericPt (O := O)) y) : |
| 184 | ∃ m' : y.TorusModel Y, ∀ w : Variety.RealVectors E D.Index, |
| 185 | genericPt ≫ (m'.π w).left = (m.π w).left ≫ h_pull.schemeMap.left := by |
| 186 | -- Transport `m.uniformisation` and `m.hasThetaCoords` from the generic fibre `x` to `y` along |
| 187 | -- the inverse of the restriction isomorphism `genericPullSectionEquiv h_pull`. |
| 188 | have h_spec : x.IsPullbackAlong (specMap (algebraMap O ℂ)) y := by |
| 189 | rwa [← ValuativeArc.genericPt_eq] |
| 190 | refine ⟨{ m with |
| 191 | baseHom_eq c := by simp [← m.baseHom_eq c, IsPullbackAlong.baseHom_eq_comp h_spec] |
| 192 | uniformisation := uniformisationOfIsPullbackAlong m h_pull |
| 193 | hasThetaCoords := hasThetaCoords_of_isPullbackAlong m h_pull |
| 194 | equivariant := by simp [uniformisationOfIsPullbackAlong, m.equivariant] |
| 195 | level_eq l := ?_ }, |
| 196 | fun w ↦ congrFun (atGeneric_symm_comp_expMap m h_pull) (Y.realEquiv w)⟩ |
| 197 | -- The level points of `x` are the pull-backs of those of `y`. |
| 198 | have h_level : genericPullSectionEquiv h_pull (y.levelPoints l) = |
| 199 | m.uniformisation.expMap (Y.torsionLift l) := |
| 200 | (h_pull.levelPoints_eq_pullSection l).symm.trans (m.level_eq l) |
| 201 | exact (genericPullSectionEquiv h_pull).eq_symm_apply.mpr h_level |
| 202 | |
| 203 | end ModelAlongArc |
| 204 | |
| 205 | /-! |
| 206 | ## Rigidity of the geometric fibres of a modelled object |
| 207 | |
| 208 | The idea: Serre's theorem `New.Variety.eventually_span_coordSection` gives the sections of |
| 209 | `[c]^* N ≅ N ^ (c ^ 2)` for large `c`, and the trace over the `c`-torsion brings them down to `N`. |
| 210 | -/ |
| 211 | |
| 212 | section RigidFibres |
| 213 | |
| 214 | open CategoryTheory AlgebraicGeometry Submodule New Variety LineBundle Set Nat IsLocalRing Spec |
| 215 | open scoped CategoryTheory.MonoidalCategory |
| 216 | |
| 217 | variable {E O W : Type} [Field E] [CMBase E] [CommRing O] [ValuativeArc O] [FinComplexSpace W] |
| 218 | {D : PEL E} {Z : Scheme} {τ : Z ⟶ Spec (CommRingCat.of (NumberField.RingOfIntegers E))} |
| 219 | {X : ThetaFamily D Z τ} {y : ThetaObject X (Spec (CommRingCat.of O))} |
| 220 | {g : GL D.Index (𝔸f E)} {ℓ : Matrix D.Index D.Index ℂ} {Y : ThetaTori.PeriodMap D g ℓ W} |
| 221 | {B : Type} [CommRing B] {x : ThetaObject X (Spec (CommRingCat.of B))} |
| 222 | {b : CommRingCat.of O ⟶ CommRingCat.of B} |
| 223 | |
| 224 | /-- Let `v z = expMap (z / c)` for a model `a` and `c ≠ 0`. Then multiplication by `c` sends the |
| 225 | complex point of `v z` to that of `expMap z`. -/ |
| 226 | private lemma atGeneric_comp_nsmul (a : y.TorusModel Y) {c : ℕ} (hc0 : c ≠ 0) |
| 227 | (v : W → (𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme)) |
| 228 | (hv_eq : ∀ z : W, v z = a.uniformisation.expMap ((c : ℂ)⁻¹ • z)) (z : W) : |
| 229 | atGeneric v z ≫ (c • 𝟙 y.groupScheme).left = atGeneric a.uniformisation.expMap z := by |
| 230 | have hv : c • v z = a.uniformisation.expMap z := by |
| 231 | simp [hv_eq, ← cast_smul_eq_nsmul ℂ, hc0, ← map_nsmul] |
| 232 | simp [atGeneric, ← hv, ← Over.comp_left, comp_nsmul] |
| 233 | |
| 234 | /-- Along the rescaled uniformisation `v z = expMap (z / c)`, the bundle `[c]^* N` |
| 235 | has the same theta coordinates as `N` along `expMap`. -/ |
| 236 | private lemma New.ThetaObject.TorusModel.hasThetaCoords_pull_nsmul (a : y.TorusModel Y) {c : ℕ} |
| 237 | (hc0 : c ≠ 0) (v : W → (𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme)) |
| 238 | (hv_eq : ∀ z : W, v z = a.uniformisation.expMap ((c : ℂ)⁻¹ • z)) : |
| 239 | HasThetaCoords a.uniformisation.lattice (atGeneric v) |
| 240 | (y.lineBundle.pull (c • 𝟙 y.groupScheme).left) Y.automorphyForm a.χ a.θ := |
| 241 | a.hasThetaCoords.pull 1 (fun z ↦ (atGeneric_comp_nsmul a hc0 v hv_eq z).symm) fun _ hl ↦ hl |
| 242 | |
| 243 | /-- Let `a` model `y` over `O` on a complex torus (uniformisation `expMap : W → y.groupScheme` with |
| 244 | lattice `L`, theta coordinates `a.θ z i` indexed by `i : D.dualTorsion`), `c ≠ 0` and |
| 245 | `v z = expMap (z / c)`. A section `ω` of `[c]^* N`, `N = y.lineBundle`, whose values along `v` are |
| 246 | `L`-periodic is a theta function along `v`: `ω_i (v z) = f z / θ_i z` where `θ_i z ≠ 0`, for a theta |
| 247 | function `f` for the Hermitian form `Y.automorphyForm` of the period map and the multiplier |
| 248 | `a.χ`. -/ |
| 249 | lemma New.ThetaObject.TorusModel.exists_mem_thetaSpace_of_periodic (a : y.TorusModel Y) {c : ℕ} |
| 250 | (hc0 : c ≠ 0) (v : W → (𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme)) |
| 251 | (hv_eq : ∀ z : W, v z = a.uniformisation.expMap ((c : ℂ)⁻¹ • z)) |
| 252 | (ω : (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O) |
| 253 | (h_per : ∀ l ∈ a.uniformisation.lattice, ∀ (z : W) (i : D.dualTorsion), |
| 254 | ω.val i (CommRingCat.of ℂ) (atGeneric v (z + l)) = |
| 255 | ω.val i (CommRingCat.of ℂ) (atGeneric v z)) : |
| 256 | ∃ f ∈ Y.automorphyForm.thetaSpace (L := a.uniformisation.lattice) a.χ, |
| 257 | ∀ (i : D.dualTorsion) (z : W), a.θ z i ≠ 0 → |
| 258 | ω.val i (CommRingCat.of ℂ) (atGeneric v z) = f z / a.θ z i := by |
| 259 | have hθv := a.hasThetaCoords_pull_nsmul hc0 v hv_eq |
| 260 | have hv_hol (z : W) : HolomorphicAt (atGeneric v) z := by |
| 261 | rw [funext hv_eq] |
| 262 | exact (a.uniformisation.holomorphicAt _).comp (by fun_prop) |
| 263 | have hω_sec : ((y.lineBundle.pull (c • 𝟙 y.groupScheme).left).mul |
| 264 | (((y.lineBundle.pull (c • 𝟙 y.groupScheme).left).pow 0).inv)).IsSection |
| 265 | fun q : D.dualTorsion × (Fin 0 → D.dualTorsion) ↦ ω.val q.fst := by |
| 266 | simpa [IsSection, LineBundle.pow, inf_of_le_left] using ω.prop.left |
| 267 | -- Compare `[c]^* N` with its power `0`, the trivial bundle with the coordinate `1`: the |
| 268 | -- theta function of `ω` relative to it is `f`, and `simpa` removes the trivial factor. |
| 269 | simpa using hθv.exists_theta_of_isSection (hθv.pow 0) hω_sec hv_hol |
| 270 | fun l hl z q ↦ h_per l hl z q.fst |
| 271 | |
| 272 | /-- In the setting of `New.ThetaObject.TorusModel.exists_mem_thetaSpace_of_periodic`, let `ω` be |
| 273 | given by `f` along `v`, that is, `ω_i (v z) = f z / θ_i z` where `θ_i z ≠ 0`. If a section `w` of |
| 274 | `N` is given by `β • f` along `expMap`, for some `β` in `O`, then its pull-back along multiplication |
| 275 | by `c` is `β • ω`: the two agree at the points `v z`, which are dense. -/ |
| 276 | lemma New.ThetaObject.TorusModel.pullSections_eq_smul_of_theta (a : y.TorusModel Y) {c : ℕ} |
| 277 | (hc0 : c ≠ 0) (v : W → (𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme)) |
| 278 | (hv_eq : ∀ z : W, v z = a.uniformisation.expMap ((c : ℂ)⁻¹ • z)) |
| 279 | (ω : (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O) |
| 280 | {f : W → ℂ} (hωf : ∀ (i : D.dualTorsion) (z : W), a.θ z i ≠ 0 → |
| 281 | ω.val i (CommRingCat.of ℂ) (atGeneric v z) = f z / a.θ z i) |
| 282 | (w : y.lineBundle.H0 O) (β : O) |
| 283 | (hw : ∀ (i : D.dualTorsion) (z : W), a.θ z i ≠ 0 → |
| 284 | w.val i (CommRingCat.of ℂ) (atGeneric a.uniformisation.expMap z) = |
| 285 | algebraMap O ℂ β * f z / a.θ z i) : |
| 286 | (pullSections (RingHom.id O) (by simp) rfl : |
| 287 | y.lineBundle.H0 O →ₗ[O] (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O) w = β • ω := by |
| 288 | have hθv := a.hasThetaCoords_pull_nsmul hc0 v hv_eq |
| 289 | have hv_surj : Function.Surjective v := by |
| 290 | rw [funext hv_eq] |
| 291 | exact a.uniformisation.surjective.comp (MulAction.surjective₀ (by simpa using hc0)) |
| 292 | -- compare the two sides at the dense points `atGeneric v z` that land in the chart `i` |
| 293 | have h_dense : IsSeparatingFamily (atGeneric v) := |
| 294 | isSeparatingFamily_atGeneric_of_surjective hv_surj |
| 295 | refine H0_ext fun {i} h_reg h_reg' ↦ h_dense.pointFn_ext h_reg h_reg' fun z hz_lands ↦ ?_ |
| 296 | have hθ_ne : a.θ z i ≠ 0 := ((hθv.hasFieldCoords z i).left.mp hz_lands).ne_zero |
| 297 | calc (pullSections (RingHom.id O) (by simp) rfl w : |
| 298 | (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O).val i (.of ℂ) (atGeneric v z) |
| 299 | = w.val i (CommRingCat.of ℂ) (atGeneric a.uniformisation.expMap z) := by |
| 300 | simp [atGeneric_comp_nsmul a hc0 v hv_eq] |
| 301 | _ = algebraMap O ℂ β * (f z / a.θ z i) := by rw [hw i z hθ_ne, mul_div_assoc] |
| 302 | _ = algebraMap O ℂ β * ω.val i (CommRingCat.of ℂ) (atGeneric v z) := by rw [hωf i z hθ_ne] |
| 303 | _ = (β • ω).val i (CommRingCat.of ℂ) (atGeneric v z) := by |
| 304 | simp [H0_smul, atGeneric, ValuativeArc.genericPt_eq] |
| 305 | |
| 306 | /-- Let `O` be a valuation ring with fraction field `ℂ` (`ValuativeArc`), and `a` a model of `y` |
| 307 | over `O` on a complex torus (uniformisation `expMap` with lattice `L`, line bundle |
| 308 | `N = y.lineBundle`). Let `c ≠ 0`, `v z = expMap (z / c)`, and `Λ` the pull-back of sections along |
| 309 | multiplication `[c]`. A section `ω` of `[c]^* N` whose components `ω_i`, `i : D.dualTorsion`, |
| 310 | evaluated at the generic ℂ-points `v z` are `L`-periodic in `z` lies in the image under `Λ` of the |
| 311 | `O`-span of the coordinate sections of `N`. -/ |
| 312 | lemma New.ThetaObject.TorusModel.mem_map_span_of_periodic {E O W : Type} [Field E] [CMBase E] |
| 313 | [CommRing O] [ValuativeArc O] [FinComplexSpace W] {D : PEL E} {Z : Scheme} |
| 314 | {τ : Z ⟶ Spec (CommRingCat.of (NumberField.RingOfIntegers E))} {X : ThetaFamily D Z τ} |
| 315 | {y : ThetaObject X (Spec (CommRingCat.of O))} {g : GL D.Index (𝔸f E)} |
| 316 | {ℓ : Matrix D.Index D.Index ℂ} {Y : ThetaTori.PeriodMap D g ℓ W} (a : y.TorusModel Y) {c : ℕ} |
| 317 | (hc0 : c ≠ 0) (v : W → (𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme)) |
| 318 | (hv_eq : ∀ z : W, v z = a.uniformisation.expMap ((c : ℂ)⁻¹ • z)) |
| 319 | (ω : (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O) |
| 320 | (h_per : ∀ l ∈ a.uniformisation.lattice, ∀ (z : W) (i : D.dualTorsion), |
| 321 | ω.val i (CommRingCat.of ℂ) (atGeneric v (z + l)) = |
| 322 | ω.val i (CommRingCat.of ℂ) (atGeneric v z)) : |
| 323 | ω ∈ Submodule.map (pullSections (RingHom.id O) (by simp) rfl : |
| 324 | y.lineBundle.H0 O →ₗ[O] (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O) |
| 325 | (span O (range (coordSection y.isProjEmbedding.isLinearSystem))) := by |
| 326 | -- Suppose not. The periodic section `ω` is a theta function `f` along `v`, and for some `γ ≠ 0` |
| 327 | -- the theta function `γ • f` comes from a section `w` of the span. As `O` is a valuation ring, |
| 328 | -- `γ` or `γ⁻¹` is some `β` in `O`. If `γ = β`, then `Λ w = β • ω` by density, so `β` is no unit |
| 329 | -- of `O`; if `γ⁻¹ = β`, then `Λ (β • w) = ω`. Either case is absurd. |
| 330 | set Λ : y.lineBundle.H0 O →ₗ[O] (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O := |
| 331 | pullSections (RingHom.id O) (by simp) rfl |
| 332 | by_contra hω |
| 333 | have hv (z : W) : c • v z = a.uniformisation.expMap z := by |
| 334 | simp [hv_eq, ← cast_smul_eq_nsmul ℂ, hc0, ← map_nsmul] |
| 335 | obtain ⟨f, hf, hωf⟩ : ∃ f ∈ Y.automorphyForm.thetaSpace (L := a.uniformisation.lattice) a.χ, |
| 336 | ∀ (i : D.dualTorsion) (z : W), a.θ z i ≠ 0 → ω.val i (.of ℂ) (atGeneric v z) = f z / a.θ z |
| 337 | i := |
| 338 | a.exists_mem_thetaSpace_of_periodic hc0 v hv_eq ω h_per |
| 339 | -- A section `w` of the span whose theta function is `β • f` has `Λ w = β • ω` |
| 340 | -- (`pullSections_eq_smul_of_theta`), so `β` is no unit. |
| 341 | have h_nonunit (w : span O (range (coordSection a.hasThetaCoords.isLinearSystem))) (β : O) |
| 342 | (h_eq : Λ w = β • ω) : ¬IsUnit β := fun hβ ↦ |
| 343 | hω ((smul_mem_iff_of_isUnit _ hβ).mp ⟨w, w.prop, h_eq⟩) |
| 344 | -- `f ≠ 0`: otherwise `0` has the theta function `1 • f` |
| 345 | have hf0 : f ≠ 0 := fun hf_zero ↦ h_nonunit 0 1 |
| 346 | (a.pullSections_eq_smul_of_theta hc0 v hv_eq ω hωf 0 1 (by simp [hf_zero])) isUnit_one |
| 347 | -- By `exists_sections_of_translation_stable`, some `γ • f` comes from a `w` in the span of the |
| 348 | -- coordinates that vanishes on no orbit of a field-valued point under the dual lattice. |
| 349 | -- (`hw`: `w` has the theta function `γ • f`; `h_orbit`: it vanishes on no such orbit) |
| 350 | obtain ⟨γ, hγ, w, hw, h_orbit⟩ := exists_sections_of_translation_stable a.uniformisation |
| 351 | a.hasThetaCoords y.isThetaStructure.isUnit_card |
| 352 | (fun b hb ↦ (a.exists_isTranslationLift_of_dualLattice b hb).left) |
| 353 | (fun b hb ↦ (a.exists_isTranslationLift_of_dualLattice b hb).right) |
| 354 | (fun j ↦ subset_span ⟨j, rfl⟩) (f := fun _ : Unit ↦ f) (fun _ ↦ hf) () hf0 |
| 355 | -- The valuation ring `O` contains `γ` or `γ⁻¹`. |
| 356 | obtain ⟨β, hβ⟩ | ⟨β, hβ⟩ : IsLocalization.IsInteger O γ ∨ IsLocalization.IsInteger O γ⁻¹ := |
| 357 | ValuationRing.isInteger_or_isInteger O γ |
| 358 | · -- `γ = β` lies in the maximal ideal, so `w` vanishes at the reductions of all the `expMap z`, |
| 359 | -- in particular on the orbit of the reduction of `expMap 0`. |
| 360 | have hw_β (i : D.dualTorsion) (z : W) (hz : a.θ z i ≠ 0) : |
| 361 | (w () : y.lineBundle.H0 O).val i (.of ℂ) (atGeneric a.uniformisation.expMap z) = |
| 362 | algebraMap O ℂ β * f z / a.θ z i := by rw [hw () i z hz, hβ] |
| 363 | have h_eq : Λ (w ()) = β • ω := |
| 364 | a.pullSections_eq_smul_of_theta hc0 v hv_eq ω hωf (w ()) β hw_β |
| 365 | obtain ⟨b, -, _j, i, h_ne⟩ := h_orbit _ (specMap (residue O) ≫ (a.uniformisation.expMap 0).left) |
| 366 | refine h_ne ?_ |
| 367 | -- the translate of the reduction of `expMap 0 = 0` by `expMap b` is `[c]` of that of `v b` |
| 368 | have h_point : (specMap (residue O) ≫ (a.uniformisation.expMap 0).left) ≫ |
| 369 | (translation (a.uniformisation.expMap b)).left = |
| 370 | (specMap (residue O) ≫ (v b).left) ≫ (c • 𝟙 y.groupScheme).left := by |
| 371 | simp [hv, ← Over.comp_left, comp_add, comp_nsmul] |
| 372 | -- `β` reduces to `0` in the residue field |
| 373 | have h_smul_zero : |
| 374 | (β • ω).val i (CommRingCat.of (ResidueField O)) (specMap (residue O) ≫ (v b).left) = 0 := by |
| 375 | simp [H0_smul, (residue_eq_zero_iff β).mpr (h_nonunit (w ()) β h_eq)] |
| 376 | rw [h_point, ← h_smul_zero, ← h_eq] |
| 377 | simp [Λ] |
| 378 | · -- `γ⁻¹ = β`: then `β • w` has theta function `1 • f`, so `1` would be no unit. |
| 379 | have hw_one (i : D.dualTorsion) (z : W) (hz : a.θ z i ≠ 0) : |
| 380 | (β • w () : y.lineBundle.H0 O).val i (.of ℂ) (atGeneric a.uniformisation.expMap z) = |
| 381 | algebraMap O ℂ 1 * f z / a.θ z i := |
| 382 | calc _ = algebraMap O ℂ β * (γ * f z / a.θ z i) := by |
| 383 | simp [← hw () i z hz, H0_smul, atGeneric, ValuativeArc.genericPt_eq] |
| 384 | _ = algebraMap O ℂ 1 * f z / a.θ z i := by |
| 385 | rw [hβ, map_one, one_mul, ← mul_div_assoc, inv_mul_cancel_left₀ hγ] |
| 386 | exact h_nonunit (β • w ()) 1 |
| 387 | (a.pullSections_eq_smul_of_theta hc0 v hv_eq ω hωf (β • w ()) 1 hw_one) isUnit_one |
| 388 | |
| 389 | /-- Let `a` model `y` over `O` on a complex torus, `c ≠ 0`, `F` an enumeration of the sections |
| 390 | `z` with `c • z = 0`, and `M = [c]^* N` (`N = y.lineBundle`), which `h_transl` identifies with its |
| 391 | pull-backs along the translations by these sections. The trace of a section of `M`, the sum of these |
| 392 | pull-backs, is the pull-back along `[c]` of an `O`-linear combination of the coordinates of `N`. -/ |
| 393 | lemma New.ThetaObject.TorusModel.sum_pullSections_translation_mem_map_span |
| 394 | (a : y.TorusModel Y) {c : ℕ} (hc0 : c ≠ 0) {n : ℕ} |
| 395 | (F : Fin n ≃ {z : 𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme // c • z = 0}) |
| 396 | (h_transl : ∀ i : Fin n, y.lineBundle.pull (c • 𝟙 y.groupScheme).left = |
| 397 | (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).pull (translation (F i).val).left) |
| 398 | (s : (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O) : |
| 399 | (∑ i : Fin n, pullSections (RingHom.id O) (by simp) (h_transl i)) s ∈ |
| 400 | Submodule.map (pullSections (RingHom.id O) (by simp) rfl) |
| 401 | (span O (range (coordSection y.isProjEmbedding.isLinearSystem))) := by |
| 402 | -- The trace is periodic along `z ↦ expMap (z / c)`: adding a period `l` there adds the |
| 403 | -- `c`-torsion section `expMap (l / c)`, which permutes the terms of the sum. |
| 404 | refine a.mem_map_span_of_periodic hc0 (fun z ↦ a.uniformisation.expMap ((c : ℂ)⁻¹ • z)) |
| 405 | (fun _ ↦ rfl) _ fun l hl z i ↦ ?_ |
| 406 | have hl_tors : c • a.uniformisation.expMap ((c : ℂ)⁻¹ • l) = 0 := by |
| 407 | simpa [← cast_smul_eq_nsmul ℂ, hc0, a.uniformisation.eq_zero_iff, ← map_nsmul] using hl |
| 408 | let shift : Equiv.Perm {t : 𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme // c • t = 0} := |
| 409 | (Equiv.addLeft (a.uniformisation.expMap ((c : ℂ)⁻¹ • l))).subtypeEquiv |
| 410 | (by simp [smul_add, hl_tors]) |
| 411 | simp only [translation, LinearMap.coe_sum, Finset.sum_apply, AddSubmonoidClass.coe_finsetSum, |
| 412 | pullSections_apply_coe] |
| 413 | refine Fintype.sum_equiv (F.symm.permCongr shift) _ _ fun j ↦ ?_ |
| 414 | simp [atGeneric, add_assoc, shift, comp_add, ← Over.comp_left] |
| 415 | |
| 416 | /-- Let `x` over `B` be the pull-back `hx` of `y`, with constant global functions on fibres, `M` |
| 417 | the pull-back of the line bundle along multiplication by `c`, and `Q` a lift of `hx` from sections |
| 418 | of `M` on `y` to those on `x`. If the pulled-back coordinates of `N ^ (c ^ 2)` span over `B`, a |
| 419 | `B`-linear map `T` that sends every `Q s` into a submodule `S` sends every section into `S`. -/ |
| 420 | private lemma apply_mem_of_forall_apply_sectionLift_mem (hx : x.IsPullbackAlong (Spec.map b) y) |
| 421 | (h_cst : HasConstFunctions x.groupScheme.hom) (c : ℕ) |
| 422 | (h_lin : (y.lineBundle.pow (c ^ 2)).IsLinearSystem) |
| 423 | (h_span : |
| 424 | span B (range (coordSection (X := x.groupScheme) (h_lin.pull hx.schemeMap.left))) = ⊤) |
| 425 | (Q : (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O →ₛₗ[b.hom] |
| 426 | (x.lineBundle.pull (c • 𝟙 x.groupScheme).left).H0 B) |
| 427 | (hQ : IsSectionLift (x.lineBundle.pull (c • 𝟙 x.groupScheme).left) |
| 428 | (y.lineBundle.pull (c • 𝟙 y.groupScheme).left) hx.schemeMap.left Q) |
| 429 | (T : (x.lineBundle.pull (c • 𝟙 x.groupScheme).left).H0 B →ₗ[B] |
| 430 | (x.lineBundle.pull (c • 𝟙 x.groupScheme).left).H0 B) |
| 431 | (S : Submodule B ((x.lineBundle.pull (c • 𝟙 x.groupScheme).left).H0 B)) |
| 432 | (hT : ∀ s : (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).H0 O, T (Q s) ∈ S) |
| 433 | (s : (x.lineBundle.pull (c • 𝟙 x.groupScheme).left).H0 B) : T s ∈ S := by |
| 434 | -- Compare `M` with `N ^ (c ^ 2)`, which has the same class in `Pic`: by `Φ` over `O`, and back |
| 435 | -- by `Θ` over `B`. |
| 436 | have h_class : (y.lineBundle.pull (c • 𝟙 y.groupScheme).left).picClass = |
| 437 | (y.lineBundle.pow (c ^ 2)).picClass.pull (Over.Hom.left (𝟙 y.groupScheme)) := by |
| 438 | have h_parallelogram : y.lineBundle.picClass.ParallelogramLaw := y.hasClassLaws.1 |
| 439 | rw [Over.id_left, Pic.pull_id, picClass_pow, ← pull_nsmul_eq_sq_smul h_parallelogram c, |
| 440 | Pic.pull_picClass] |
| 441 | obtain ⟨Φ, hΦ⟩ := exists_isSectionLift (𝟙 y.groupScheme) h_class |
| 442 | have hQΦ : IsSectionLift (x.lineBundle.pull (c • 𝟙 x.groupScheme).left) |
| 443 | (y.lineBundle.pow (c ^ 2)) (hx.schemeMap.left ≫ Over.Hom.left (𝟙 y.groupScheme)) (Q ∘ Φ) := |
| 444 | hQ.comp hΦ |
| 445 | obtain ⟨Θ, hΘ⟩ := exists_isSectionLift (𝟙 x.groupScheme) |
| 446 | (L := x.lineBundle.pull (c • 𝟙 x.groupScheme).left) hQΦ.picClass_eq.symm |
| 447 | -- Plain base change is `u • Θ ∘ Q ∘ Φ` for some `u`, so the monomials of degree `c ^ 2` on `x`, |
| 448 | -- which span by `h_span`, lie in the image under `Θ` of the sections that `T` sends into `S`. |
| 449 | obtain ⟨u, hu⟩ := |
| 450 | (isSectionLift_pullSections _ hx.schemeMap.w rfl).exists_eq_smul h_cst (hΘ.comp hQΦ) |
| 451 | have h_coord_mem (j : Fin (c ^ 2) → D.dualTorsion) : |
| 452 | coordSection (X := x.groupScheme) (h_lin.pull hx.schemeMap.left) j ∈ map Θ (comap T S) := |
| 453 | mem_of_eq_of_mem (hu (coordSection h_lin j)) |
| 454 | (smul_mem _ _ ⟨Q (Φ (coordSection h_lin j)), hT (Φ (coordSection h_lin j)), rfl⟩) |
| 455 | have h_le : span B (range (coordSection (X := x.groupScheme) (h_lin.pull hx.schemeMap.left))) ≤ |
| 456 | map Θ (comap T S) := |
| 457 | span_le.mpr (range_subset_iff.mpr h_coord_mem) |
| 458 | obtain ⟨t, ht, h_eq⟩ : Θ s ∈ map Θ (comap T S) := h_le (eq_top_iff'.mp h_span (Θ s)) |
| 459 | rwa [← hΘ.injective h_eq] |
| 460 | |
| 461 | /-- Let `y` over `O` be modelled by `a` on a complex torus, and let `x` over a local ring `B` be the |
| 462 | pull-back of `y` along `b`, with global functions on `x.groupScheme` constant on fibres. Let `c` |
| 463 | be a natural number whose image in `B` is a unit. Suppose that the coordinates of the pull-back to |
| 464 | `x` of `N ^ (c ^ 2)` span its sections, where `N` is the line bundle of `y`. Then the coordinates of |
| 465 | `x` span its sections over `B`. -/ |
| 466 | lemma New.ThetaObject.TorusModel.span_coordSection_eq_top_of_isPullbackAlong |
| 467 | (a : y.TorusModel Y) [IsLocalRing B] (hx : x.IsPullbackAlong (Spec.map b) y) |
| 468 | (h_cst : HasConstFunctions x.groupScheme.hom) {c : ℕ} (hc_unit : IsUnit (c : B)) |
| 469 | (h_span : span B (range (coordSection (X := x.groupScheme) |
| 470 | ((a.hasThetaCoords.pow (c ^ 2)).isLinearSystem.pull hx.schemeMap.left))) = ⊤) : |
| 471 | span B (range (coordSection x.isProjEmbedding.isLinearSystem)) = ⊤ := by |
| 472 | -- The trace over the `c`-torsion sends the sections of `M x = [c]^* N` into `S x`, the image |
| 473 | -- under `Λ x` (pull-back along `[c]`) of the span of the coordinates, and multiplies `Λ x σ` by |
| 474 | -- the unit `c ^ (2 dim W)`; `Q` is the base change of sections from `y` to `x`. |
| 475 | let M {T : Scheme} (x : ThetaObject X T) : LineBundle x.groupScheme.left D.dualTorsion := |
| 476 | x.lineBundle.pull (c • 𝟙 x.groupScheme).left |
| 477 | let Λ {R : Type} [CommRing R] (x : ThetaObject X (Spec (CommRingCat.of R))) : |
| 478 | x.lineBundle.H0 R →ₗ[R] (M x).H0 R := pullSections (.id R) (by simp) (refl (M x)) |
| 479 | let S {R : Type} [CommRing R] (x : ThetaObject X (Spec (CommRingCat.of R))) : |
| 480 | Submodule R ((M x).H0 R) := |
| 481 | map (Λ x) (span R (range (coordSection x.isProjEmbedding.isLinearSystem))) |
| 482 | have hM_pull : M x = (M y).pull hx.schemeMap.left := by |
| 483 | simp [M, hx.lineBundle_eq_pull, ← pull_comp _, hx.isGroupBaseChange.nsmul_id_comp, |
| 484 | ← Over.comp_left] |
| 485 | let Q : (M y).H0 O →ₛₗ[b.hom] (M x).H0 B := pullSections _ hx.schemeMap.w hM_pull |
| 486 | have hc0 : c ≠ 0 := by |
| 487 | rintro rfl |
| 488 | simp at hc_unit |
| 489 | -- Enumerate the `c`-torsion sections over `O` by `F`. The trace `trace j` is the sum of the |
| 490 | -- translations by their images under a homomorphism `j`. |
| 491 | let Tors : Type := {z : 𝟙_ (Over (Spec (CommRingCat.of O))) ⟶ y.groupScheme // c • z = 0} |
| 492 | have h_card : Nat.card Tors = c ^ (Module.finrank ℂ W * 2) := a.uniformisation.card_torsion hc0 |
| 493 | obtain ⟨F⟩ : Nonempty (Fin (Nat.card Tors) ≃ Tors) := |
| 494 | ⟨(equivFinOfCardPos (h_card.trans_ne (pow_ne_zero _ hc0))).symm⟩ |
| 495 | -- `M x` is invariant under translation by the image of a `c`-torsion section. |
| 496 | have h_transl {R : Type} [CommRing R] {x : ThetaObject X (Spec (CommRingCat.of R))} |
| 497 | (j : (𝟙_ _ ⟶ y.groupScheme) →+ (𝟙_ _ ⟶ x.groupScheme)) (i : Fin (Nat.card Tors)) : |
| 498 | M x = (M x).pull (translation (j (F i).val)).left := by |
| 499 | simp [M, ← pull_comp _, ← comp_nsmul _, (F i).prop, ← Over.comp_left, comp_nsmul, ← map_nsmul] |
| 500 | let trace {R : Type} [CommRing R] {x : ThetaObject X (Spec (CommRingCat.of R))} |
| 501 | (j : (𝟙_ _ ⟶ y.groupScheme) →+ (𝟙_ _ ⟶ x.groupScheme)) : (M x).H0 R →ₗ[R] (M x).H0 R := |
| 502 | ∑ i, pullSections (.id R) (by simp) (h_transl j i) |
| 503 | -- Over `O`, a trace lies in `S y`; base change along `hx.schemeMap` maps `S y` into `S x` and |
| 504 | -- commutes with the trace. |
| 505 | have h_trace (s : (M y).H0 O) : trace (AddMonoidHom.id _) s ∈ S y := |
| 506 | a.sum_pullSections_translation_mem_map_span hc0 F (h_transl (AddMonoidHom.id _)) s |
| 507 | have hQS : S y ≤ comap Q (S x) := by |
| 508 | refine (map_span_le ..).mpr (forall_mem_range.mpr fun j ↦ |
| 509 | ⟨coordSection x.isProjEmbedding.isLinearSystem j, subset_span ⟨j, rfl⟩, ?_⟩) |
| 510 | ext |
| 511 | simp [Λ, Q, hx.isGroupBaseChange.nsmul_id_comp, coordSection, hx.lineBundle_eq_pull] |
| 512 | have h_comm (s : (M y).H0 O) : |
| 513 | trace hx.isGroupBaseChange.pullSection (Q s) = Q (trace (AddMonoidHom.id _) s) := by |
| 514 | ext |
| 515 | simp [Q, trace, hx.isGroupBaseChange.translation_comp] |
| 516 | refine eq_top_iff'.mpr fun σ ↦ ?_ |
| 517 | -- By `h_span` (with `h_cst`, `h_comm`, `hQS`, `h_trace`), every trace over `B` lies in `S x`; |
| 518 | -- take that of `Λ x σ`. |
| 519 | obtain ⟨w, hw, hws⟩ : trace hx.isGroupBaseChange.pullSection (Λ x σ) ∈ S x := |
| 520 | apply_mem_of_forall_apply_sectionLift_mem hx h_cst c |
| 521 | (a.hasThetaCoords.pow (c ^ 2)).isLinearSystem h_span Q |
| 522 | (isSectionLift_pullSections _ hx.schemeMap.w hM_pull) _ (S x) |
| 523 | (fun s ↦ mem_of_eq_of_mem (h_comm s) (hQS (h_trace s))) (Λ x σ) |
| 524 | -- `Λ x σ` is invariant under `c`-torsion translations, and `Λ x` is injective because `[c]` is |
| 525 | -- an isogeny (finite, flat, surjective). Hence `w = c ^ (2 dim W) • σ`, a unit multiple of `σ`. |
| 526 | have h_isog : IsIsogeny (c • 𝟙 x.groupScheme) := |
| 527 | mod_cast x.isIsogeny_smul_id (cast_ne_zero.mpr hc0) |
| 528 | have hΛ_lift : IsSectionLift (M x) x.lineBundle (c • 𝟙 x.groupScheme).left (Λ x) := |
| 529 | isSectionLift_pullSections .. |
| 530 | have hwσ : w = (c : B) ^ (Module.finrank ℂ W * 2) • σ := by |
| 531 | refine hΛ_lift.injective (hws.trans ?_) |
| 532 | ext |
| 533 | simp [trace, Λ, ← comp_nsmul _, (F _).prop, h_card, ← Over.comp_left, comp_nsmul, ← map_nsmul, |
| 534 | H0_smul] |
| 535 | rwa [hwσ, SetLike.mem_coe, smul_mem_iff_of_isUnit _ (hc_unit.pow _)] at hw |
| 536 | |
| 537 | /-- Rigidity of geometric fibres: let `O` be a valuation ring with fraction field ℂ, and `a` a model |
| 538 | of the `O`-point `y` on the complex torus of `Y` (a uniformisation of its group scheme compatible |
| 539 | with the `𝓞 E`-action, level points and theta coordinates). The pull-back `x₀` of `y` along |
| 540 | `χ : O →+* k`, `k` algebraically closed, satisfies `HasSpanningCoords`: on its pull-backs to |
| 541 | noetherian local rings, global functions are constant on fibres and the coordinates span the |
| 542 | sections. A case of the spanning of the sections of an ample bundle by theta functions. -/ |
| 543 | lemma New.ThetaObject.TorusModel.hasSpanningCoords_of_specMap_comp_eq {E O W : Type} [Field E] |
| 544 | [CMBase E] [CommRing O] [ValuativeArc O] [FinComplexSpace W] {D : PEL E} {Z : Scheme} |
| 545 | {τ : Z ⟶ Spec (CommRingCat.of (NumberField.RingOfIntegers E))} {X : ThetaFamily D Z τ} |
| 546 | {y : ThetaObject X (Spec ⟨O⟩)} {g : GL D.Index (𝔸f E)} {ℓ : Matrix D.Index D.Index ℂ} |
| 547 | {Y : ThetaTori.PeriodMap D g ℓ W} (a : y.TorusModel Y) {k : Type} |
| 548 | [Field k] [IsAlgClosed k] (χ : O →+* k) {x₀ : ThetaObject X (Spec (CommRingCat.of k))} |
| 549 | (hχ : specMap χ ≫ y = x₀) : x₀.HasSpanningCoords := by |
| 550 | -- Let `x` over `B` be a pull-back of the fibre `x₀` over `k`. Global functions on `x` are |
| 551 | -- constant on fibres because `x₀` lives over a field. Take `c` large and non-zero in `k`; by |
| 552 | -- Serre's theorem the coordinates of `N ^ (c ^ 2)` span on `x`, and the trace over the |
| 553 | -- `c`-torsion then shows that the coordinates of `N` span. |
| 554 | intro B inst_ring inst_local inst_noetherian x b hx₀ |
| 555 | obtain ⟨ϕ, rfl⟩ : ∃ ϕ : CommRingCat.of k ⟶ CommRingCat.of B, Spec.map ϕ = b := map_surjective b |
| 556 | have hx : x.IsPullbackAlong (Spec.map (CommRingCat.ofHom χ ≫ ϕ)) y := by |
| 557 | change Spec.map (CommRingCat.ofHom χ ≫ ϕ) ≫ y = x |
| 558 | rwa [Spec.map_comp_assoc, hχ] |
| 559 | have h_cst : HasConstFunctions x.groupScheme.hom := |
| 560 | hasConstFunctions_of_isPullback (Over.w (AddMonObj.zero (X := x₀.groupScheme))) |
| 561 | hx₀.isGroupBaseChange.isPullback |
| 562 | -- Serre's theorem: for `n ≥ m` the monomials of degree `n` in the coordinates span `H⁰(N ^ n)` |
| 563 | obtain ⟨m, h_serre⟩ : |
| 564 | ∃ m : ℕ, ∀ n ≥ m, ∀ h : ((x₀.lineBundle.pull hx₀.schemeMap.left).pow n).IsLinearSystem, |
| 565 | span B (range (coordSection (X := x.groupScheme) h)) = ⊤ := |
| 566 | (eventually_span_coordSection x.groupScheme x₀.isProjEmbedding |
| 567 | hx₀.isGroupBaseChange.isPullback).exists_forall_of_atTop |
| 568 | -- `m + 1` and `m + 2` differ by `1`, so they are not both zero in `k` |
| 569 | obtain ⟨c, hmc, hc⟩ : ∃ c > m, (c : k) ≠ 0 := by |
| 570 | by_cases h_succ : ((m + 1 : ℕ) : k) = 0 |
| 571 | · refine ⟨(m + 1).succ, Nat.lt_trans (Nat.lt_succ_self m) (Nat.lt_succ_self _), ?_⟩ |
| 572 | rw [Nat.cast_succ, h_succ, zero_add] |
| 573 | exact one_ne_zero |
| 574 | · exact ⟨m + 1, Nat.lt_succ_self m, h_succ⟩ |
| 575 | -- the bundle `N ^ (c ^ 2)` of `y`, pulled back to `x`, is the one in Serre's theorem |
| 576 | have h_pow_eq : (x₀.lineBundle.pull hx₀.schemeMap.left).pow (c ^ 2) = |
| 577 | (y.lineBundle.pow (c ^ 2)).pull hx.schemeMap.left := by |
| 578 | rw [← hx₀.lineBundle_eq_pull, hx.lineBundle_pow_eq_pull] |
| 579 | have h_span : ∀ h : ((y.lineBundle.pow (c ^ 2)).pull hx.schemeMap.left).IsLinearSystem, |
| 580 | span B (range (coordSection (X := x.groupScheme) h)) = ⊤ := by |
| 581 | rw [← h_pow_eq] |
| 582 | exact h_serre (c ^ 2) (by nlinarith) |
| 583 | -- `c` is a unit in `k`, hence in `B` |
| 584 | have hc_unit : IsUnit (c : B) := by simpa using hc.isUnit.map ϕ.hom |
| 585 | exact ⟨h_cst, a.span_coordSection_eq_top_of_isPullbackAlong hx h_cst hc_unit |
| 586 | (h_span ((a.hasThetaCoords.pow (c ^ 2)).isLinearSystem.pull hx.schemeMap.left))⟩ |
| 587 | |
| 588 | end RigidFibres |
| 589 | |
| 590 | /-! ## The universal family, its fibre powers and points of linear data -/ |
| 591 | |
| 592 | namespace New |
| 593 | |
| 594 | open CategoryTheory AlgebraicGeometry Limits MonoidalCategory CartesianMonoidalCategory NumberField |
| 595 | Variety ThetaFamily Submodule Matrix ThetaObject Obj Over Fintype nonZeroDivisors TorusModel |
| 596 | ValuativeArc ThetaTori ModuliPoint Function |
| 597 | |
| 598 | attribute [local instance low] Fintype.ofFinite |
| 599 | |
| 600 | variable {E : Type} [Field E] [CMBase E] |
| 601 | |
| 602 | /-- A universal object for the PEL data D: a theta family 𝒜 → S with S projective and smooth of |
| 603 | relative dimension n - 1 over R, where n = `card D.Index`, and a dense set of complex points of S |
| 604 | whose fibres are uniformised by tori. The points are indexed by pairs a = (f, b) of an analytic |
| 605 | family of tori f and a parameter b; the uniformisations are holomorphic in b on the domain |
| 606 | `f.domain` of f. -/ |
| 607 | structure Variety.UniversalFamily (D : PEL E) (R : Subalgebra (𝓞 E) E) where |
| 608 | /-- The ring `R` is a Dedekind domain. -/ |
| 609 | isDedekindDomain : IsDedekindDomain R |
| 610 | /-- The base S, a scheme over Spec R. -/ |
| 611 | base : Over (Spec ⟨R⟩) |
| 612 | /-- The theta family: an abelian scheme 𝒜 = `family.total` over the base S = `base.left`. -/ |
| 613 | family : ThetaFamily D base.left (base.hom ≫ specMap (algebraMap (𝓞 E) R)) |
| 614 | /-- S is projective over `R`. -/ |
| 615 | hasProjEmbedding : HasProjEmbedding base.hom |
| 616 | /-- S is smooth over `R` of relative dimension n - 1, where n is `card D.Index`. -/ |
| 617 | smooth : SmoothOfRelativeDimension (card D.Index - 1) base.hom |
| 618 | /-- The complex point of S attached to a pair (f, b) of an analytic family `f` and a parameter |
| 619 | `b`. -/ |
| 620 | obj : AnalyticFamily D × BallBase D.Index → (specOver R ℂ ⟶ base) |
| 621 | /-- The fibre over `obj a` is modelled on the torus of the family `a.1` at the parameter `a.2`. -/ |
| 622 | model (a : AnalyticFamily D × BallBase D.Index) : |
| 623 | TorusModel (X := family) (obj a).left (a.1.torus a.2).toPeriodMap |
| 624 | /-- The uniformisations give complex points of 𝒜 that are holomorphic in `(b, z)`, for `b` in the |
| 625 | domain of the family. -/ |
| 626 | holomorphic (f : AnalyticFamily D) : ∀ b ∈ f.domain, ∀ z : BallFibre E D.Index, |
| 627 | HolomorphicAt |
| 628 | (fun q ↦ |
| 629 | atGeneric (model (f, q.1)).uniformisation.expMap q.2 ≫ (toFamily (obj (f, q.1)).left).left) |
| 630 | (b, z) |
| 631 | /-- The points `obj a` are dense in S. -/ |
| 632 | dense : IsDenseFamily (obj · |>.left) |
| 633 | |
| 634 | attribute [instance] UniversalFamily.hasProjEmbedding |
| 635 | |
| 636 | variable {D : PEL E} {R : Subalgebra (𝓞 E) E} {κ : Sort _} {ν : ℕ} [Finite κ] |
| 637 | {T Z : Scheme} {τ : Z ⟶ Spec (CommRingCat.of (𝓞 E))} {X : ThetaFamily D Z τ} |
| 638 | {O : Type} [CommRing O] [ValuativeArc O] {U : UniversalFamily D R} {𝔪 : (𝓞 E)⁰} |
| 639 | {y : ThetaObject X T} {Q : κ → (𝟙_ (Over T) ⟶ y.groupScheme)} {a : ModuliPoint E D.Index ν} |
| 640 | |
| 641 | /-! ### Fibre powers and the points of linear data -/ |
| 642 | |
| 643 | /-- For a finite set κ, the κ-fold fibre power of the abelian scheme `X.total` over its base, as a |
| 644 | scheme over the base. -/ |
| 645 | abbrev ThetaFamily.fibrePower (κ : Type) [Finite.{1} κ] : Over Z := ∏ᶜ fun _ : κ ↦ X.total |
| 646 | |
| 647 | /-- For i in κ, the i-th projection from the κ-fold fibre power of `X.total` to `X.total`, as a |
| 648 | morphism of underlying schemes. -/ |
| 649 | abbrev ThetaFamily.proj (i : κ) : (∏ᶜ fun (_ : κ) ↦ X.total).left ⟶ X.total.left := |
| 650 | (Pi.π _ i : X.fibrePower κ ⟶ X.total).left |
| 651 | |
| 652 | /-- Let y be an object of the family X over T, and Q i, for i in κ, sections of its group scheme |
| 653 | `y.groupScheme` over T. This is the T-point of the κ-fold fibre power of `X.total` whose i-th factor |
| 654 | is the section Q i followed by the map of y to the family. -/ |
| 655 | def ThetaObject.pointOf (y : ThetaObject X T) (Q : κ → (𝟙_ (Over T) ⟶ y.groupScheme)) : |
| 656 | T ⟶ (X.fibrePower κ).left := |
| 657 | (Pi.lift fun i ↦ y.isGroupBaseChange.pointEquiv (Q i)).left |
| 658 | |
| 659 | /-- Let a = (x, ℓ, P) be a point at infinite level with ν marked vectors, and t an O-point, over the |
| 660 | arc O, of the fibre power of `X.total` with one factor for each non-zero 𝔪-torsion class and one for |
| 661 | each marked vector. `IsPointOf 𝔪 a t` says that t is the point of an object over O that has a torus |
| 662 | model (`TorusModel`) on a period map for the frame x and the reflection ℓ: its factors are the |
| 663 | torsion points of the model at the non-zero 𝔪-torsion classes and the images of the vectors P i. -/ |
| 664 | @[mk_iff] |
| 665 | inductive ThetaFamily.IsPointOf (𝔪 : (𝓞 E)⁰) (a : ModuliPoint E D.Index ν) |
| 666 | (t : Spec ⟨O⟩ ⟶ (X.fibrePower (NonzeroTorsion 𝔪 D.Index ⊕ Fin ν)).left) : Prop |
| 667 | /-- Builds `ThetaFamily.IsPointOf` from a torus model `m` of an object `x` over the arc on a |
| 668 | period map `Y` for `a.frame` and `a.reflection`. It requires a proof that `t` is the point of `x` |
| 669 | given by the torsion points of `m.fullStructure` and the images under `m.π` of the vectors |
| 670 | `a.markedPoint`. -/ |
| 671 | | mk {x : ThetaObject X (Spec (CommRingCat.of O))} {V : Type} [FinComplexSpace V] |
| 672 | {Y : PeriodMap D a.frame a.reflection V} (m : TorusModel x Y) |
| 673 | (h : t = x.pointOf ((fun s : NonzeroTorsion 𝔪 D.Index ↦ m.fullStructure.torsionPoint s.val) ⊕ᵥ |
| 674 | (fun i : Fin ν ↦ m.π (a.markedPoint i)))) |
| 675 | |
| 676 | /-- The point `y.pointOf Q` lies over the base point of y. -/ |
| 677 | @[reassoc (attr := simp)] |
| 678 | lemma ThetaObject.pointOf_hom : y.pointOf Q ≫ hom (fibrePower κ) = y := by simp [pointOf] |
| 679 | |
| 680 | /-- The i-th factor of `y.pointOf Q` is the section Q i followed by the map of y to the family. -/ |
| 681 | @[reassoc (attr := simp)] |
| 682 | lemma ThetaObject.pointOf_proj (i : κ) : y.pointOf Q ≫ proj i = (Q i).left ≫ y.toFamily.left := |
| 683 | congrArg Hom.left (Pi.lift_comp_π _ i) |
| 684 | |
| 685 | /-- For every point a at infinite level there is a complex point t over R of the fibre power of the |
| 686 | family that is the point of a with its 𝔪-torsion (`New.ThetaFamily.IsPointOf`). -/ |
| 687 | lemma Variety.UniversalFamily.exists_isPointOf (U : UniversalFamily D R) (𝔪 : (𝓞 E)⁰) |
| 688 | (a : ModuliPoint E D.Index ν) : |
| 689 | ∃ t : |
| 690 | specOver R ℂ ⟶ |
| 691 | (Over.map U.base.hom) (U.family.fibrePower (NonzeroTorsion 𝔪 D.Index ⊕ Fin ν)), |
| 692 | U.family.IsPointOf 𝔪 a t.left := by |
| 693 | -- The point a is the member at the parameter 0 of some analytic family f, and the universal |
| 694 | -- family carries a model of the fibre at (f, 0). |
| 695 | obtain ⟨f, hf⟩ := exists_isBallFamily a |
| 696 | exact hf.ballPoint_zero ▸ ⟨homMk _, U.model (f, 0), rfl⟩ |
| 697 | |
| 698 | /-- For a point a = (x, ℓ, P) at infinite level, a chosen complex point over R of the fibre power of |
| 699 | the family that is the point of a with its 𝔪-torsion (`New.ThetaFamily.IsPointOf`): an object |
| 700 | modelled on (x, ℓ), with its non-zero 𝔪-torsion points and the images of the vectors P i. -/ |
| 701 | def Variety.UniversalFamily.datumPoint (𝔪 : (𝓞 E)⁰) (a : ModuliPoint E D.Index ν) : |
| 702 | specOver R ℂ ⟶ (Over.map U.base.hom) (U.family.fibrePower (NonzeroTorsion 𝔪 D.Index ⊕ Fin ν)) := |
| 703 | (U.exists_isPointOf 𝔪 a).choose |
| 704 | |
| 705 | /-- Two T-points of the κ-fold fibre power of `X.total` are equal if and only if they have the same |
| 706 | image in the base Z and the same projection to `X.total` for every i in κ. -/ |
| 707 | lemma fibrePower_ext_iff {t t' : T ⟶ (X.fibrePower κ).left} : |
| 708 | t = t' ↔ |
| 709 | t ≫ (X.fibrePower κ).hom = t' ≫ (X.fibrePower κ).hom ∧ ∀ i : κ, t ≫ proj i = t' ≫ proj i := by |
| 710 | refine ⟨fun h ↦ by simp [h], ?_⟩ |
| 711 | rintro ⟨h_hom, h_proj⟩ |
| 712 | -- Maps with the same base point are maps over the base into a product, which agree when all |
| 713 | -- their projections agree. |
| 714 | have h_over : |
| 715 | (homMk t h_hom : Over.mk (t' ≫ (X.fibrePower κ).hom) ⟶ X.fibrePower κ) = homMk t' := |
| 716 | Pi.hom_ext _ _ fun i ↦ OverMorphism.ext (by simpa using h_proj i) |
| 717 | exact congrArg (fun f ↦ f.left) h_over |
| 718 | |
| 719 | variable {t : Spec ⟨O⟩ ⟶ (X.fibrePower (NonzeroTorsion 𝔪 D.Index ⊕ Fin ν)).left} |
| 720 | {b : ModuliPoint E D.Index ν} {J : Sort _} [Finite J] {γ : J → (𝓞 E)⁰ × GUPlus E D.Index} |
| 721 | {s : Spec (CommRingCat.of ℂ) ⟶ (X.fibrePower (NonzeroTorsion 𝔪 D.Index ⊕ Fin ν)).left} |
| 722 | {u : Spec (CommRingCat.of ℂ) ⟶ (U.family.fibrePower (NonzeroTorsion 𝔪 D.Index ⊕ Fin ν)).left} |
| 723 | |
| 724 | /-- Let t be an O-point of the fibre power of `X.total` over the arc O. If its generic point |
| 725 | `genericPt ≫ t` is the point of a with its 𝔪-torsion (`New.ThetaFamily.IsPointOf`), then so is t. -/ |
| 726 | lemma ThetaFamily.IsPointOf.of_generic (h_generic : IsPointOf 𝔪 a (genericPt ≫ t)) : |
| 727 | IsPointOf 𝔪 a t := by |
| 728 | -- The object `x` behind the generic point is the generic fibre of the object `t ≫ hom _` over |
| 729 | -- the arc, so its model extends. |
| 730 | obtain @⟨x, V, hV, Y, m, h_pt⟩ := h_generic |
| 731 | have h_gen : x.IsPullbackAlong genericPt (t ≫ hom _) := ((reassoc_of% h_pt) _).trans pointOf_hom |
| 732 | obtain ⟨m', hm'⟩ : ∃ m' : TorusModel (t ≫ hom _) Y, ∀ w : RealVectors E D.Index, |
| 733 | genericPt ≫ (m'.π w).left = (m.π w).left ≫ h_gen.schemeMap.left := |
| 734 | m.exists_torusModel_of_isPullbackAlong h_gen |
| 735 | -- Two maps from the arc over the base into a separated scheme that agree at the generic |
| 736 | -- point are equal. |
| 737 | refine ⟨m', ext_of_isDominant_of_isSeparated (hom _) (by simp) genericPt ?_⟩ |
| 738 | -- Compare the base points and then each factor; torsion sections are values of `π` by |
| 739 | -- definition, so `hm'` covers both kinds of factor. |
| 740 | refine fibrePower_ext_iff.mpr ⟨by simp, ?_⟩ |
| 741 | rintro (s | i) <;> simp [h_pt, reassoc_of% hm', h_gen.comp_toFamily, fullStructure, ← π.eq_1] |
| 742 | |
| 743 | /-- A matrix over the finite adeles that sends every vector with entries in Ô to a vector with |
| 744 | entries in Ô has its entries in Ô. Vectors with entries in Ô are those whose class in the torsion |
| 745 | module (𝔸f / Ô)ⁿ is zero. -/ |
| 746 | lemma mem_Ô_of_torsionClass_mulVec_eq_zero {n : Type} [Fintype n] |
| 747 | {l : Matrix n n (𝔸f E)} |
| 748 | (h_zero : ∀ y : n → 𝔸f E, torsionClass y = 0 → torsionClass (l *ᵥ y) = 0) (i j : n) : |
| 749 | l i j ∈ Ô E := by |
| 750 | classical |
| 751 | -- Apply `l` to the `j`-th standard basis vector. |
| 752 | simpa using torsionClass_eq_zero.mp (h_zero (Pi.single j 1) |
| 753 | (torsionClass_eq_zero.mpr fun k ↦ by simp [Pi.single_apply, ite_mem])) i |
| 754 | |
| 755 | /-- Let `k` be an adelic similitude (a member of `GU`) with integral entries and integral inverse, |
| 756 | and `𝔞` a non-zero integer of E. If `k` fixes the class in (𝔸f / Ô)ⁿ of every vector whose class is |
| 757 | killed by `𝔞`, then `k` is congruent to 1 modulo `𝔞`: it lies in the level group `levelGU n 𝔞`. -/ |
| 758 | lemma mem_levelGU_of_torsionClass_mulVec_eq {n : Type} [Fintype n] [DecidableEq n] |
| 759 | {k : GL n (𝔸f E)} {𝔞 : 𝓞 E} (h𝔞 : 𝔞 ≠ 0) (h_sim : k ∈ GU E n) (h_int : k ∈ intGL n (Ô E)) |
| 760 | (h_fix : ∀ y : n → 𝔸f E, 𝔞 • torsionClass y = 0 → torsionClass (k.val *ᵥ y) = torsionClass y) : |
| 761 | k ∈ levelGU n 𝔞 := by |
| 762 | refine ⟨h_sim, h_int, fun i j ↦ mem_span_singleton_iff_exists_mul.mpr ?_⟩ |
| 763 | -- Test `h_fix` on the vector `y = 𝔞⁻¹ e_j`, whose class is killed by `𝔞`: the difference |
| 764 | -- `k y - y = 𝔞⁻¹ (k - 1) e_j` is integral. |
| 765 | let y : n → 𝔸f E := Pi.single j ((isUnit_algebraMap_finAdele h𝔞).unit⁻¹ : (𝔸f E)ˣ) |
| 766 | have hy : 𝔞 • torsionClass y = 0 := by |
| 767 | rw [← map_smul, torsionClass_eq_zero] |
| 768 | simp [y, ite_mem, Algebra.smul_def, Pi.single_apply] |
| 769 | refine ⟨(k.val *ᵥ y) i - y i, torsionClass_eq_iff.mp (h_fix y hy) i, ?_⟩ |
| 770 | simp [y, mul_sub, mul_left_comm, Matrix.one_apply, Pi.single_apply] |
| 771 | |
| 772 | /-- A matrix `k` in the level group `levelGU n 𝔞`, congruent to 1 modulo `𝔞`, fixes the class in |
| 773 | (𝔸f / Ô)ⁿ of every vector whose class is killed by `𝔞`. -/ |
| 774 | lemma torsionClass_mulVec_eq_of_mem_levelGU {n : Type} [Fintype n] [DecidableEq n] |
| 775 | {k : GL n (𝔸f E)} {𝔞 : 𝓞 E} (hk : k ∈ levelGU n 𝔞) {y : n → 𝔸f E} |
| 776 | (hy : 𝔞 • torsionClass y = 0) : |
| 777 | torsionClass (k.val *ᵥ y) = torsionClass y := by |
| 778 | obtain ⟨-, -, hk_cong⟩ := hk |
| 779 | -- Write `k = 𝔞 • M + 1` with `M` integral; then `k y = M (𝔞 • y) + y`, and `𝔞 • y` is integral. |
| 780 | have h_entry : ∀ i j : n, ∃ c ∈ Ô E, (k.val - 1) i j = algebraMap (𝓞 E) (𝔸f E) 𝔞 * c := |
| 781 | fun i j ↦ mem_span_singleton_iff_exists_mul.mp (hk_cong i j) |
| 782 | choose M hM_int hM_eq using h_entry |
| 783 | have hk_eq : k.val = 𝔞 • Matrix.of M + 1 := eq_add_of_sub_eq (Matrix.ext hM_eq) |
| 784 | have hy_int : torsionClass (𝔞 • y) = 0 := by rwa [map_smul] |
| 785 | rw [hk_eq, add_mulVec, smul_mulVec, ← mulVec_smul, map_add, |
| 786 | torsionClass_mulVec_eq_zero (h := Matrix.of M) hM_int hy_int, zero_add, one_mulVec] |
| 787 | |
| 788 | /-- The polarisation form of the PEL data D determines its matrix: matrices β, β' over E with the |
| 789 | same polarisation form are equal. The proof compares the forms on the vectors c eⱼ and (ξ⁻¹)* eᵢ, |
| 790 | and uses that the trace form of E is non-degenerate and that ξ ≠ 0. -/ |
| 791 | lemma eq_of_polarisationForm_eq {β β' : Matrix D.Index D.Index E} |
| 792 | (h_form : ∀ y w : RealVectors E D.Index, |
| 793 | polarisationForm D β y w = polarisationForm D β' y w) : |
| 794 | β = β' := by |
| 795 | have hξ : D.ξ ≠ 0 := fun hξ_zero ↦ by |
| 796 | simpa [hξ_zero] using D.xi_im_pos_and_re_eq_zero v₀ |
| 797 | ext i j |
| 798 | refine sub_eq_zero.mp ((traceForm_nondegenerate ℚ E).1 (β i j - β' i j) fun c ↦ ?_) |
| 799 | simpa [hξ, mul_assoc, mul_comm c, sub_eq_zero] using |
| 800 | h_form (toRealVectors (Pi.single j c)) (toRealVectors (Pi.single i (star D.ξ⁻¹))) |
| 801 | |
| 802 | /-- One direction of `New.ThetaFamily.IsPointOf.eq_iff`: if z in GL_n(E) is an isomorphism of level |
| 803 | K(𝔑) ∩ K(𝔪) from a to b (`b.frame⁻¹ * toFinGL z * a.frame` in both level groups, `ratConj z` taking |
| 804 | a's reflection to b's, `m'.π` equal on z·(a.markedPoint i) and b.markedPoint i) for the torus models |
| 805 | m of x and m' of x', then x = x' and the two models give the same points of the family at the |
| 806 | 𝔪-torsion classes and at the marked vectors. -/ |
| 807 | lemma ThetaObject.TorusModel.eq_and_comp_toFamily_eq_of_mem_levelGU |
| 808 | {x x' : ThetaObject X (Spec (CommRingCat.of ℂ))} {V V' : Type} [FinComplexSpace V] |
| 809 | [FinComplexSpace V'] {Y : PeriodMap D a.frame a.reflection V} |
| 810 | {Y' : PeriodMap D b.frame b.reflection V'} (m : TorusModel x Y) (m' : TorusModel x' Y') |
| 811 | {z : GL D.Index E} (h𝔑 : b.frame⁻¹ * toFinGL z * a.frame ∈ levelGU D.Index D.level) |
| 812 | (h𝔪 : b.frame⁻¹ * toFinGL z * a.frame ∈ levelGU D.Index 𝔪) |
| 813 | (hz : ratConj z a.reflection = b.reflection) |
| 814 | (hP : ∀ i : Fin ν, m'.π (realVecAction z (a.markedPoint i)) = m'.π (b.markedPoint i)) : |
| 815 | x = x' ∧ |
| 816 | (∀ s : AdelicTorsion E D.Index, (𝔪 : 𝓞 E) • s = 0 → |
| 817 | (m.fullStructure.torsionPoint s).left ≫ x.toFamily.left = |
| 818 | (m'.fullStructure.torsionPoint s).left ≫ x'.toFamily.left) ∧ |
| 819 | ∀ i : Fin ν, |
| 820 | (m.π (a.markedPoint i)).left ≫ x.toFamily.left = (m'.π (b.markedPoint i)).left ≫ |
| 821 | x'.toFamily.left := by |
| 822 | -- An isomorphism z of level K(𝔑) gives a map ψ of multiplier 1 that acts on torsion classes by |
| 823 | -- the matrix `b.frame⁻¹ z a.frame`. |
| 824 | have ⟨_, hk_intGL, _⟩ := h𝔑 |
| 825 | obtain ⟨h_base, ψ, hψ_isog, hψ_lin, h_cls, h_ev, hπ⟩ := |
| 826 | exists_isogeny z hz m m' rfl hk_intGL.isIntMatrix (levelGU.isScalarFrame_inv_one h𝔑) |
| 827 | -- A matrix congruent to 1 modulo 𝔞 acts trivially on the 𝔞-torsion. |
| 828 | have h_tors {𝔞 : 𝓞 E} (hk : b.frame⁻¹ * toFinGL z * a.frame ∈ levelGU D.Index 𝔞) : |
| 829 | ∀ s ∈ torsionBy (𝓞 E) (AdelicTorsion E D.Index) 𝔞, |
| 830 | m.fullStructure.torsionPoint s ≫ ψ = m'.fullStructure.torsionPoint s := by |
| 831 | rintro ⟨y⟩ (hy : 𝔞 • torsionClass y = 0) |
| 832 | change m.fullStructure.torsionPoint (torsionClass y) ≫ ψ = |
| 833 | m'.fullStructure.torsionPoint (torsionClass y) |
| 834 | rw [h_ev, torsionClass_mulVec_eq_of_mem_levelGU hk hy] |
| 835 | -- ψ respects the pairing (its multiplier is 1) and the level points, so by rigidity it lies |
| 836 | -- over the family. |
| 837 | have h_pair : ∀ ⦃S : Over (Spec (CommRingCat.of ℂ))⦄ (y w : S ⟶ x.groupScheme), |
| 838 | x.lineBundle.picClass.pairing y w = x'.lineBundle.picClass.pairing (y ≫ ψ) (w ≫ ψ) := by |
| 839 | simp [← pairing_comp, h_cls] |
| 840 | have h_level_pts : ∀ l : D.levelTorsion, x.levelPoints l ≫ ψ = x'.levelPoints l := fun l ↦ by |
| 841 | rw [m.fullStructure.levelPoints_eq, m'.fullStructure.levelPoints_eq, h_tors h𝔑 _ l.prop] |
| 842 | obtain ⟨hx, hp⟩ : x = x' ∧ ψ.left ≫ x'.toFamily.left = x.toFamily.left := |
| 843 | (m.hasSpanningCoords_of_specMap_comp_eq (RingHom.id ℂ) |
| 844 | (by simp [specMap])).eq_and_comp_toFamily_eq_of_hom (Category.id_comp _) |
| 845 | h_base.symm ψ h_pair h_level_pts |
| 846 | -- The torsion points and the marked points of the two models now agree in the family. |
| 847 | exact ⟨hx, fun s hs ↦ by rw [← hp, ← comp_left_assoc, h_tors h𝔪 s hs], |
| 848 | fun i ↦ by rw [← hp, ← comp_left_assoc, hπ, hP]⟩ |
| 849 | |
| 850 | /-- Let `X` be a PEL theta family over `Z` (with structure morphism `τ` over `Spec (𝓞 E)`) for PEL |
| 851 | data `D` over a CM field `E`, let `a` and `b` be moduli points with `ν` marked vectors, let `𝔪` be a |
| 852 | nonzero integer of `E`, and let `m : TorusModel x Y` and `m' : TorusModel x Y'` be torus models of |
| 853 | the same complex object `x` of `X` for period maps `Y` (at `a.frame`, `a.reflection`, on `V`) and |
| 854 | `Y'` (at `b.frame`, `b.reflection`, on `V'`). Suppose the two models give the same points of |
| 855 | `X.total` on every nonzero `𝔪`-torsion class of `AdelicTorsion E D.Index` and on every marked vector |
| 856 | `a.markedPoint i` and `b.markedPoint i` (`i : Fin ν`). Then there exists `z : GL D.Index E` such |
| 857 | that `b.frame⁻¹ * toFinGL z * a.frame` lies in both `levelGU D.Index D.level` and |
| 858 | `levelGU D.Index 𝔪`, `ratConj z a.reflection = b.reflection`, and |
| 859 | `m'.π (realVecAction z (a.markedPoint i)) = m'.π (b.markedPoint i)` for every `i : Fin ν`. -/ |
| 860 | private lemma ThetaObject.TorusModel.exists_mem_levelGU_of_comp_toFamily_eq |
| 861 | {x : ThetaObject X (Spec (CommRingCat.of ℂ))} {V V' : Type} [FinComplexSpace V] |
| 862 | [FinComplexSpace V'] {Y : PeriodMap D a.frame a.reflection V} |
| 863 | {Y' : PeriodMap D b.frame b.reflection V'} (m : TorusModel x Y) (m' : TorusModel x Y') |
| 864 | (h_tor : ∀ s : AdelicTorsion E D.Index, (𝔪 : 𝓞 E) • s = 0 → s ≠ 0 → |
| 865 | (m.fullStructure.torsionPoint s).left ≫ x.toFamily.left = |
| 866 | (m'.fullStructure.torsionPoint s).left ≫ x.toFamily.left) |
| 867 | (hP : ∀ i : Fin ν, |
| 868 | (m.π (a.markedPoint i)).left ≫ x.toFamily.left = |
| 869 | (m'.π (b.markedPoint i)).left ≫ x.toFamily.left) : |
| 870 | ∃ z : GL D.Index E, |
| 871 | (b.frame⁻¹ * toFinGL z * a.frame ∈ levelGU D.Index D.level ∧ |
| 872 | b.frame⁻¹ * toFinGL z * a.frame ∈ levelGU D.Index 𝔪) ∧ |
| 873 | ratConj z a.reflection = b.reflection ∧ |
| 874 | ∀ i : Fin ν, m'.π (realVecAction z (a.markedPoint i)) = m'.π (b.markedPoint i) := by |
| 875 | -- The level of `z` is read off from the action of `b.frame⁻¹ * toFinGL z * a.frame` on torsion |
| 876 | -- classes. |
| 877 | -- A section of the object is determined by its image in the family. |
| 878 | have p_inj : Injective fun s : 𝟙_ (Over (Spec (CommRingCat.of ℂ))) ⟶ x.groupScheme ↦ |
| 879 | s.left ≫ x.toFamily.left := |
| 880 | (Over.forget _).map_injective.comp |
| 881 | (x.isGroupBaseChange.pointEquiv (T := 𝟙_ (Over (Spec (CommRingCat.of ℂ))))).injective |
| 882 | -- The identity of the object is induced by a rational matrix z. |
| 883 | obtain ⟨z, hz_π, hz_form, hz⟩ := |
| 884 | m.exists_matrix_of_hom m' (𝟙 x.groupScheme) (hψ := ⟨by simp⟩) one_ne_zero (by simp) |
| 885 | set k : GL D.Index (𝔸f E) := b.frame⁻¹ * toFinGL z * a.frame |
| 886 | have hz_tor (y : D.Index → 𝔸f E) : |
| 887 | m.fullStructure.torsionPoint (torsionClass y) = |
| 888 | m'.fullStructure.torsionPoint (torsionClass (k.val *ᵥ y)) := by |
| 889 | simpa [k] using m.torsionPoint_comp m' hz_π y |
| 890 | -- Equal forms have equal matrices, so k is a similitude: `a.frame` is a frame for |
| 891 | -- `Y.formMatrix = zᴴ Y'.formMatrix z`, and `b.frame` one for `Y'.formMatrix`. |
| 892 | have hβ : Y.formMatrix = z.valᴴ * Y'.formMatrix * z := |
| 893 | eq_of_polarisationForm_eq fun y w ↦ by simpa using hz_form y w |
| 894 | have h_sim : k ∈ GU E D.Index := by |
| 895 | refine ⟨(1 : ℚ), one_pos, ?_⟩ |
| 896 | have h_bx_k : b.frame * k = toFinGL z * a.frame := by simp [k, mul_assoc] |
| 897 | rw [Rat.cast_one, ← Y'.isFrameFor.mul_iff, one_smul, h_bx_k, ← IsFrameFor.conj_iff, ← hβ] |
| 898 | exact Y.isFrameFor |
| 899 | -- `k` and its inverse send integral vectors to integral vectors, so they are integral. |
| 900 | have h_int : k ∈ intGL D.Index (Ô E) := mem_intGL.mpr |
| 901 | ⟨mem_Ô_of_torsionClass_mulVec_eq_zero fun y hy ↦ |
| 902 | m'.fullStructure.injective (by simp [← hz_tor, hy]), |
| 903 | mem_Ô_of_torsionClass_mulVec_eq_zero fun y hy ↦ |
| 904 | m.fullStructure.injective (by simp [hz_tor, hy])⟩ |
| 905 | -- If the two models agree on the 𝔞-torsion, k fixes every class killed by 𝔞, so it is |
| 906 | -- congruent to 1 modulo 𝔞. |
| 907 | have h_level {𝔞 : 𝓞 E} (h𝔞 : 𝔞 ≠ 0) |
| 908 | (h_ev : ∀ s : AdelicTorsion E D.Index, 𝔞 • s = 0 → |
| 909 | m.fullStructure.torsionPoint s = m'.fullStructure.torsionPoint s) : |
| 910 | k ∈ levelGU D.Index 𝔞 := |
| 911 | mem_levelGU_of_torsionClass_mulVec_eq h𝔞 h_sim h_int fun y hy ↦ |
| 912 | m'.fullStructure.injective ((hz_tor y).symm.trans (h_ev _ hy)) |
| 913 | refine ⟨z, ⟨h_level D.level_ne_zero fun s hs ↦ ?_, h_level (by simp) fun s hs ↦ ?_⟩, hz, |
| 914 | fun i ↦ ?_⟩ |
| 915 | -- On the 𝔑-torsion both models extend the level points of x. |
| 916 | · exact (m.fullStructure.levelPoints_eq ⟨s, hs⟩).symm.trans |
| 917 | (m'.fullStructure.levelPoints_eq ⟨s, hs⟩) |
| 918 | -- They agree on the 𝔪-torsion: at 0 trivially, elsewhere by `h_tor`. |
| 919 | · by_cases hs_zero : s = 0 |
| 920 | · simp [hs_zero] |
| 921 | · exact p_inj (h_tor s hs hs_zero) |
| 922 | -- `m.π (a.markedPoint i)` is `m'.π (z (a.markedPoint i))` by `hz_π`, and has the image of |
| 923 | -- `m'.π (b.markedPoint i)` by `hP`. |
| 924 | · rw [← hz_π, Category.comp_id] |
| 925 | exact p_inj (hP i) |
| 926 | |
| 927 | /-- Let s and u be complex points of the fibre power of `X.total` that are the points of a and of b |
| 928 | with their 𝔪-torsion (`New.ThetaFamily.IsPointOf`). Then s = u exactly when some z in GL_n(E) is an |
| 929 | isomorphism from a to b at level K(𝔑) ∩ K(𝔪), where 𝔑 is the level of D. -/ |
| 930 | lemma ThetaFamily.IsPointOf.eq_iff |
| 931 | {u : Spec (CommRingCat.of ℂ) ⟶ (X.fibrePower (NonzeroTorsion 𝔪 D.Index ⊕ Fin ν)).left} |
| 932 | (hs : X.IsPointOf 𝔪 a s) (hu : X.IsPointOf 𝔪 b u) : |
| 933 | s = u ↔ ∃ z : GL D.Index E, a.IsLevelIso (levelGU D.Index D.level ⊓ levelGU D.Index 𝔪) z b := by |
| 934 | classical |
| 935 | -- Both directions translate between maps of modelled objects and rational matrices: a matrix z |
| 936 | -- comes from the identity map (`exists_mem_levelGU_of_comp_toFamily_eq`), and conversely z gives |
| 937 | -- a map that lies over the family (`eq_and_comp_toFamily_eq_of_mem_levelGU`). |
| 938 | obtain @⟨x, V, hV, Y, m, rfl⟩ := hs |
| 939 | obtain @⟨x', V', hV', Y', m', rfl⟩ := hu |
| 940 | have h_lat (w : RealVectors E D.Index) : |
| 941 | w ∈ frameLattice b.frame ↔ Y'.realEquiv w ∈ m'.uniformisation.lattice := by |
| 942 | simp [m'.lattice_eq, mem_classLattice, frameLattice] |
| 943 | -- s = u says: same base point, same points at the non-zero 𝔪-torsion classes, same marked |
| 944 | -- points; the level condition says: two level groups, the reflection, the marked points. |
| 945 | suffices h_iff : |
| 946 | (x = x' ∧ |
| 947 | (∀ s : AdelicTorsion E D.Index, (𝔪 : 𝓞 E) • s = 0 → s ≠ 0 → |
| 948 | (m.fullStructure.torsionPoint s).left ≫ x.toFamily.left = |
| 949 | (m'.fullStructure.torsionPoint s).left ≫ x'.toFamily.left) ∧ |
| 950 | ∀ i : Fin ν, |
| 951 | (m.π (a.markedPoint i)).left ≫ x.toFamily.left = (m'.π (b.markedPoint i)).left ≫ |
| 952 | x'.toFamily.left) ↔ |
| 953 | ∃ z : GL D.Index E, |
| 954 | (b.frame⁻¹ * toFinGL z * a.frame ∈ levelGU D.Index D.level ∧ |
| 955 | b.frame⁻¹ * toFinGL z * a.frame ∈ levelGU D.Index 𝔪) ∧ |
| 956 | ratConj z a.reflection = b.reflection ∧ |
| 957 | ∀ i : Fin ν, m'.π (realVecAction z (a.markedPoint i)) = m'.π (b.markedPoint i) by |
| 958 | simpa [h_lat, ← π.eq_1, fibrePower_ext_iff, isLevelIso_iff, sub_eq_zero] using h_iff |
| 959 | constructor |
| 960 | · rintro ⟨rfl, h_tor, hP⟩ |
| 961 | exact m.exists_mem_levelGU_of_comp_toFamily_eq m' h_tor hP |
| 962 | · rintro ⟨z, ⟨h𝔑, h𝔪⟩, hz, hP⟩ |
| 963 | obtain ⟨hx, h_tors, h_marked⟩ := m.eq_and_comp_toFamily_eq_of_mem_levelGU m' h𝔑 h𝔪 hz hP |
| 964 | exact ⟨hx, fun s hs _ ↦ h_tors s hs, h_marked⟩ |
| 965 | |
| 966 | namespace Variety.UniversalFamily |
| 967 | |
| 968 | /-! ### Closures of graphs, smoothness and density -/ |
| 969 | |
| 970 | /-- For a finite family γ of pairs (𝔪_j, g_j) of a non-zero integer and a similitude whose inverse |
| 971 | has entries in Ô (`GUPlus`), the reduced closure, in a product of fibre powers of the family, of the |
| 972 | tuples (over j) of the points `datumPoint 𝔪_j (a.act g_j)` of the translates of the points a at |
| 973 | infinite level. -/ |
| 974 | abbrev GraphClosure (γ : J → (𝓞 E)⁰ × GUPlus E D.Index) (ν : ℕ) : Type 1 := |
| 975 | ReducedClosure fun j a ↦ U.datumPoint (ν := ν) (γ j).1 (ModuliPoint.act a (γ j).2) |
| 976 | |
| 977 | |
| 978 | /-- The chosen point `datumPoint 𝔪 a` is the point of a with its 𝔪-torsion. -/ |
| 979 | lemma isPointOf_datumPoint : U.family.IsPointOf 𝔪 a (datumPoint 𝔪 a).left := |
| 980 | (U.exists_isPointOf 𝔪 a).choose_spec |
| 981 | |
| 982 | /-- The point of a with its 𝔪-torsion is unique: every such point u is |
| 983 | `New.Variety.UniversalFamily.datumPoint 𝔪 a`, as the identity is an isomorphism from a to itself |
| 984 | at every level. -/ |
| 985 | lemma IsPointOf.eq_datumPoint (h_pt : U.family.IsPointOf 𝔪 a u) : u = (datumPoint 𝔪 a).left := by |
| 986 | have h_iso : a.IsLevelIso (levelGU D.Index D.level ⊓ levelGU D.Index 𝔪) 1 a := by |
| 987 | simp [ratConj, isLevelIso_iff] |
| 988 | exact (h_pt.eq_iff isPointOf_datumPoint).mpr ⟨1, h_iso⟩ |
| 989 | |
| 990 | /-- The points attached to a and b with their 𝔪-torsion are equal if and only if a and b are |
| 991 | isomorphic at level K(𝔑) ∩ K(𝔪), where 𝔑 is the level of D. -/ |
| 992 | lemma datumPoint_eq_iff : |
| 993 | U.datumPoint 𝔪 a = datumPoint 𝔪 b ↔ |
| 994 | ∃ z : GL D.Index E, a.IsLevelIso (levelGU D.Index D.level ⊓ levelGU D.Index 𝔪) z b := |
| 995 | OverMorphism.ext_iff.trans (isPointOf_datumPoint.eq_iff isPointOf_datumPoint) |
| 996 | |
| 997 | /-- The abelian scheme of a theta family is projective over the base, by its embedding. -/ |
| 998 | instance : HasProjEmbedding X.total.hom := ⟨X.embeds⟩ |
| 999 | |
| 1000 | /-- A fibre power of the abelian scheme of a theta family is projective over the base. -/ |
| 1001 | instance : HasProjEmbedding (X.fibrePower κ).hom := .of_isClosedImmersion_pi (𝟙 _) |
| 1002 | |
| 1003 | /-- The closure `C.scheme` is projective over the base, as a closed subscheme of a product of fibre |
| 1004 | powers. -/ |
| 1005 | instance (C : U.GraphClosure γ ν) : HasProjEmbedding C.scheme.hom := .of_isClosedImmersion_pi C.incl |
| 1006 | |
| 1007 | /-- There is a level m such that the point of the closure C attached to a depends only on the |
| 1008 | isomorphism class of a at level K(m). -/ |
| 1009 | lemma GraphClosure.exists_level_point_eq (C : U.GraphClosure γ ν) : |
| 1010 | ∃ m : (𝓞 E)⁰, ∀ {a b : ModuliPoint E D.Index ν} {z : GL D.Index E}, |
| 1011 | ModuliPoint.IsLevelIso (levelGU D.Index m) z a b → C.point a = C.point b := by |
| 1012 | classical |
| 1013 | -- Take a level `m` so deep that every `γ j` conjugates `K(m)` into `K(𝔑) ⊓ K((γ j).1)`. |
| 1014 | obtain ⟨m, hm⟩ := exists_level_conj_mem D.level_ne_zero (Finset.image γ Finset.univ) |
| 1015 | refine ⟨m, fun {a b z} h_iso ↦ C.hom_ext fun j ↦ ?_⟩ |
| 1016 | -- Then `z` is also an isomorphism of the translates by `γ j` at that level. |
| 1017 | have h_iso_γ : IsLevelIso (levelGU D.Index D.level ⊓ levelGU D.Index (γ j).1) z (a.act (γ j).2) |
| 1018 | (b.act (γ j).2) := by |
| 1019 | constructor |
| 1020 | · simpa [mul_assoc, act] using hm (γ j) (by simp) _ h_iso.mem_level |
| 1021 | · exact h_iso.reflection_eq |
| 1022 | · intro i |
| 1023 | -- the inverse of `(γ j).2` is integral, so `(γ j).2` enlarges the lattice |
| 1024 | obtain ⟨-, (h_int : ∀ k l : D.Index, ((γ j).2 : GL D.Index (𝔸f E))⁻¹ k l ∈ Ô E)⟩ := |
| 1025 | (γ j).2.prop |
| 1026 | simpa [act] using |
| 1027 | realVecAction_mem_frameLattice (A := 1) (by simpa using h_int) (h_iso.sub_mem_lattice i) |
| 1028 | simpa only [C.point_comp_proj] using! datumPoint_eq_iff.mpr ⟨z, h_iso_γ⟩ |
| 1029 | |
| 1030 | /-- For κ with m elements, the κ-fold fibre power of the abelian scheme 𝒜 over the base S is smooth |
| 1031 | over S of relative dimension m times the dimension of 𝒜 (`New.Variety.abelianDim`). -/ |
| 1032 | lemma smooth_fibrePower {m : ℕ} (e : κ ≃ Fin m) : |
| 1033 | SmoothOfRelativeDimension (m * abelianDim E D.Index) (U.family.fibrePower κ).hom := by |
| 1034 | -- Build one `m`-fold product by induction, one binary product at a time. |
| 1035 | obtain ⟨F, hF⟩ : ∃ F : LimitCone (Discrete.functor fun _ : Fin m ↦ U.family.total), |
| 1036 | SmoothOfRelativeDimension (m * abelianDim E D.Index) F.cone.pt.hom := by |
| 1037 | clear e |
| 1038 | induction m with |
| 1039 | | zero => |
| 1040 | refine ⟨⟨Fan.mk (𝟙_ _) nofun, .mk fun s ↦ toUnit s.pt⟩, ?_⟩ |
| 1041 | simpa using (inferInstance : SmoothOfRelativeDimension 0 (𝟙 _)) |
| 1042 | | succ m ih => |
| 1043 | obtain ⟨F, hF⟩ := ih |
| 1044 | refine ⟨⟨_, extendFanIsLimit _ F.isLimit (tensorProductIsBinaryProduct ..)⟩, ?_⟩ |
| 1045 | -- the structure map is a base change of that of `U.family.total` followed by that of `F` |
| 1046 | simpa [extendFan, add_mul, pullback.condition, add_comm] using (inferInstance : |
| 1047 | SmoothOfRelativeDimension (abelianDim E D.Index + m * abelianDim E D.Index) |
| 1048 | (pullback.snd U.family.total.hom F.cone.pt.hom ≫ F.cone.pt.hom)) |
| 1049 | -- The chosen product is isomorphic to it over the base. |
| 1050 | let i : U.family.fibrePower κ ≅ F.cone.pt := |
| 1051 | Pi.reindex e (fun _ ↦ U.family.total) ≪≫ limit.isoLimitCone F |
| 1052 | simpa using smoothOfRelativeDimension_comp 0 (f := i.hom.left) (hg := hF) |
| 1053 | |
| 1054 | /-- At level `1` there is no non-zero torsion class, so the fibre power with one factor for each |
| 1055 | of `ν` marked vectors is smooth of relative dimension `ν` times that of 𝒜. -/ |
| 1056 | private lemma smoothOfRelativeDimension_fibrePower_one (ν : ℕ) : |
| 1057 | SmoothOfRelativeDimension (ν * abelianDim E D.Index) |
| 1058 | (U.family.fibrePower (NonzeroTorsion (E := E) 1 D.Index ⊕ Fin ν)).hom := by |
| 1059 | have h_empty : IsEmpty (NonzeroTorsion (E := E) 1 D.Index) := ⟨by simp⟩ |
| 1060 | exact smooth_fibrePower (Equiv.emptySum _ _) |
| 1061 | |
| 1062 | /-- The fibre power of 𝒜 with one factor for each of `ν` marked vectors is smooth over `R` of |
| 1063 | relative dimension `card D.Index - 1 + ν * abelianDim`. -/ |
| 1064 | lemma smoothOfRelativeDimension_fibrePower (ν : ℕ) : |
| 1065 | SmoothOfRelativeDimension (card D.Index - 1 + ν * abelianDim E D.Index) |
| 1066 | ((Over.map U.base.hom) |
| 1067 | (U.family.fibrePower (NonzeroTorsion (E := E) 1 D.Index ⊕ Fin ν))).hom := by |
| 1068 | -- relative dimensions add up in the composite with the structure map of the base |
| 1069 | rw [Nat.add_comm] |
| 1070 | exact smoothOfRelativeDimension_comp (hf := smoothOfRelativeDimension_fibrePower_one ν) |
| 1071 | (hg := U.smooth) .. |
| 1072 | |
| 1073 | /-- The points `datumPoint 1 a` of the points `a` at infinite level with `ν` marked vectors are |
| 1074 | dense in the fibre power of 𝒜 with one factor for each marked vector. -/ |
| 1075 | lemma isDenseFamily_datumPoint (ν : ℕ) : |
| 1076 | IsDenseFamily fun a : ModuliPoint E D.Index ν ↦ (U.datumPoint 1 a).left := by |
| 1077 | -- The base points from `U.dense`, indexed by pairs `(f, p)`, are dense. A point `y` above the |
| 1078 | -- base point of `(f, p)` is a tuple of points of its fibre, each the image of a vector `P i`. |
| 1079 | have h_empty : IsEmpty (NonzeroTorsion (E := E) 1 D.Index) := ⟨by simp⟩ |
| 1080 | let projection := (U.family.fibrePower (NonzeroTorsion (E := E) 1 D.Index ⊕ Fin ν)).hom |
| 1081 | have : Smooth projection := (smoothOfRelativeDimension_fibrePower_one ν).smooth |
| 1082 | refine U.dense.of_fibres projection projection.isOpenMap ?_ |
| 1083 | rintro ⟨f, p⟩ y hy |
| 1084 | obtain ⟨P, hP⟩ : ∃ P : Fin ν → BallFibre E D.Index, ∀ i : Fin ν, |
| 1085 | (U.model (f, p)).uniformisation.expMap (P i) = |
| 1086 | (ThetaObject.isGroupBaseChange _).pointEquiv.symm (homMk (y ≫ U.family.proj (.inr i))) := |
| 1087 | Classical.skolem.mp fun i ↦ (U.model (f, p)).uniformisation.surjective _ |
| 1088 | -- `y` is the point of the datum `f.ballPoint 0 (p, P)`: it lies over the base point of |
| 1089 | -- `(f, p)`, there is no non-zero 1-torsion class, and its `i`-th factor is the image of `P i` |
| 1090 | have h_pt : U.family.IsPointOf 1 (f.ballPoint 0 (p, P)) y := by |
| 1091 | refine ⟨U.model (f, p), fibrePower_ext_iff.mpr ⟨by rwa [pointOf_hom], ?_⟩⟩ |
| 1092 | rintro (s | i) |
| 1093 | · exact isEmptyElim s |
| 1094 | · simp [π, IsGroupBaseChange.pointEquiv, hP i] |
| 1095 | exact ⟨f.ballPoint 0 (p, P), (IsPointOf.eq_datumPoint h_pt).symm⟩ |
| 1096 | |
| 1097 | /-- There is, for each family `α` of integers of `E`, a self-map `m α` of the fibre power of 𝒜 |
| 1098 | with one factor for each of `ν` marked vectors that sends `datumPoint 1 (a.act g)` to |
| 1099 | `datumPoint 1 (a.act g α)`. -/ |
| 1100 | lemma exists_comp_datumPoint_act (ν : ℕ) : |
| 1101 | ∃ m : (Fin ν → 𝓞 E) → |
| 1102 | ((Over.map U.base.hom) (U.family.fibrePower (NonzeroTorsion (E := E) 1 D.Index ⊕ Fin ν)) ⟶ |
| 1103 | (Over.map U.base.hom) (U.family.fibrePower (NonzeroTorsion (E := E) 1 D.Index ⊕ Fin ν))), |
| 1104 | ∀ (g : GUPlus E D.Index) (α : Fin ν → 𝓞 E) (a : ModuliPoint E D.Index ν), |
| 1105 | U.datumPoint 1 (ModuliPoint.act a g) ≫ m α = U.datumPoint 1 (a.act g α) := by |
| 1106 | -- `m α` multiplies the factor of the `i`-th marked point by `α i` and the other factors by `1`. |
| 1107 | -- A model at `a.act g` is also one at `a.act g α` (same frame and reflection), and its |
| 1108 | -- `𝓞 E`-linear uniformisation turns the new marked points into the scaled factors. |
| 1109 | refine ⟨fun α ↦ (Over.map _).map (Limits.Pi.map fun i ↦ Sum.elim (fun _ ↦ 1) α i • 𝟙 _), |
| 1110 | fun g α a ↦ ?_⟩ |
| 1111 | obtain ⟨model, h_pt⟩ := U.isPointOf_datumPoint (𝔪 := 1) (a := a.act g) |
| 1112 | ext |
| 1113 | refine IsPointOf.eq_datumPoint ⟨model, (h_pt =≫ _).trans ?_⟩ |
| 1114 | refine congrArg Hom.left (Pi.hom_ext (_ ≫ _) _ ?_) |
| 1115 | rintro (s | i) <;> simp [π, model.equivariant, act] |
| 1116 | |
| 1117 | /-- Let Z be the fibre power of 𝒜 with one factor for each of ν marked vectors, over R, and |
| 1118 | `c a = datumPoint 1 a`. Then (a) Z is smooth over R of relative dimension |
| 1119 | `card D.Index - 1 + ν * abelianDim`; (b) the points `c a` are dense in Z; (c) for each family α of |
| 1120 | integers of E a self-map `m α` of Z sends `c (a.act g)` to `c (a.act g α)`. -/ |
| 1121 | lemma smooth_and_isDenseFamily_and_exists_comp_eq_act (ν : ℕ) : |
| 1122 | let Z := (Over.map U.base.hom) (fibrePower (NonzeroTorsion 1 D.Index ⊕ Fin ν)) |
| 1123 | let c : ModuliPoint E D.Index ν → (specOver R ℂ ⟶ Z) := datumPoint 1 |
| 1124 | -- (a) |
| 1125 | SmoothOfRelativeDimension (card D.Index - 1 + ν * abelianDim E D.Index) Z.hom ∧ |
| 1126 | -- (b) |
| 1127 | IsDenseFamily (fun a : ModuliPoint E D.Index ν ↦ (c a).left) ∧ |
| 1128 | -- (c) |
| 1129 | ∃ m : (Fin ν → 𝓞 E) → (Z ⟶ Z), ∀ (g : GUPlus E D.Index) (α : Fin ν → 𝓞 E) |
| 1130 | (a : ModuliPoint E D.Index ν), |
| 1131 | c (ModuliPoint.act a g) ≫ m α = c (a.act g α) := |
| 1132 | ⟨smoothOfRelativeDimension_fibrePower ν, isDenseFamily_datumPoint ν, exists_comp_datumPoint_act ν⟩ |
| 1133 | |
| 1134 | end Variety.UniversalFamily |
| 1135 | |
| 1136 | |
| 1137 | end New |
| 1138 | |
| 1139 | end |