module public import Lib.Adelic.TraceFormula.TestFunction public import Lib.Shimura.HeckeTower.HeckeData public import Lib.Weil.Unramified.SplitHecke /-! # Test functions with a deeper level at an auxiliary place Let `v` be a split place at which the level `K` is maximal, and let `K'` be the part of `K` whose component at `v` lies in a subgroup `J` of `GL_n(E_v)`. For a group algebra element `a` that is integral at `v`, removing the components at `v` and its conjugate gives an element whose function of level `K'` is the function of `a` of level `K`, cut off to the points with component at `v` in `J`. So it is cuspidal at a place `w` other than `v` and its conjugate if the function of `a` is. The function of a product with a factor at `v` in a set `S` is supported at `v` in `S J`. Notions from other files: * `Gf E n` is the finite adelic unitary group, and `g.atPlace v` is the component of `g` at `v`. * For a split place `v` (one that differs from its conjugate), `ofSplitPlace hv k` is the element with component `k` at `v`, the inverse conjugate transpose of `k` at the conjugate of `v`, and `1` at all other places. * `spanOn โ„‚ S` is the space of the group algebra elements that are combinations of the elements of the set `S`. * `convIndicator` sends a group algebra element `a` to the test function `a โ‹† 1_K` of level `K`. * `maxCompactAt n v` is the group of integral elements supported at `v` and its conjugate, and `localIntGL n v` is `GL_n(O_v)`. ## Relation to the literature Known result: Test functions with a deeper level at an auxiliary split place, by removing the components there. It serves `Lib.Adelic.TraceFormula.CuspidalComparison`. -/ @[expose] public section open NumberField MonoidAlgebra namespace New open Variety variable {E n : Type} [Field E] [NumberField E] [IsCMField E] [Fintype n] [DecidableEq n] {v w : FinPlace E} /-- If `K` contains the maximal compact subgroup at the split place `w`, it contains the image of `GL_n(๐’ช_w)` under `ofSplitPlace`. -/ lemma ofSplitPlace_mem_of_maxCompactAt_le (hw : w.IsSplit) {K : Subgroup (Gf E n)} (hK : maxCompactAt n w โ‰ค K) {x : GL n (LocField w)} (hx : x โˆˆ localIntGL n w) : ofSplitPlace hw x โˆˆ K := hK ((map_localIntGL_ofSplitPlace hw).le โŸจx, hx, rflโŸฉ) /-- The homomorphism that removes from an element its components at the split place `v` and at the conjugate of `v`. -/ noncomputable def offPlace (hv : v.IsSplit) : Gf E n โ†’* Gf E n := MonoidHom.mk' (fun g โ†ฆ g * (ofSplitPlace hv (g.atPlace v))โปยน) fun g h โ†ฆ by have h_comm : Commute (ofSplitPlace hv (g.atPlace v)) (h * (ofSplitPlace hv (h.atPlace v))โปยน) := Gf.commute_supportedOn_trivialOn (ofSplitPlace_mem_supportedOn hv _) (by simp) simp only [map_mul, mul_inv_rev, mul_assoc, h_comm.inv_left.eq] /-- Removing the components of `g` at `v` and its conjugate is dividing `g` by the element `ofSplitPlace hv (g.atPlace v)`, which has these components and is `1` at all other places. -/ lemma offPlace_apply (hv : v.IsSplit) (g : Gf E n) : offPlace hv g = g * (ofSplitPlace hv (g.atPlace v))โปยน := rfl @[simp] lemma atPlace_offPlace (hv : v.IsSplit) (g : Gf E n) : (offPlace hv g).atPlace v = 1 := by simp [offPlace_apply] variable {K : Subgroup (Gf E n)} {J : Subgroup (GL n (LocField v))} open scoped Classical in /-- Let `v` be a split place, let `K` be a compact open subgroup of the adelic unitary group `Gf E n` that contains the maximal compact group at `v`, let `J` be a subgroup of `GL_n(E_v)` such that `K โŠ“ J.comap (Gf.atPlace v)` is compact open, and let `a` be a combination (`spanOn`) of elements with component at `v` in `localIntGL n v = GL_n(O_v)`. Removing (`offPlace`) the components of `a` at `v` and its conjugate and deepening the level to `K โŠ“ J.comap (Gf.atPlace v)` gives the function of `a` of level `K`, cut off outside the points with component at `v` in `J`. Here `convIndicator` sends a group algebra element to its convolution with the characteristic function of the level. -/ lemma convIndicator_mapDomain_offPlace {hK_open : IsOpen (K : Set (Gf E n))} {hK_compact : IsCompact (K : Set (Gf E n))} {hK'_open : IsOpen (โ†‘(K โŠ“ J.comap (Gf.atPlace v)) : Set (Gf E n))} {hK'_compact : IsCompact (โ†‘(K โŠ“ J.comap (Gf.atPlace v)) : Set (Gf E n))} (hv : v.IsSplit) (hK_max : maxCompactAt n v โ‰ค K) {a : โ„‚[Gf E n]} (ha : a โˆˆ spanOn โ„‚ {x : Gf E n | x.atPlace v โˆˆ localIntGL n v}) (g : Gf E n) : (convIndicator hK'_open hK'_compact (mapDomain (offPlace hv) a)).val g = if g.atPlace v โˆˆ J then (convIndicator hK_open hK_compact a).val g else 0 := by -- By linearity we may take `a` to be a single element `x` that is integral at `v`. Its part at -- `v` then lies in `K`, so removing that part changes only the condition at `v`. induction ha using Submodule.span_induction with | mem a ha => obtain โŸจx, hx, rflโŸฉ : โˆƒ x : Gf E n, x.atPlace v โˆˆ localIntGL n v โˆง of โ„‚ (Gf E n) x = a := ha have h_mem : ofSplitPlace hv (x.atPlace v) โˆˆ K := ofSplitPlace_mem_of_maxCompactAt_le hv hK_max hx have h_coset : (offPlace hv x)โปยน * g โˆˆ K โŠ“ J.comap (Gf.atPlace v) โ†” g.atPlace v โˆˆ J โˆง xโปยน * g โˆˆ K := by simp [offPlace_apply, mul_assoc, K.mul_mem_cancel_left h_mem, and_comm] simp [convIndicator_single, h_coset, โ† ite_and] | zero => simp | add a b _ _ ha hb => simp [mapDomain_add, ha, hb, ite_add_zero] | smul c a _ ha => simp [mapDomain_smul, ha] /-- Let `v` be a split place, let `K` be a compact open subgroup of the adelic unitary group `Gf E n` that contains the maximal compact group at `v`, let `J` be a subgroup of `GL_n(E_v)`, let `a` be a combination (`spanOn`) of elements that are integral at `v` (component in `localIntGL n v`), and let `w` be a split place other than `v` and its conjugate. If the function `a โ‹† 1_K` (`convIndicator`) is cuspidal at `w` (its sums of translates over the cosets of each unipotent radical at `w` vanish), then so is the function of level `K โŠ“ J.comap (Gf.atPlace v)` of `a` with the components at `v` and its conjugate removed (`offPlace`). -/ lemma IsCuspidalAt.convIndicator_offPlace {hK_open : IsOpen (K : Set (Gf E n))} {hK_compact : IsCompact (K : Set (Gf E n))} {hK'_open : IsOpen (โ†‘(K โŠ“ J.comap (Gf.atPlace v)) : Set (Gf E n))} {hK'_compact : IsCompact (โ†‘(K โŠ“ J.comap (Gf.atPlace v)) : Set (Gf E n))} {hw : w.IsSplit} (hv : v.IsSplit) (h_ne : v โ‰  w) (h_star_ne : star v โ‰  w) (hK_max : maxCompactAt n v โ‰ค K) {a : โ„‚[Gf E n]} (ha : a โˆˆ spanOn โ„‚ {x : Gf E n | x.atPlace v โˆˆ localIntGL n v}) (h_cusp : IsCuspidalAt hw (convIndicator hK_open hK_compact a)) : IsCuspidalAt hw (convIndicator hK'_open hK'_compact (mapDomain (offPlace hv) a)) := by classical intro T hT_empty hT_univ t lift h_lift g -- A translation at `w` does not change the component at `v`. have h_place (k : GL n (LocField w)) : (g * ofSplitPlace hw k).atPlace v = g.atPlace v := by rw [map_mul, atPlace_ofSplitPlace_of_ne hw k h_ne h_star_ne, mul_one] simp only [convIndicator_mapDomain_offPlace (hK_open := hK_open) (hK_compact := hK_compact) hv hK_max ha, h_place] split_ifs exacts [h_cusp T hT_empty hT_univ t lift h_lift g, finsum_zero] /-- Let `u` be a combination (`spanOn`) of elements of a set `S` of `GL_n(E_v)`, let `J` be a subgroup of `GL_n(E_v)`, and let `b` be any element of the group algebra of the adelic unitary group `Gf E n`. Form the product of `u`, placed at `v` by `ofSplitPlace`, with `b` after removing (`offPlace`) its components at `v` and its conjugate, and take the function (`convIndicator`) of level `K โŠ“ J.comap (Gf.atPlace v)` of this product. Where it is not zero, the component at `v` lies in `S J`. -/ lemma exists_atPlace_eq_of_convIndicator_ne_zero {hK'_open : IsOpen (โ†‘(K โŠ“ J.comap (Gf.atPlace v)) : Set (Gf E n))} {hK'_compact : IsCompact (โ†‘(K โŠ“ J.comap (Gf.atPlace v)) : Set (Gf E n))} (hv : v.IsSplit) {S : Set (GL n (LocField v))} {u : โ„‚[GL n (LocField v)]} (hu : u โˆˆ spanOn โ„‚ S) (b : โ„‚[Gf E n]) {g : Gf E n} (hg : (convIndicator hK'_open hK'_compact (mapDomain (ofSplitPlace hv) u * mapDomain (offPlace hv) b)).val g โ‰  0) : โˆƒ x โˆˆ S, โˆƒ k โˆˆ J, g.atPlace v = x * k := by contrapose! hg induction hu using Submodule.span_induction with | mem u hu => obtain โŸจx, hx, rflโŸฉ := hu have h_notMem : xโปยน * g.atPlace v โˆ‰ J := fun h_mem โ†ฆ hg x hx _ h_mem (mul_inv_cancel_left x _).symm simp only [of_apply, mapDomain_single, convIndicator_single_mul, one_mul] refine convIndicator_mapDomain_eq_zero hK'_open hK'_compact b fun y _ h_mem โ†ฆ ?_ exact h_notMem (by simpa using h_mem.2) | zero => simp | add u u' _ _ hu hu' => simp [mapDomain_add, add_mul, hu, hu'] | smul c u _ hu => simp [mapDomain_smul, hu] end New