where in the above formula ρ̌ is the half-sum of the positive coroots and a is any
simple root such that hµ̌ + ρ̌, ai ≤ 0. Notice that if µ̌ is fixed and λ̌ is chosen
very large, we can arrange for all the terms in the right hand side of (1.3) to be
dominant, i.e. no straightening rules are involved, and the ◦ in (1.3) amounts to
just a λ̌ -translation of CS(µ̌). For this reason, we might refer to the formula for
CS(µ̌) in [28] as an asymptotic Casselman–Shalika formula.
   From (1.3), (see [82, Corollary 6.8]), one deduces6 the existence of Cλ̌ ∈ H(G, K)
for λ̌ ∈ Y+ satisfying
                          J0 ? Cλ̌ = Jλ̌     and        S(Cλ̌ ) = [Vλ̌ ],                       (1.5)
the latter of which implies that Cλ̌ = cλ̌ , the element introduced above. As the
above expression has a natural description within the category of perverse sheaves
on the affine Grassmannian (see [42, 44, 93, 94]), we shall refer to (1.5) as a geo-
metric Casselman–Shalika formula, even though we are just in the p-adic setting.
Using (1.5), we compute
                  Jµ̌ ? cλ̌ = J0 ? cµ̌ ? cλ̌ = J0 ? ∑ cη̌ cη̌ = ∑ cη̌ Jη̌ ,                     (1.6)
                                                            µ̌,λ̌           µ̌,λ̌
                                                       η̌             η̌

where cη̌        := dimC Hom(Vη̌ ,Vµ̌ ⊗Vλ̌ ) are the Littlewood–Richardson coefficients
         µ̌,λ̌
for Ǧ(C).
Remark. Whereas (1.6) has a natural representation theoretic interpretation, such
an interpretation of (1.3) seems more opaque. In [82], (1.3) was used to deduce
(1.6), but, as far as we know, deducing (1.3) from (1.6) has not been explicitly
treated in the literature. One approach to this question would use an inverse to the
so-called Kato–Lusztig formula, cf. [5, 62, 81].
   To summarize, the above results show that the map h 7→ J0 ? h from H(G, K) →
Wψ (G, K) is an isomorphism of H(G, K) modules sending cλ̌ to Jλ̌ . Combined
with (1.1), we obtain an isomorphism
                         Wψ (G, K) ≃ K0 Rep(Ǧ(C))
                                                    
                                                                            (1.7)
intertwining the H(G, K) action on Wψ (G, K) with the K0 Rep(Ǧ(C)) -action (by
                                                                      
tensor product) on itself.
1.1.2. Metaplectic Casselman–Shalika type problems. Let us now turn to the case
of an n-fold metaplectic cover G   e of G. One can again construct a space of (gen-
uine) spherical Whittaker functions Wψ (G,    e K) equipped with a right convolution
by the spherical Hecke algebra H(G,     e K). The space Wψ (G,    e K) has a basis de-
noted Jeλ̌ , λ̌ ∈ Y+ and constructed in a similar fashion to Jλ̌ . On the other hand,
although one can introduce as above the elements e      hλ̌ in H(G,
                                                                  e K) for any λ̌ ∈ Y+ ,
unless λ̌ lies in a certain sublattice of finite index Ye+ ⊂ Y+ , the element e
                                                                              hλ̌ is not
   6This manner of introducing C , due originally to G. Lusztig, is a bit different from the ‘modern’
                                  λ̌
point of view which introduces Cλ̌ directly from a geometric point of view, see [42, 43]. We note that
Lusztig’s approach has the advantage that it also applies in the Kac-Moody setting.
                                                   8
