                                                                       I−                I−
Remark. This isomorphism must send Y e
                                       −ρ̌+ρe∨ = Y−ρ̌ Yρe∨ to vψ,−ρe∨ Yρe∨ = vψ,0 .
                                                 e             (Q,n)          (Q,n)


This computation explains the appearance of the coweight −ρ̌ + ρe∨ in the next
paragraph.

8.2.4.    From Corollary 6.3.1, we have a decomposition Wψ (G,  e K) = ⊕
                                                                          η̌∈A−,n Wψ (G, K)(η̌)
                                                                               •        e
into H(G, e K)-modules. One observes that Wψ (G,   e K)(−ρ̌) := Wψ (G,e I − )(−ρ̌)?eK
is a free rank one H(G,   e K)-module. Within it, consider the elements Je−ρ̌+ρe∨ +µ̌ =
Y
e
  −ρ̌+ρe∨ +µ̌ ? eK for µ̌ ∈ Y+ = Y(Q,n),+ , where we note that µ̌ ∈ Y+ implies −ρ̌ +
                            e                                       e
  ∨
ρe + µ̌ ∈ Y+ . The spherical extension of the previous result can now be stated:

Proposition. There is an isomorphism of H(G,
                                          e K)-modules
                                           ≃
                        e K)(−ρ̌) −→ Wψ (G(Q,n) , K(Q,n) )
                    Wψ (G,                                                           (8.11)

which is defined by sending Jeρe∨ −ρ̌ 7→ J(Q,n),0 . For µ̌ ∈ Ye+ , one has (cf. (1.5))

                              Jeρe∨ −ρ̌ ? ceµ̌ = Jeρe∨ −ρ̌+µ̌ ,                      (8.12)
Equation (8.12) together with Theorem 6.3.2 imply

Corollary. Let µ̌ ∈ Ye+ . Then Jeρe∨ −ρ̌+µ̌ = L ρ −ρ̌+µ̌ = Tρe∨ −ρ̌+µ̌ .
                                              e e∨         f

8.2.5. Quantum group interpretation. On the quantum group side, Corollary 8.2.4
and equation (8.12) correspond to the fact that in Rep(U̇ζ (Ď)) the representation
Lρe∨ −ρ̌+µ̌ for µ̌ ∈ Ye+ is equal to the costandard and indecomposable tilting cor-
responding to the same weights (see [88, Corollary 6.8] and [6]). In particular,
equation (8.12) ‘corresponds’ on the quantum side to [88, Lemma 5.2]. The space
Lρe∨ −ρ̌ is called the Steinberg representation and plays an important role on the
quantum side (see [6]).

8.2.6. Relation to the p-adic literature. An asymptotic or usual Casselman–Shalika
formula (in the terminology of our introduction) was found in [50] for the same
coweight ρe∨ − ρ̌ at the level of unramified Whittaker functions on the metaplec-
tic group. In [22, Section 5] a similar result is shown using integrable systems
techniques for certain metaplectic covers of GLr . Actually in op. cit. multiple
coweights where similar phenomenon occur are shown. This stems from the fact
that glr is not semi-simple. In the semi-simple case, one expects that ρe∨ − ρ̌ will
be the only point at which such phenomenon can occur.
   We also note here a proof of the classical (non-metaplectic) Casselman–Shalika
formula in terms of the Steinberg-Lusztig theorem was given in [74, Theorem 2.3].

8.3. Whittaker functions and g-twisted combinatorics. In this section we dis-
cuss in more detail the g-coefficients which arise in our work and mention a few
questions that can be solved using the connections to the theory of quantum groups.
We fix the same notation and hypotheses as in §8.2.
                                                87
