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.AlgebraicGeometry.Morphisms.WeaklyEtale |
| 4 | import Mathlib.Analysis.LocallyConvex.AbsConvexOpen |
| 5 | import Mathlib.CategoryTheory.EffectiveEpi.Comp |
| 6 | import Mathlib.RingTheory.Coalgebra.CoassocSimps |
| 7 | import Mathlib.RingTheory.Etale.Weakly |
| 8 | import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation |
| 9 | import Mathlib.RingTheory.PiTensorProduct |
| 10 | import Mathlib.RingTheory.TotallySplit |
| 11 | import TauCeti.LinearAlgebra.Pi |
| 12 | public import Lib.Shimura.Uniformisation.TorusModel |
| 13 | import Lib.Adelic.Adeles.StrongApproximation |
| 14 | import Lib.Base |
| 15 | import Lib.PadicComparison.Descent.TestCategory |
| 16 | import Lib.Shimura.ArcExtension |
| 17 | import Lib.Shimura.HeckeTower.Model |
| 18 | import Lib.Shimura.Uniformisation.AppellHumbert |
| 19 | import Lib.Shimura.Uniformisation.LieExponential |
| 20 | |
| 21 | /-! |
| 22 | # Every full complex object is modelled on a point (g, ℓ) |
| 23 | |
| 24 | From a complex point of a family of abelian schemes back to linear algebra: an object `x` over `ℂ` |
| 25 | with structure map `Φ v₀` (the complex embedding of `E` at the fixed infinite place `v₀`) on `𝓞 E` |
| 26 | and a full structure `e` (a trivialisation of all torsion, `New.ThetaObject.FullLevelStructure`) is |
| 27 | a complex torus described by an adelic frame `g` and a reflection `ℓ`. |
| 28 | |
| 29 | * `New.Variety.exists_torusModel`: a polarised period map on `ℂ^d` for `(g, ℓ)` and a model of `x` |
| 30 | on it whose torsion points are those of `e`, with `ℓ` a reflection. |
| 31 | * `New.Variety.exists_torusModel_of_isPeriodMap`: the same model on a given period map `Q` whose |
| 32 | exponential lifts the torsion points of `e`; the frame is found from the Weil pairing of `e`. |
| 33 | |
| 34 | `New.ThetaObject.TorusModel` is a model of `x` on a given polarised period map `Q` |
| 35 | (`New.ThetaTori.PeriodMap`). It is a uniformisation of `x.groupScheme` whose kernel is the period |
| 36 | lattice. |
| 37 | |
| 38 | Notions from other files: |
| 39 | * `New.ψf`: the additive character of the finite adeles with ψ_f(x) = exp(2πi Tr_{E/ℚ}(a)) for any a |
| 40 | in E with x − a integral. In the code `𝐞 t` is exp(2πi t). |
| 41 | * `New.ThetaObject.groupScheme`: The group scheme with O_E-action of an object x over S: the |
| 42 | pull-back of the abelian scheme of the family along x : S → base. |
| 43 | * `New.ThetaObject.baseHom`: For an object x over Spec R, the ring homomorphism O_E → R induced by x |
| 44 | and the structure morphism of the base of the family to Spec O_E. |
| 45 | * `New.ThetaObject`: An object of the family X over a scheme T: a morphism from T to the base of X. |
| 46 | |
| 47 | ## Relation to the literature |
| 48 | |
| 49 | Known; see `Lib.Shimura.Uniformisation.AppellHumbert` for sources. |
| 50 | -/ |
| 51 | |
| 52 | @[expose] public section |
| 53 | |
| 54 | open CategoryTheory NumberField Matrix FourierTransform LinearMap BilinForm Complex OrzechProperty |
| 55 | Submodule ContinuousLinearMap Circle RingOfIntegers Finset |
| 56 | |
| 57 | namespace New.Variety |
| 58 | |
| 59 | /- `x` is an object over `ℂ` of the family `X` over `Z`, and `e` is a full structure on it. -/ |
| 60 | variable {E : Type} [Field E] [CMBase E] {D : PEL E} {Z : AlgebraicGeometry.Scheme} |
| 61 | {τ : Z ⟶ AlgebraicGeometry.Spec (CommRingCat.of (𝓞 E))} {X : ThetaFamily D Z τ} |
| 62 | {x : ThetaObject X (AlgebraicGeometry.Spec ⟨ℂ⟩)} (e : x.FullLevelStructure) |
| 63 | |
| 64 | /-- Let `u` uniformise `x.groupScheme`, with theta coordinates `θ` of type `(B, χ)` for |
| 65 | `x.lineBundle`, and let the torsion point of `e` at the class of `m *ᵥ y` be `u.expMap (Q y)` for |
| 66 | each `y` in `Eⁿ`. Then there is a unit `ε` (from the Weil pairing of `e`) such that on vectors of |
| 67 | `Eⁿ`, `𝐞` of the Riemann form of `B` pulled back by `Q` is `ψf` of the form `xiForm D.ξ`, |
| 68 | `(a, b) ↦ D.ξ · bᴴ a` on adelic vectors (`y` enters as `frameCoords 1 y`), with the matrix |
| 69 | `ε mᴴ m`. -/ |
| 70 | lemma exists_fourierChar_riemannForm_eq_ψf_xiForm {V : Type} [FinComplexSpace V] |
| 71 | {m : Matrix D.Index D.Index (𝔸f E)} (u : Uniformisation x.groupScheme V) |
| 72 | (Q : RealVectors E D.Index ≃L[ℝ] V) |
| 73 | (h_ev : ∀ y : D.Index → E, |
| 74 | e.torsionPoint (torsionClass (m *ᵥ frameCoords 1 y)) = u.expMap (Q (toRealVectors y))) |
| 75 | {B : ThetaTori.LatticeForm u.lattice} {χ : V → ℂ} {θ : V → D.dualTorsion → ℂ} |
| 76 | (h_theta : HasThetaCoords u.lattice (atGeneric u.expMap) x.lineBundle B χ θ) : |
| 77 | ∃ ε : (Ô ℚ)ˣ, ∀ y z : D.Index → E, |
| 78 | 𝐞 (LinearMap.BilinForm.congr Q.toLinearEquiv.symm B.riemannForm (toRealVectors y) |
| 79 | (toRealVectors z)) = |
| 80 | ψf E (xiForm D.ξ ((finAdeleIncl ℚ E ε • mᴴ * m) *ᵥ frameCoords 1 y) (frameCoords 1 z)) := by |
| 81 | obtain ⟨ε, h_pair⟩ := e.weil_pairing 1 |
| 82 | refine ⟨ε, fun y z ↦ ?_⟩ |
| 83 | -- Take `N` with `N m y`, `N m z` integral and write `y = N y'`, `z = N z'`; then `N²` kills |
| 84 | -- the classes of `m y'` and `m z'`. |
| 85 | obtain ⟨N, hN, h_int⟩ := exists_forall_mul_mem_Ô (m *ᵥ frameCoords 1 y ⊕ᵥ m *ᵥ frameCoords 1 z) |
| 86 | have hN_int : (N : ℤ) ≠ 0 := Nat.cast_ne_zero.mpr hN |
| 87 | obtain ⟨y', rfl⟩ := DivisibleBy.surjective_smul (D.Index → E) ℤ hN_int y |
| 88 | obtain ⟨z', rfl⟩ := DivisibleBy.surjective_smul (D.Index → E) ℤ hN_int z |
| 89 | obtain ⟨hy', hz'⟩ : |
| 90 | (N * N) • torsionClass (m *ᵥ frameCoords 1 y') = 0 ∧ |
| 91 | (N * N) • torsionClass (m *ᵥ frameCoords 1 z') = 0 := by |
| 92 | simpa [← nsmul_eq_mul, smul_smul, ← torsionClass_eq_zero (n := D.Index), ← Pi.smul_def, |
| 93 | mulVec_smul] using h_int |
| 94 | -- lifts `Ty`, `Tz` of the translations by the two torsion points acting on sections of |
| 95 | -- `x.lineBundle.pow (N * N)` |
| 96 | obtain ⟨Ty, hTy⟩ := e.exists_isTranslationLift hy' |
| 97 | obtain ⟨Tz, hTz⟩ := e.exists_isTranslationLift hz' |
| 98 | -- the scalar by which `Ty` and `Tz` commute is the Weil pairing of the two classes |
| 99 | obtain ⟨c, rfl, h_comm⟩ := |
| 100 | h_pair (N * N) (m *ᵥ frameCoords 1 y') (m *ᵥ frameCoords 1 z') hy' hz' |
| 101 | specialize h_comm Ty Tz hTy hTz |
| 102 | rw [h_ev] at hTy hTz |
| 103 | -- the same scalar is the Riemann phase, by `lift_commutator_iff_weil_pairing` |
| 104 | have h_phase : (ψf E (finAdeleIncl ℚ E ε * |
| 105 | ((N * N : ℕ) * xiForm D.ξ (m *ᵥ frameCoords 1 y') (m *ᵥ frameCoords 1 z'))) : ℂ) = |
| 106 | 𝐞 ((N * N : ℕ) * B.riemannForm (Q (toRealVectors y')) (Q (toRealVectors z'))) := by |
| 107 | simpa using (lift_commutator_iff_weil_pairing u h_theta hTy hTz).mp h_comm |
| 108 | -- the factor `N²` is shared between the two arguments, and `mᴴ` moves across the form |
| 109 | calc _ = 𝐞 ((N * N : ℕ) * B.riemannForm (Q (toRealVectors y')) (Q (toRealVectors z'))) := by |
| 110 | simp [← nsmul_eq_mul] |
| 111 | _ = ψf E (finAdeleIncl ℚ E ε * ((N * N : ℕ) * |
| 112 | xiForm D.ξ (m *ᵥ frameCoords 1 y') (m *ᵥ frameCoords 1 z'))) := Circle.ext h_phase.symm |
| 113 | _ = _ := by |
| 114 | simp [star_trivial, xiForm, star_mulVec_dotProduct, ← nsmul_eq_mul, mul_left_comm, |
| 115 | mulVec_smul, smul_mulVec] |
| 116 | |
| 117 | /-- Let `R` be a real bilinear form on `(E ⊗ ℝ)ⁿ` and `M` an `n × n` matrix of finite adeles such |
| 118 | that `𝐞 (R y z) = ψf (ξ · zᴴ M y)` for all `y`, `z` in `Eⁿ`, where `ψf` is the standard additive |
| 119 | character of the finite adeles and `ξ = D.ξ`, with `Φ v₀ ξ` of zero real part and positive imaginary |
| 120 | part. Then `M` is the image of a matrix `β` over `E`, and `R` is the polarisation form of `β`, |
| 121 | namely `(y, z) ↦ Σ_v 2 Re(Φ_v(ξ) z_vᴴ Φ_v(β) y_v)` summed over the infinite places `v`. -/ |
| 122 | lemma exists_map_eq_and_eq_polarisationForm_of_fourierChar_eq |
| 123 | (R : LinearMap.BilinForm ℝ (RealVectors E D.Index)) (M : Matrix D.Index D.Index (𝔸f E)) |
| 124 | (h_weil : ∀ y z : D.Index → E, |
| 125 | 𝐞 (R (toRealVectors y) (toRealVectors z)) = |
| 126 | ψf E (xiForm D.ξ (M *ᵥ frameCoords 1 y) (frameCoords 1 z))) : |
| 127 | ∃ β : D.Index → D.Index → E, (of β).map (↑) = M ∧ R = polarisationForm D (of β) := by |
| 128 | -- Values of `ψf` are `𝐞` of rational numbers, so `R` is rational on `Eⁿ`: `r z y` is the |
| 129 | -- rational value of `R y z`. |
| 130 | have h_rat (z y : D.Index → E) : ∃ q : ℚ, q = R (toRealVectors y) (toRealVectors z) := by |
| 131 | obtain ⟨a, j, hj⟩ : ∃ (a : ℚ) (j : ℤ), R (toRealVectors y) (toRealVectors z) - a = j := by |
| 132 | simp only [← fourierChar_eq_one_iff, AddChar.map_sub_eq_div, div_eq_one] |
| 133 | exact ⟨_, h_weil y z⟩ |
| 134 | exact ⟨j + a, mod_cast (eq_add_of_sub_eq hj).symm⟩ |
| 135 | choose r hr using h_rat |
| 136 | -- Trace duality: the `ℚ`-linear form `t ↦ R (ξ⁻¹ t e_j, e_i)` is `t ↦ tr (β i j * t)`. |
| 137 | have h_dual (i j : D.Index) : ∃ c : E, ∀ t : E, |
| 138 | Algebra.trace ℚ E (c * t) = r (Pi.single i 1) (Pi.single j (D.ξ⁻¹ * t)) := by |
| 139 | let f : E →+ ℚ := AddMonoidHom.mk' (fun t ↦ r (Pi.single i 1) (Pi.single j (D.ξ⁻¹ * t))) |
| 140 | (by simp [hr, mul_add, Pi.single_add, ← Rat.cast_inj (α := ℝ)]) |
| 141 | obtain ⟨c, hc⟩ := (toDual _ (traceForm_nondegenerate ℚ E)).surjective f.toRatLinearMap |
| 142 | exact ⟨c, fun t ↦ by simpa [LinearMap.BilinForm.toDual_def, f] using LinearMap.congr_fun hc t⟩ |
| 143 | choose β h_tr using h_dual |
| 144 | have hξ : D.ξ ≠ 0 := by |
| 145 | obtain ⟨h_im_pos, -⟩ := D.xi_im_pos_and_re_eq_zero v₀ |
| 146 | exact ne_zero_of_map (ne_of_apply_ne im h_im_pos.ne') |
| 147 | -- `ψf` separates adeles, and it is enough to test against the dense set of `t` in `E`. |
| 148 | have hβ : (of β).map (↑) = M := by |
| 149 | refine ext fun i j ↦ ?_ |
| 150 | have h_dense (t : E) : |
| 151 | ψf E (algebraMap E (𝔸f E) t * (of β).map (↑) i j) = |
| 152 | ψf E (algebraMap E (𝔸f E) t * M i j) := by |
| 153 | simp [ψf_coe, ← map_mul, mul_comm t, xiForm, frameCoords, dotProduct, mulVec, apply_ite, |
| 154 | mul_comm (M i j), ← mul_assoc, hξ, h_tr, hr, h_weil, Pi.single_apply] |
| 155 | exact eq_of_forall_ψf_mul_eq (denseRange_algebraMap_finAdele.eq fun t ↦ h_dense t) |
| 156 | -- By density take `y` in `Eⁿ`. By `h_weil`, `𝐞` of the linear form |
| 157 | -- `R y - polarisationForm D β y` is `1` on the dense set `Eⁿ`, hence everywhere, so the form |
| 158 | -- is `0`. |
| 159 | have hR : R = polarisationForm D (of β) := by |
| 160 | refine ext (isClosed_property denseRange_toRealVectors |
| 161 | (R.eqLocus _).isClosed_of_finiteDimensional fun y ↦ ?_) |
| 162 | refine sub_eq_zero.mp (eq_zero_of_forall_fourierChar_eq_one _ (denseRange_toRealVectors.eq ?_)) |
| 163 | simp [h_weil, ← hβ, 𝐞.map_sub_eq_div, ← ψf_coe, xiForm, frameCoords, dotProduct, mulVec] |
| 164 | exact ⟨β, hβ, hR⟩ |
| 165 | |
| 166 | /-- Let `x` over `ℂ` have structure map `Φ v₀` on `𝓞 E` and full structure `e`, let `u` uniformise |
| 167 | `x.groupScheme` by `V`, and let `Q : (E ⊗ ℝ)ⁿ ≃ V` be a period map for `ℓ` (`i` acts as `i ℓ` at |
| 168 | `v₀`, as `i` elsewhere) with `u.expMap ∘ Q` `𝓞 E`-linear, sending `y` in `Eⁿ` to the torsion point |
| 169 | of `e` at the class of `m *ᵥ y`, and with `u.lattice` in `Q (Eⁿ)`. Then for some adelic frame `g`, a |
| 170 | polarised period map `Y` for `(g, ℓ)` on `V` has a model `M` of `x` with `e`'s torsion points. -/ |
| 171 | lemma exists_torusModel_of_isPeriodMap |
| 172 | (hρ : ∀ c : 𝓞 E, x.baseHom c = Φ v₀ c.val) {V : Type} [FinComplexSpace V] |
| 173 | {ℓ : Matrix D.Index D.Index ℂ} {m : Matrix D.Index D.Index (𝔸f E)} |
| 174 | (u : Uniformisation x.groupScheme V) (Q : RealVectors E D.Index ≃L[ℝ] V) |
| 175 | (h_per : IsPeriodMap ℓ Q) |
| 176 | (h_smul : ∀ (c : 𝓞 E) (w : RealVectors E D.Index), |
| 177 | u.expMap (Q (cmEmbedding c.val • w)) = c • u.expMap (Q w)) |
| 178 | (h_ev : ∀ y : D.Index → E, |
| 179 | e.torsionPoint (torsionClass (m *ᵥ frameCoords 1 y)) = u.expMap (Q (toRealVectors y))) |
| 180 | (h_lat : ∀ z ∈ u.lattice, ∃ y : D.Index → E, Q (toRealVectors y) = z) : |
| 181 | ∃ g : GL D.Index (𝔸f E), ∃ Y : ThetaTori.PeriodMap D g ℓ V, ∃ M : x.TorusModel Y, |
| 182 | M.fullStructure.torsionPoint = e.torsionPoint := by |
| 183 | -- Appell–Humbert: the coordinates of `x.lineBundle` are theta functions `θ` of a type `(B, χ)` |
| 184 | -- with positive Riemann form; `R` is that form on `(E ⊗ ℝ)ⁿ`. The Weil pairing computes `R` on |
| 185 | -- vectors of `Eⁿ` and shows that `R` is the polarisation form of a matrix `β` over `E` with |
| 186 | -- image `M = ε mᴴ m`. Nondegeneracy makes `m` invertible, and `m⁻¹` is the frame. |
| 187 | -- the parallelogram law, the first of the class laws of `x.lineBundle` |
| 188 | obtain ⟨h_par, -⟩ := x.hasClassLaws |
| 189 | obtain ⟨B, χ, θ, h_theta, h_pos⟩ := u.appell_humbert x.isProjEmbedding h_par |
| 190 | obtain ⟨ε, h_weil⟩ := exists_fourierChar_riemannForm_eq_ψf_xiForm e u Q h_ev h_theta |
| 191 | let R : LinearMap.BilinForm ℝ (RealVectors E D.Index) := congr Q.toLinearEquiv.symm B.riemannForm |
| 192 | let M : Matrix D.Index D.Index (𝔸f E) := finAdeleIncl ℚ E ε • mᴴ * m |
| 193 | obtain ⟨β, hβ, hR⟩ := exists_map_eq_and_eq_polarisationForm_of_fourierChar_eq R M h_weil |
| 194 | -- The Riemann form is nondegenerate, so `β`, then `M` and its right factor `m`, are invertible. |
| 195 | have hβ_inj : Function.Injective (of β).mulVec := by |
| 196 | intro y z h_mulVec |
| 197 | have h_eq : R (toRealVectors y) = R (toRealVectors z) := |
| 198 | ext (denseRange_toRealVectors.eq (by simp [hR, h_mulVec])) |
| 199 | exact toRealVectors_injective |
| 200 | (R.ker_eq_bot.mp (h_pos.nondegenerate.congr Q.toLinearEquiv.symm).ker_eq_bot h_eq) |
| 201 | have hM : IsUnit M := by |
| 202 | rw [← hβ] |
| 203 | exact (mulVec_injective_iff_isUnit.mp hβ_inj).map (RingHom.mapMatrix _) |
| 204 | obtain ⟨m, rfl⟩ : IsUnit m := isUnit_of_mul_isUnit_right hM |
| 205 | -- `m⁻¹` is a frame for `β`, as `mᴴ (ε • 1) m = β` |
| 206 | have h_gram : m.valᴴ * (finAdeleIncl ℚ E ε • 1) * m.val = (of β).map (algebraMap E (𝔸f E)) := by |
| 207 | simp [hβ, M] |
| 208 | replace h_ev (y : D.Index → E) : |
| 209 | e.torsionPoint (frameTorsionClass m⁻¹ y) = u.expMap (Q (toRealVectors y)) := by |
| 210 | simpa [frameCoords, frameTorsionClass] using h_ev y |
| 211 | refine ⟨m⁻¹, |
| 212 | { formMatrix := of β, realEquiv := Q, automorphyForm := B, isFrameFor := ⟨ε, |
| 213 | gram_inv_of_gram_eq h_gram⟩ |
| 214 | isPeriodMap := h_per, re_symm := h_theta.isAppellHumbert.re_symm |
| 215 | riemannForm_eq := congr_fun₂ hR, isPosRiemann := h_pos }, |
| 216 | { baseHom_eq := hρ, uniformisation := u, χ := χ, θ := θ, hasThetaCoords := h_theta |
| 217 | equivariant := h_smul, level_eq := ?_, lattice_eq := ?_ }, ?_⟩ |
| 218 | · simp [e.levelPoints_eq, ThetaTori.PeriodMap.torsionLift, ← h_ev] |
| 219 | · -- a vector of `u.lattice` is a `Q (toRealVectors y)` by `h_lat`, and `e.torsionPoint` is |
| 220 | -- injective |
| 221 | ext w |
| 222 | suffices h_iff : u.expMap w = 0 ↔ |
| 223 | ∃ y : D.Index → E, u.expMap (Q (toRealVectors y)) = 0 ∧ Q (toRealVectors y) = w by |
| 224 | simpa [mem_classLattice, ← e.injective.eq_iff, h_ev] using h_iff |
| 225 | refine ⟨fun hw ↦ ?_, fun ⟨y, hy, hyw⟩ ↦ by rwa [← hyw]⟩ |
| 226 | obtain ⟨y, rfl⟩ := h_lat w ((u.eq_zero_iff w).mpr hw) |
| 227 | exact ⟨y, hw, rfl⟩ |
| 228 | · ext |
| 229 | simp [ThetaObject.TorusModel.fullStructure, ← h_ev] |
| 230 | |
| 231 | /-- Let `u` uniformise `x.groupScheme` and let the real-linear map `P` lift the torsion points of |
| 232 | `e` on the vectors of `½ (𝓞 E)ⁿ`: for `y` in `Eⁿ` with `2 y` integral, `u.expMap (P y)` is the |
| 233 | torsion point of `e` at the class of `y`. Then `P (Eⁿ)` contains the lattice `u.lattice`. -/ |
| 234 | lemma lattice_subset_range_of_expMap_eq_torsionPoint {V : Type} [FinComplexSpace V] |
| 235 | (u : Uniformisation x.groupScheme V) (P : RealVectors E D.Index →ₗ[ℝ] V) |
| 236 | (hP : ∀ y : D.Index → E, |
| 237 | 2 • y ∈ (frameTorsionClass 1).ker → |
| 238 | u.expMap (P (toRealVectors y)) = e.torsionPoint (frameTorsionClass 1 y)) : |
| 239 | ∀ z ∈ u.lattice, ∃ y : D.Index → E, P (toRealVectors y) = z := by |
| 240 | let _ : Module ℚ V := .compHom V (algebraMap ℚ ℝ) |
| 241 | -- `N` is the image of the lattice in `V` modulo the `ℚ`-subspace `P (Eⁿ)` |
| 242 | let p : (D.Index → E) →ₗ[ℚ] V := (P.toAddMonoidHom.comp toRealVectors).toRatLinearMap |
| 243 | let N : Submodule ℤ (V ⧸ p.range) := u.lattice.map (p.range.mkQ.restrictScalars ℤ) |
| 244 | -- `N` is stable under `½`: half of a lattice vector maps to a `2`-torsion point |
| 245 | -- `e.torsionPoint (frameTorsionClass 1 y)` |
| 246 | have h_half : ∀ w ∈ N, (2⁻¹ : ℚ) • w ∈ N := by |
| 247 | rintro _ ⟨z, hz, rfl⟩ |
| 248 | obtain ⟨a, rfl⟩ : ∃ a : V, (2 : ℚ) • a = z := MulAction.surjective₀ (two_ne_zero' ℚ) z |
| 249 | have h_tors : 2 • u.expMap a = 0 := by |
| 250 | rwa [two_smul, ← map_add, ← two_smul ℚ a, ← u.eq_zero_iff] |
| 251 | obtain ⟨l, hl⟩ := x.exists_apply_eq_of_torsion e.injective (u.expMap a) ⟨2, two_ne_zero, h_tors⟩ |
| 252 | obtain ⟨y, rfl⟩ : ∃ y : D.Index → E, frameTorsionClass 1 y = l := frameTorsionClass_surjective l |
| 253 | have h_two_y : 2 • y ∈ (frameTorsionClass 1).ker := by |
| 254 | simp only [LinearMap.mem_ker, ← e.injective.eq_iff, map_nsmul, hl, h_tors, map_zero] |
| 255 | -- `a - P y` lies in the lattice: both map to the same point, as `P` lifts it (`hP`) |
| 256 | refine ⟨a - P (toRealVectors y), ?_, by simp [p]⟩ |
| 257 | exact (u.eq_zero_iff _).mpr (by rw [map_sub, hP y h_two_y, hl, sub_self]) |
| 258 | -- `N` is finitely generated and `½` is not integral over `ℤ`, so `N = 0` |
| 259 | have hN : N = ⊥ := by |
| 260 | by_contra hN |
| 261 | obtain ⟨k, hk⟩ : ∃ k : ℤ, algebraMap ℤ ℚ k = 2⁻¹ := IsIntegrallyClosed.isIntegral_iff.mp |
| 262 | (isIntegral_of_smul_mem_submodule N hN .of_finite (2⁻¹ : ℚ) h_half) |
| 263 | simpa using congrArg Rat.den hk |
| 264 | simpa [N, p, Submodule.eq_bot_iff] using hN |
| 265 | |
| 266 | /-- Let `u` uniformise `x.groupScheme` by `Fin (abelianDim E D.Index) → ℂ`, and let `d` be the real |
| 267 | basis of `E ⊗ ℝ` (as `InfinitePlace E → ℂ`) given by an integral basis of `E`. The action of |
| 268 | `𝓞 E` on `x.groupScheme` lifts through `u` to an `ℝ`-linear map `G` from `E ⊗ ℝ` to the |
| 269 | complex-linear maps of that space: `u.expMap (G c z) = c • u.expMap z` for `c` in `𝓞 E`. -/ |
| 270 | lemma exists_expMap_apply_cmEmbedding_eq_smul |
| 271 | (u : Uniformisation x.groupScheme (Fin (abelianDim E D.Index) → ℂ)) |
| 272 | (d : Module.Basis (Module.Free.ChooseBasisIndex ℤ (𝓞 E)) ℝ (InfinitePlace E → ℂ)) |
| 273 | (hd : ∀ i : Module.Free.ChooseBasisIndex ℤ (𝓞 E), d i = cmEmbedding (basis E i).val) : |
| 274 | ∃ G : (InfinitePlace E → ℂ) →ₗ[ℝ] |
| 275 | (Fin (abelianDim E D.Index) → ℂ) →L[ℂ] Fin (abelianDim E D.Index) → ℂ, |
| 276 | ∀ (c : 𝓞 E) (z : Fin (abelianDim E D.Index) → ℂ), |
| 277 | u.expMap (G (cmEmbedding c) z) = c • u.expMap z := by |
| 278 | -- lift each element of the integral basis to a linear map of `Fin (abelianDim E D.Index) → ℂ`, |
| 279 | -- and extend `ℝ`-linearly |
| 280 | have h_lift (i : Module.Free.ChooseBasisIndex ℤ (𝓞 E)) : |
| 281 | ∃ F : (Fin (abelianDim E D.Index) → ℂ) →L[ℂ] _, ∀ z : Fin (abelianDim E D.Index) → ℂ, |
| 282 | u.expMap (F z) = basis E i • u.expMap z := by |
| 283 | -- `using!`: holomorphy of the composite matches what `u.universal` asks only after unfolding |
| 284 | -- `IsAddMonHom.addMonoidHom` and `HolomorphicAt` |
| 285 | simpa using |
| 286 | u.universal ((IsAddMonHom.addMonoidHom (basis E i • 𝟙 x.groupScheme) _).comp u.expMap) |
| 287 | (by simpa only [atGeneric_eq] using! (u.immersive 0).1.comp_hom _) |
| 288 | choose F hF using h_lift |
| 289 | refine ⟨d.constr ℝ F, fun c z ↦ ?_⟩ |
| 290 | -- expand `c` in the integral basis: both sides are the same `ℤ`-combination over the basis |
| 291 | rw [← (basis E).sum_repr c] |
| 292 | -- the `↓` forms and `-zsmul_eq_mul` keep each coefficient a `ℤ`-multiple of `d i`, which |
| 293 | -- `d.constr` sends to `F i`; with plain `sum_smul` the coefficients become products `↑r * d i` |
| 294 | simp [← hd, hF, ↓sum_smul, -zsmul_eq_mul, ↓map_sum] |
| 295 | |
| 296 | /-- Let `u` uniformise `x.groupScheme` by `V`, and let `Q : (E ⊗ ℝ)ⁿ ≃ V` be such that |
| 297 | `u.expMap ∘ Q` is `𝓞 E`-linear and lifts the torsion points of `e` on the vectors of `½ (𝓞 E)ⁿ`. |
| 298 | Then there is an adelic matrix `m` such that `u.expMap (Q y)` is the torsion point of `e` at the |
| 299 | class of `m *ᵥ y` for every `y` in `Eⁿ`. -/ |
| 300 | lemma exists_matrix_torsionPoint_eq_expMap {V : Type} [FinComplexSpace V] |
| 301 | (u : Uniformisation x.groupScheme V) (Q : RealVectors E D.Index ≃L[ℝ] V) |
| 302 | (h_half : ∀ y : D.Index → E, 2 • y ∈ (frameTorsionClass 1).ker → |
| 303 | u.expMap (Q (toRealVectors y)) = e.torsionPoint (frameTorsionClass 1 y)) |
| 304 | (h_smul : ∀ (c : 𝓞 E) (w : RealVectors E D.Index), |
| 305 | u.expMap (Q (cmEmbedding c.val • w)) = c • u.expMap (Q w)) : |
| 306 | ∃ m : Matrix D.Index D.Index (𝔸f E), ∀ y : D.Index → E, |
| 307 | e.torsionPoint (torsionClass (m *ᵥ frameCoords 1 y)) = u.expMap (Q (toRealVectors y)) := by |
| 308 | -- the points `u.expMap (Q y)` are torsion, so they are `e.torsionPoint (f y)`; `f` is |
| 309 | -- `𝓞 E`-linear, so `f y` is the class of `m *ᵥ y` for an adelic matrix `m` |
| 310 | have h_tors_pt (y : D.Index → E) : |
| 311 | ∃ l : AdelicTorsion E D.Index, e.torsionPoint l = u.expMap (Q (toRealVectors y)) := by |
| 312 | obtain ⟨k, hk, hky⟩ := exists_nsmul_adelicTorsion_eq_zero (frameTorsionClass 1 y) |
| 313 | -- `-nsmul_eq_mul` keeps `k • y` a multiple by `k`, so that the linear maps pull `k` out |
| 314 | exact x.exists_apply_eq_of_torsion e.injective _ |
| 315 | ⟨k, hk, by simpa [hky, -nsmul_eq_mul] using h_half (k • y)⟩ |
| 316 | choose f hf using h_tors_pt |
| 317 | have hf_add (y y' : D.Index → E) : f (y + y') = f y + f y' := by |
| 318 | simp [← e.injective.eq_iff, hf] |
| 319 | have hf_smul (c : 𝓞 E) (y : D.Index → E) : f (c • y) = c • f y := by |
| 320 | simp [← e.injective.eq_iff, hf, h_smul] |
| 321 | obtain ⟨m, hm⟩ : ∃ m : Matrix D.Index D.Index (𝔸f E), ∀ y : D.Index → E, |
| 322 | torsionClass (m *ᵥ frameCoords 1 y) = f y := |
| 323 | exists_matrix_torsionClass_eq ⟨⟨f, hf_add⟩, hf_smul⟩ |
| 324 | exact ⟨m, fun y ↦ by rw [hm, hf]⟩ |
| 325 | |
| 326 | /-- Let `u` uniformise `x.groupScheme` by `Fin (abelianDim E D.Index) → ℂ`, let `G` lift the action |
| 327 | of `𝓞 E` through `u`, and let `l j` lift the torsion point of `e` at the class of `e_j / 2`. |
| 328 | The real-linear map `P = ∑ j, (w ↦ G (w j) (2 l j))` lifts the torsion points of `e` on the |
| 329 | vectors of `½ (𝓞 E)ⁿ`: for `y` in `Eⁿ` with `2 y` integral, `u.expMap (P y)` is the torsion |
| 330 | point of `e` at the class of `y`. -/ |
| 331 | lemma expMap_apply_toRealVectors_eq_torsionPoint_of_two_smul_mem_ker |
| 332 | (u : Uniformisation x.groupScheme (Fin (abelianDim E D.Index) → ℂ)) |
| 333 | (G : (InfinitePlace E → ℂ) →ₗ[ℝ] |
| 334 | (Fin (abelianDim E D.Index) → ℂ) →L[ℂ] Fin (abelianDim E D.Index) → ℂ) |
| 335 | (hG : ∀ (c : 𝓞 E) (z : Fin (abelianDim E D.Index) → ℂ), |
| 336 | u.expMap (G (cmEmbedding c) z) = c • u.expMap z) |
| 337 | (l : D.Index → Fin (abelianDim E D.Index) → ℂ) |
| 338 | (hl : ∀ j : D.Index, |
| 339 | u.expMap (l j) = e.torsionPoint (frameTorsionClass 1 (Pi.single j 2⁻¹))) |
| 340 | (y : D.Index → E) (hy : 2 • y ∈ (frameTorsionClass 1).ker) : |
| 341 | u.expMap ((∑ j : D.Index, (coeLM ℝ).flip (2 • l j) ∘ₗ G ∘ₗ .proj j : |
| 342 | RealVectors E D.Index →ₗ[ℝ] Fin (abelianDim E D.Index) → ℂ) (toRealVectors y)) = |
| 343 | e.torsionPoint (frameTorsionClass 1 y) := by |
| 344 | -- write `y = ∑ c j • e_j / 2` with `c j` integral |
| 345 | have h_int : ∀ i : D.Index, ∃ c : 𝓞 E, (c : E) = 2 * y i := by |
| 346 | simpa [ker_frameTorsionClass_one] using hy |
| 347 | choose c hc using h_int |
| 348 | have h_sum : y = ∑ j, c j • Pi.single j 2⁻¹ := by |
| 349 | simp [funext_iff, Algebra.smul_def, hc, field, Pi.single_apply] |
| 350 | simp [toRealVectors, hc, ← hG, ← hl, two_mul, congrArg (frameTorsionClass 1) h_sum] |
| 351 | |
| 352 | /-- Let `u` uniformise `x.groupScheme` by `V = Fin (abelianDim E D.Index) → ℂ`. A real-linear map |
| 353 | `P` from `(E ⊗ ℝ)ⁿ` to `V` whose image of `Eⁿ` contains the lattice `u.lattice` is bijective: the |
| 354 | lattice spans `V`, and the two real dimensions agree. -/ |
| 355 | lemma bijective_of_lattice_subset_range |
| 356 | (u : Uniformisation x.groupScheme (Fin (abelianDim E D.Index) → ℂ)) |
| 357 | (P : RealVectors E D.Index →ₗ[ℝ] Fin (abelianDim E D.Index) → ℂ) |
| 358 | (h_lat : ∀ z ∈ u.lattice, ∃ y : D.Index → E, P (toRealVectors y) = z) : |
| 359 | Function.Bijective P := by |
| 360 | have hP_onto : P.range = ⊤ := by |
| 361 | -- the lattice spans `V` over `ℝ` |
| 362 | refine eq_top_mono (span_le.mpr fun z hz ↦ ?_) (IsZLattice.span_top (K := ℝ) (L := u.lattice)) |
| 363 | obtain ⟨y, hy⟩ := h_lat z hz |
| 364 | exact ⟨toRealVectors y, hy⟩ |
| 365 | have h_finrank : Module.finrank ℝ (RealVectors E D.Index) ≤ |
| 366 | Module.finrank ℝ (Fin (abelianDim E D.Index) → ℂ) := by |
| 367 | simp [abelianDim.eq_1 E, mul_assoc, Module.finrank_pi_fintype] |
| 368 | exact bijective_of_surjective_of_finrank_le P (range_eq_top.mp hP_onto) h_finrank |
| 369 | |
| 370 | /-- Let `Q : (E ⊗ ℝ)ⁿ ≃ V` carry the action of `E ⊗ ℝ` on `(E ⊗ ℝ)ⁿ` to an action `G` on `V`, and |
| 371 | let `Q Y` be an eigenvector of `G` with eigenvalue `c v₀` for each `c`. Suppose that `Im Φ(β) ≠ 0` |
| 372 | for `β = D.β`, and that `G (star β) - Φ(β)` (through `x.baseHom`, which is `Φ v₀` on `𝓞 E`) sends |
| 373 | `Q w` to `(η ⬝ᵥ w_{v₀}) • Q Y` for a vector `η`. Then `Q` is a period map (`i` acts as `i ℓ` at |
| 374 | `v₀`, as `i` elsewhere) for the matrix `ℓ = (Y · v₀) η'ᵀ - 1`, where `η' = (I / Im Φ(β)) η`. -/ |
| 375 | lemma isPeriodMap_vecMulVec_sub_one_of_sub_smul_eq |
| 376 | (hρ : ∀ c : 𝓞 E, x.baseHom c = Φ v₀ c.val) |
| 377 | {V : Type} [FinComplexSpace V] (G : (InfinitePlace E → ℂ) →ₗ[ℝ] V →L[ℂ] V) |
| 378 | (Q : RealVectors E D.Index ≃L[ℝ] V) |
| 379 | (hQ : ∀ (c : InfinitePlace E → ℂ) (w : RealVectors E D.Index), Q (c • w) = G c (Q w)) |
| 380 | (Y : RealVectors E D.Index) (hGY : ∀ c : InfinitePlace E → ℂ, G c (Q Y) = c v₀ • Q Y) |
| 381 | (hβ : (Φ v₀ D.β.val).im ≠ 0) (η : D.Index → ℂ) |
| 382 | (h_rank : ∀ w : RealVectors E D.Index, |
| 383 | G (cmEmbedding (star D.β)) (Q w) - x.baseHom D.β • Q w = (η ⬝ᵥ (w · v₀)) • Q Y) : |
| 384 | IsPeriodMap (vecMulVec (Y · v₀) ((Complex.I / (Φ v₀ D.β.val).im : ℂ) • η) - 1) Q := by |
| 385 | refine fun w ↦ Q.eq_symm_apply.mp (ext fun j v ↦ ?_) |
| 386 | -- Read `h_rank w` in coordinates, with `Φ(β) • Q w` split into real and imaginary parts: the |
| 387 | -- terms with `Re Φ(β)` cancel, and dividing by `Im Φ(β) ≠ 0` solves for `Q⁻¹ (I • Q w)`. |
| 388 | have h_single (a : ℂ) : a • Q Y = Q ((Pi.single v₀ a : InfinitePlace E → ℂ) • Y) := by |
| 389 | simp [hQ, hGY] |
| 390 | have h_coord : |
| 391 | Q.symm (G (cmEmbedding (star D.β)) (Q w) - x.baseHom D.β • Q w) j v = |
| 392 | Q.symm ((η ⬝ᵥ (w · v₀)) • Q Y) j v := by rw [h_rank w] |
| 393 | by_cases hv : v = v₀ |
| 394 | · -- after `simp`, both sides are pairs of real linear equations in `Q⁻¹ (I • Q w) j v₀` |
| 395 | simp [← hQ, h_single, hv, hρ, vecMulVec_mulVec, Complex.ext_iff, |
| 396 | smul_eq_re_smul_add_im_smul (Φ v₀ _), |
| 397 | sub_mulVec, smul_mulVec] at h_coord ⊢ |
| 398 | grind |
| 399 | · -- away from `v₀` the same equations say `Q⁻¹ (I • Q w) j v = I • w j v` |
| 400 | simp [D.emb_beta_eq_of_ne, ← hQ, h_single, hv, hρ, Complex.ext_iff, |
| 401 | smul_eq_re_smul_add_im_smul (Φ v₀ _), sub_eq_zero] at h_coord ⊢ |
| 402 | grind |
| 403 | |
| 404 | /-- Given a uniformisation `u` of `x.groupScheme` and an `ℝ`-linear lift `G` of the `𝓞 E`-action |
| 405 | over the real basis `d` of `E ⊗ ℝ`, lifting the `2`-torsion points `e.torsionPoint (e_j / 2)` |
| 406 | produces a `G`-equivariant real-linear equivalence `Q : (E ⊗ ℝ)ⁿ ≃L[ℝ] ℂ^d` that lifts `e` on |
| 407 | `½ (𝓞 E)ⁿ` and whose image of `Eⁿ` contains `u.lattice`. -/ |
| 408 | private lemma exists_realEquiv_of_cmAction |
| 409 | (u : Uniformisation x.groupScheme (Fin (abelianDim E D.Index) → ℂ)) |
| 410 | (d : Module.Basis (Module.Free.ChooseBasisIndex ℤ (𝓞 E)) ℝ (InfinitePlace E → ℂ)) |
| 411 | (hd : ∀ i : Module.Free.ChooseBasisIndex ℤ (𝓞 E), d i = cmEmbedding (basis E i).val) |
| 412 | (G : (InfinitePlace E → ℂ) →ₗ[ℝ] |
| 413 | (Fin (abelianDim E D.Index) → ℂ) →L[ℂ] Fin (abelianDim E D.Index) → ℂ) |
| 414 | (hG : ∀ (c : 𝓞 E) (z : Fin (abelianDim E D.Index) → ℂ), |
| 415 | u.expMap (G (cmEmbedding c) z) = c • u.expMap z) : |
| 416 | ∃ Q : RealVectors E D.Index ≃L[ℝ] Fin (abelianDim E D.Index) → ℂ, |
| 417 | (∀ (c : InfinitePlace E → ℂ) (w : RealVectors E D.Index), Q (c • w) = G c (Q w)) ∧ |
| 418 | (∀ y : D.Index → E, 2 • y ∈ (frameTorsionClass 1).ker → |
| 419 | u.expMap (Q (toRealVectors y)) = e.torsionPoint (frameTorsionClass 1 y)) ∧ |
| 420 | (∀ z ∈ u.lattice, ∃ y : D.Index → E, Q (toRealVectors y) = z) := by |
| 421 | -- `P` sends the `j`-th unit vector to twice a lift `l j` of the point `e.torsionPoint (e_j / 2)` |
| 422 | choose l hl using fun j : D.Index ↦ |
| 423 | u.surjective (e.torsionPoint (frameTorsionClass 1 (Pi.single j 2⁻¹))) |
| 424 | let P : RealVectors E D.Index →ₗ[ℝ] Fin (abelianDim E D.Index) → ℂ := |
| 425 | ∑ j, (coeLM ℝ).flip (2 • l j) ∘ₗ G ∘ₗ .proj j |
| 426 | -- on vectors of `½ (𝓞 E)ⁿ`, `P` lifts the torsion points of `e` |
| 427 | have hP := expMap_apply_toRealVectors_eq_torsionPoint_of_two_smul_mem_ker e u G hG l hl |
| 428 | -- so `P (Eⁿ)` contains the lattice, and `P` is bijective |
| 429 | have h_lat : ∀ z ∈ u.lattice, ∃ y : D.Index → E, P (toRealVectors y) = z := |
| 430 | lattice_subset_range_of_expMap_eq_torsionPoint e u P hP |
| 431 | let Q : RealVectors E D.Index ≃L[ℝ] Fin (abelianDim E D.Index) → ℂ := (LinearEquiv.ofBijective P |
| 432 | (bijective_of_lattice_subset_range u P h_lat)).toContinuousLinearEquiv |
| 433 | have hG_mul : ∀ c c' : InfinitePlace E → ℂ, G (c * c') = G c * G c' := by |
| 434 | refine G.map_mul_iff.mpr (ext_basis d d fun i j ↦ u.linear_ext ?_) |
| 435 | simp [← map_mul, mul_smul, hd, hG] |
| 436 | have hQ (c : InfinitePlace E → ℂ) (w : RealVectors E D.Index) : Q (c • w) = G c (Q w) := by |
| 437 | simp [Q, P, hG_mul] |
| 438 | exact ⟨Q, hQ, hP, h_lat⟩ |
| 439 | |
| 440 | /-- If `Q : (E ⊗ ℝ)ⁿ ≃ V` is `G`-equivariant, `Q Y` is a `G`-eigenvector with eigenvalue `c v₀`, |
| 441 | and `G (star β) - x.baseHom β` acts as `v ↦ ξ v • Q Y`, then on every `Q w` it acts as |
| 442 | `(η ⬝ᵥ (w · v₀)) • Q Y` where `η j = ξ (Q (Pi.single j 1))`. -/ |
| 443 | private lemma sub_smul_eq_dotProduct_smul {V : Type} [FinComplexSpace V] |
| 444 | (G : (InfinitePlace E → ℂ) →ₗ[ℝ] V →L[ℂ] V) (Q : RealVectors E D.Index ≃L[ℝ] V) |
| 445 | (hQ : ∀ (c : InfinitePlace E → ℂ) (w : RealVectors E D.Index), Q (c • w) = G c (Q w)) |
| 446 | (Y : RealVectors E D.Index) (hGY : ∀ c : InfinitePlace E → ℂ, G c (Q Y) = c v₀ • Q Y) |
| 447 | (ξ : V →ₗ[ℂ] ℂ) |
| 448 | (hξ : ∀ v : V, G (cmEmbedding (star D.β)) v - x.baseHom D.β • v = ξ v • Q Y) |
| 449 | (w : RealVectors E D.Index) : |
| 450 | G (cmEmbedding (star D.β)) (Q w) - x.baseHom D.β • Q w = |
| 451 | ((fun j ↦ ξ (Q (Pi.single j 1))) ⬝ᵥ (w · v₀)) • Q Y := by |
| 452 | -- apply `G (w k)` to `hξ` at the `k`-th unit vector and sum over `k` |
| 453 | have h_sum : |
| 454 | ∑ k, G (w k) (G (cmEmbedding (star D.β)) (Q (Pi.single k 1)) - |
| 455 | x.baseHom D.β • Q (Pi.single k 1)) = |
| 456 | ∑ k, G (w k) (ξ (Q (Pi.single k 1)) • Q Y) := |
| 457 | Finset.sum_congr rfl fun k _ ↦ congrArg (G (w k)) (hξ (Q (Pi.single k 1))) |
| 458 | simpa [hGY, ← hQ, smul_comm (w _), ← map_sum, ← smul_sum, smul_smul (ξ _), |
| 459 | ← dotProduct.eq_1, ← pi_eq_sum_univ', ← sum_smul] using h_sum |
| 460 | |
| 461 | /-- Using the signature condition `X.signature` on a Lie chart of `x.groupScheme`, any |
| 462 | `G`-equivariant real-linear equivalence `Q : (E ⊗ ℝ)ⁿ ≃L[ℝ] ℂ^d` is a period map for some complex |
| 463 | reflection matrix `ℓ`. -/ |
| 464 | private lemma exists_isPeriodMap_and_isReflection |
| 465 | (hρ : ∀ c : 𝓞 E, x.baseHom c = Φ v₀ c.val) |
| 466 | (u : Uniformisation x.groupScheme (Fin (abelianDim E D.Index) → ℂ)) |
| 467 | (d : Module.Basis (Module.Free.ChooseBasisIndex ℤ (𝓞 E)) ℝ (InfinitePlace E → ℂ)) |
| 468 | (hd : ∀ i : Module.Free.ChooseBasisIndex ℤ (𝓞 E), d i = cmEmbedding (basis E i).val) |
| 469 | (G : (InfinitePlace E → ℂ) →ₗ[ℝ] |
| 470 | (Fin (abelianDim E D.Index) → ℂ) →L[ℂ] Fin (abelianDim E D.Index) → ℂ) |
| 471 | (hG : ∀ (c : 𝓞 E) (z : Fin (abelianDim E D.Index) → ℂ), |
| 472 | u.expMap (G (cmEmbedding c) z) = c • u.expMap z) |
| 473 | (Q : RealVectors E D.Index ≃L[ℝ] Fin (abelianDim E D.Index) → ℂ) |
| 474 | (hQ : ∀ (c : InfinitePlace E → ℂ) (w : RealVectors E D.Index), Q (c • w) = G c (Q w)) : |
| 475 | ∃ ℓ : Matrix D.Index D.Index ℂ, IsPeriodMap ℓ Q ∧ IsReflection ℓ := by |
| 476 | have hβ : (Φ v₀ D.β.val).im ≠ 0 := by simpa [conj_eq_iff_im] using D.emb_star_beta_ne |
| 477 | -- a Lie chart of `x.groupScheme` in which the signature condition `h_rk` holds |
| 478 | obtain ⟨U, z_chart, m_chart, h_jac, h_rk⟩ := X.signature 0 x |
| 479 | -- the signature condition: `Q Y ≠ 0` is an eigenvector of `G` on `𝓞 E` (`hY_eigen`), and |
| 480 | -- `G (star β) w - Φ(β) • w = ξ w • Q Y` for a linear form `ξ` on `V` (`hξ`); here `β = D.β` |
| 481 | obtain ⟨Y, hY, hY_eigen, ξ, hξ⟩ := Q.surjective.exists.mp |
| 482 | ((u.hasSignature_iff hG h_jac x.isGroupBaseChange (by simp) (ρ := x.baseHom)).mp h_rk) |
| 483 | have hGY (c : InfinitePlace E → ℂ) : G c (Q Y) = c v₀ • Q Y := by |
| 484 | rw [← d.sum_repr c] |
| 485 | simp [sum_smul, mul_smul, hd, hY_eigen, hρ] |
| 486 | let η (j : D.Index) : ℂ := ξ (Q (Pi.single j 1)) |
| 487 | have h_rank (w : RealVectors E D.Index) : |
| 488 | G (cmEmbedding (star D.β)) (Q w) - x.baseHom D.β • Q w = (η ⬝ᵥ (w · v₀)) • Q Y := |
| 489 | sub_smul_eq_dotProduct_smul G Q hQ Y hGY ξ (fun v ↦ by simpa using hξ v) w |
| 490 | -- the reflection fixes the line of `Y · v₀`; its linear form is a multiple of `η` |
| 491 | let η' : D.Index → ℂ := (Complex.I / (Φ v₀ D.β.val).im : ℂ) • η |
| 492 | have h_two : η' ⬝ᵥ (Y · v₀) = 2 := by |
| 493 | -- `h_rank` at `Y` gives `η ⬝ᵥ (Y · v₀) = conj Φ(β) - Φ(β) = -2 * I * Im Φ(β)` |
| 494 | have h_Y : Φ v₀ (star D.β.val) - Φ v₀ D.β.val = η ⬝ᵥ (Y · v₀) := by |
| 495 | simpa [smul_left_inj, hGY, hρ, hY, ← sub_smul] using h_rank Y |
| 496 | simp [η', ← h_Y, Complex.ext_iff, ← two_mul, field] |
| 497 | have h_per : IsPeriodMap (vecMulVec (Y · v₀) η' - 1) Q := |
| 498 | isPeriodMap_vecMulVec_sub_one_of_sub_smul_eq hρ G Q hQ Y hGY hβ η h_rank |
| 499 | exact ⟨vecMulVec (Y · v₀) η' - 1, h_per, (Y · v₀), η', h_two, rfl⟩ |
| 500 | |
| 501 | /-- Let `x` be an object over `ℂ` whose structure map on `𝓞 E` is `Φ v₀` (`hρ`), with full |
| 502 | structure `e`. Then there are an adelic frame `g`, a complex matrix `ℓ` and a dimension `d` such |
| 503 | that `x` has a model `m` on a polarised period map `Y` for `(g, ℓ)` on `ℂ^d`, whose torsion points |
| 504 | are those of `e`, and `ℓ` is a reflection: `ℓ = u wᵀ - 1` for vectors `u`, `w` with `w ⬝ᵥ u = 2`, so |
| 505 | `ℓ` fixes the line of `u` and is `-1` on the kernel of `w`. -/ |
| 506 | lemma exists_torusModel |
| 507 | (hρ : ∀ c : 𝓞 E, x.baseHom c = Φ v₀ c.val) : |
| 508 | ∃ (g : GL D.Index (𝔸f E)) (ℓ : Matrix D.Index D.Index ℂ) (d : ℕ), |
| 509 | ∃ Y : ThetaTori.PeriodMap D g ℓ (Fin d → ℂ), ∃ m : x.TorusModel Y, |
| 510 | m.fullStructure.torsionPoint = e.torsionPoint ∧ IsReflection ℓ := by |
| 511 | -- Uniformise `x.groupScheme` by `V = Fin (abelianDim E D.Index) → ℂ` and lift the action of `𝓞 E` |
| 512 | -- to an action `G` of `E ⊗ ℝ` on `V`. The `2`-torsion points given by `e` define a |
| 513 | -- `G`-equivariant isomorphism `Q : (E ⊗ ℝ)ⁿ → V`. By `X.signature`, the complex structure pulled |
| 514 | -- back by `Q` is given by a reflection at `v₀`; then `exists_torusModel_of_isPeriodMap` gives the |
| 515 | -- model. |
| 516 | obtain ⟨u⟩ := x.isProjEmbedding.nonempty_uniformisation x.smoothOfRelativeDimension |
| 517 | -- an integral basis of `E` is a real basis of `E ⊗ ℝ` |
| 518 | obtain ⟨d, hd⟩ : |
| 519 | ∃ d : Module.Basis (Module.Free.ChooseBasisIndex ℤ (𝓞 E)) ℝ (InfinitePlace E → ℂ), |
| 520 | ∀ i : Module.Free.ChooseBasisIndex ℤ (𝓞 E), d i = cmEmbedding (basis E i).val := |
| 521 | exists_mixedEquiv.imp' (mixedEmbedding.latticeBasis E).map (by aesop) |
| 522 | obtain ⟨G, hG⟩ := exists_expMap_apply_cmEmbedding_eq_smul u d hd |
| 523 | obtain ⟨Q, hQ, hP, h_lat⟩ := exists_realEquiv_of_cmAction e u d hd G hG |
| 524 | have h_smul (c : 𝓞 E) (w : RealVectors E D.Index) : |
| 525 | u.expMap (Q (cmEmbedding c.val • w)) = c • u.expMap (Q w) := by simp [hQ, hG] |
| 526 | -- `u.expMap ∘ Q` sends `y` to the torsion point of `e` at the class of `m *ᵥ y` |
| 527 | obtain ⟨m, h_ev⟩ := exists_matrix_torsionPoint_eq_expMap e u Q hP h_smul |
| 528 | obtain ⟨ℓ, h_per, h_refl⟩ := exists_isPeriodMap_and_isReflection hρ u d hd G hG Q hQ |
| 529 | obtain ⟨g, period, model, h_model⟩ := exists_torusModel_of_isPeriodMap e hρ u Q h_per h_smul h_ev |
| 530 | h_lat |
| 531 | exact ⟨g, ℓ, abelianDim E D.Index, period, model, h_model, h_refl⟩ |
| 532 | |
| 533 | end New.Variety |