2.2.3. Additive characters. Let ψ : F → C∗ be an additive character. For a ∈ Z, if
                       ψ|O(a) = Id|O(a) and ψ |O[a−1] is non-trivial,
we say that ψ has conductor a. We are chiefly interested in characters ψ of con-
ductor 020, i.e. ψ is the identity on O and non-trivial on π −1 O.

2.2.4. Gauss sums. For τ : FR→ C∗ an additive character and σ : F∗ → C∗ a mul-
tiplicative one, set g(σ , τ) = O ∗ σ (u0 )τ(u0 )du0 where du0 is the Haar measure on
F giving O ∗ volume q − 1. This is a Gauss sum. Fixψ an additive character of
conductor 0 and define for each integer k a multiplicative and additive character by
using the Hilbert symbol (·, ·)n
             σ (u) = (u, π)−k
                           n         and       τ(u) = ψ(−π −1 u), for u ∈ F∗ ,                    (2.1)
respectively. Setting gk := g(σ , ψ), we note (see [92]) that
       gk = gl if n|k − l, g0 = −1, and if k 6= 0              mod n, then gk g−k = q,            (2.2)
where for the last equality we must again assume that q ≡ 1 mod 2n.


2.3. Generic ring Zτ,g and its quantum, and p-adic specializations.

2.3.1. The generic ring Zτ,g . Fix a positive integer n, and let τ and t be a formal
parameters related by τ 2 = t −1 . Introduce a system of formal parameters gk for
k ∈ Z satisfying the conditions
      gk = g` if k ≡ ` mod n, gk g−k = τ 2 = t −1 for k 6= 0, and g0 = −1.                        (2.3)
A central role in this work will be played by the rings
              Zτ,g := Z[τ ±1 , {gk }k∈Z ]/ ∼            and    Cτ,g := C ⊗Z Zτ,g                  (2.4)
obtained by formally adjoining τ, τ −1 and the gk subject to the above relations.
Note that
       Zτ,g ≃ Z[τ ±1 , g±1           ±1
                        1 , . . . , gn−1 ]     and       Cτ,g ≃ C[τ ±1 , g±1           ±1
                                                                          1 , . . . , gn−1 ].     (2.5)

2.3.2. The quantum specialization q. Let τ,t be indeterminates satisfying the con-
dition τ 2 = t −1 and introduce the ring Zτ := Z[τ, τ −1 ] of Laurent polynomials in
τ. It carries an involution sending τ 7→ τ −1 . The map q : Zτ,g → Zτ which sends
               τ 7→ τ,     g0 7→ −1,         gi 7→ τ,      for i ∈ {1, . . . , n − 1}             (2.6)
will be called the quantum specialization.

    20Note that in [29, 49], the conductor of the additive character is taken to be −1; this introduces a
“ρ”-shift when comparing formulas with these sources. On the other hand, our choice of conductor
is in alignment with the classical work of Casselman–Shalika [28] and the literature on its geometric
version [42, 44].
                                                   21
