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 TauCeti.Topology.Algebra.Group.Units |
| 4 | import TauCeti.Topology.Instances.Matrix |
| 5 | public import Lib.SiegelWeil.Tower.LineGaussSums |
| 6 | import Lib.Adelic.Landherr |
| 7 | import Lib.Adelic.Unitary.WeakApproximation |
| 8 | import Lib.Adelic.Witt.WittTheorem |
| 9 | import Lib.ClassField.HeckeCharacter.TameModulus |
| 10 | import Lib.Cohomology.Etale.Basic |
| 11 | import Lib.Weil.DualPair.ThetaIntegrals |
| 12 | import New.Determinant.Exchange.MatchingPartners |
| 13 | |
| 14 | /-! |
| 15 | # Criteria for a function with a matched function to lie in a stable space; vanishing of lifts |
| 16 | |
| 17 | Let χ be tame (`New.TameLocalChar`), and let P be a GL_n(F)-stable space of Schwartz–Bruhat |
| 18 | functions on n × b matrices. Let Ψ be a locally constant function that has a matched function |
| 19 | (`New.AreMatched`). The file gives two criteria for Ψ ∈ P in terms of the standard data |
| 20 | `New.stdColDatum χ s`, the function y ↦ χ⁻¹(det s y) for integral y with det s y a unit of O, and 0 |
| 21 | otherwise. |
| 22 | |
| 23 | ## Main definitions and results |
| 24 | |
| 25 | * `New.Exchange.match_mem_of_stdColDatum`: if P contains a standard datum multiplied by an ℕ-valued |
| 26 | function that is non-zero at a suitable point, then Ψ ∈ P; the proof averages over GL_n(O). |
| 27 | * `New.Exchange.IntegralFrame.match_mem_of_isPrimitiveMatrix_vanishing`: if a space M contains the |
| 28 | shears of a standard datum and P contains what certain functionals kill in M, then Ψ ∈ P; a Gauss |
| 29 | sum of the shears lies in P, and `New.Exchange.match_mem_of_stdColDatum` applies to it. |
| 30 | * `New.Exchange.IsEquivariantLift.shearInvariant_stdColDatum`: the partial means |
| 31 | (`New.Space.Splitting.partialMean`) of the coefficients of the image of the standard datum of the |
| 32 | frame are invariant under the local shears along one more isotropic line. |
| 33 | * `New.Exchange.IsSelfDualTestPair`, `New.Space.Splitting.VanishesAtSelfDual`: the pairs of an index |
| 34 | and a Levi component at which vanishing at self-dual lattices is tested, and that vanishing. |
| 35 | * `New.Exchange.IsEquivariantLift.apply_eq_zero_of_areMatched`: `𝒟` vanishes on every locally |
| 36 | constant datum with a matched function, once the image of the standard datum of the frame vanishes |
| 37 | at self-dual lattices. |
| 38 | |
| 39 | Notions from other files: |
| 40 | * `New.SemilocalField`: Conditions met by a finite product of non-archimedean local fields: a |
| 41 | locally compact ring with Haar measure, compact open subring O of volume one, a topologically |
| 42 | nilpotent invertible ϖ in O, and `New.IsValuationPair O`. |
| 43 | * `New.schwartzBruhat`: The space of locally constant, compactly supported complex functions that |
| 44 | vanish outside a given set. |
| 45 | * `New.HasIntegralConductor`: The additive character ψ is continuous and has conductor O: ψ is |
| 46 | trivial on tO exactly when t lies in O. |
| 47 | * `New.Exchange.IntegralFrame.stdDatum`: For a function G, the function equal to G(x·(K I)) at |
| 48 | integral x and 0 elsewhere, with K and I two of the column blocks K, I, L of the frame. |
| 49 | * `New.Space.Splitting.partialMean`: the mean of a Fourier coefficient over the shifts of one more |
| 50 | isotropic vector; `New.Space.Splitting.ShearInvariant` is its invariance under local shears. |
| 51 | -/ |
| 52 | |
| 53 | @[expose] public section |
| 54 | |
| 55 | /-! ## Stable spaces containing a standard datum -/ |
| 56 | |
| 57 | namespace New.Exchange |
| 58 | |
| 59 | open Matrix MeasureTheory SemilocalField schwartzBruhat IsIntMatrix Finset Function |
| 60 | |
| 61 | variable {F a b m n : Type} [V : SemilocalField F] [Fintype a] [Fintype b] [DecidableEq b] |
| 62 | [Fintype m] [DecidableEq m] [Fintype n] [DecidableEq n] {χ : MulChar F ℂ} |
| 63 | {P : Submodule ℂ (Matrix n b F → ℂ)} {Φ : Matrix a n F → ℂ} {Ψ : Matrix n b F → ℂ} |
| 64 | [hχ : TameLocalChar χ] {e : b ⊕ a ≃ n} {U : Set (Matrix n b F)} |
| 65 | |
| 66 | /-- Let χ be tame, let A be an integral frame (an integral basis of Fⁿ with column blocks L, K, I, |
| 67 | whose integral inverse has row blocks L', K', I'), and let σ order the n rows as L', K', I'. The row |
| 68 | datum `stdRowDatum σ χ A.dualL` sends x to χ⁻¹ of the determinant of the square matrix with rows L' |
| 69 | and x, ordered by σ, if that matrix is in GL_n(O), and to 0 otherwise. It equals c · χ⁻¹(det x (K |
| 70 | I)) at integral x with det x (K I) a unit of O, and 0 elsewhere, for a constant c of modulus 1. -/ |
| 71 | lemma IntegralFrame.exists_stdRowDatum_eq_stdDatum (A : IntegralFrame F n m b) (σ : b ⊕ b ⊕ m ≃ n) : |
| 72 | ∃ c : ℂ, ‖c‖ = 1 ∧ stdRowDatum σ χ A.dualL = |
| 73 | A.stdDatum fun x : Matrix (b ⊕ m) (b ⊕ m) F ↦ c * invOnUnits χ x.det := by |
| 74 | classical |
| 75 | -- Multiply `(dualL; x)` by the integral basis `P = (L K I)`, of unit determinant: the product is |
| 76 | -- block triangular with diagonal blocks `1` and `x * (K I)`. The constant is `χ (det P)`. |
| 77 | obtain ⟨hL', hI', hK, hL, hK', hI, hK'K, hI'K, hL'K, hK'I, hI'I, hL'I, hK'L, hI'L, hL'L⟩ := |
| 78 | A.blockRelations |
| 79 | let P : Matrix n n F := (A.L.fromCols (A.K.fromCols A.I)).submatrix id σ.symm |
| 80 | let Q : Matrix n n F := (A.dualL.fromRows (A.dualK.fromRows A.dualI)).submatrix σ.symm id |
| 81 | have hP : IsIntMatrix O P := fun i ↦ σ.surjective.forall.2 (by simp [P, hL i, hK i, hI i]) |
| 82 | have hQ : IsIntMatrix O Q := σ.surjective.forall.2 (by simpa [Q] using ⟨hL', hK', hI'⟩) |
| 83 | have hQP : Q * P = 1 := by simp [P, Q, ↓fromRows_mul_fromCols, ← submatrix_mul, *] |
| 84 | have h_unit : IsIntegralUnit P.det := |
| 85 | (isPrimitiveMatrix_iff_int_and_unit_det.1 ⟨hP, Q, hQ, hQP⟩).2 |
| 86 | refine ⟨χ P.det, hχ.norm_eq_one h_unit, funext fun x ↦ if_congr ?_ ?_ rfl⟩ |
| 87 | · -- the square matrix with rows `dualL` and `x` is integral exactly when `x` is |
| 88 | exact σ.surjective.forall.trans (by simp [IsIntMatrix, hL' _]) |
| 89 | · -- its determinant times `det P` is `det (x * (K I))` |
| 90 | rw [invOnUnits_eq_mul_of_unit h_unit] |
| 91 | simp [P, hL'K, hL'I, hL'L, ↓fromRows_mul_fromCols, ← det_mul, ← submatrix_mul] |
| 92 | |
| 93 | /-- Let χ be tame (χ⁻¹ on the units of O is a primitive character of the finite ring O/ϖO) and let Ψ |
| 94 | be locally constant with a matched function Φ for χ over O (`AreMatched`: for k in GL_n(O), Φ at the |
| 95 | rows a of k⁻¹ is χ(det k) times Ψ at the columns b of k, in the order e, and both vanish |
| 96 | elsewhere). Then for some c, the function Ψ is invariant under translation by ϖ ^ c times integral |
| 97 | matrices. -/ |
| 98 | lemma exists_pow_smul_add_eq (hΨ : IsLocallyConstant Ψ) (hΦΨ : AreMatched V.O e χ Φ Ψ) : |
| 99 | ∃ c : ℕ, ∀ t : Matrix n b F, IsIntMatrix O t → |
| 100 | ∀ y : Matrix n b F, Ψ (V.ϖ ^ c • t + y) = Ψ y := by |
| 101 | classical |
| 102 | -- `Ψ` is locally constant with compact support, so the `t` that fix it form an open set. It |
| 103 | -- contains `0`; the integral matrices are compact and `ϖ ^ c` tends to `0`. |
| 104 | obtain ⟨-, hΨ_mem, -⟩ := mem_sameSectionPairs_iff.1 (hΦΨ.mem_sameSectionPairs hχ hΨ) |
| 105 | have h_translate : IsLocallyConstant fun t y : Matrix n b F ↦ Ψ (t + y) := |
| 106 | isLocallyConstant_curry hΨ_mem (· + ·) (-· + ·) neg_add_cancel_left |
| 107 | have h_maps : ∀ᶠ c : ℕ in .atTop, Set.MapsTo (V.ϖ.val ^ c • ContinuousMap.id (Matrix n b F)) |
| 108 | (SetLike.coe V.O).matrix {t | (fun y ↦ Ψ (t + y)) = Ψ} := |
| 109 | (V.isTopologicallyNilpotent_ϖ.smul_const (.id _)).eventually <| ContinuousMap.eventually_mapsTo |
| 110 | isCompact_O.matrix (h_translate.isOpen_fiber Ψ) (by simp_intro _ _) |
| 111 | exact h_maps.exists.imp fun c hc t ht ↦ congrFun (hc ht) |
| 112 | |
| 113 | /-- Let χ be tame (χ⁻¹ on the units of O is a primitive character of the finite ring O/ϖO), let Φ be |
| 114 | a matched function of Ψ for χ over O (`AreMatched`: Φ at the rows a of k⁻¹ is χ(det k) times Ψ at |
| 115 | the columns b of k, for k in GL_n(O), the n indices being split as b ⊕ a by e, and both vanish |
| 116 | elsewhere), and let p = r · `stdColDatum χ s` with r an ℕ-valued function and s an integral matrix; |
| 117 | the standard datum `stdColDatum χ s` is χ⁻¹(det s y) at integral y with det s y a unit of O, and 0 |
| 118 | elsewhere. Let x be integral with s x = 1, let Ψ be invariant under translation by ϖ ^ c times |
| 119 | integral matrices, and let d = ϖ ^ (-c) (1 - x (s - ϖ ^ c s)). Then Ψ(k⁻¹ x) p(d k y) = |
| 120 | |p(d k y)| Ψ(y) for k in GL_n(O). -/ |
| 121 | lemma match_mul_stdColDatum_translate (hΦΨ : AreMatched V.O e χ Φ Ψ) {p : Matrix n b F → ℂ} |
| 122 | {x : Matrix n b F} {s : Matrix b n F} (hx : IsIntMatrix O x) (hs : IsIntMatrix O s) |
| 123 | (hsx : s * x = 1) {r : Matrix n b F → ℕ} |
| 124 | (hp_eq : ∀ y : Matrix n b F, p y = r y • stdColDatum χ s y) {c : ℕ} |
| 125 | (hc : ∀ t : Matrix n b F, IsIntMatrix O t → ∀ y : Matrix n b F, Ψ (V.ϖ ^ c • t + y) = Ψ y) |
| 126 | {d : GL n F} (hd : d.val = (V.ϖ ^ c)⁻¹ • (1 - x * (s - V.ϖ ^ c • s))) |
| 127 | (k : intGL n V.O) (y : Matrix n b F) : |
| 128 | Ψ ((↑k⁻¹ : GL n F).val * x) * p ((d * k : GL n F).val * y) = |
| 129 | ‖p ((d * k : GL n F).val * y)‖ * Ψ y := by |
| 130 | set z : Matrix n b F := (d * k : GL n F).val * y with hz |
| 131 | set k' : Matrix n n F := (↑k⁻¹ : GL n F).val with hk' |
| 132 | by_cases h_zero : stdColDatum χ s z = 0 |
| 133 | · simp [hp_eq, h_zero] |
| 134 | obtain ⟨hz_int : IsIntMatrix O z, h_prim : IsPrimitiveMatrix O (s * z)⟩ := |
| 135 | isIntMatrix_of_stdColDatum_ne_zero hs h_zero |
| 136 | obtain ⟨g, hg : g ∈ intGL b O, hg_eq : g.val = s * z⟩ := isPrimitiveMatrix_iff.1 h_prim |
| 137 | have h_unit : IsIntegralUnit g.val.det := |
| 138 | (isPrimitiveMatrix_iff_int_and_unit_det.1 ((isPrimitiveMatrix_iff_mem_intGL g).2 hg)).2 |
| 139 | -- `y` is congruent to `k⁻¹ * x * g` mod `ϖ ^ c`, where `g = s * z`, so `Ψ` agrees on the two. |
| 140 | have h_congr : V.ϖ ^ c • (k' * (z - x * g.val)) + k' * x * g.val = y := by |
| 141 | simp [hd, hz, hk', hg_eq, hsx, smul_sub, ← Matrix.mul_assoc, sub_sub, Matrix.mul_sub, |
| 142 | Matrix.sub_mul] |
| 143 | have h_int : IsIntMatrix O (k' * (z - x * g.val)) := |
| 144 | k⁻¹.prop.isIntMatrix.mul (hz_int.sub (hx.mul hg.isIntMatrix)) |
| 145 | have hΨy : Ψ (k' * x) = Ψ y * χ g.val.det := by |
| 146 | rw [← h_congr, hc _ h_int, hΦΨ.right_mul _ hg] |
| 147 | have h_value : p z = r z * (χ g.val.det)⁻¹ := by |
| 148 | rw [hp_eq, stdColDatum, ite_eq_left hz_int, ← hg_eq, invOnUnits, ite_eq_left h_unit, |
| 149 | nsmul_eq_mul] |
| 150 | have h_norm : ‖χ g.val.det‖ = 1 := hχ.norm_eq_one h_unit |
| 151 | have h_ne : χ g.val.det ≠ 0 := by simp [← norm_ne_zero_iff, h_norm] |
| 152 | rw [hΨy, h_value] |
| 153 | simp [h_norm, field] |
| 154 | |
| 155 | /-- Let χ be tame and let P be a GL_n(F)-stable space of functions on n × b matrices. |
| 156 | Suppose that P contains a locally constant, compactly supported function p = r · `stdColDatum χ s`. |
| 157 | The standard datum of the integral matrix s is χ⁻¹(det s y) at integral y with det s y a unit of O, |
| 158 | and 0 elsewhere. |
| 159 | Assume r is ℕ-valued with r(x) ≠ 0 at an integral x with s x = 1. Then P contains every locally |
| 160 | constant Ψ that has a matched function Φ for χ over O. With the n indices split as b ⊕ a by e, Φ |
| 161 | at the rows a of k⁻¹ is χ(det k) times Ψ at the columns b of k, for k in GL_n(O), and both vanish |
| 162 | elsewhere. -/ |
| 163 | lemma match_mem_of_stdColDatum |
| 164 | (hP_stable : ∀ g : GL n F, ∀ f ∈ P, (fun y : Matrix n b F ↦ f (g.val * y)) ∈ P) |
| 165 | (hΨ : IsLocallyConstant Ψ) (hΦΨ : AreMatched V.O e χ Φ Ψ) |
| 166 | {p : Matrix n b F → ℂ} {x : Matrix n b F} {s : Matrix b n F} (hp : p ∈ P) |
| 167 | (hp_const : IsLocallyConstant p) (hp_compact : HasCompactSupport p) |
| 168 | (hx : IsIntMatrix O x) (hs : IsIntMatrix O s) (hsx : s * x = 1) (r : Matrix n b F → ℕ) |
| 169 | (hp_eq : ∀ y : Matrix n b F, p y = r y • stdColDatum χ s y) (hr : r x ≠ 0) : Ψ ∈ P := by |
| 170 | -- Average the translates `p (d * k * ·)` over `k` in `intGL n O` with weights `Ψ (k⁻¹ * x)`. Here |
| 171 | -- `d` fixes `x` and expands the kernel of `s` by `ϖ ^ (-c)`, where `Ψ` is invariant mod `ϖ ^ c`. |
| 172 | -- The average lies in `P` and is a positive multiple of `Ψ`. |
| 173 | obtain ⟨c, hc⟩ := exists_pow_smul_add_eq hΨ hΦΨ |
| 174 | obtain ⟨d, hd⟩ : ∃ d : GL n F, d.val = (V.ϖ ^ c)⁻¹ • (1 - x * (s - V.ϖ ^ c • s)) := |
| 175 | ⟨(V.ϖ ^ c)⁻¹ • GeneralLinearGroup.mk'' (1 - x * (s - V.ϖ ^ c • s)) |
| 176 | (by simp [↓det_one_sub_mul_comm x, hsx, Matrix.sub_mul]), rfl⟩ |
| 177 | have : CompactSpace (intGL n V.O) := isCompact_iff_compactSpace.1 (isCompact_intGL isCompact_O) |
| 178 | have h_translates : |
| 179 | IsLocallyConstant fun (k : intGL n V.O) (y : Matrix n b F) ↦ p ((d * k : GL n F).val * y) := |
| 180 | isLocallyConstant_curry (s := Set.univ) ⟨hp_const, hp_compact, Set.subset_univ _⟩ |
| 181 | (fun (k : intGL n V.O) y ↦ d.val * (k : GL n F).val * y) |
| 182 | (fun k y ↦ (k : GL n F).inv * d.inv * y) (fun k y ↦ by simp [Matrix.mul_assoc]) |
| 183 | (hg := by simp only [Units.inv_eq_val_inv]; fun_prop) |
| 184 | -- The integral `I y` of `‖p (d * k * y)‖` over `k` is constant where `Ψ y ≠ 0`: these `y` are in |
| 185 | -- the orbit of `x`. |
| 186 | let I (y : Matrix n b F) : ℝ := ∫ k : intGL n V.O, ‖p ((d * k : GL n F).val * y)‖ ∂.haar |
| 187 | have h_orbit (y : Matrix n b F) (hy : Ψ y ≠ 0) : I y = I x := by |
| 188 | obtain ⟨l, hl, rfl⟩ := hΦΨ.supp_right y hy |
| 189 | -- `x` is integral with an integral left inverse, so it is a column block of some `j` too. |
| 190 | obtain ⟨j, hj, rfl⟩ := (isValuationPair.exists_firstCols_iff e).2 ⟨hx, s, hs, hsx⟩ |
| 191 | -- Substitute `k * (j / l)` for `k`: the Haar measure is right invariant. |
| 192 | let q : intGL n V.O := ⟨j / l, div_mem hj hl⟩ |
| 193 | calc I (firstCols e l) |
| 194 | = ∫ k : intGL n V.O, ‖p ((d * ↑(k * q) : GL n F).val * firstCols e l)‖ ∂.haar := |
| 195 | (integral_mul_right_eq_self _ _).symm |
| 196 | _ = I (firstCols e j) := by simp [I, q, mul_firstCols, Matrix.mul_assoc] |
| 197 | have h_one : p ((d * (1 : intGL n V.O) : GL n F).val * x) ≠ 0 := by |
| 198 | -- the value is `r x`, as `d * x = x` and `s * x = 1` |
| 199 | simp [hd, hp_eq, hsx, hx, hr, invOnUnits, Matrix.mul_sub, Matrix.sub_mul, Matrix.mul_assoc, |
| 200 | stdColDatum] |
| 201 | have h_pos : 0 < I x := |
| 202 | (h_translates.comp fun f ↦ ‖f x‖).continuous.integral_pos_of_hasCompactSupport_nonneg_ne_zero |
| 203 | (.of_compactSpace _) (fun _ ↦ norm_nonneg _) (norm_ne_zero_iff.2 h_one) |
| 204 | -- The weighted translate is a nonnegative multiple of `Ψ`, point by point. |
| 205 | have key_eq (k : intGL n V.O) (y : Matrix n b F) : |
| 206 | Ψ ((↑k⁻¹ : GL n F).val * x) * p ((d * k : GL n F).val * y) = |
| 207 | ‖p ((d * k : GL n F).val * y)‖ * Ψ y := |
| 208 | match_mul_stdColDatum_translate hΦΨ hx hs hsx hp_eq hc hd k y |
| 209 | have h_mem (k : intGL n V.O) : (fun y ↦ ‖p ((d * k : GL n F).val * y)‖ * Ψ y) ∈ P := by |
| 210 | simpa only [← key_eq, Pi.smul_def, smul_eq_mul] using P.smul_mem _ (hP_stable (d * k) p hp) |
| 211 | -- The average over `k` equals `I x • Ψ` and lies in `P`. |
| 212 | have h_eq : (fun y ↦ ∫ k : intGL n V.O, (‖p ((d * k : GL n F).val * y)‖ * Ψ y : ℂ) ∂.haar) = |
| 213 | I x • Ψ := by |
| 214 | funext y |
| 215 | rw [integral_mul_const, integral_complex_ofReal] |
| 216 | obtain hy | hy := eq_or_ne (Ψ y) 0 |
| 217 | · simp [hy] |
| 218 | · rw [Pi.smul_apply, ← h_orbit y hy, Complex.real_smul] |
| 219 | rw [← P.smul_mem_iff h_pos.ne', ← h_eq] |
| 220 | exact integral_mem_of_isLocallyConstant .haar |
| 221 | (h_translates.comp fun f y ↦ (‖f y‖ * Ψ y : ℂ)) h_mem |
| 222 | |
| 223 | omit [TameLocalChar χ] in |
| 224 | /-- An integral frame A is an integral n × n basis cut into column blocks K, I, L (K and L are |
| 225 | n × b), with integral inverse cut into row blocks K', I', L'; thus K' K = L' L = 1 and |
| 226 | K' L = L' K = 0. The shear y ↦ y + L z K' y by an integral z fixes the standard datum of K', which |
| 227 | is χ⁻¹(det K' y) at integral y with det K' y a unit of O, and 0 elsewhere. -/ |
| 228 | lemma IntegralFrame.stdColDatum_shear_of_isIntMatrix (A : IntegralFrame F n m b) |
| 229 | {z : Matrix b b F} (hz : IsIntMatrix O z) : |
| 230 | (fun y : Matrix n b F ↦ stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y))) = |
| 231 | stdColDatum χ A.dualK := by |
| 232 | classical |
| 233 | have h_blocks := A.blockRelations |
| 234 | funext y |
| 235 | -- `dualK` does not see the shear, as `dualK * L = 0`, and the added term is integral when |
| 236 | -- `dualK * y` is. |
| 237 | have hK'y : A.dualK * (y + A.L * z * (A.dualK * y)) = A.dualK * y := by |
| 238 | simp [Matrix.mul_add, ← Matrix.mul_assoc, h_blocks.dualK_mul_L] |
| 239 | have h_add (v : Matrix n b F) (hv : IsIntMatrix O v) : IsIntMatrix O (A.L * z * (A.dualK * v)) := |
| 240 | (h_blocks.isIntMatrix_L.mul hz).mul (h_blocks.isIntMatrix_dualK.mul hv) |
| 241 | have h_int : IsIntMatrix O (y + A.L * z * (A.dualK * y)) ↔ IsIntMatrix O y := |
| 242 | ⟨fun hy ↦ by simpa [hK'y] using hy.sub (h_add _ hy), fun hy ↦ hy.add (h_add y hy)⟩ |
| 243 | simp only [stdColDatum, hK'y] |
| 244 | exact if_congr h_int rfl rfl |
| 245 | |
| 246 | /-- Let π : O → R be a homomorphism to a finite ring, η a primitive character of R, φ a primitive |
| 247 | additive character of R with φ(π x) = ψ(ϖ⁻¹ x), and l a section of the reduction of matrices by π. |
| 248 | If η vanishes at the determinant of the reduction of T, then the sum over b × b matrices r over R of |
| 249 | η(det r) ψ(ϖ⁻¹ trace(T l(r))) is zero. -/ |
| 250 | lemma sum_mul_addChar_lift_eq_zero {R : Type} [CommRing R] [Fintype R] [DecidableEq R] |
| 251 | {π : V.O →+* R} {η : MulChar R ℂ} (h_prim : IsPrimitiveMulChar η) |
| 252 | {φ : AddChar R ℂ} (hφ : φ.IsPrimitive) {ψ : AddChar F ℂ} |
| 253 | (hφπ : ∀ x : V.O, φ (π x) = ψ (V.ϖ⁻¹.val * x)) {l : Matrix b b R → Matrix b b V.O} |
| 254 | (hl : ∀ r : Matrix b b R, (l r).map π = r) {T : Matrix b b V.O} |
| 255 | (h_det : η (T.map π).det = 0) : |
| 256 | ∑ r : Matrix b b R, η r.det * ψ (↑V.ϖ⁻¹ * (T.map Subtype.val * (l r).map Subtype.val).trace) = |
| 257 | 0 := by |
| 258 | obtain ⟨γ, -, h_fourier⟩ := exists_matrixFourier_eq_mul_inv_det (a := b) hφ h_prim |
| 259 | calc |
| 260 | _ = matrixFourier φ (fun r ↦ η r.det) (T.map π) := by |
| 261 | refine sum_congr rfl fun r _ ↦ congrArg _ ?_ |
| 262 | -- the pairing of `T` with the lift of `r` reduces to that of `T.map π` with `r` |
| 263 | simpa [trace, Matrix.mul_apply, ← congrFun₂ (hl r)] using (hφπ (T * l r).trace).symm |
| 264 | -- The transform at `T.map π` is a constant times `η⁻¹ (det (T.map π))`. |
| 265 | _ = 0 := by simp [h_fourier _, MulChar.inv_apply_eq_inv', h_det] |
| 266 | |
| 267 | /-- For tame χ with reduction π and residue character η, and a matrix N over O, the value of χ⁻¹, |
| 268 | cut off to the units of O, at det N is η(det π(N)). -/ |
| 269 | lemma invOnUnits_det_eq_resChar_det (N : Matrix b b V.O) : |
| 270 | invOnUnits χ (N.map Subtype.val).det = hχ.resChar (N.map hχ.reduction).det := by |
| 271 | simpa [RingHom.map_det, ← V.O.subtype_apply, -Subring.subtype_apply] using |
| 272 | hχ.isPrimitive_resChar_and_invOnUnits_eq.right N.det |
| 273 | |
| 274 | omit [Fintype b] [DecidableEq b] in |
| 275 | private lemma exists_integral_lift {M : Matrix b b F} (hM : IsIntMatrix O M) : |
| 276 | ∃ M₀ : Matrix b b V.O, M₀.map Subtype.val = M := |
| 277 | ⟨of fun i j ↦ ⟨M i j, hM i j⟩, rfl⟩ |
| 278 | |
| 279 | /-- Let χ be tame: there are a reduction π of O onto a finite ring with kernel ϖO and a primitive |
| 280 | character η of that ring with η ∘ π equal to χ⁻¹ on units and 0 on the rest of O. Let A be an |
| 281 | integral frame (an integral basis with column blocks K, I, L, whose integral inverse has row blocks |
| 282 | K', I', L'), so that L' L = 1 and K' L = 0. The standard datum `stdColDatum χ s` of a matrix s is |
| 283 | χ⁻¹(det s y) at integral y with det s y a unit of O, and 0 elsewhere. For r over O and x integral, |
| 284 | the standard datum of L' at L r K' x - ϖ x is η(det π(r)) times the standard datum of K' at x. -/ |
| 285 | lemma IntegralFrame.stdColDatum_mul_sub_smul (A : IntegralFrame F n m b) (r : Matrix b b V.O) |
| 286 | {x : Matrix n b F} (hx : IsIntMatrix O x) : |
| 287 | stdColDatum χ A.dualL (A.L * (r.map Subtype.val * (A.dualK * x)) - V.ϖ.val • x) = |
| 288 | hχ.resChar (r.map hχ.reduction).det * stdColDatum χ A.dualK x := by |
| 289 | have h_blocks := A.blockRelations |
| 290 | set y : Matrix n b F := A.L * (r.map Subtype.val * (A.dualK * x)) - V.ϖ.val • x with hy |
| 291 | have hy_int : IsIntMatrix O y := |
| 292 | (h_blocks.isIntMatrix_L.mul |
| 293 | (.mul (fun i j ↦ (r i j).property) (h_blocks.isIntMatrix_dualK.mul hx))).sub (hx.smul ϖ_mem) |
| 294 | -- With `k`, `u` the lifts of `A.dualK * x`, `A.dualL * x` to `O`, `A.dualL * y` is |
| 295 | -- `r * k - ϖ • u`. |
| 296 | obtain ⟨k, hk⟩ := exists_integral_lift (h_blocks.isIntMatrix_dualK.mul hx) |
| 297 | obtain ⟨u, hu⟩ := exists_integral_lift (h_blocks.isIntMatrix_dualL.mul hx) |
| 298 | let N : Matrix b b V.O := r * k - (⟨V.ϖ.val, ϖ_mem⟩ : V.O) • u |
| 299 | have hN : A.dualL * y = N.map Subtype.val := by |
| 300 | simp [N, hy, ← Matrix.mul_assoc, h_blocks.dualL_mul_L, ← hk, ← hu, ← Matrix.ext_iff, |
| 301 | Matrix.mul_apply, Matrix.mul_sub] |
| 302 | have hϖ : hχ.reduction ⟨V.ϖ.val, ϖ_mem⟩ = 0 := |
| 303 | (hχ.reduction_surjective_and_eq_zero_iff.right _).2 (by simp) |
| 304 | have hN_red : N.map hχ.reduction = r.map hχ.reduction * k.map hχ.reduction := by |
| 305 | simp [N, Matrix.map_sub, Matrix.map_smul', hϖ] |
| 306 | calc stdColDatum χ A.dualL y = hχ.resChar (N.map hχ.reduction).det := by |
| 307 | simp [hy_int, hN, invOnUnits_det_eq_resChar_det, stdColDatum] |
| 308 | _ = hχ.resChar (r.map hχ.reduction).det * stdColDatum χ A.dualK x := by |
| 309 | simp [hx, ← hk, invOnUnits_det_eq_resChar_det, hN_red, stdColDatum] |
| 310 | |
| 311 | /-- For each matrix `z`, let `S z` be the sheared datum |
| 312 | `y ↦ stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y))`. Averaging the shears `S (ϖ⁻¹ • l r)` |
| 313 | against `hχ.resChar r.det` over the residue ring produces a function in `P`. Every functional `Λ` |
| 314 | that transforms under shears by `ψ (tr (T z))` and kills `stdColDatum χ A.dualK` when `T` is |
| 315 | primitive must kill this sum, because `T` is forced to be integral and non-unimodular so the matrix |
| 316 | Gauss sum vanishes. -/ |
| 317 | private lemma IntegralFrame.sum_resChar_smul_shear_mem (A : IntegralFrame F n m b) |
| 318 | [Fintype hχ.ResidueRing] {l : Matrix b b hχ.ResidueRing → Matrix b b V.O} |
| 319 | (hl : ∀ r : Matrix b b hχ.ResidueRing, (l r).map hχ.reduction = r) |
| 320 | {ψ : AddChar F ℂ} {M : Submodule ℂ (Matrix n b F → ℂ)} (hψ : HasIntegralConductor ψ) |
| 321 | (h_shear_mem : ∀ z : Matrix b b F, |
| 322 | (fun y : Matrix n b F ↦ stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y))) ∈ M) |
| 323 | (h_kill : ∀ f ∈ M, (∀ (T : Matrix b b F) (Λ : (Matrix n b F → ℂ) →ₗ[ℂ] ℂ), |
| 324 | (∀ z : Matrix b b F, Λ (fun y : Matrix n b F ↦ |
| 325 | stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y))) = |
| 326 | ψ (T * z).trace • Λ (stdColDatum χ A.dualK)) → |
| 327 | (IsPrimitiveMatrix O T → Λ (stdColDatum χ A.dualK) = 0) → Λ f = 0) → f ∈ P) : |
| 328 | ∑ r : Matrix b b hχ.ResidueRing, |
| 329 | hχ.resChar r.det • (fun y : Matrix n b F ↦ |
| 330 | stdColDatum χ A.dualK |
| 331 | (y + A.L * (V.ϖ.inv • (l r).map Subtype.val) * (A.dualK * y))) ∈ P := by |
| 332 | classical |
| 333 | let S (z : Matrix b b F) (y : Matrix n b F) : ℂ := |
| 334 | stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y)) |
| 335 | change ∑ r, hχ.resChar r.det • S (V.ϖ.inv • (l r).map Subtype.val) ∈ P |
| 336 | -- `x ↦ ψ (ϖ⁻¹ x)` descends to a primitive character `φ` of the residue ring. |
| 337 | obtain ⟨φ, hφ, hφπ⟩ : |
| 338 | ∃ φ : AddChar hχ.ResidueRing ℂ, |
| 339 | φ.IsPrimitive ∧ ∀ x : V.O, φ (hχ.reduction x) = ψ (V.ϖ⁻¹.val * x) := |
| 340 | exists_primitive_residue_addChar hχ.reduction_surjective_and_eq_zero_iff hψ.right |
| 341 | refine h_kill _ (sum_mem fun r _ ↦ M.smul_mem _ (h_shear_mem _)) ?_ |
| 342 | intro T Λ (hΛ : ∀ z : Matrix b b F, Λ (S z) = ψ (T * z).trace • Λ (stdColDatum χ A.dualK)) |
| 343 | h_unit |
| 344 | by_contra h_ne |
| 345 | obtain ⟨h_sum, h_std⟩ : |
| 346 | ∑ r, hχ.resChar r.det * ψ (↑V.ϖ⁻¹ * (T * (l r).map Subtype.val).trace) ≠ 0 ∧ |
| 347 | Λ (stdColDatum χ A.dualK) ≠ 0 := by |
| 348 | simpa [hΛ, ← mul_assoc, ← sum_mul] using h_ne |
| 349 | -- `T` is integral, because `S z` is the standard datum itself for integral `z`. |
| 350 | have hT : IsIntMatrix O T := by |
| 351 | refine fun i j ↦ (hψ.2 (T i j)).1 fun a ha ↦ ?_ |
| 352 | have h_single : IsIntMatrix O (single j i a) := fun _ _ ↦ by simp [single_apply, ite_mem, ha] |
| 353 | simpa [S, A.stdColDatum_shear_of_isIntMatrix h_single, h_std, trace_mul_single] using |
| 354 | hΛ (single j i a) |
| 355 | obtain ⟨T₀, rfl⟩ := exists_integral_lift hT |
| 356 | -- `T` is not unimodular, so the Gauss sum of index `T` is zero. |
| 357 | have h_det : hχ.resChar (T₀.map hχ.reduction).det = 0 := by |
| 358 | rw [← invOnUnits_det_eq_resChar_det, invOnUnits, |
| 359 | ite_eq_right fun h ↦ h_std (h_unit (isPrimitiveMatrix_iff_int_and_unit_det.2 ⟨hT, h⟩))] |
| 360 | exact h_sum (sum_mul_addChar_lift_eq_zero hχ.isPrimitive_resChar_and_invOnUnits_eq.left hφ hφπ |
| 361 | hl h_det) |
| 362 | |
| 363 | /-- Let `S z` be the sheared datum `y ↦ stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y))`. At |
| 364 | `-ϖ⁻¹ • y`, every nonzero term `hχ.resChar r.det * S (ϖ⁻¹ • l_r) (-ϖ⁻¹ • y)` of the Gauss-sum |
| 365 | average equals `stdColDatum χ A.dualL y`: solving the sheared argument for `y` reduces the identity |
| 366 | to `IntegralFrame.stdColDatum_mul_sub_smul`. -/ |
| 367 | private lemma IntegralFrame.resChar_smul_shear_eq_stdColDatum (A : IntegralFrame F n m b) |
| 368 | {r : Matrix b b hχ.ResidueRing} {l_r : Matrix b b V.O} (hl : l_r.map hχ.reduction = r) |
| 369 | (y : Matrix n b F) |
| 370 | (hr : hχ.resChar r.det * stdColDatum χ A.dualK |
| 371 | ((-V.ϖ⁻¹ • (1 : GL n F)).val * y + |
| 372 | A.L * (V.ϖ.inv • l_r.map Subtype.val) * |
| 373 | (A.dualK * ((-V.ϖ⁻¹ • (1 : GL n F)).val * y))) ≠ 0) : |
| 374 | hχ.resChar r.det * stdColDatum χ A.dualK |
| 375 | ((-V.ϖ⁻¹ • (1 : GL n F)).val * y + |
| 376 | A.L * (V.ϖ.inv • l_r.map Subtype.val) * |
| 377 | (A.dualK * ((-V.ϖ⁻¹ • (1 : GL n F)).val * y))) = stdColDatum χ A.dualL y := by |
| 378 | classical |
| 379 | let g : GL n F := -V.ϖ⁻¹ • 1 |
| 380 | let x : Matrix n b F := |
| 381 | g.val * y + A.L * (V.ϖ.inv • l_r.map Subtype.val) * (A.dualK * (g.val * y)) |
| 382 | have hx_int : IsIntMatrix O x := (ite_ne_right_iff.1 (right_ne_zero_of_mul hr)).1 |
| 383 | -- `A.dualK * x = A.dualK * (g * y)` as `A.dualK * A.L = 0`; solve the definition of `x` for `y`. |
| 384 | have hy : y = A.L * (l_r.map Subtype.val * (A.dualK * x)) - V.ϖ.val • x := by |
| 385 | simp [x, g, ← Matrix.mul_assoc, A.blockRelations.dualK_mul_L, Units.smul_def, smul_smul, |
| 386 | Matrix.mul_add] |
| 387 | calc hχ.resChar r.det * stdColDatum χ A.dualK x |
| 388 | _ = stdColDatum χ A.dualL y := by rw [hy, A.stdColDatum_mul_sub_smul l_r hx_int, hl] |
| 389 | |
| 390 | /-- Let χ be tame, let ψ have conductor O, and let P be a GL_n(F)-stable space of locally constant, |
| 391 | compactly supported functions on n × b matrices that vanish outside a set U. The standard datum of |
| 392 | K' is the function S₀(y) = χ⁻¹(det K' y) at integral y with det K' y a unit of O, 0 elsewhere, and S |
| 393 | z is its shear y ↦ S₀(y + L z K' y), with L a block of the integral frame A and K' a block of its |
| 394 | inverse. Let M be a space of functions that contains all S z (`h_shear_mem`). Suppose that P |
| 395 | contains every f ∈ M with Λ f = 0 for all matrices T and functionals Λ such that Λ(S z) = ψ(tr T z) |
| 396 | Λ(S₀) for all z, and Λ(S₀) = 0 in case T is primitive, that is, integral with an integral left |
| 397 | inverse; for the square matrix T this means T ∈ GL_b(O) (`h_kill`). Then P contains every locally |
| 398 | constant Ψ that has a matched function Φ for χ over O. -/ |
| 399 | lemma IntegralFrame.match_mem_of_isPrimitiveMatrix_vanishing |
| 400 | (hP_stable : ∀ g : GL n F, ∀ f ∈ P, (fun y : Matrix n b F ↦ f (g.val * y)) ∈ P) |
| 401 | (hP_le : P ≤ schwartzBruhat U) (hΨ : IsLocallyConstant Ψ) (hΦΨ : AreMatched V.O e χ Φ Ψ) |
| 402 | (A : IntegralFrame F n m b) {ψ : AddChar F ℂ} {M : Submodule ℂ (Matrix n b F → ℂ)} |
| 403 | (hψ : HasIntegralConductor ψ) |
| 404 | (h_shear_mem : ∀ z : Matrix b b F, |
| 405 | (fun y : Matrix n b F ↦ stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y))) ∈ M) |
| 406 | (h_kill : ∀ f ∈ M, (∀ (T : Matrix b b F) (Λ : (Matrix n b F → ℂ) →ₗ[ℂ] ℂ), |
| 407 | (∀ z : Matrix b b F, Λ (fun y : Matrix n b F ↦ |
| 408 | stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y))) = |
| 409 | ψ (T * z).trace • Λ (stdColDatum χ A.dualK)) → |
| 410 | (IsPrimitiveMatrix O T → Λ (stdColDatum χ A.dualK) = 0) → Λ f = 0) → f ∈ P) : |
| 411 | Ψ ∈ P := by |
| 412 | classical |
| 413 | -- Sum the `S z` over `z = ϖ⁻¹ r`, `r` a matrix over the residue ring (lifted to `O`), against |
| 414 | -- `hχ.resChar r.det`. The functionals `Λ` kill this sum (a Gauss sum that vanishes off the |
| 415 | -- units), so it lies in `P`. Its value at `-ϖ⁻¹ • y` is `stdColDatum χ A.dualL y` times the |
| 416 | -- number of terms that do not vanish there; that number is not zero for `y = A.L - ϖ • A.K`, so |
| 417 | -- `match_mem_of_stdColDatum` applies. |
| 418 | let S (z : Matrix b b F) (y : Matrix n b F) : ℂ := |
| 419 | stdColDatum χ A.dualK (y + A.L * z * (A.dualK * y)) |
| 420 | -- `hχ.reduction : O → R` is the residue map, and `hχ.resChar ∘ hχ.reduction` is `χ⁻¹` on units |
| 421 | -- and zero elsewhere. |
| 422 | let R : Type := hχ.ResidueRing |
| 423 | let π : V.O →+* R := hχ.reduction |
| 424 | have h_surj : Surjective π := hχ.reduction_surjective_and_eq_zero_iff.left |
| 425 | let : Fintype R := Fintype.ofFinite R |
| 426 | obtain ⟨hL', -, hK, hL, -, -, hK'K, -, hL'K, -, -, -, hK'L, -, hL'L⟩ := A.blockRelations |
| 427 | -- `l r` is a lift of `r` to `O`, with `l 1 = 1`. |
| 428 | let l (r : Matrix b b R) : Matrix b b V.O := if r = 1 then 1 else r.map (surjInv h_surj) |
| 429 | have hl (r : Matrix b b R) : (l r).map π = r := by |
| 430 | ext i j |
| 431 | by_cases hr : r = 1 <;> simp [l, hr, Matrix.one_apply, surjInv_eq h_surj] |
| 432 | let f (r : Matrix b b R) : Matrix n b F → ℂ := |
| 433 | hχ.resChar r.det • S (V.ϖ.inv • (l r).map Subtype.val) |
| 434 | have h_avg : ∑ r, f r ∈ P := A.sum_resChar_smul_shear_mem hl hψ h_shear_mem h_kill |
| 435 | let g : GL n F := -V.ϖ⁻¹ • 1 |
| 436 | -- The sum translated by `g` is a multiple of `stdColDatum χ A.dualL`, non-zero at |
| 437 | -- `A.L - ϖ • A.K`. |
| 438 | have h_ne_one : f 1 (g.val * (A.L - V.ϖ.val • A.K)) ≠ 0 := by |
| 439 | -- the term `r = 1` is `stdColDatum χ A.dualK A.K = 1` there |
| 440 | simp [f, g, l, ← Units.smul_def, S, invOnUnits, hK, hK'K, hK'L, stdColDatum, |
| 441 | Matrix.mul_add, Matrix.mul_sub] |
| 442 | have h_translated := hP_stable g _ h_avg |
| 443 | have h_translated_sb := hP_le h_translated |
| 444 | refine match_mem_of_stdColDatum hP_stable hΨ hΦΨ h_translated |
| 445 | h_translated_sb.1 h_translated_sb.2.1 (hL.sub (hK.smul ϖ_mem)) hL' |
| 446 | (by simp [hL'K, hL'L, Matrix.mul_sub]) (fun y ↦ #{r | f r (g.val * y) ≠ 0}) (fun y ↦ ?_) |
| 447 | (card_ne_zero.2 ⟨1, by simpa using h_ne_one⟩) |
| 448 | rw [Finset.sum_apply, ← sum_filter_ne_zero] |
| 449 | refine sum_eq_card_nsmul fun r hr ↦ ?_ |
| 450 | exact A.resChar_smul_shear_eq_stdColDatum (hl r) y (mem_filter.1 hr).2 |
| 451 | |
| 452 | end New.Exchange |
| 453 | |
| 454 | /-! |
| 455 | ## Vanishing of an equivariant lift on the data with a matched function |
| 456 | |
| 457 | `New.Exchange.IsEquivariantLift` says that `𝒟` maps local data at the places `𝔠.ramifiedPlaces` |
| 458 | equivariantly to automorphic functions. `New.Space.Splitting.centerCoeff` is the Fourier coefficient |
| 459 | along the centre of the unipotent radical of the parabolic subgroup attached to a splitting |
| 460 | `New.Space.Splitting`. The standard datum of the frame of a splitting `D` is `New.stdColDatum` of |
| 461 | the dual block `dualL` of `adaptedFrame 𝔠.readsAt D`. |
| 462 | -/ |
| 463 | |
| 464 | section StandardCoefficients |
| 465 | |
| 466 | open Matrix Prod New Exchange SemilocalField G Space Splitting Gf RingHom WeilData |
| 467 | |
| 468 | /-- Let `𝒟` be an equivariant lift on `M`: a linear map from functions of `m × b` matrices over the |
| 469 | completions at the ramified places `S = 𝔠.ramifiedPlaces` of the character `𝔠` to functions on |
| 470 | `U(X)` which, on the space `M` of locally constant compactly supported such functions, has |
| 471 | automorphic values, turns translation by the group at `S` into right translation up to a character |
| 472 | of the determinant, and has values right invariant under the standard level away from `S`. Let `D` |
| 473 | split `X` as `W₁` plus hyperbolic planes along `b` lines and be adapted (its adelic frame is |
| 474 | orthonormal at infinity and integral at the finite places; `adaptedFrame 𝔠.readsAt D` is this frame |
| 475 | read in the completions at `S`). Let `O` be the product of the rings of integers at `S`, and let |
| 476 | `Ψ₀ ∈ M` be the standard datum of the dual block `dualL` of that frame, the function |
| 477 | `y ↦ χ⁻¹(det (dualL y))` at integral `y` where this determinant is a unit, 0 elsewhere, with |
| 478 | `χ = 𝔠.semilocalChar`. Suppose that the Fourier coefficient `D.centerCoeff T` of `𝒟 Ψ₀` along the |
| 479 | centre of the unipotent radical of the parabolic of `D`, at a skew-hermitian index `T`, vanishes at |
| 480 | every point `(1, g)`, with `g` trivial at `S`, whenever `(invDifferentIdele E)⁻¹ • T` lies in |
| 481 | `GL_b(O)` at `S`. Then `𝒟` kills every locally constant datum `Ψ` that has a matched function |
| 482 | `Φ`. -/ |
| 483 | lemma New.Exchange.IsEquivariantLift.apply_eq_zero_of_centreCoeff_eq_zero |
| 484 | {E : Type} [Field E] [CMType E] [H : WeilData E] {n b m : Type} |
| 485 | [Fintype n] [DecidableEq n] [Fintype b] [DecidableEq b] [Fintype m] [DecidableEq m] |
| 486 | {s : n → ℤˣ} {r : m → ℤˣ} {μ : NumberField.InfinitePlace E → ℤ} {𝔠 : SplitTameChar E μ} |
| 487 | {X : Space E m r} {W₁ : Space E n s} |
| 488 | {M : Submodule ℂ (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ)} |
| 489 | {𝒟 : (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E r → ℂ} |
| 490 | (h_lift : IsEquivariantLift 𝔠 X M 𝒟) (D : X.Splitting W₁ b) [IsBaseAdapted D] |
| 491 | (h_frame : stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL ∈ M) |
| 492 | {p : Type} [Fintype p] {σ : b ⊕ p ≃ m} {Φ : Matrix p m (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 493 | {Ψ : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 494 | (hΨ : IsLocallyConstant Ψ) (hΦΨ : AreMatched O σ 𝔠.semilocalChar Φ Ψ) |
| 495 | (h_coeff : ∀ T : Matrix b b E, Tᴴ = -T → |
| 496 | IsPrimitiveMatrix O (((invDifferentIdele E)⁻¹.val • T.map toAdele).map (componentsAt 𝔠)) → |
| 497 | ∀ g ∈ Gf.trivialOn m 𝔠.ramifiedPlaces, |
| 498 | D.centerCoeff T (𝒟 (stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL)) (1, g) = |
| 499 | 0) : |
| 500 | 𝒟 Ψ = 0 := by |
| 501 | -- Apply `IntegralFrame.match_mem_of_isPrimitiveMatrix_vanishing` to `M ⊓ ker 𝒟`. Its functionals |
| 502 | -- are the coefficients: `Λ T x` agrees on `M` with the `T`-th coefficient of `𝒟` at `x`, and a |
| 503 | -- shear along the frame at `x` multiplies it by a value of the additive character. |
| 504 | choose Λ hΛ using h_lift.exists_linear_centreCoeff D |
| 505 | let Ψ₀ : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ := |
| 506 | stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL |
| 507 | let τ (T : Matrix b b E) : Matrix b b (LocProd 𝔠.ramifiedPlaces) := |
| 508 | ((invDifferentIdele E)⁻¹.val • T.map toAdele).map (componentsAt 𝔠) |
| 509 | have hΛ_eq (T : Matrix b b E) (x : G E r) {f : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 510 | (hf : f ∈ M) : |
| 511 | Λ T x f = D.centerCoeff T (𝒟 f) x := (hΛ T x f hf).1 |
| 512 | have hΛ_shear (T : Matrix b b E) (x : G E r) (w : Matrix b b (LocProd 𝔠.ramifiedPlaces)) : |
| 513 | let Ψ' (y : Matrix m b (LocProd 𝔠.ramifiedPlaces)) : ℂ := |
| 514 | Ψ₀ (y + (x⁻¹.adeleMatrix * D.kAdelic).map |
| 515 | (componentsAt 𝔠) * w * ((D.lCoord * x.adeleMatrix).map (componentsAt 𝔠) * y)) |
| 516 | Ψ' ∈ M ∧ Λ T x Ψ' = 𝔠.readsAt.ψ (τ T * w).trace • Λ T x Ψ₀ := (hΛ T x _ h_frame).2 w |
| 517 | refine ((adaptedFrame 𝔠.readsAt D.symm).match_mem_of_isPrimitiveMatrix_vanishing |
| 518 | h_lift.comp_mul_mem_ker (fun _ hf ↦ h_lift.le_schwartzBruhat hf.1) hΨ hΦΨ |
| 519 | 𝔠.readsAt.hasIntegralConductor_psi (M := M) (fun w ↦ ?_) (fun f hf h_kill ↦ ⟨hf, ?_⟩)).2 |
| 520 | · -- The shears of the standard datum lie in `M`. The frame of `D.symm` is that of `D` with its |
| 521 | -- two isotropic parts exchanged. |
| 522 | simpa [Ψ₀] using! (hΛ_shear 0 1 w).1 |
| 523 | -- By weak approximation it suffices that `𝒟 f` vanishes at `(1, g)`, `g` trivial at |
| 524 | -- `𝔠.ramifiedPlaces`, and for that, that its coefficients vanish there. |
| 525 | obtain ⟨h_cont, h_left⟩ := h_lift.isAutFunction hf |
| 526 | refine funext ((X.weak_approximation 𝔠.ramifiedPlaces.finite_toSet).eq (fun ⟨γ, g, hg⟩ ↦ ?_) |
| 527 | h_cont) |
| 528 | suffices h_centre : 𝒟 f (D.radicalCenter 0 * (1, g)) = 0 by simpa [h_left] using h_centre |
| 529 | refine IsDualFamily.eq_zero_of_quotMean_mul_eq_zero |
| 530 | (D.isContPeriodic_radicalCentre ⟨h_cont, h_left⟩ (1, g)) |
| 531 | (fun T h_per ↦ ?_) 0 |
| 532 | -- Hermitian matrices are periods of `D.radicalCenter`, so only skew-hermitian `T` are to be |
| 533 | -- tested. |
| 534 | have hT : Tᴴ + T = 0 := by |
| 535 | refine isDualFamily_ratMatrices.eq_zero_of_forall_eq_one _ fun Z ↦ ?_ |
| 536 | have h_period (x : Matrix b b (𝔸 E)) : D.radicalCenter (x + (Zᴴ + Z)) = D.radicalCenter x := |
| 537 | ext_adeleMatrix (by simp [add_sub_add_comm]) |
| 538 | have h_one : (stdAddChar E (T.map toAdele * (Zᴴ + Z)).trace : ℂ) = 1 := |
| 539 | h_per (Zᴴ + Z) 1 (by simp [h_period]) |
| 540 | simpa [↓isDualFamily_ratMatrices.add_left, ↓isDualFamily_ratMatrices.add_right, |
| 541 | ← stdAddChar_inv_two_mul_add_star (trace _), ← trace_conjTranspose, add_comm, |
| 542 | Z.trace_mul_comm, |
| 543 | Zᴴ.trace_mul_comm] using h_one |
| 544 | refine (hΛ_eq T _ hf).symm.trans (h_kill (τ T) _ (fun w ↦ ?_) fun hP ↦ ?_) |
| 545 | · -- `(1, g)` is `1` at `𝔠.ramifiedPlaces`, so the frame there is that of `D`. |
| 546 | have h_components (x : G E r) : |
| 547 | (adeleMatrix x).map (componentsAt 𝔠) = (atPlaces 𝔠.ramifiedPlaces x.2).val := rfl |
| 548 | simpa [Ψ₀, atPlaces_eq_one_of_mem_trivialOn hg, h_components] using! (hΛ_shear T (1, g) w).2 |
| 549 | · exact (hΛ_eq T _ h_frame).trans (h_coeff T (eq_neg_of_add_eq_zero_left hT) hP g hg) |
| 550 | |
| 551 | /-- Let `S` be the set of finite places outside `𝔠.ramifiedPlaces` and its conjugate and let `e` be |
| 552 | the idempotent adele `idemAdele S.conjClosure`, which is `1` on `S` and `0` elsewhere. If `P` is |
| 553 | integral at the places of `S` and their conjugates and the hermitian `Q` is integral at |
| 554 | `𝔠.ramifiedPlaces`, then `e • P + (1 - e) • Q` has integral finite part. -/ |
| 555 | lemma New.Exchange.SplitTameChar.isIntMatrix_glue_hermitian {E : Type} [Field E] [CMType E] |
| 556 | {μ : NumberField.InfinitePlace E → ℤ} (𝔠 : SplitTameChar E μ) {ι : Type*} |
| 557 | {S : Set (FinPlace E)} (hS : S = (𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ) |
| 558 | {P Q : Matrix ι ι (𝔸 E)} (hQ : Qᴴ = Q) (P_int : IsIntMatrix (closureIntegers S) P) |
| 559 | (Q_int : IsIntMatrix O (Q.map (componentsAt 𝔠))) : |
| 560 | let e : 𝔸 E := idemAdele S.conjClosure |
| 561 | IsIntMatrix (Ô E) ((e • P + (1 - e) • Q).map Prod.snd) := by |
| 562 | subst hS |
| 563 | intro e i j |
| 564 | -- at a place conjugate to one of `𝔠.ramifiedPlaces`, the entry `Q i j` is the conjugate of |
| 565 | -- `Q j i` |
| 566 | have entry_int (v : FinPlace E) |
| 567 | (hv : v ∉ ((𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ).conjClosure) : |
| 568 | Valued.v ((Q i j).snd v) ≤ 1 := by |
| 569 | obtain hv | hv : v ∈ 𝔠.ramifiedPlaces ∨ star v ∈ 𝔠.ramifiedPlaces := |
| 570 | Set.notMem_compl_iff.1 fun h ↦ hv (Or.inl h) |
| 571 | · exact Q_int i j ⟨v, hv⟩ trivial |
| 572 | · rw [← hQ] |
| 573 | exact (v_star_apply ..).trans_le (Q_int j i ⟨star v, hv⟩ trivial) |
| 574 | exact add_mem (P_int i j) |
| 575 | (by simpa [e, ← idem_compl, idem_mul_mem_Ô, or_iff_not_imp_left] using entry_int) |
| 576 | |
| 577 | /-- The pairs `(T, q)` of an index `T` and a point `q` of `GL_b(𝔸)` at which vanishing at self-dual |
| 578 | lattices is tested, for a hermitian space `V'` over the CM field `E` with form `V'.J`, signs `t'` |
| 579 | and adelic frame `V'.x`. Either (a) `T = V'.J` and `q = scaleIdele E • V'.x * Y` (`scaleIdele E` is |
| 580 | the idele of `WeilData E` that makes `Ô` self-dual), where the finite part of `Y` times some |
| 581 | `k ∈ GL_b(Ô)` is unitary for the form `1` (`U 1`), so that the columns of `V'.x * Y` span a lattice |
| 582 | that is self-dual for `T`; or (b) `T` is invertible and not of the form `aᴴ diag(t') a` at some |
| 583 | infinite place, and `q` is arbitrary. -/ |
| 584 | def New.Exchange.IsSelfDualTestPair {E : Type} [Field E] [CMType E] [H : WeilData E] |
| 585 | {b : Type} [Fintype b] [DecidableEq b] {t' : b → ℤˣ} (V' : Space E b t') (T : Matrix b b E) |
| 586 | (q : GL b (𝔸 E)) : Prop := |
| 587 | (∃ Y : GL b (𝔸 E), ∃ k ∈ intGL b (Ô E), |
| 588 | scaleIdele E • V'.x * Y = q ∧ |
| 589 | Y.map (RingHom.snd (NumberField.InfinitePlace E → ℂ) (𝔸f E)) * k ∈ U 1 ∧ V'.J = T) ∨ |
| 590 | IsUnit T ∧ ¬RepresentedBy t' (T.map toAdele) |
| 591 | |
| 592 | /-- Let `D` be a splitting of the space `X` (indices `m`, signs `r`) as `W₁` (indices `n`, signs |
| 593 | `s`) plus hyperbolic planes along `b` lines. A function `f` on `U(X)` vanishes at self-dual lattices |
| 594 | if its Fourier coefficient along the centre of the unipotent radical of the parabolic of `D`, at the |
| 595 | index `j • T` (`j` is the fixed skew element of `WeilData E`), vanishes at each point |
| 596 | `D.radicalElement c z * D.levi (q, g)` of that parabolic (a radical element times the Levi element |
| 597 | of `q ∈ GL_b(𝔸)` and `g ∈ U(W₁)`) for which `(T, q)` is a test pair for `V'` |
| 598 | (`IsSelfDualTestPair`). -/ |
| 599 | def New.Space.Splitting.VanishesAtSelfDual |
| 600 | {E : Type} [Field E] [CMType E] [H : WeilData E] {n b m : Type} |
| 601 | [Fintype n] [DecidableEq n] [Fintype b] [DecidableEq b] [Fintype m] [DecidableEq m] |
| 602 | {s : n → ℤˣ} {r : m → ℤˣ} {X : Space E m r} {W₁ : Space E n s} |
| 603 | (D : X.Splitting W₁ b) {t' : b → ℤˣ} (V' : Space E b t') (f : G E r → ℂ) : Prop := |
| 604 | ∀ (T : Matrix b b E) (c : Matrix n b (𝔸 E)) (z : Matrix b b (𝔸 E)) (q : GL b (𝔸 E)) |
| 605 | (g : G E s), |
| 606 | IsSelfDualTestPair V' T q → D.centerCoeff (H.j • T) f (D.radicalElement c z * D.levi (q, g)) = 0 |
| 607 | |
| 608 | /-- Let `D` be a splitting of `X` over `W₁` along `b` lines, let `j` be the fixed skew element of |
| 609 | `WeilData E` and `scaleIdele E` its idele that makes `Ô` self-dual. Let `f` be an automorphic |
| 610 | function that vanishes at self-dual lattices, tested on the pairs of a hermitian space `V'` with |
| 611 | Gram matrix `V'.J`, adelic frame `V'.x` and signs `t'`: its Fourier coefficient `D.centerCoeff` |
| 612 | along the centre of the unipotent radical, at the index `j • T`, vanishes at the points |
| 613 | `D.radicalElement c z * D.levi (q, g)` if (a) `T = V'.J` and `q = scaleIdele E • V'.x * Y`, where |
| 614 | the finite part of `Y` times some `k ∈ GL_b(Ô)` is unitary, or (b) `T` is invertible and at some |
| 615 | infinite place not of the form `aᴴ diag(t') a`. Let `det β ≠ 0`, and let the columns of `q * k`, |
| 616 | with `k ∈ GL_b(Ô)`, be orthonormal for `β` at the finite places. Then the coefficient at `j • β` |
| 617 | vanishes at `D.radicalElement l z * D.levi (scaleIdele E • q, g)`. -/ |
| 618 | lemma New.Space.Splitting.centreCoeff_eq_zero_of_orthonormal |
| 619 | {E : Type} [Field E] [CMType E] [H : WeilData E] {n b m : Type} |
| 620 | [Fintype n] [DecidableEq n] [Fintype b] [DecidableEq b] [Fintype m] [DecidableEq m] |
| 621 | {s : n → ℤˣ} {r : m → ℤˣ} {X : Space E m r} {W₁ : Space E n s} (D : X.Splitting W₁ b) |
| 622 | {t' : b → ℤˣ} (V' : Space E b t') {f : G E r → ℂ} (h_aut : IsAutFunction X f) |
| 623 | (h_van : D.VanishesAtSelfDual V' f) {β : Matrix b b E} (hdet : β.det ≠ 0) {q : GL b (𝔸 E)} |
| 624 | {k : GL b (𝔸f E)} (k_int : k ∈ intGL b (Ô E)) |
| 625 | (h_orth : k.valᴴ * ((q.valᴴ * (β.map toAdele * q.val)).map Prod.snd * k.val) = 1) |
| 626 | (l : Matrix n b (𝔸 E)) (z : Matrix b b (𝔸 E)) (g : G E s) : |
| 627 | D.centerCoeff (H.j • β) f (D.radicalElement l z * D.levi (scaleIdele E • q, g)) = 0 := by |
| 628 | have hβ : IsUnit β := by simpa [isUnit_iff_isUnit_det] using hdet |
| 629 | obtain h_real | h_real := em' (RepresentedBy t' (β.map toAdele)) |
| 630 | · -- case (b) of a test pair |
| 631 | exact h_van _ _ _ _ _ (.inr ⟨hβ, h_real⟩) |
| 632 | -- Now `β` has frames of signs `t'` at infinity and the orthonormal frame `q * k` at the finite |
| 633 | -- places. By Landherr's theorem `β = cᴴ * V'.J * c` for a rational `c`, and the adelic frame of |
| 634 | -- `β` is `c⁻¹ * V'.x * w` with `w` unitary (`hw`). |
| 635 | choose a ha using h_real |
| 636 | have a_unit (v : NumberField.InfinitePlace E) : IsUnit (a v) := |
| 637 | isUnit_of_mul_isUnit_right ((ha v).substr (hβ.map (mapMatrix _))) |
| 638 | have h_infinite (v : NumberField.InfinitePlace E) : |
| 639 | ((a_unit v).unit⁻¹).valᴴ * atRealPlace (β.map toAdele) v * ((a_unit v).unit⁻¹).val = |
| 640 | signMatrix t' := gram_inv_of_gram_eq (ha v) |
| 641 | have h_finite : (q.map (.snd ..) * k).valᴴ * β.map (↑) * (q.map (.snd ..) * k).val = 1 := by |
| 642 | simpa [← coe_snd, mul_assoc] using! h_orth |
| 643 | obtain ⟨c, w, rfl : _ = β, hw, -⟩ := |
| 644 | V'.exists_x_eq_and_ratEmbed_conj_eq ⟨β, _, gram_mkAdelicGL h_infinite h_finite⟩ |
| 645 | -- Move `c` from the index to the point (`centreCoeff_rat_mul` for the rational point |
| 646 | -- `D.levi (c, 1)`), then commute that point past the radical: the new Levi part is |
| 647 | -- `scaleIdele E • (c * q)`. |
| 648 | rw [← smul_mul, ← mul_smul_comm, |
| 649 | ← centreCoeff_rat_mul _ h_aut _ (levi_mem_Gamma _ _ (one_mem _)) _ (actsOnFrame_levi ..), |
| 650 | ← mul_assoc, levi_conj_radicalElement, mul_assoc, ← map_mul] |
| 651 | refine h_van _ _ _ _ _ |
| 652 | (.inl ⟨V'.x⁻¹ * (c.map toAdele * q), k, k_int, Units.ext (by simp), ?_, rfl⟩) |
| 653 | -- The finite part of `V'.x⁻¹ * c * q * k` is that of the unitary point `w`, which is in `U 1`. |
| 654 | have h_snd := congrArg (GeneralLinearGroup.map (.snd _ (𝔸f E))) (inv_mul_eq_of_eq_mul hw) |
| 655 | convert w.2.property |
| 656 | simpa [mul_assoc] using! h_snd |
| 657 | |
| 658 | section PartialMeans |
| 659 | |
| 660 | variable {E : Type} [Field E] [CMType E] [H : WeilData E] {n a b m : Type} [Fintype n] |
| 661 | [DecidableEq n] [Fintype a] [DecidableEq a] [Fintype b] [DecidableEq b] [Fintype m] |
| 662 | [DecidableEq m] |
| 663 | variable {s : n → ℤˣ} {t : a → ℤˣ} {r : m → ℤˣ} {μ : NumberField.InfinitePlace E → ℤ} |
| 664 | {𝔠 : SplitTameChar E μ} {X : Space E m r} {W₁ : Space E n s} {W : Space E a t} |
| 665 | |
| 666 | /-- Let `𝒟` be an equivariant lift on `M` and let `ν ∈ U(X)` have matrix `1 + e u c - ē N`, with |
| 667 | `c u = 0`, `e` the idempotent of `𝔠.ramifiedPlaces` and `N` any matrix, so that `ν` is `1 + u c` at |
| 668 | `𝔠.ramifiedPlaces`. Let `A` split one isotropic line off `X`, leaving `W₀`, let `B` split `b` planes |
| 669 | off `W₀`, leaving `W`, and let `D` split `X` over `W₁`. For `Ψ ∈ M`, let `Ψ' y = Ψ (g y)`, with `g` |
| 670 | the component of `x⁻¹ ν x` at `𝔠.ramifiedPlaces`. Then `Ψ' ∈ M`, and the partial mean of `𝒟 Ψ'` at |
| 671 | `x` equals that of `𝒟 Ψ` at `ν⁻¹ x`. -/ |
| 672 | lemma New.Exchange.IsEquivariantLift.partialMean_shear |
| 673 | {M : Submodule ℂ (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ)} |
| 674 | {𝒟 : (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E r → ℂ} |
| 675 | (h_lift : IsEquivariantLift 𝔠 X M 𝒟) {W₀ : Space E ((b ⊕ b) ⊕ a) (hyperbolicSigns b ⊕ᵥ t)} |
| 676 | (A : X.Splitting W₀ Unit) (B : W₀.Splitting W b) (D : X.Splitting W₁ b) (T : Matrix b b E) |
| 677 | {Ψ : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ} (hΨ : Ψ ∈ M) {ν : G E r} |
| 678 | {u : Matrix m Unit (𝔸 E)} {c : Matrix Unit m (𝔸 E)} {N : Matrix m m (𝔸 E)} |
| 679 | (hν : ν.adeleMatrix = 1 + ((idemAdele 𝔠.ramifiedPlaces : 𝔸 E) • (u * c) - |
| 680 | star (idemAdele 𝔠.ramifiedPlaces : 𝔸 E) • N)) |
| 681 | (hc : c * u = 0) (x : G E r) : |
| 682 | let Ψ' (y : Matrix m b (LocProd 𝔠.ramifiedPlaces)) : ℂ := |
| 683 | Ψ (y + (x⁻¹.adeleMatrix * u).map (componentsAt 𝔠) * |
| 684 | ((c * x.adeleMatrix).map (componentsAt 𝔠) * y)) |
| 685 | Ψ' ∈ M ∧ A.partialMean B D T (𝒟 Ψ') x = A.partialMean B D T (𝒟 Ψ) (ν⁻¹ * x) := by |
| 686 | intro Ψ' |
| 687 | obtain ⟨h_mem, h_shift⟩ : Ψ' ∈ M ∧ ∀ y : G E r, 𝒟 Ψ' (y * x) = 𝒟 Ψ (y * (ν⁻¹ * x)) := |
| 688 | h_lift.apply_shear hΨ hν hc x |
| 689 | exact ⟨h_mem, by simp only [partialMean, centerCoeff, ← mul_assoc, h_shift]⟩ |
| 690 | |
| 691 | /-- Let `𝒟` be an equivariant lift on `M`. Let `A` split one isotropic line off `X`, `B` split `b` |
| 692 | planes off what remains and `D` split `X` over `W₁`, and let the adelic isotropic frame `kAdelic` of |
| 693 | `D` be the image under the embedding `A.iAdelic` of that of `B`. At each point `x`, the map |
| 694 | `Ψ ↦ A.partialMean B D T (𝒟 Ψ) x` on `M` is the restriction of a linear form `L`, and `L` is |
| 695 | invariant on `M` under composition with `y ↦ y + u w l y` for all rows `w`. Here `u` and `l` are the |
| 696 | components at the ramified places of `x⁻¹ A.kAdelic` (the isotropic vector of `A`) and of |
| 697 | `D.lCoord x`. -/ |
| 698 | lemma New.Exchange.IsEquivariantLift.exists_linear_partialMean |
| 699 | {M : Submodule ℂ (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ)} |
| 700 | {𝒟 : (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E r → ℂ} |
| 701 | (h_lift : IsEquivariantLift 𝔠 X M 𝒟) {W₀ : Space E ((b ⊕ b) ⊕ a) (hyperbolicSigns b ⊕ᵥ t)} |
| 702 | {A : X.Splitting W₀ Unit} {B : W₀.Splitting W b} {D : X.Splitting W₁ b} |
| 703 | (hD : D.kAdelic = A.iAdelic * B.kAdelic) (T : Matrix b b E) (x : G E r) : |
| 704 | ∃ L : (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] ℂ, ∀ Ψ ∈ M, |
| 705 | L Ψ = A.partialMean B D T (𝒟 Ψ) x ∧ |
| 706 | ∀ w : Matrix Unit b (LocProd 𝔠.ramifiedPlaces), |
| 707 | L (fun y : Matrix m b (LocProd 𝔠.ramifiedPlaces) ↦ |
| 708 | Ψ (y + (x⁻¹.adeleMatrix * A.kAdelic).map (componentsAt 𝔠) * |
| 709 | (w * ((D.lCoord * x.adeleMatrix).map (componentsAt 𝔠) * y)))) = L Ψ := by |
| 710 | let L₀ : M →ₗ[ℂ] ℂ := |
| 711 | { toFun Ψ := A.partialMean B D T (𝒟 Ψ) x |
| 712 | map_add' Ψ Φ := by |
| 713 | simpa using partialMean_add hD (h_lift.isAutFunction Ψ.2) (h_lift.isAutFunction Φ.2) x |
| 714 | map_smul' := by simp [partialMean, centerCoeff, mul_left_comm] } |
| 715 | obtain ⟨L, hL₀ : L ∘ₗ M.subtype = L₀⟩ := L₀.exists_extend |
| 716 | have hL (Ψ : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) (hΨ : Ψ ∈ M) : |
| 717 | L Ψ = A.partialMean B D T (𝒟 Ψ) x := LinearMap.congr_fun hL₀ ⟨Ψ, hΨ⟩ |
| 718 | refine ⟨L, fun Ψ hΨ ↦ ⟨hL Ψ hΨ, fun w ↦ ?_⟩⟩ |
| 719 | -- Lift `w` to an adelic row `N`. The shift `ν` by the part of `N` on `𝔠.ramifiedPlaces` acts on |
| 720 | -- the datum by the given map, and it fixes the partial mean. |
| 721 | obtain ⟨N, rfl⟩ : ∃ N : Matrix Unit b (𝔸 E), N.map (componentsAt 𝔠) = w := |
| 722 | ⟨w.map (0, adeleOfLocal _ ·), ext fun i j ↦ evalPlaces_adeleOfLocal _ (w i j)⟩ |
| 723 | let e : 𝔸 E := idemAdele 𝔠.ramifiedPlaces |
| 724 | let ν : G E r := A.symm.lineShift B (e • N) |
| 725 | have h_coord : D.lCoord = B.lCoord * A.iCoord := lCoord_eq_lCoord_mul_iCoord hD |
| 726 | have h_mat : ν.adeleMatrix = |
| 727 | 1 + (e • (A.kAdelic * (N * D.lCoord)) - star e • (D.kAdelic * (Nᴴ * A.lCoord))) := by |
| 728 | simp [ν, lineShift, hD, h_coord, comp_kAdelic, fromBlocks_conjTranspose, sub_eq_add_neg, |
| 729 | Matrix.mul_add, Matrix.add_mul, fromCols_mul_fromBlocks, fromCols_mul_fromRows, |
| 730 | Matrix.mul_assoc] |
| 731 | obtain ⟨h_mem, h_mean⟩ := h_lift.partialMean_shear A B D T hΨ h_mat |
| 732 | (by simp [h_coord, Matrix.mul_assoc]) x |
| 733 | simp only [Matrix.mul_assoc N, Matrix.map_mul, Matrix.mul_assoc (N.map _)] at h_mem h_mean ⊢ |
| 734 | -- the shift `ν` fixes the partial mean |
| 735 | rw [hL _ h_mem, hL _ hΨ, h_mean, |
| 736 | ← partialMean_lineShift_symm_mul hD (h_lift.isAutFunction hΨ) (e • N) (ν⁻¹ * x), |
| 737 | mul_inv_cancel_left] |
| 738 | |
| 739 | open scoped Pointwise in |
| 740 | /-- Let `g` fix the frame of the adapted splitting `D` at all places outside `S`, the set of finite |
| 741 | places outside `𝔠.ramifiedPlaces` and its conjugate, and let `ν` have matrix `1 + u c` at |
| 742 | `𝔠.ramifiedPlaces`, where `u` is the isotropic vector of `A`. Suppose that |
| 743 | `D.lCoord = (removePlanes b W).lCoord * A.iCoord` (`h_coord`). Then the dual block of the frame |
| 744 | `D` read at the ramified places is the components there of `D.lCoord * (ν * g)`. -/ |
| 745 | private lemma dualL_adaptedFrame_eq_map_lCoord_mul (D : X.Splitting W₁ b) [IsBaseAdapted D] |
| 746 | (A : X.Splitting (hyperbolicSum b W) Unit) |
| 747 | (hA : D.kAdelic = A.iAdelic * (removePlanes b W).kAdelic) |
| 748 | (h_coord : D.lCoord = (removePlanes b W).lCoord * A.iCoord) |
| 749 | {S : Set (FinPlace E)} (hS : S = (𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ) |
| 750 | {g ν : G E r} (hg : g ∈ D.frameStabilizer (1 - idemAdele S.conjClosure)) |
| 751 | {c : Matrix Unit m (𝔸 E)} {N : Matrix m m (𝔸 E)} |
| 752 | (hν : ν.adeleMatrix = |
| 753 | 1 + (star (idemAdele (star (𝔠.ramifiedPlaces : Set (FinPlace E))) : 𝔸 E) • |
| 754 | (A.kAdelic * c :) - (idemAdele (star (𝔠.ramifiedPlaces : Set (FinPlace E))) : 𝔸 E) • N)) : |
| 755 | (adaptedFrame 𝔠.readsAt D).dualL = |
| 756 | (D.lCoord * (ν * g).adeleMatrix).map (componentsAt 𝔠) := by |
| 757 | let e : 𝔸 E := idemAdele S.conjClosure |
| 758 | have lCoord_g : (1 - e) • D.lCoord = (1 - e) • (D.lCoord * g.adeleMatrix) := by |
| 759 | -- conjugate-transpose `g * (1 - e) • k = (1 - e) • k` and use that `g` is unitary |
| 760 | have h_conj : (g.adeleMatrix * (1 - e) • D.kAdelic)ᴴ * (stdForm E r * g.adeleMatrix) = |
| 761 | ((1 - e) • D.kAdelic)ᴴ * (stdForm E r * g.adeleMatrix) := by |
| 762 | rw [mem_frameStabilizer.1 hg] |
| 763 | rw [conjTranspose_mul, Matrix.mul_assoc, ← Matrix.mul_assoc g.adeleMatrixᴴ, |
| 764 | conjTranspose_adeleMatrix_mul_stdForm_mul_adeleMatrix] at h_conj |
| 765 | simpa only [e, conjTranspose_smul, star_sub, star_one, star_idemAdele_conjClosure, |
| 766 | Matrix.smul_mul, |
| 767 | ← Matrix.mul_assoc, lCoord] using h_conj |
| 768 | rw [h_coord] |
| 769 | funext i j ⟨u, hu⟩ |
| 770 | have h_entry : (D.lCoord i j).2 u = ((D.lCoord * g.adeleMatrix) i j).2 u := by |
| 771 | simpa [e, hS, 𝔠.star_notMem, hu] using congrArg (fun Y ↦ (Y i j).2 u) lCoord_g |
| 772 | -- at `u` the matrix of `ν` is `1 + A.kAdelic * c`, and `A.iCoord * A.kAdelic = 0` |
| 773 | simpa [lCoord.eq_1 D, componentsAt, adaptedFrame, 𝔠.star_notMem, hu, hν, hA, |
| 774 | Matrix.mul_assoc, add_mul, Matrix.sub_mul, Matrix.mul_add, Matrix.mul_sub] using h_entry |
| 775 | |
| 776 | open scoped Pointwise in |
| 777 | /-- Invariance under shears. Let `𝒟` be an equivariant lift on `M` and `f = 𝒟 Ψ₀`, where `Ψ₀ ∈ M` is |
| 778 | the standard datum of the adapted splitting `D` (frame orthonormal at infinity and integral at the |
| 779 | finite places): `y ↦ χ⁻¹(det (dualL y))` on integral `y` with unit determinant, 0 elsewhere, for the |
| 780 | dual block `dualL` of the frame of `D` read at the ramified places and `χ = 𝔠.semilocalChar`. Let |
| 781 | `A` split one isotropic line off `X`, leaving the sum `hyperbolicSum b W` of `b` hyperbolic planes |
| 782 | and `W`, so that the frame of `D` is the image under `A` of the frame of the tautological splitting |
| 783 | `removePlanes b W` of those planes (`hA`). Let `S` be the set of finite places outside |
| 784 | `𝔠.ramifiedPlaces` and its conjugate (`hS`), and let `g` fix the frame of `D` at all places outside |
| 785 | `S`. Then, for every `T`, the partial mean of `f` takes the same value at `g` and `ν * g`, for each |
| 786 | `ν` that is `1 + u c` at `𝔠.ramifiedPlaces` and `1` away from `𝔠.ramifiedPlaces` and its conjugate, |
| 787 | where `u` is the isotropic vector of `A` and `c u = 0`. -/ |
| 788 | lemma New.Exchange.IsEquivariantLift.shearInvariant_stdColDatum |
| 789 | {M : Submodule ℂ (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ)} |
| 790 | {𝒟 : (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E r → ℂ} |
| 791 | (h_lift : IsEquivariantLift 𝔠 X M 𝒟) (D : X.Splitting W₁ b) [IsBaseAdapted D] |
| 792 | (h_frame : stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL ∈ M) (T : Matrix b b E) |
| 793 | (A : X.Splitting (hyperbolicSum b W) Unit) |
| 794 | (hA : D.kAdelic = A.iAdelic * (removePlanes b W).kAdelic) |
| 795 | {S : Set (FinPlace E)} (hS : S = (𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ) (g : G E r) |
| 796 | (hg : g ∈ D.frameStabilizer (1 - idemAdele S.conjClosure)) : |
| 797 | A.ShearInvariant (removePlanes b W) D T |
| 798 | (𝒟 (stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL)) |
| 799 | (idemAdele (star (𝔠.ramifiedPlaces : Set (FinPlace E)))) g := by |
| 800 | -- The partial mean at `ν * g` is a linear form `Λ` in the datum, and `ν` acts on the datum by a |
| 801 | -- shear. The maps `y ↦ y + k w dualL y` along the line `k` of `A` fix `Λ`, so the shear fixes its |
| 802 | -- value at `Ψ` (`map_shear_stdColDatum_eq`). |
| 803 | intro ν c N hc hν |
| 804 | have h_coord : D.lCoord = (removePlanes b W).lCoord * A.iCoord := lCoord_eq_lCoord_mul_iCoord hA |
| 805 | -- At `𝔠.ramifiedPlaces`, neither `g` nor `ν` changes the coordinates that the datum reads. |
| 806 | have L'_eq : |
| 807 | (adaptedFrame 𝔠.readsAt D).dualL = (D.lCoord * (ν * g).adeleMatrix).map (componentsAt 𝔠) := |
| 808 | dualL_adaptedFrame_eq_map_lCoord_mul D A hA h_coord hS hg hν |
| 809 | let Ψ : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ := |
| 810 | stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL |
| 811 | let k : Matrix m Unit (LocProd 𝔠.ramifiedPlaces) := |
| 812 | ((ν * g)⁻¹.adeleMatrix * A.kAdelic).map (componentsAt 𝔠) |
| 813 | let Ψ' (y : Matrix m b (LocProd 𝔠.ramifiedPlaces)) : ℂ := |
| 814 | Ψ (y + k * ((c * (ν * g).adeleMatrix).map (componentsAt 𝔠) * y)) |
| 815 | obtain ⟨Λ, hΛ⟩ := h_lift.exists_linear_partialMean hA T (ν * g) |
| 816 | obtain ⟨Ψ'_mem : Ψ' ∈ M, mean_shear⟩ := |
| 817 | h_lift.partialMean_shear A (removePlanes b W) D T h_frame |
| 818 | (by simpa [Prod.star_def, star_idem] using hν) hc (ν * g) |
| 819 | have Λ_translate (Φ : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) (hΦ : Φ ∈ M) |
| 820 | (w : Matrix Unit b (LocProd 𝔠.ramifiedPlaces)) : |
| 821 | Λ (fun y ↦ Φ (y + k * (w * ((adaptedFrame 𝔠.readsAt D).dualL * y)))) = Λ Φ := by |
| 822 | simpa only [L'_eq] using (hΛ Φ hΦ).2 w |
| 823 | obtain ⟨L'_mul_k, c_mul_k⟩ : (adaptedFrame 𝔠.readsAt D).dualL * k = 0 ∧ |
| 824 | (c * (ν * g).adeleMatrix).map (componentsAt 𝔠) * k = 0 := by |
| 825 | simp [k, L'_eq, h_coord, hc, ← Matrix.map_mul, ← adeleMatrix_mul, ← (adeleMatrix _).mul_assoc, |
| 826 | Matrix.mul_assoc] |
| 827 | have Λ_shear : Λ Ψ' = Λ Ψ := |
| 828 | map_shear_stdColDatum_eq (adaptedFrame 𝔠.readsAt D).blockRelations.isIntMatrix_dualL L'_mul_k |
| 829 | c_mul_k |
| 830 | h_lift.le_schwartzBruhat Λ_translate h_frame Ψ'_mem |
| 831 | calc A.partialMean (removePlanes b W) D T (𝒟 Ψ) (ν * g) |
| 832 | = Λ Ψ' := by rw [Λ_shear, (hΛ Ψ h_frame).1] |
| 833 | _ = A.partialMean (removePlanes b W) D T (𝒟 Ψ') (ν * g) := (hΛ Ψ' Ψ'_mem).1 |
| 834 | _ = A.partialMean (removePlanes b W) D T (𝒟 Ψ) (ν⁻¹ * (ν * g)) := mean_shear |
| 835 | _ = _ := by rw [inv_mul_cancel_left] |
| 836 | |
| 837 | end PartialMeans |
| 838 | |
| 839 | /-- For a CM field `E` with `WeilData E`, weights `μ : NumberField.InfinitePlace E → ℤ` at the |
| 840 | infinite places, a split tame character `𝔠 : SplitTameChar E μ`, a splitting `D` of a |
| 841 | hermitian space `X` (indices `m`, signs `r`) over `W₁` (indices `n`, signs `s`) along `b` hyperbolic |
| 842 | planes, and a hermitian space `V'` of index `b` and signs `t'`, let `f` be an automorphic function |
| 843 | on `U(X)` that vanishes at self-dual lattices for `V'` (`D.VanishesAtSelfDual V' f`). Let |
| 844 | `T : Matrix b b E` be skew-hermitian (`Tᴴ = -T`) with `T.det ≠ 0` such that |
| 845 | `(invDifferentIdele E)⁻¹ • T` is primitive at `𝔠.ramifiedPlaces`. Write `S` for the complement of |
| 846 | the conjugation closure of `𝔠.ramifiedPlaces`. If a point `x : G E r` acts on the frame of `D` by |
| 847 | `idemAdele S.conjClosure • γ + (1 - idemAdele S.conjClosure) • 1` for a matrix |
| 848 | `γ : Matrix b b (𝔸 E)` whose Gram matrix `siegelBracket T γ` is primitive over |
| 849 | `closureIntegers S`, then the Fourier coefficient `D.centerCoeff T f x` vanishes. -/ |
| 850 | private lemma centreCoeff_eq_zero_of_unimodular_on_compl |
| 851 | {E : Type} [Field E] [CMType E] [H : WeilData E] {n b m : Type} |
| 852 | [Fintype n] [DecidableEq n] [Fintype b] [DecidableEq b] [Fintype m] [DecidableEq m] |
| 853 | {s : n → ℤˣ} {r : m → ℤˣ} {μ : NumberField.InfinitePlace E → ℤ} (𝔠 : SplitTameChar E μ) |
| 854 | {X : Space E m r} {W₁ : Space E n s} (D : X.Splitting W₁ b) |
| 855 | {t' : b → ℤˣ} (V' : Space E b t') {f : G E r → ℂ} (h_aut : IsAutFunction X f) |
| 856 | (h_van : D.VanishesAtSelfDual V' f) {T : Matrix b b E} (hT : Tᴴ = -T) (hdet : T.det ≠ 0) |
| 857 | (hP : IsPrimitiveMatrix O (((invDifferentIdele E)⁻¹.val • T.map toAdele).map (componentsAt 𝔠))) |
| 858 | {x : G E r} {γ : Matrix b b (𝔸 E)} |
| 859 | (hx : D.ActsOnFrame x |
| 860 | (idemAdele ((𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ).conjClosure • γ + |
| 861 | (1 - idemAdele ((𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ).conjClosure) • 1)) |
| 862 | (hγ : IsPrimitiveMatrix (closureIntegers (𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ) |
| 863 | (siegelBracket T γ)) : |
| 864 | D.centerCoeff T f x = 0 := by |
| 865 | set S : Set (FinPlace E) := (𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ |
| 866 | obtain ⟨C_int, C', C'_int, hC'⟩ := hγ |
| 867 | -- Let `τ` be the normalised index `invDifferentIdele⁻¹ T`, and write `x` as a point |
| 868 | -- `D.radicalElement l z * D.levi (q₀, g)` of the parabolic. |
| 869 | let τ : GL b (𝔸 E) := |
| 870 | (invDifferentIdele E)⁻¹ • (GeneralLinearGroup.mkOfDetNeZero T hdet).map toAdele |
| 871 | have hτ : τ.valᴴ = τ := by simp [τ, hT, Units.smul_def, star_invDifferentIdele_inv, |
| 872 | Matrix.map_neg] |
| 873 | obtain ⟨l, z, q₀, g, rfl, hq₀, -⟩ := D.exists_eq_radicalElement_mul_levi hx |
| 874 | -- The Gram matrix `siegelBracket T q₀` is `siegelBracket T γ` on `S` and `τ` off `S`, so it is |
| 875 | -- unimodular at all finite places. |
| 876 | let e : 𝔸 E := idemAdele S.conjClosure |
| 877 | let Q : Matrix b b (𝔸 E) := e • siegelBracket T γ + (1 - e) • τ.val |
| 878 | have Q_prim : IsPrimitiveMatrix (Ô E) (Q.map snd) := by |
| 879 | have τ_inv_int := ((isPrimitiveMatrix_iff_mem_intGL (τ.map _)).1 hP).isIntMatrix_inv |
| 880 | refine ⟨𝔠.isIntMatrix_glue_hermitian (S := S) rfl hτ C_int hP.1, _, |
| 881 | 𝔠.isIntMatrix_glue_hermitian (S := S) rfl ?_ C'_int τ_inv_int, ?_⟩ |
| 882 | -- the inverse glues `C'` and `τ⁻¹`: show that `τ⁻¹` is hermitian and compute the product |
| 883 | · simp [hτ, conjTranspose_nonsing_inv] |
| 884 | · simp [Q, e, ← coe_snd, ← Matrix.map_mul, sub_mul, hC', mul_add, add_mul, smul_smul, mul_sub] |
| 885 | have Q_eq : Q = siegelBracket T q₀.val := by |
| 886 | simp [Q, e, S, hq₀, siegelBracket, τ, mul_comm, smul_smul, Units.smul_def, mul_sub, add_mul, |
| 887 | mul_add] |
| 888 | have Q_herm : (Q.map snd)ᴴ = Q.map snd := by |
| 889 | simp [Q, e, ← conjTranspose_map _ snd_star, siegelBracket, hτ, hT, mul_assoc, |
| 890 | star_invDifferentIdele_inv, Matrix.map_neg] |
| 891 | -- a unimodular hermitian matrix over `Ô E` has an integral orthonormal basis `k` |
| 892 | obtain ⟨k, k_int, h_orth⟩ := exists_orthonormal_Ô ⟨Q_herm, isPrimitiveMatrix_iff.1 Q_prim⟩ |
| 893 | -- With `T = j • β` and `q₀ = scaleIdele • q`, the columns of `q * k` are orthonormal for `β`. |
| 894 | obtain ⟨β, rfl⟩ : ∃ β : Matrix b b E, H.j • β = T := MulAction.surjective₀ H.j_ne_zero T |
| 895 | obtain ⟨q, rfl⟩ : ∃ q : GL b (𝔸 E), scaleIdele E • q = q₀ := MulAction.surjective _ q₀ |
| 896 | have δ_eq : (scaleIdele E).1 * (toAdele H.j * star (scaleIdele E).1) = invDifferentIdele E := by |
| 897 | simp [invDifferentIdele, mul_left_comm, mul_assoc] |
| 898 | have hβ_det : β.det ≠ 0 := by simpa [j_ne_zero] using hdet |
| 899 | have h_orth_β : k.valᴴ * ((q.valᴴ * (β.map toAdele * q.val)).map Prod.snd * k.val) = 1 := by |
| 900 | simpa [Q_eq, siegelBracket, δ_eq, Units.smul_def, map_smul', smul_smul, mul_assoc] using h_orth |
| 901 | exact D.centreCoeff_eq_zero_of_orthonormal V' h_aut h_van hβ_det k_int h_orth_β l z g |
| 902 | |
| 903 | /-- Self-dual lattices suffice. Let `𝒟` be an equivariant lift on `M` (a linear map from data at the |
| 904 | ramified places `S = 𝔠.ramifiedPlaces` to functions on `U(X)`, automorphic and `S`-equivariant on |
| 905 | `M`). Let `D` and `D₁` be adapted splittings of `X` over `W₁` along `b` lines and of `W₁` over `W` |
| 906 | along one line; the extra line `D₁` gives the shears under which the partial means are invariant. |
| 907 | Let `f = 𝒟 Ψ₀` for the standard datum `Ψ₀ ∈ M`: `y ↦ χ⁻¹(det (dualL y))` at integral `y` with unit |
| 908 | determinant, 0 elsewhere, for the dual block `dualL` of the frame of `D` read at `S` and |
| 909 | `χ = 𝔠.semilocalChar`. Suppose that `f` vanishes at self-dual lattices along `D`, tested on the |
| 910 | pairs of the hermitian space `V'` with form `V'.J`. Then `𝒟` maps to zero every locally constant |
| 911 | datum `Ψ` that has a matched function `Φ`. -/ |
| 912 | theorem New.Exchange.IsEquivariantLift.apply_eq_zero_of_areMatched |
| 913 | {E : Type} [Field E] [CMType E] [H : WeilData E] {n a b m : Type} |
| 914 | [Fintype n] [DecidableEq n] [Fintype a] [DecidableEq a] [Fintype b] [DecidableEq b] |
| 915 | [Fintype m] [DecidableEq m] {s : n → ℤˣ} {t : a → ℤˣ} {r : m → ℤˣ} |
| 916 | {μ : NumberField.InfinitePlace E → ℤ} {𝔠 : SplitTameChar E μ} |
| 917 | {X : Space E m r} {W₁ : Space E n s} {W : Space E a t} |
| 918 | {M : Submodule ℂ (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ)} |
| 919 | {𝒟 : (Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E r → ℂ} |
| 920 | (h_lift : IsEquivariantLift 𝔠 X M 𝒟) (D : X.Splitting W₁ b) (D₁ : W₁.Splitting W Unit) |
| 921 | [IsBaseAdapted D] [IsBaseAdapted D₁] {t' : b → ℤˣ} (V' : Space E b t') |
| 922 | (h_van : D.VanishesAtSelfDual V' |
| 923 | (𝒟 (stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL))) |
| 924 | (h_frame : stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL ∈ M) |
| 925 | {p : Type} [Fintype p] {σ : b ⊕ p ≃ m} {Φ : Matrix p m (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 926 | {Ψ : Matrix m b (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 927 | (hΨ : IsLocallyConstant Ψ) (hΦΨ : AreMatched O σ 𝔠.semilocalChar Φ Ψ) : |
| 928 | 𝒟 Ψ = 0 := by |
| 929 | -- It is enough that the coefficients along `D` of the image under `𝒟` of the standard datum of |
| 930 | -- the frame vanish at the indices `T` for which `invDifferentIdele⁻¹ T` is unimodular at |
| 931 | -- `𝔠.ramifiedPlaces`. |
| 932 | refine h_lift.apply_eq_zero_of_centreCoeff_eq_zero D h_frame hΨ hΦΨ fun T hT hP g₀ hg₀ ↦ ?_ |
| 933 | let f : G E r → ℂ := 𝒟 (stdColDatum 𝔠.semilocalChar (adaptedFrame 𝔠.readsAt D).dualL) |
| 934 | have h_aut : IsAutFunction X f := h_lift.isAutFunction h_frame |
| 935 | -- The index is skew-hermitian and invertible. By the invariance under shears it suffices to |
| 936 | -- show vanishing at the points of the parabolic where the Gram matrix is unimodular; there |
| 937 | -- `centreCoeff_eq_zero_of_orthonormal` applies. |
| 938 | obtain ⟨-, hdet_unit⟩ := isPrimitiveMatrix_iff_int_and_unit_det.1 hP |
| 939 | have hdet : T.det ≠ 0 := fun h_zero ↦ by |
| 940 | simp [← mapMatrix_apply, ← map_det, h_zero] at hdet_unit |
| 941 | -- Remove the extra line first: `A` splits `X` over `W` plus `b` planes, and the |
| 942 | -- frame of `D` is that of these planes. |
| 943 | obtain ⟨A : X.Splitting (hyperbolicSum b W) Unit, hA, hA_comp, -⟩ := |
| 944 | exists_isBaseAdapted_comp_removePlanes (D.comp D₁) (.sumComm ..) |
| 945 | have hD_frame : D.kAdelic = A.iAdelic * (removePlanes b W).kAdelic := by |
| 946 | have h_cols : (A.comp (removePlanes b W)).kAdelic = |
| 947 | (D.comp D₁).kAdelic.submatrix _root_.id (Equiv.sumComm Unit b) := by |
| 948 | rw [kAdelic, hA_comp]; rfl |
| 949 | simp only [comp_kAdelic] at h_cols |
| 950 | exact (congrArg toCols₂ h_cols).symm |
| 951 | -- Take for `S` the places outside `𝔠.ramifiedPlaces` and its conjugate, and the shears for |
| 952 | -- `star 𝔠.ramifiedPlaces`. |
| 953 | set S : Set (FinPlace E) := (𝔠.ramifiedPlaces : Set (FinPlace E)).conjClosureᶜ |
| 954 | have h_level : HasLevel f (stdLevel E m ⊓ supportedOn m S) := |
| 955 | supportedOn_compl.substr (h_lift.invariant_off _ h_frame) |
| 956 | have hg₀_supp : g₀ ∈ supportedOn m S := supportedOn_compl.ge hg₀ |
| 957 | exact centreCoeff_eq_zero_of_unimodular h_level h_aut A _ hD_frame hdet (.star 𝔠.nonempty) |
| 958 | (h_lift.shearInvariant_stdColDatum D h_frame T A hD_frame rfl) |
| 959 | (h_lift.shearInvariant_stdColDatum D h_frame T A.symm hD_frame rfl) |
| 960 | (fun _ _ hx hγ ↦ centreCoeff_eq_zero_of_unimodular_on_compl 𝔠 D V' h_aut h_van hT hdet hP hx hγ) |
| 961 | (mem_frameStabilizer_of_mem_supportedOn hg₀_supp) |
| 962 | |
| 963 | end StandardCoefficients |