      SPECIAL VALUES OF GREEN’S FUNCTIONS ON
                HYPERBOLIC 3-SPACE

               S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH,
                       AND M. SCHWAGENSCHEIDT


        Abstract. Gross, Kohnen and Zagier proved an averaged version of
        the algebraicity conjecture for special values of higher Green’s functions
        on modular curves. In this work, we study an analogous problem for
        special values of Green’s functions on hyperbolic 3-space. We prove that
        their averages can be computed in terms of logarithms of primes and
        logarithms of units in real quadratic fields. Moreover, we study twisted
        averages of special values of Green’s functions, which yield algebraic
        numbers instead of logarithms.




                                      Contents
  1. Introduction                                                                     2
  2. Preliminaries                                                                   10
  2.1. Vector-valued modular forms for the Weil representation                       10
  2.2. Harmonic Maass forms                                                          11
  2.3. Rankin–Cohen brackets                                                         12
  2.4. Rational relations for spaces of cusp forms                                   13
  2.5. Siegel theta functions and special points                                     14
  3. Vector-valued Eisenstein series and the Siegel–Weil formula                     14
  3.1. Holomorphic Eisenstein series                                                 15
  3.2. Maass Eisenstein series                                                       16
  3.3. The Fourier expansion of the Maass Eisenstein series                          17
  3.4. The Siegel–Weil formula                                                       21
  4. Traces of special values of the Green’s function                                23
  4.1. The trace of the Green’s function as a theta lift                             23
  4.2. Splitting of the Siegel theta function at special points                      28
  4.3. Traces of special values of Green’s functions                                 34
  5. Twisted traces of special values of Green’s functions                           40
  5.1. The twisting function                                                         40
  5.2. The twisted modified Siegel theta function                                    42

   MSC 2020: 11F27, 11F55 (primary), 11F37 (secondary).
   S. Herrero’s research is supported by ANID/CONICYT FONDECYT Iniciación grant
11220567 and by SNF grant 200021-185014.
   Ö. Imamoḡlu’s research is supported by SNF grant 200021-185014.
   A.-M. von Pippich’s research is supported by the LOEWE research unit Uniformized
Structures in Arithmetic and Geometry.
   M. Schwagenscheidt’s research is supported by SNF grant PZ00P2 202210.
                                            1
2 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

  5.3. The twisted traces of the Green’s function as a theta lift             44
  5.4. A twisted Siegel–Weil formula                                          46
  5.5. Splitting of the Siegel theta function, twisted versions               50
  5.6. Twisted traces of Green’s functions                                    52
  References                                                                  59



                              1. Introduction
   In a seminal paper, Gross and Zagier [19] related the central values of
derivatives of L-functions of elliptic curves to heights of Heegner points on
modular curves. Moreover, they found a striking factorization of the norms
of differences of singular moduli [20]. The proof uses the fact that the
function log |j(τ1 ) − j(τ2 )| is essentially given by the constant term at s = 1
of the automorphic Green’s function
                                                        |τ1 − γτ2 |2
                                   X                                 
              SL2 (Z)
           Gs         (τ1 , τ2 ) =        Qs−1 1 +
                                                     2Im(τ1 )Im(γτ2 )
                              γ∈SL2 (Z)

on the modular curve X(1) = SL2 (Z)\H. Here Qs−1 (x) denotes the Le-
gendre function of the second kind and Im(τ ) denotes the imaginary part of
the point τ in the complex upper-half plane H. The Green’s function con-
verges absolutely for s ∈ C with Re(s) > 1 and has a simple pole at s = 1.
Moreover, it is an eigenfunction of the hyperbolic Laplacian in both vari-
ables, and has a logarithmic singularity along the diagonal in X(1) × X(1).
   At the end of [19], Gross and Zagier made a deep conjecture about the
algebraicity properties of the values of the level N ≥ 1 Green’s function
  Γ (N )
Gs 0 (τ1 , τ2 ) at positive integer values s = k ≥ 2 and CM points τ1 , τ2 .
They predicted that (under some technical conditions) the values at CM
                                                  Γ (N )
points τ1 , τ2 of the “higher Green’s function” Gk 0 (τ1 , τ2 ) are essentially
given by logarithms of absolute values of algebraic numbers. There has
been a lot of interesting work on this conjecture over the last years (see
[5, 9, 24, 28, 35, 36]). A major step in this direction was taken by Li
[25] who proved the conjecture in the case of level 1 and when one of the
discriminants is fundamental. The general case has recently been solved by
Bruinier, Li, and Yang [9].
   In the present work we study an analogous problem for Green’s functions
on the hyperbolic 3-space H3 . A major obstacle in this case is the fact that
H3 does not have a complex structure. In particular, the theory of complex
multiplication, which played an important role in the proof of the Gross–
Zagier algebraicity conjecture over modular curves, is not available on H3 .
Hence, it is not clear whether the special values of Green’s functions on H3
still have good algebraic properties. In fact, our results suggest that the
analogue of the Gross–Zagier conjecture for the individual special values of
Green’s functions on H3 might not be true; see Example 1.6 below.
        SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                         3

   In order to obtain a convenient algebraicity result, we study an averaged
version of the problem. Gross, Kohnen and Zagier [18] proved an averaged
version of the algebraicity conjecture over modular curves by summing τ1
and τ2 over all classes of CM points of fixed discriminants d1 and d2 . They
showed that these “double traces” are essentially given by logarithms of
rational numbers. Inspired by this result, we consider the double traces
of Green’s functions on hyperbolic 3-space. We show that they are given
by algebraic linear combinations of logarithms of primes and logarithms of
units in real quadratic fields. For the proof of our results we follow ideas of
Bruinier, Ehlen, and Yang [5], who proved a partially averaged version of
the algebraicity conjecture over modular curves: they fix τ1 and sum τ2 over
all classes of discriminant d2 . It will become clear during our proof why we
cannot fix one of the variables in the hyperbolic 3-space case, but instead
need to take the double trace.
        √ describe our results in some more detail. We use the setup of [16].
   Let us
Let Q( D) be an imaginary quadratic field of discriminant D < 0, and let
OD be its ring of integers. The group
                                    Γ = PSL2 (OD )
acts on the hyperbolic 3-space
                       H3 = {P = z + rj : z ∈ C, r ∈ R+ }
(viewed as a subset of the quaternions R[i, j, k]) by fractional linear trans-
formations, and this action preserves the hyperbolic distance d(P1 , P2 ). For
P1 , P2 ∈ H3 which are not in the same Γ-orbit, and s ∈ C with Re(s) > 1,
the automorphic Green’s function for Γ is defined by1
                                   X                      
(1.1)            Gs (P1 , P2 ) = π   φs cosh(d(P1 , γP2 )) ,
                                       γ∈Γ

with the function
                                 p      −s
(1.2)                 φs (t) = t + t2 − 1    (t2 − 1)−1/2 .

The Green’s function converges absolutely for Re(s) > 1, is Γ-invariant in
both variables, and symmetric in P1 , P2 . Moreover, it satisfies
                         (∆P1 − (1 − s2 ))Gs (P1 , P2 ) = 0,
where ∆P1 is the usual invariant Laplacian on H3 , taken with respect to the
variable P1 . The Green’s function has meromorphic continuation to s ∈ C
with s = 1 a simple pole, and singularities precisely at the points P2 in the
Γ-orbit of P1 .
  We want to investigate the algebraic properties of the Green’s function
Gs (P1 , P2 ) at special points P1 , P2 ∈ H3 , and positive integer values s ≥ 2.

  1We use a different normalization than [16] and [21] to obtain nicer algebraicity results.
4 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

The special points we consider are defined as follows. For a number m in
 1
|D| N (where N = {1, 2, . . .}) we let
                                                                
            +              a b                      −1
(1.3)     Lm = X =                 : a, c ∈ N, b ∈ dD , det(X) = m
                            b c
           of positive definite integral binary hermitian forms
be the set √                                                           √of determinant
m over Q( D). Here d−1   D   denotes    the inverse   different of Q(   D). The group
             +                      t            +
Γ acts on Lm by γ.X = γXγ , and Γ\Lm has finitely many classes. To a
form X ∈ L+  m we associate the special point
                                            √
                                       b      m
                               PX = +             j ∈ H3 .
                                       c      c
We may view it as an analogue of a CM point on H3 . Moreover, we define
the m-th trace of the Green’s function by
                                          X          1
                   trm (Gs ( · , P )) =                  Gs (PX , P ),
                                                +
                                                   |Γ X|
                                       X∈Γ\Lm

where ΓX denotes the stabilizer of X in Γ. Here we need to be careful not to
evaluate the Green’s function at a singularity, so P should not be in the same
Γ-orbit as one of the special points PX . We remark that, unlike the case
of binary quadratic forms, the order |ΓX | really depends on the individual
hermitian form X, not just on its determinant m. If we also take the trace
in the second variable, we obtain the double trace
                                 X        1     1
(1.4)          trm trm′ (Gs ) =                     Gs (PX , PY ).
                                      +
                                        |ΓX | |ΓY |
                                  X∈Γ\Lm
                                  Y ∈Γ\L+
                                        m′

In the following we will tacitly assume that m and m′ are chosen in such a
way that we do not evaluate the Green’s function at a singularity.
   From now on we will work with prime discriminants, so either D =
−4, D = −8, or D = −ℓ for an odd prime ℓ ≡ 3 (mod 4). Moreover, for
simplicity we will assume in the introduction that a certain space of cusp
forms is trivial. Namely, for an odd positive integer k we consider the space
  +
Sk (Γ0 (|D|), χD ) of cusp forms f = n>0 af (n)q n of weight k for Γ0 (|D|)
                                      P

and character χD = D· satisfying the “plus space” condition af (n) = 0 if
                         

χD (n) = −1. Assuming Sk+ (Γ0 (|D|), χD ) = {0} we have the following alge-
braicity result. In the body of the paper we lift this restriction by taking
suitable linear combinations of double traces of the Green’s function; see
Corollary 4.17.
Theorem 1.1. Let D < 0 be a prime discriminant and let n ≥ 1 be a
                           +
natural number such that S1+2n (Γ0 (|D|), χD ) = {0}. Let m, m′ ∈ |D|
                                                                   1
                                                                      N such
that mm′ is not a rational square. Then the double trace
                              1
                          p          trm trm′ (G2n )
                            |D|mm′
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE               5

                                                   a rational linear combina-
of the Green’s function at positive even s = 2n is √
tion of log(p) for some primes p and of log(ε∆ )/ ∆ for some fundamental
discriminants
      √        ∆ > 0, where ε∆ denotes the smallest totally positive unit > 1
in Q( ∆).
                                       √
Remark 1.2. The numbers log(ε∆ )/ ∆ in the theorem arise as special L-
values L(χ∆ , 1) via Dirichlet’s class number formula. The fundamental dis-
         p that appear are among the discriminants of the real
criminants                                                        √ quadratic
fields Q( (4mm′ D2 − r2 )|D|) with r ∈ Z satisfying |r| < 2|D| mm′ . The
logarithms of rational primes p can appear only if (4mm′ D2 − r2 )|D| is a
square for some r ∈ Z, and if p is the only prime divisor of 2m′ |D| satisfying
(−m′ , D)p = −1; see Remark 4.16. Note that when (4mm′ D2 − r2 )|D| is
a square, we have (−m, D)p = (−m′ , D)p by properties of Hilbert symbols.
In this case (−m′ , D)p = −1 implies that p also divides 2m|D|, which shows
that these conditions are symmetric in m and m′ .
  One can give an explicit evaluation of trm trm′ (G2n ) using Theorem 4.12.
The following example is an illustration of such an evaluation.
Example 1.3. Let D = −4, m = 1 and m′ = 1/2. For n = 1 we have
S3+ (Γ0 (4), χ−4 ) = {0}, hence there exists a weight −1 weakly holomorphic
modular form f ∈ M−1      ! (Γ (4), χ ) with principal part q −1 . Using the
                              0      −4
formula given in Theorem 4.12 we find that
                    1                              log(ε )
                    √ tr1 tr1/2 (G2 ) = L(χ8 , 1) = √ 8 ,
                     2                                 8
                √                                               √
where ε8 = 3+ 8 is the smallest totally positive unit > 1 in Q( 8). Modulo
Γ, there
       √
          are unique special points of determinants 1 and 1/2, given by j and
1+i      2
 2 + 2 j, with stabilizers of size 4 and 12, respectively. Hence, we find
                                       √ !
                     1        1+i        2
                    √ G2 j,         +      j = 48L(χ8 , 1).
                      2         2       2

Similarly, we can compute
                           √ !
             1       1+i    2
             √ G4 j,     +    j = 48 log(2) − 48L(χ8 , 1).
              2       2    2

We refer to Example 4.14 for more details. Notep that the fundamental dis-
criminant ∆ = 8 equals the discriminant of Q( 4mm′ |D|2 − r2 )|D|) when
r = 0. Moreover, when r = 4 the number (4mm′ |D|2 − r2 )|D| is a square,
and 2 is the only prime dividing 2m′ |D| satisfying (−m′ , D)2 = −1, in ac-
cordance with Remark 1.2.
   The proof of Theorem 1.1 uses a method of Bruinier, Ehlen, and Yang
[5], and consists of the following four major steps.
6 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT
                                                      
   (1) First, we show that the trace trm G2n ( · , P ) can be written as a
       regularized theta lift of a harmonic Maass form Fm of weight 1 − 2n.
       More explicitly, we have an integral representation
                                Z reg
                                       n
                                             
           trm G2n ( · , P ) =        R1−2n Fm (τ )Θ(τ, P )dµ(τ ),
                                  F
       where the integral over the fundamental domain F for SL2 (Z) has
       to be regularized as explained by Borcherds [2] or Bruinier [3], dµ(τ )
       denotes the usual invariant measure on H, and Θ(τ, P ) is a real-
       analytic Siegel theta function associated with a suitable lattice of
       signature (1, 3). Here Rκn = Rκ+2n−2 ◦ · · · ◦ Rκ denotes the iterated
                                                ∂
       version of the raising operator Rκ = 2i ∂τ   + κv −1 where v = Im(τ ).
       See Theorem 4.3 for the details. 
   (2) Now we evaluate trm G2n ( · , P0 ) at a special point P0 . Then the
       Siegel theta function Θ(τ, P0 ) essentially splits as a product of a
       holomorphic theta function of weight 1/2 and the complex conjugate
       of a holomorphic theta function of weight 3/2,
                      Θ(τ, P0 ) = Θ1/2 (τ ) · Θ3/2 (τ )v 3/2 .
       If we now take the trace trm′ over P0 , an application of the Siegel–
       Weil formula allows us to replace the theta function Θ3/2 (τ ) by an
       Eisenstein series E3/2 (τ ), and we obtain the splitting
                   trm′ (Θ(τ, · )) = Θ1/2 (τ ) · E3/2 (τ )v 3/2 .
       We refer to Theorem 4.10 for the precise statement.
   (3) If we plug the splitting of trm′ (Θ(τ, · )) into the theta lift represen-
       tation of trm (G2n ) from step (1), we obtain
                         Z reg
                                n
                                     Fm (τ )Θ1/2 (τ )E3/2 (τ )v 3/2 dµ(τ ).
                                        
       trm trm′ (G2n ) =       R1−2n
                          F
       The right-hand side can be interpreted as the regularized Peters-
       son inner product of the form R1−2n  n     Fm (τ )Θ1/2 (τ ) and the Eisen-
       stein series E3/2 (τ ). By the fundamental results of Bruinier and
       Funke [6], there exists a harmonic Maass form E         e1/2 (τ ) of weight
       1/2 with shadow E3/2 (τ ), and an application of Stokes’ Theorem
       shows that the above Petersson inner product can be evaluated in
       terms of the coefficients of Fm (τ ) and Θ1/2 (τ ), and the coefficients
       of the holomorphic part of E     e1/2 (τ ). Here we need the assump-
              +
       tion S1+2n (Γ0 (|D|), χD ) ̸= {0}, which implies that Fm is weakly
       holomorphic.
   (4) Since the coefficients of Θ1/2 (τ ) and Fm (τ ) are rational numbers
       (here we again use that Fm is weakly holomorphic), the algebraic
       properties of trm trm′ (G2n ) are controlled by the coefficients of the
       harmonic Maass form E    e1/2 (τ ). In general, the algebraic nature of
       the coefficients of harmonic Maass forms is a deep open problem,
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                   7


       compare [10]. However, since the shadow of E      e1/2 (τ ) is an Eisenstein
               e1/2 (τ ) itself can be constructed as a Maass Eisenstein series,
       series, E
       and its Fourier coefficients can be computed very explicitly using a
       method of Bruinier and Kuss [8]; see Theorem 3.6. It turns out that
       the coefficients of the holomorphic part of E  e1/2 (τ ) are given by simple
       multiples of logarithms of primes, or by the special value L(χ∆ , 1) of
       Dirichlet L-functions for positive fundamental discriminants ∆ > 0.
       By Dirichlet’s class number
                                 √      formula, the latter L-values are rational
       multiples of log(ε∆ )/ ∆.
Remark 1.4. Step (4) explains why we need to take the double trace trm trm′ (G2n )
to obtain a convenient algebraicity result. Steps (1) to (3) work without tak-
ing the trace trm′ , and show that, for each fixed special point P0 , we can
interpret the single trace  trm (G2n ( · , P0 )) as a regularized Petersson inner
                n
                        
product of R1−2n Fm (τ )Θ1/2 (τ ) with a weight 3/2 holomorphic theta func-
tion Θ3/2 (τ ) associated to an even lattice of rank 3. However, it is believed
that the harmonic Maass forms corresponding to these ternary theta func-
tions in general do not have good algebraic properties. Taking the additional
trace trm′ allows us to apply the Siegel–Weil formula and replace Θ3/2 (τ )
by an Eisenstein series E3/2 (τ ), whose corresponding harmonic Maass form
Ee1/2 (τ ) has better algebraic properties. In contrast, in the modular curve
case, the ternary theta function Θ3/2 is replaced with a binary theta func-
tion Θ1 of weight 1. Using the theory of complex multiplication, Duke and
Li [15] and Ehlen [17] proved that these binary theta functions possess cor-
responding harmonic Maass forms whose coefficients are essentially given
by logarithms of absolute values of algebraic numbers. Hence, in the mod-
ular curve case it is not necessary to take the double trace to obtain an
algebraicity result.
  Next, we consider twisted double traces of the Green’s function, which are
defined as in (1.4), but with additional signs χD (X), χD (Y ) ∈ {−1, 0, 1}.
Recall that we assume that D is a prime  discriminant. Let ℓ denote the
unique prime dividing D. For X = ab cb ∈ L+   m|D| with m ∈ N, we define
                                 
                                    D
                                 a , if ℓ ∤ a,
                                
                       χD (X) =     D
                                    c , if ℓ ∤ c,
                                   0,     otherwise.
                                

This function was previously considered in [12, 17] for D > 0 in order to
study twisted Borcherds produts on Hilbert modular surfaces. One can
check that χD (X) is well-defined and invariant under the action of Γ. In
particular, for m, m′ ∈ N the doubly-twisted double trace
                                    X       χD (X) χD (Y )
      trm|D|,χD trm′ |D|,χD (Gs ) =                        Gs (PX , PY )
                                       +
                                             |ΓX | |ΓY |
                                  X∈Γ\Lm|D|
                                  Y ∈Γ\L+
                                        m′ |D|
8 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

is well-defined. Similarly, we can consider the partially-twisted double trace
                                   X      χD (X) 1
           trm|D|,χD trm′ (Gs ) =                       Gs (PX , PY ),
                                      +
                                            |ΓX | |ΓY |
                                X∈Γ\Lm|D|
                                 Y ∈Γ\L+
                                       m′

where we only twist one of the traces. Note that here m′ can be a rational
             1
number in |D|  N.
   There are two main reasons why we are interested in the twisted double
traces of the Green’s function. Firstly, in Theorem 1.1 we considered the
non-twisted double trace of Gs for even s = 2n, but we did not get informa-
tion for odd s. However, we will compute the twisted double traces of Gs for
odd s = 2n + 1. Secondly, we can sometimes compute both the non-twisted
and the twisted double traces of Gs and use this to get formulas for some
individual special values of the Green’s function, even if the class numbers
of the involved binary hermitian forms are not equal to 1. For an instance
of such a case, we refer to Example 1.6 below.
   We have the following algebraicity results for the twisted double traces
of the Green’s function. Once again, for simplicity, we assume that certain
spaces of cusp forms are trivial. In the general case we take suitable linear
combinations of twisted double traces; see Corollaries 5.19, 5.22 and 5.25.
   As usual, for an integer k we denote by Sk (SL2 (Z)) the space of cusp
forms of weight k for the full modular group.
Theorem 1.5. Let D < 0 be a prime discriminant.
  (1) Let n ∈ N such that S2+2n (SL2 (Z)) = 0. Let m, m′ ∈ N such that
      mm′ is not a square. Then the doubly-twisted double trace
                         trm|D|,χD trm′ |D|,χD (G2n+1 )

                 √ linear combination of log(p) for some primes p and of
       is a rational
       log(ε∆ )/ ∆ for some fundamental discriminants ∆     √ > 0, where ε∆
       denotes the smallest totally positive unit > 1 in Q( ∆).
                                                          +
   (2) Let n ∈ N with n ≥ 2. If n is even, assume that S1+n  (Γ0 (|D|), χD ) =
       {0}, and if n is odd, assume that S1+n (SL2 (Z)) = 0. Let m ∈ N, m′ ∈
        1                    ′
       |D| N such that mm |D| is not a square. Then the partially-twisted
       double trace
                               trm|D|,χD trm′ (Gn )
                                     √      1+n
       is a rational multiple of π mm′           .
   The proofs of these results, which can be found in Section 5.6, use the
same strategy as the proof of Theorem 1.1 sketched above. However, in
step (1) of the proof sketch we use a twisted theta lift, and in step (2) we
apply a twisted version of the Siegel–Weil formula, which is due to Snitz
[34]. Roughly speaking, this twisted Siegel–Weil formula says that a certain
twisted integral of a theta function is a distinguished cusp form, namely
a weight 3/2 unary theta function, instead of an Eisenstein series. These
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                  9

unary theta functions admit harmonic Maass forms with rational Fourier
coefficients in the holomorphic part, up to a fixed square root factor (see
[11, 26]). Hence, in part (4) of the proof sketch we obtain rational numbers
instead of logarithms (up to a factor of π and possibly some square roots).
This explains the different algebraic properties of the doubly-twisted and
the partially-twisted traces in Theorem 1.5.
Example 1.6. By combining our explicit evaluations of the twisted and
non-twisted double traces of the Green’s function we can sometimes compute
the individual values G2n (P1 , P2 ), even if the class numbers of the two special
points P1 , P2 are not equal to 1. For example, modulo Γ = PSL2 (Z[i]) there
is one form ( 10 01 ) of determinant m = 1, with corresponding     special point
                                                            3 1+i
j, and there are two primitive forms ( 40 01 ) and 1−i         2   of determinant
   ′                                                    1+i
m = 4, with corresponding special points 2j and 2 + j. Using the formula
for the non-twisted double trace of G2 from Theorem 4.12, we find
                                  
                         1+i
     G2 (j, 2j) + G2 j,        + j = 32L(χ12 , 1) − 8L(χ28 , 1) + 56L(χ60 , 1).
                           2
On the other hand, the formula for the partially-twisted double trace of G2
from Theorem 5.17 yields
                                                   
                                          1+i
                       G2 (j, 2j) − G2 j,       + j = −4π.
                                            2
Combining these two evaluations, we obtain
          G2 (j, 2j) = 16L(χ12 , 1) − 4L(χ28 , 1) + 28L(χ60 , 1) − 2π.
In particular, the algebraicity results for the double traces of G2 are in
general not true for the individual values. We refer to Section 5.6.1 for the
details.
   This work is organized as follows. In Section 2 we discuss the necessary
preliminaries about vector-valued harmonic Maass forms for the Weil rep-
resentation associated with an even lattice, and some basic properties of
Siegel theta functions. In Section 3 we recall the construction of vector-
valued holomorphic and harmonic Maass Eisenstein series of half-integral
weight, and we give the Siegel–Weil formula in our setup. The results of
this section are mostly well known. However, in Theorem 3.6 we write out
an explicit formula for the Fourier coefficients of a harmonic Eisenstein series
of weight 1/2, which is not readily available in the literature and might be of
independent interest. Section 4 is the heart of the paper. Here we first show
that the trace of the Green’s function can be written as a theta lift (Theo-
rem 4.3). The next key step is to rewrite the double traces into an adelic
language in order to apply the Siegel–Weil formula and determine a precise
splitting of the Siegel theta function at special points (Theorem 4.10). Fi-
nally, we give our explicit evaluation of the double traces in terms of Fourier
coefficients of Maass Eisenstein series (Theorem 4.12). In Section 5 we con-
sider the twisted double traces of the Green’s function. The proofs of the
10 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

results in this last section are very similar to the proofs of their non-twisted
counterparts in Section 4, so we will skip some details there.

Acknowledgments. We are grateful to Yingkun Li for pointing out the
paper of Snitz [34] to us.

                              2. Preliminaries
   Throughout this section, we let L be an even lattice of signature (p, q)
with bilinear form (·, ·) and associated quadratic form Q(x) = 21 (x, x). The
dual lattice of L will be denoted by L′ . The abelian group L′ /L is finite and
of cardinality |det(L)|, where det(L) denotes the determinant of the Gram
matrix of L.

2.1. Vector-valued modular forms for the Weil representation. Let
C[L′ /L] be the group ring of L, which is generated by the standard basis
vectors eγ for γ ∈ L′ /L. We let
                 X             X             X
                         aγ eγ ·       bγ eγ =        aγ bγ
                  γ∈L′ /L           γ∈L′ /L          γ∈L′ /L

be the natural bilinear pairing on C[L′ /L].
   Let Mp2 (Z) be the metaplectic   double cover of SL2 (Z), realized as the set
                               a b
of pairs (M, ϕ) with M = c d ∈ SL2 (Z) and ϕ : H → C a holomorphic
function with ϕ2 (τ ) = cτ + d. The Weil representation ρL of Mp2 (Z) associ-
                                                                           √ 
ated to L is defined on the generators T = (( 10 11 ), 1) and S = 10 −1 0 , τ
by
                                           e((q − p)/8) X
   ρL (T )eγ = e(Q(γ))eγ ,     ρL (S)eγ = p                     e(−(β, γ))eβ ,
                                               |L′ /L| β∈L′ /L

where we put e(x) = e2πix for x ∈ C. We let ρL denote the dual Weil
representation. Note that ρL is the Weil representation ρL− associated to
the lattice L− = (L, −Q).
   For k ∈ 21 Z we let Ak,L be the set of all functions f : H → C that
transform like modular forms of weight k for ρL , which means that f is
invariant under the slash operator
(2.1)             f |k,L (M, ϕ) = ϕ(τ )−2k ρL (M, ϕ)−1 f (M τ )
for (M, ϕ) ∈ Mp2 (Z). If K ⊆ L is a sublattice of finite index, we can
naturally view modular forms for ρL as modular forms for ρK as follows.
We have the inclusions K ⊆ L ⊆ L′ ⊆ K ′ and thus L/K ⊆ L′ /K ⊆ K ′ /K.
We have the natural projection L′ /K → L′ /L, γ 7→ γ. There are maps
                      resL/K : Ak,L → Ak,K ,     f 7→ fK ,
                       trL/K : Ak,K → Ak,L ,     g 7→ g L ,
        SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                                 11

which are defined for f ∈ Ak,L and γ ∈ K ′ /K by
                                 (
                                  fγ , if γ ∈ L′ /K,
                        (fK )γ =
                                  0, if γ ∈ / L′ /K,
and for g ∈ Ak,K and γ ∈ L′ /L by
                                                X
                                   (g L )γ =           gβ+γ .
                                               β∈L/K

They are adjoint with respect to the bilinear pairings on C[L′ /L] and C[K ′ /K].
We refer the reader to [12, Lemma 3.1] for more details.

2.2. Harmonic Maass forms. Recall from [6] that a harmonic Maass form
of weight k ∈ 12 Z for ρL is a smooth function f : H → C which is annihilated
by the weight k Laplace operator
                2
                          ∂2
                                               
             2     ∂                    ∂     ∂
     ∆k = −v           +        + ikv      +i      ,   (τ = u + iv ∈ H),
                  ∂u2 ∂v 2              ∂u    ∂v
which transforms like a modular form of weight k for ρL , and which is at
most of linear exponential growth at the cusp ∞. The space of harmonic
                                                            !
Maass forms of weight k for ρL is denoted by Hk,L . We let Mk,L be subspace
of weakly holomorphic modular forms, which consists of the forms that are
holomorphic on H. The antilinear differential operator
                                                    ∂
                                       ξk = 2iv k
                                                    ∂τ
                   !                  hol       cusp
maps Hk,L onto M2−k,L   − . We let Hk,L and Hk,L     be the subspace of Hk,L
which is mapped to the space M2−k,L− of holomorphic modular forms or the
                                                                           hol
space S2−k,L− of cusp forms under ξk , respectively. For k ̸= 1 every f ∈ Hk,L
                            +     −
decomposes as a sum f = f + f of a holomorphic and a non-holomorphic
part, having Fourier expansions of the form
                  X X
       f + (τ ) =            a+        n
                              f (n, γ)q eγ ,
                   γ∈L′ /L n∈Q
                          n≫−∞
(2.2)               X                            X                                    
         −
        f (τ ) =               a−
                                f (0, γ)v
                                          1−k
                                              +         a−
                                                         f (n, γ)Γ(1 − k, 4π|n|v)q
                                                                                   n
                                                                                           eγ ,
                   γ∈L′ /L                        n∈Q
                                                  n<0

where a±                    2πiτ , and Γ(s, x) = ∞ e−t ts−1 dt is the incomplete
                                                 R
         f (n, γ) ∈ C, q = e                      x
                                       cusp
Gamma function. Note that f ∈ Hk,L          is equivalent to a−
                                                              f (0, γ) = 0 for all
      ′
γ ∈ L /L.
   Examples of harmonic Maass forms can be constructed using Maass Poincaré
series, compare [3, Section 1.3]. For k ∈ 21 Z, s ∈ C and v > 0 we let

(2.3)                        Mk,s (v) = v −k/2 M−k/2,s−1/2 (v),
12 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

with the usual M -Whittaker function. For µ ∈ L′ /L and m ∈ Z − Q(µ) with
m > 0, and s ∈ C with Re(s) > 1 we define the Maass Poincaré series
                    1        X
  Fk,m,µ (τ, s) =                      Mk,s (4πmv)e(−mu)eµ |k,L (M, ϕ),
                  2Γ(2s)
                                 e ∞ \Mp (Z)
                           (M,ϕ)∈Γ      2


where Γe ∞ is the subgroup of Mp2 (Z) generated by T = (( 1 1 ), 1). It con-
                                                             01
verges absolutely for Re(s) > 1, it transforms like a modular form of weight
k for ρL , and it is an eigenform of the Laplace operator ∆k with eigenvalue
s(1 − s) + (k 2 − 2k)/4. Hence, for k < 0 the special value
                                                      
                                                     k
                         Fk,m,µ (τ ) = Fk,m,µ τ, 1 −
                                                     2
                                  cusp
defines a harmonic Maass form in Hk,L  whose Fourier expansion starts with
                       Fk,m,µ (τ ) = q −m (eµ + e−µ ) + O(1).
                                                            cusp
In particular, for k < 0 every harmonic Maass form f ∈ Hk,L      with Fourier
expansion as in (2.2) can be written as a linear combination
                            1 X X +
(2.4)              f (τ ) =           af (−m, µ)Fk,m,µ (τ )
                            2   ′
                              µ∈L /L m>0

of Maass Poincaré series.
   The Maass raising and lowering operators on smooth functions on H are
defined by
                            ∂                        ∂
                  Rk f = 2i    + kv −1 , Lk = −2iv 2 .
                            ∂τ                      ∂τ
They raise or lower the weight of an automorphic form of weight k by 2,
respectively. Also note that we have Lk = v 2−k ξk . We also define the
iterated raising operator by
                     Rkn = Rk+2n−2 ◦ · · · ◦ Rk ,      Rk0 = id.
The action of the raising operator on Maass Poincaré series is given as
follows; see, e.g., [5, Proposition 3.4].
Lemma 2.1. We have
                  Rk Fk,m,µ (τ, s) = 4πm(s + k/2)Fk+2,m,µ (τ, s).
2.3. Rankin–Cohen brackets. Let K and L be even lattices. For n ∈ N0
and functions f ∈ Ak,K and g ∈ Aℓ,L with k, ℓ ∈ 12 Z we define the n-th
Rankin–Cohen bracket
                   n                        
                         s k+n−1     ℓ + n − 1 (n−s)
                   X
         [f, g]n =   (−1)                       f      ⊗ g (s) ,
                              s        n−s
                     s=0
                1    ∂s
where f (s) = (2πi)s ∂τ s f , and the tensor product of two vector-valued func-
            P                            P
tions f =       µ fµ eµ ∈ Ak,K and g =         ν gν eν ∈ Aℓ,L is defined by f ⊗ g =
        SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE              13
P
   µ,ν fµ gν eµ+ν ∈ Ak+ℓ,K⊕L . We can write the Rankin–Cohen bracket in
terms of the raising operator as
                         n                       
                   1           s k+n−1       ℓ+n−1
                        X
      [f, g]n =            (−1)                       Rkn−s f ⊗ Rℓs g,
                 (−4π)n             s         n−s
                        s=0

(see [5, Equation (3.7)]) which implies that we have
                              [f, g]n ∈ Ak+ℓ+2n,K⊕L .
We will need the following formula from [5, Proposition 3.6] for the action
of the lowering operator on Rankin–Cohen brackets.
Proposition 2.2. Let f ∈ Hk,K and g ∈ Hℓ,L be harmonic Maass forms.
For n ∈ N0 we have
         (−4π)n Lk+ℓ+2n [f, g]n
                                               
             ℓ+n−1        n               n k+n−1
          =             Rk f ⊗ Lℓ g + (−1)         Lk f ⊗ Rℓn g.
                 n                            n
2.4. Rational relations for spaces of cusp forms. A sequence
(2.5)                    {λ(m, µ)}m∈Q+ , µ∈L′ /L ⊆ Q
is called a rational relation for Sk,L if the following conditions are satisfied:
    (1) For each µ ∈ L′ /L we have λ(m, −µ) = λ(m, µ),
    (2) For each µ ∈ L′ /L we have λ(m, µ) = 0 for all but finitely many m ∈
           +
         P,
         Q         P
    (3)    µ∈L′ /L   m>0 λ(m, µ)cf (m,  µ) = 0 for all cusp forms f ∈ Sk,L with
         Fourier expansion f (τ ) = µ∈L′ /L m>0 cf (m, µ)q m eµ .
                                    P          P

Similarly, given a discriminant D < 0, one defines rational relations {λ(t)}t∈N
for the space of scalar-valued cusp forms Sk+ (Γ0 (|D|), χD ) as in [19, p. 316].
   We now recall the well known fact (see, e.g., [3, Theorem 1.17]) that a
sequence as in (2.5) satisfying conditions (1) and (2) above, is a rational
                                                          !
relation for Sk,L if and only if there is a form f ∈ M2−k,L     − with Fourier

coefficients af (m, µ) such that λ(m, µ) = af (−m, µ) for all m > 0 and
all µ ∈ L′ /L.
   For a prime discriminant D < 0 and the lattice L of determinant |D|, the
assignment
                         X                X
                             fµ (τ )eµ 7→      fµ (|D|τ )
                      µ∈L′ /L             µ∈L′ /L

defines a linear map Sk,L → Sk+ (Γ0 (|D|), χD ) (see [4]). This implies the
following lemma.
Lemma 2.3. Assume D < 0 is a prime discriminant and the even lat-
tice L has determinant |D|. Then, for every rational relation {λ(t)}t∈N
for Sk+ (Γ0 (|D|), χD ) the sequence λ′ (m, µ) = λ(m|D|) defines a relation
for Sk,L (that is independent of µ ∈ L′ /L).
14 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

2.5. Siegel theta functions and special points. As before, we let L
be an even lattice of signature (p, q). Let Gr(L) be the Grassmannian of
positive definite p-dimensional subspaces of V (R) = L ⊗ R. The Siegel theta
function associated to L is defined by
                               X X
         ΘL (τ, v) = Im(τ )q/2             e(Q(Xv )τ + Q(Xv⊥ )τ )eγ ,
                                γ∈L′ /L X∈L+γ

where τ ∈ H and v ∈ Gr(L), and Xv denotes the orthogonal projection of X
to v. The Siegel theta function transforms like a modular form of weight p−q 2
for ρL in τ (see [2, Theorem 4.1]) and is invariant in v under the subgroup
of O(L) fixing L′ /L.
   We call v ∈ Gr(L) a special point if it is defined over Q, that is, if there
exists v0 ⊆ L ⊗ Q such that v = v0 ⊗ R. For a special point v ∈ Gr(L)
its orthogonal complement v ⊥ in V (R) is also defined over Q and we obtain
the rational splitting L ⊗ Q = v ⊕ v ⊥ which yields the positive and negative
definite lattices
                         P = L ∩ v,       N = L ∩ v⊥.
Note that P ⊕N is a sublattice of L of finite index. The Siegel theta functions
associated to L and P ⊕ N are related by
(2.6)                            ΘL = (ΘP ⊕N )L ,
with the trace operator defined in Section 2.1. Moreover, by identifying
C[(P ⊕ N )′ /(P ⊕ N )] with C[P ′ /P ] ⊗ C[N ′ /N ] the Siegel theta function
associated to P ⊕ N splits as a tensor product
                       ΘP ⊕N (τ, v) = ΘP (τ ) ⊗ ΘN (τ ),
where
                             X       X
(2.7)           ΘP (τ ) =                     e(Q(X)τ )eγ ∈ Mp/2,P
                            γ∈P ′ /P X∈P +γ

is the usual holomorphic (vector-valued) theta series associated with P , and
                            ΘN (τ ) = Im(τ )q/2 ΘN − (τ )
with the holomorphic theta series ΘN − ∈ Mq/2,N − , where N − = (N, −Q).

        3. Vector-valued Eisenstein series and the Siegel–Weil
                                formula
   In this section, we construct vector-valued holomorphic and harmonic
Eisenstein series on positive definite lattices. The holomorphic Eisenstein
series appear in the Siegel–Weil formula, which we will state at the end of
this section. The Fourier coefficients of the harmonic Eisenstein series will
be needed for the explicit evaluation of the double traces of our Green’s
function.
   Throughout this section, we let (L, Q) denote a positive definite even
lattice of rank r ≥ 1, and L− = (L, −Q).
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE               15

3.1. Holomorphic Eisenstein series. Following [7], for k ∈ 12 Z with 2k +
r ≡ 2 (mod 4) and s ∈ C we consider the C[L′ /L]-valued non-holomorphic
Eisenstein series
                             1  X
               Ek,L (τ, s) =             (v s e0 )|k,L (M, ϕ),
                             4
                                     e ∞ \Mp (Z)
                               (M,ϕ)∈Γ      2


where Γe ∞ is the subgroup generated by T = (( 1 1 ), 1) ∈ Mp2 (Z), and |k,L
                                                  01
denotes the vector-valued slash operator defined in (2.1). Note that we
multiplied the Eisenstein series from [7] by 1/2, and we work with the Weil
representation instead of its dual.
  The Eisenstein series converges for Re(s) > 1 − k/2, transforms like a
modular form of weight k for ρL , and satisfies the Laplace equation
                    ∆k Ek,L (τ, s) = s(1 − k − s)Ek,L (τ, s).
In particular, for k > 2 the special value
                             Ek,L (τ ) = Ek,L (τ, 0)
defines a holomorphic modular form of weight k for ρL . It is normalized
such that the constant term at the e0 -component is 1.
   We will be particularly interested in the case that the weight k of the
Eisenstein series equals r/2, with small rank r. In this case, the analytic
continuation of the Eisenstein series Ek,L (τ, s) to s = 0 was proved by Rallis
(see [29, Proposition 4.3]) in the course of extending the Siegel–Weil for-
mula to lattices of small ranks. It also follows from the Siegel–Weil formula
of Rallis that the special value Ek,L (τ ) = Ek,L (τ, 0) defines a holomorphic
modular form in τ . Note that Rallis worked in an adelic setup, and consid-
ered Eisenstein series E(φ, s) associated with certain Schwartz functions φ.
However, as explained in [23, Section 4.2] or [12, Section 2.2], the compo-
nents of our classical Eisenstein series Ek,L (τ, s) are given by the Eisenstein
series E(φ, s) for suitable choices of Schwartz functions φ. Hence, we obtain
the following result.
Theorem 3.1. If k = r/2 with r ≥ 1 then Ek,L (τ, s) has an analytic con-
tinuation to s = 0, and Ek,L (τ ) = Ek,L (τ, 0) is a holomorphic modular form
of weight k for ρL .
Example 3.2. For r = 1 and k = 1/2, the Eisenstein series Ek,L (τ ) is a
holomorphic modular form of weight 1/2 for ρL , and hence a linear combi-
nation of unary theta functions (see [11, Lemma 2.1]). For instance, if we
take the rank 1 lattice L = Z with Q(x) = x2 , we have L′ /L ∼
                                                             = Z/2Z, and
                                                              2
                                           X        X
        E1/2,L (τ ) = ΘL (τ ),  ΘL (τ ) =                  q n /4 er .
                                             r (mod 2)      n∈Z
                                                         n≡r (mod 2)

                                                            P with scalar-
Note that vector-valued modular forms for ρL can be identified
valued modular forms for Γ0 (4) in the Kohnen plus space via r(2) fr (τ )er 7→
16 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

f0 (4τ ) + f1 (4τ ), and under this map the function ΘL (τ ) corresponds to the
                                               2
usual Jacobi theta function θ(τ ) = n∈Z q n .
                                      P

Example 3.3. For r = 3 and k = 3/2, the coefficients of E3/2,L (τ ) are
essentially class numbers of imaginary quadratic fields; see Remark 3.7(4).
Moreover, by the Siegel–Weil formula (see Theorem 3.9 below), E3/2,L (τ ) is
a linear combination of theta functions associated with ternary lattices in
the genus of L. For instance, if we take the ternary lattice L = Z3 with
Q(x1 , x2 , x3 ) = x21 + x22 + x23 , we have L′ /L ∼
                                                   = (Z/2Z)3 and
                                                                2   2   3
                                         X           X
E3/2,L (τ ) = ΘL (τ ), ΘL (τ ) =                            q (x1 +x2 +x )/4 e(r1 ,r2 ,r3 ) .
                                    r1 ,r2 ,r3 (mod 2) x1 ,x2 ,x3 ∈Z
                                                      xi ≡ri (mod 2)

This identity also follows from the fact that there are no non-trivial cusp
forms of weight 3/2 for ρL . Note that the e0 -component of ΘL (τ ) is just
θ3 (τ ), the third power of the Jacobi theta function. As an amusing ap-
plication of these facts, one can derive Gauss’ formula for the number of
representations as sums of three squares in terms of class numbers of imag-
inary quadratic fields; compare [38, Example 5].
   We remark that Williams [38] also investigated the vector-valued Eisen-
stein series Ek,L (τ, s) for small weights k ∈ { 21 , 1, 32 , 2}. Moreover, the
Fourier coefficients of the holomorphic Eisenstein series Ek,L (τ ) for k ≥ 3/2
can be computed numerically using Williams’ powerful WeilRep program
[40]. For instance, one can check Example 3.3 using the sageMath code
      from weilrep import *
      w = WeilRep(diagonal_matrix([-2,-2,-2]))
      print(w.cusp_forms_basis(3/2))
      print(w.eisenstein_series(3/2,prec=10))
      print(w.theta_series(prec=10))
3.2. Maass Eisenstein series. Now we turn to the construction of har-
monic Maass Eisenstein series E eκ,L− (τ ), which yield ξ-preimages of the holo-
morphic Eisenstein series Ek,L (τ ) constructed above. As before, (L, Q) de-
notes a positive definite even lattice of rank r ≥ 1.
   For κ ∈ 12 Z with 2κ + r ≡ 0 (mod 4) we put
               eκ,L− (τ, s) = 1
                                     X
               E                                (v s e0 )|κ,L− (M, ϕ),
                              4
                                         e ∞ \Mp (Z)
                                   (M,ϕ)∈Γ      2

where the slash operator |κ,L− involves the dual Weil representation ρL . The
Eisenstein series converges for Re(s) > 1 − κ/2, transforms like a modular
form of weight κ for ρL , and is an eigenform of the Laplace operator with
                        eκ,L− (τ, s) = s(1 − κ − s)E
                     ∆κ E                          eκ,L− (τ, s).
Moreover, if we put κ = 2 − k, a direct computation show that
                       e2−k,L− (τ, s) = sEk,L (1 − k + s).
                  ξ2−k E
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE              17

Hence, for k > 2, the special value
                      E               e2−k,L− (τ, k − 1)
                       e2−k,L− (τ ) = E
defines a harmonic Maass form of weight 2 − k for the dual Weil represen-
tation ρL with
                          e2−k,L− (τ ) = (k − 1)Ek,L (τ ).
                     ξ2−k E
                                             e2−k,L− (τ, s) to s = k − 1 in the
Again, if k ≤ 2 the analytic continuation of E
case k = r/2 follows from the work of Rallis [29].
Theorem 3.4. If k = r/2 with r ≥ 1 then E      e2−k,L− (τ, s) has an analytic
continuation to s = k −1, and E2−k,L− (τ ) = E2−k,L− (τ, k −1) is a harmonic
                              e              e
Maass form of weight 2 − k for ρL with
                          e2−k,L− (τ ) = (k − 1)Ek,L (τ ).
                     ξ2−k E
Example 3.5. As in Example 3.2 we take the rank 1 lattice L = Z with
Q(x) = x2 and view E   e3/2,L− (τ ) as a scalar-valued modular form for Γ0 (4)
in the Kohnen plus space. Then we obtain Zagier’s weight 3/2 Eisenstein
series
                      ∞                    ∞
     1 e              X                1 X                         2   1
                        H(n)q n + √           nΓ − 12 , 4πn2 v q −n + √ ,
                                                              
       E3/2,L− (τ ) =
    4π                               4 π                             8π v
                    n=0                   n=1
                 1
where H(0) = − 12  and H(n) for n R> 0 is the usual Hurwitz class number
                                    ∞
of discriminant −n, and Γ(s, x) = x e−t ts−1 dt is the incomplete gamma
function. This can be proved by plugging in s = −1/2 into the Fourier
expansion of the non-holomorphic Eisenstein series computed in [7, Propo-
sition 3.2] (see also the proof of Theorem 3.6 below for the Fourier expansion)
and simplifying the coefficients as in [8, Example 2].
3.3. The Fourier expansion of the Maass Eisenstein series. In this
section we recall the Fourier expansion of the non-holomorphic Eisenstein
       eκ,L− (τ, s) computed in [7], and specialize it to κ = 1/2 and lattices
series E
L of rank r = 3. Let us introduce the relevant quantities.
   For γ ∈ L′ /L, n ∈ Z − Q(γ) and a ∈ N we consider the representation
number
          Nγ,n (a) = #{x ∈ L/aL : Q(x − γ) + n ≡ 0           (mod a)}
modulo a, and the corresponding L-series
                                   ∞
                                   X
                        Lγ,n (s) =   Nγ,n (a)a−s ,
                                    a=1
which converges for s ∈ C with Re(s) ≫ 0 and has meromorphic continua-
tion to s ∈ C. Note that Nγ,n (a) is multiplicative in a, so we have an Euler
product                                    Y
                                                       −s
                   Lγ,n (s) = ζ(s − r + 1)     L(p)
                                                 γ,n (p ),
                                                p
18 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

with the local Euler factors
                                                     ∞
                                                     X
(3.1)               L(p)
                     γ,n (X) = (1 − p
                                      r−1
                                          X)               Nγ,n (pm )X m .
                                                     m=0

For n ̸= 0 these local Euler factors can be simplified as follows. For γ ∈ L′ /L
we let dγ ∈ N be the order of γ in L′ /L. Then 2dγ n is a non-zero integer,
and for a prime p we put
(3.2)                          wp = 1 + 2νp (2dγ n) ∈ N,
where νp denotes the usual p-adic valuation on Q. Then, for ν ≥ wp we have
Nγ,n (pν+1 ) = pr−1 Nγ,n (pν ), which implies that for n ̸= 0 the Euler factor
 (p)
Lγ,n (X) becomes the polynomial
                                                                  wp −1
                                                                   X
(3.3)      L(p)              wp
            γ,n (X) = Nγ,n (p )X
                                 wp
                                    + (1 − pr−1 X)                        Nγ,n (pν )X ν .
                                                                   ν=0

  The Fourier expansion of E  eκ,L− (τ, s) has been computed in [7, Section 3].
Specializing their results to κ = 1/2 and s = 1/2, we obtain the following
Fourier expansion.
Theorem 3.6 ([7]). Let L be a positive definite even lattice of rank r = 3.
We have the Fourier expansion
                   X     X
   Ee1/2,L− (τ ) =             c+ (n, γ)q n eγ
                      γ∈L′ /L n∈Z−Q(γ)
                                n≥0
                         √            X          X
                     +       ye0 +                      c− (n, γ)Γ(1/2, 4π|n|v)q n eγ ,
                                     γ∈L′ /L n∈Z−Q(γ)
                                               n<0

with coefficients
                                                                                           
                    23/2 · 3                          1  Y  (p)
  c+ (0, γ) = − p         lim ζ(4s − 1)                   L (p−1−2s ),
                                                         −1 γ,0
                   ′
                 |L /L|π s→1/2                     1 + p
                                         p|2det(L)

and, for n > 0,
               23/2 · 3
c+ (n, γ) = − p
                |L′ /L|π
                                Y 1 − χ∆ (p)p−1
              
              L(χ∆0 , 1)σγ,n                  0
                                                  −2
                                                      p−2wp Nγ,n (pwp ),                    if ∆ is not a square,
              
                                          1 −  p
                              p|2det(L)
              
            ×                                              
                               Y         1      (p) −1−2s
                lim ζ(2s)                    L (p         ) ,                              if ∆ is a square,
                                       1 + p−1 γ,n
              
              
              s→1/2
                                     p|2det(L)
       SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                19

and, for n < 0,
                23/2 · 3                       Y 1 − χ∆ (p)p−1
c− (n, γ) = − p              L(χ∆0 , 1)σγ,n               0
                                                             −2
                                                                p−2wp Nγ,n (pwp ).
                 ′
               |L /L|π   3/2                          1 −  p
                                            p|2det(L)

Here we wrote ∆ = 2d2γ ndet(L) = ∆0 f 2 with ∆0 a fundamental discriminant
and f ∈ N. Moreover, wp is defined by (3.2) and we put
                            X
                    σγ,n =     µ(d)χ∆0 (d)d−1 σ−1 ( wd )
                                   d|w

where we wrote f = ww′ with g.c.d.(w, 2det(L)) = 1 and all prime divisors
of w′ appear in 2det(L).
Proof. Let κ ∈ Z + 12 be a half-integer with 2κ + r ≡ 0 (mod 4). By [7,
Proposition 3.2 and equation (3.13)], the non-holomorphic Eisenstein series
E
eκ,L− (τ, s) has the Fourier expansion
                              X      X
              Eeκ,L− (τ, s) =              c0 (n, γ, s, v)e(nx)eγ ,
                               γ∈L′ /L n∈Z−Q(γ)

with Fourier coefficients c0 (n, γ, s, v) given by
                                                   (2κ+r)/4 Y

          s     2−κ−2s    1−κ−s Γ(κ + 2s − 1) (−1)               (p)
  δ     v   + 2        πv                                      Lγ,0 (p1−r/2−κ−2s ),   if n = 0,

    0,γ

                                               p

                               Γ(κ + s)Γ(s)         ′
                                                  |L /L|


                                                           p


  (−1)    (2κ+r)/4   κ s+κ
                   2 π |n|   s+κ−1   L(χ∆0 , 2s + κ − 1/2)
           p                       ·                       σγ,n (2s + κ)Ws (4πnv),    if n > 0,



                ′
             |L /L|Γ(s + κ)             ζ(4s + 2κ − 1)

  (−1)(2κ+r)/4 2κ π s+κ |n|s+κ−1 L(χ∆0 , 2s + κ − 1/2)




            p                     ·                       σγ,n (2s + κ)Ws (4πnv),    if n < 0,
                |L′ /L|Γ(s)             ζ(4s + 2κ − 1)


with
                             Y 1 − χ∆ (p)p1/2−s
                σγ,n (s) =                 0
                                                       L(p)
                                                        γ,n (p
                                                              1−r/2−s
                                                                      ),
                                         1 − p1−2s
                             p|∆
and with the usual Whittaker function
                   Ws (y) = |y|−κ/2 Wsgn(y)κ/2,(1−κ)/2−s (|y|).
Note that we multiplied the coefficients in [7] by 1/2. The relevant special
values of the Whittaker function are given by
                                (
                                   e−y/2 ,               if y > 0,
            W1−κ (y) = W0 (y) =      −y/2
                                   e      Γ(1 − κ, |y|), if y < 0.
   We first rewrite the coefficients of index n = 0. For the “generic” primes
                                       (p)
p ∤ 2det(L) the local Euler factors Lγ,0 (p−s ) can be computed as explained
in [39, Remark 22] (see also [38, Section 3]), and are given by
                               (p)             1 − pr−1−2s
                             Lγ,0 (p−s ) =                 ,
                                                1 − pr−2s
20 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

which implies that we can write
Y (p)                    ζ(4s + 2κ − 2)                Y       1 − p2−2κ−4s (p) 1−r/2−κ−2s
   Lγ,0 (p1−r/2−κ−2s ) =                                                   L (p            ).
 p
                         ζ(4s + 2κ − 1)                        1 − p1−2κ−4s γ,0
                                                   p|2det(L)

If we plug in r = 3, κ = 1/2, and s = 1/2, this gives the coefficients of index
n = 0 as stated above.
   For n ̸= 0 we can split the product over the primes p | ∆ into the primes
with p ∤ 2det(L) and the ones with p | 2det(L). Note that by (3.3) we have
                           L(p)
                            γ,n (p
                                   1−r
                                       ) = p(1−r)wp Nγ,n (pwp ).
For p ∤ 2det(L) the representation numbers Nγ,n (pwp ) were computed by
Siegel (see [8, Theorem 6(ii) with α = wp ]). Now we plug in r = 3, κ = 1/2,
and s = 1/2, and obtain2 as in the proof of [8, Theorem 11] that
  Y 1 − χ∆ (p)p−1                   Y                                                  
                0        (p) −2                νp (w)               −1       νp (w)−1
                       L γ,n (p ) =     σ−1  (p       ) − χ ∆0 (p)p    σ−1 (p         )
             1 − p−2
   p|∆                                       p|w
p∤2det(L)
                                           X
                                       =           µ(d)χ∆0 (d)d−1 σ−1 ( wd ) = σγ,n .
                                             d|w

                                                        1−χ∆0 (p)p−1
Note that for ∆0 = 1 we have σγ,n = 1 and                 1−p−2
                                                                     = 1+p1 −1 . This gives
the formula in the theorem.                                                              □
Remark 3.7.      (1) The coefficients with non-square ∆ can be further sim-
      plified using Dirichlet’s class number formula
                            
                             log ε
                                √ ∆0 h(∆0 ),      if ∆0 > 0,
                                  ∆0
               L(χ∆0 , 1) =         2π
                                    √   h(∆0 ), if ∆0 < 0,
                                    ω(∆0 )     |∆0 |
                                                         √
        where h(∆0 ) denotes the class number of Q( ∆0 ), ω(∆0 ) ∈ {2, 4, 6}
        is the number of units, and ε∆0 denotes the smallest totally positive
        unit larger than 1.
    (2) Since L is positive definite, there exists at least one prime p | 2det(L)
        such that L ⊗ Qp is anisotropic. If ∆ = 2d2γ ndet(L) is a square
        (including n = 0), this implies Nγ,n (pm ) = 0 for m large enough,
                 (p)
        hence Lγ,n (p−1−2s ) vanishes at s = 1/2; see (3.1). The zero of this
        factor at s = 1/2 cancels out with the pole of the Riemann zeta
        function and contributes with a rational multiple of log(p). More-
                                            (p)
        over, from (3.3) it follows that Lγ,n (p−2 ) is rational when n ̸= 0 for
                                                              (p)
        all primes p. In general, it is well known that Lγ,n (p−s ) (including
        n = 0) can be written in terms of the local Igusa zeta function as-
        sociated with a quadratic polynomial, and hence, by a fundamental
   2In the notation of [8, Theorem 6(ii)] we have D = ∆ w ′2 , hence for primes p ∤ 2det(L)
                                                               0
we get χD (p) = χ∆0 (p).
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                21

        result of Igusa, it is a rational function in p−s (see, e.g., [14]). This
        implies that the limits lims→1/2 (. . .) appearing in the above coef-
                                                       (p)
        ficients are rational multiples of log(p) if Lγ,n (p−1−2s ) vanishes at
        s = 1/2, and equal to 0 if there are two such primes.
   (3) Summarizing, the coefficients c+ (n, γ) are of the form
                √                          (           √
 +                 2                         log(ε∆0 )/ ∆0 , if ∆ is not a square,
c (n, γ) = p            ×rational number×
               |L′ /L|π                      log(p),           if ∆ is a square,

       for some prime p | 2det(L) in the square case.
                  e1/2,L− = 1 E3/2,L and applying the ξ-operator term-wise
   (4) Using ξ1/2 E          2
       to the above Fourier expansion, we see that the coefficients of the
       holomorphic Eisenstein series E3/2,L are essentially given by class
       numbers of imaginary quadratic fields.
   (5) Rhoades and Waldherr [30] constructed a scalar-valued weight 1/2
       harmonic Maass form which maps to θ3 under the ξ-operator. By
       choosing L = Z3 with Q(x1 , x2 , x3 ) = x21 + x22 + x23 and taking the
       e0 -component of Ee1/2,L− (τ ), we recover the results of [30].

3.4. The Siegel–Weil formula. As before, we let (L, Q) be a positive
definite even lattice of rank r ≥ 1. Moreover, we let W = L ⊗ Q be the
surrounding rational quadratic space, and we let H = SO(W ) be its special
orthogonal group, viewed as an algebraic group over Q. Denoting by Af
the ring of finite adeles of Q, we have the C[L′ /L]-valued theta function on
H × H(Af ) defined by
                                 X      X
(3.4)               ΘL (τ, h) =               e(Q(X)τ )eγ .
                               γ∈L′ /L X∈h(L+γ)

It is a holomorphic modular form of weight k = r/2 for the Weil represen-
tation ρL .
Remark 3.8. For h = 1 this is the usual holomorphic theta function ΘL (τ )
associated with L defined by (2.7). More generally, we can view ΘL (τ, h)
as a theta function corresponding to a lattice in the same genus as L: If we
write h = (hp ) with hp ∈ H(Qp ), T and Lp = L ⊗ Zp , then H(Af ) acts on
lattices in the genus of L by hL = p hp Lp ∩ W . Since (hL)′ /(hL) ∼  = L′ /L
(non-canonically), we can view ΘhL (τ ) as a modular form for ρL . Moreover,
if we denote by O(L′ /L) the orthogonal group of the finite quadratic module
(L′ /L, Q mod Z), then there is an isometry σ ∈ O(L′ /L), depending on the
choice of the isomorphism (hL)′ /(hL) ∼= L′ /L, such that
                              ΘL (τ, h) = ΘσhL (τ ),
where O(L′ /L) acts on C[L′ /L]-valued functions by f σ (τ ) = γ fγ (τ )eσ(γ) .
                                                              P

This means that, up to a possible permutation of the components, ΘL (τ, h)
can be viewed as the theta function corresponding to the lattice hL.
22 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

   We state the Siegel–Weil formula in our setup. We refer the reader to [22,
Theorem 4.1] for the general formula. It can be translated into our notation
as explained in [12, Section 2.2].
Theorem 3.9 (Siegel–Weil). Let L be a positive definite even lattice of rank
r ≥ 1, and let k = r/2. Then we have
                    Z
                               ΘL (τ, h)dh = 2Ek,L (τ ),
                      H(Q)\H(Af )

where dh is the Tamagawa measure on H(Af ) normalized such that we have
vol(H(Q)\H(Af )) = 2, and Ek,L (τ ) is the holomorphic Eisenstein series of
weight k for ρL defined in Section 3.1.
   The following well known result (see, e.g., [31, Lemma 2.13]) allows us
to write the integral in the Siegel–Weil formula as a finite sum. We give a
proof for the convenience of the reader.
Lemma 3.10. Let K ⊂ H(Af ) be a compact open subgroup and let f (h) be
a function on H(Q)\H(Af ) which is K-invariant from the right. Then we
have      Z                               X           1
                        f (h)dh = vol(K)                  f (α)
            H(Q)\H(Af )                             |Γα |
                                            α∈H(Q)\H(Af )/K

where Γα   = H(Q) ∩ (αKα−1 ) and
                                                          −1
                                         X              1 
                   vol(K) = 2                                   .
                                                      |Γα |
                                    α∈H(Q)\H(Af )/K

Proof. We have a finite disjoint double coset decomposition
                                    [
                    H(Af ) =                  H(Q)αK,
                               α∈H(Q)\H(Af )/K

so we can write the integral as
          Z                                X           Z
                       f (h)dh =                                 f (h)dh.
             H(Q)\H(Af )             α∈H(Q)\H(Af )/K    Γα \αK

Since Γα is finite and f is invariant under K, we have
           Z                       Z
                                1                         1
                    f (h)dh =          f (h)dh = vol(K)       f (α).
             Γα \αK           |Γα | αK                  |Γα |
This gives the stated formula. In order to compute vol(K), apply the lemma
to f (h) = 1.                                                            □
Example 3.11. Let us rewrite the integral in the Siegel–Weil formula as
a finite sum over lattices in the genus of L of symmetrized theta functions.
We choose as K the compact open subgroup
                         e = {h ∈ H(Af ) : hL = L},
                         U
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                23


the stabilizer of L in H(Af ). The map sending α ∈ H(Q)\H(Af )/U         e to
the isometry class M of αL is a bijection between H(Q)\H(Af )/U     e and the
set gen(L) of isometry classes of lattices in the genus of L. Moreover, we
have Γα = SO(αL) = SO(M ), where SO(M ) = H(Q) ∩ U            e . However, we
cannot directly apply Lemma 3.10 since U   e might act non-trivially on L′ /L,
                              e -invariant. To circumvent this problem, we
so ΘL (τ, h) is not generally U
note that the symmetrized theta function
                                    1
                  Θsym
                                             X
                    L (τ, h) =                     ΘσL (τ, h)
                               |O(L′ /L)|      ′
                                          σ∈O(L /L)

   e -invariant, so by Lemma 3.10 and Remark 3.8 we can write
is U
      Z
                                                       1 sym
                    Θsym
                                           X
                     L (τ, h)dh = vol(U )                 Θ (τ, α)
                                      e
        H(Q)\H(Af )                                  |Γα | L
                                         α∈H(Q)\H(Af )/U
                                                       e

                                       2                     1
                                                                  Θsym
                                                X
                               =                                       (τ ),
                                    mass(L)               |SO(M )| M
                                              M ∈gen(L)
                  P            1
where mass(L) = M ∈gen(L) |SO(M   )| is the mass of the genus of L. Now by
the Siegel–Weil formula and the symmetry of the Eisenstein series Ek,L we
obtain
                      1
                                     Θsym
                              X
(3.5)                                  M (τ ) = Ek,L (τ ),
                   mass(L)
                             M ∈gen(L)

where k = r/2. Here we had identified M ′ /M ∼  = L′ /L for each M ∈ gen(L),
but the sum on the left-hand side is independent of the choice of such iso-
morphisms due to the symmetrization over O(L′ /L).
                                                P formula is usually stated
   Finally, we remark that the classical Siegel–Weil
for the scalar-valued theta function θL (τ ) = x∈L e(Q(x)τ ), which is just
the e0 -component of ΘL (τ ). If we take the e0 -component on both sides of
(3.5), and use that any σ ∈ O(L′ /L) fixes e0 , we obtain the scalar-valued
Siegel–Weil formula
                   1       X          1
                                            θM (τ ) = Ek,L,0 (τ ),
                mass(L)           |SO(M )|
                        M ∈gen(L)

where Ek,L,0 (τ ) denotes the e0 -component of Ek,L (τ ), which is a scalar-
valued Eisenstein series for some congruence subgroup.

       4. Traces of special values of the Green’s function
4.1. The trace of the Green’s function as a theta lift. In this section
we show that the traces of the Green’s function Gs (P1 , P2 ) defined in (1.1)
can be obtained as a regularized theta lift on a lattice of signature (1, 3).
24 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

4.1.1. The orthogonal
               √      model of hyperbolic 3-space. We fix an imaginary qua-
dratic field Q( D) of fundamental
                         √          discriminant D < 0. We let OD be its
ring of integers and dD = DOD be its different. We consider the lattice
                                                      
                               a b
(4.1)              L= X=              : a, c ∈ Z, b ∈ OD
                               b c
with the quadratic form
                              Q(X) = det(X) = ac − |b|2
and corresponding bilinear form
                         (X1 , X2 ) = a1 c2 + a2 c1 − tr(b1 b2 ).
It is an even lattice of signature (1, 3), with dual lattice
                                                          
                    ′            a b                      −1
                   L = X=                : a, c ∈ Z, b ∈ dD .
                                 b c
In particular, we have
                                     L′ /L ∼
                                           = d−1
                                              D /OD .
The group Γ = PSL2 (OD ) acts on L via γ.X = γXγ t , fixing  the classes of
 ′                                               ab        ′
                                                     
L /L. Note that we may identify the elements X = b c ∈ L with integral
binary hermitian forms
                       [a, b, c](x, y) = a|x|2 + tr(bxy) + c|y|2
of determinant ac − |b|2 = Q(X), and this identification is compatible with
the corresponding actions3 of Γ.
   The Grassmannian Gr(L) corresponding to L is the set of all positive
definite lines in V (R) = L ⊗ R. We can identify the hyperbolic 3-space H3
with Gr(L) by mapping P = z + rj ∈ H3 to the positive line Rv(P ) ∈ Gr(L)
spanned by the vector
                                    2
                                    r + |z|2 z
                                                
                               1
(4.2)                v(P ) = √                    ∈ V (R).
                               2r      z      1
Conversely,   each positive line in Gr(L) is spanned by some vector X =
 ab
      
  b c
        ∈ V (R) with Q(X) = det(X) > 0. If we put
                                     p
                                 b     det(X)
(4.3)                    PX = +               j ∈ H3 ,
                                 c      |c|
                                            p          −1
then one can check that v(PX ) = sgn(c) 2det(X) X, so v(PX ) spans
the given positive line. We call PX the point corresponding to X, and if
X ∈ V (Q) is a rational vector, we call PX a special point.
   Recall that the hyperbolic distance d(P1 , P2 ) on H3 is given by
                      |z1 − z2 |2 + r12 + r22
cosh(d(P1 , P2 )) =                           ,         where Pi = zi +ri j for i ∈ {1, 2}.
                             2r1 r2
  3Γ acts on hermitian forms via (γ[a, b, c])(x, y) = [a, b, c]((x, y) · γ).
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                               25

   The bilinear form on V (R) can be expressed in terms of the hyperbolic
distance as follows.
Lemma 4.1. Given X1 , X2 ∈ V (R) with D1 = Q(X1 ) > 0 and D2 =
Q(X2 ) > 0, and corresponding points P1 , P2 ∈ H3 , we have
                                       p
             (X1 , X2 ) = 2 sgn(c1 c2 ) D1 D2 · cosh(d(P1 , P2 )).
Proof. By definition we have
                      (X1 , X2 ) = a1 c2 + a2 c1 − tr(b1 b2 ).
One the other hand, using the explicit formula for the points P1 , P2 from
(4.3), we have
                                2
                      b1   b2
                      c1 − c2       + Dc21 + Dc22                   a1 c2 + a2 c1 − tr(b1 b2 )
cosh(d(P1 , P2 )) =         √       √ 1        2
                                                    = sgn(c1 c2 )           √                  .
                          2 |cD1 |1 |cD2 |2                                2 D1 D2

This gives the stated formula.                                                                □

4.1.2. Traces of Γ-invariant functions on H3 . For µ ∈ L′ /L and m ∈ Z +
Q(µ) we let
                      Lm,µ = {X ∈ L + µ, Q(X) = m}.
                                                     ab
If m > 0, we let L+
                                                        
                    m,µ the subset of those X = b c ∈ Lm,µ with a > 0
(or, equivalently, c > 0). Note that the elements X ∈ L+      m,µ correspond
to positive definite binary hermitian forms [a, b, c] of determinant m with
b ∈ OD + µ. For m > 0 and a Γ-invariant function f on H3 , we define its
trace of index (m, µ) by
                                    X       1
                      trm,µ (f ) =              f (PX ).
                                       +
                                          |ΓX |
                                        X∈Γ\Lm,µ

Here ΓX denotes the stabilizer of X in Γ. Clearly, we have
                        X        1             X
            trm (f ) =               f (PX ) =      trm,µ (f ),
                             +
                               |ΓX |             ′
                         X∈Γ\Lm                          µ∈L /L

where L+m is defined in (1.3).
  We call X ∈ L′ primitive if 1r X ∈/ L′ for every integer r > 1, and we let
L+,0                    +
 m,µ be the subset of Lm,µ consisting of primitive vectors. Correspondingly,
we define the primitive trace of index (m, µ) by
                                    X         1
                      tr0m,µ (f ) =              f (PX ).
                                        +,0
                                            |ΓX|
                                        X∈Γ\Lm,µ

Each X ∈ L+ m,µ can be written in a unique way as X = rX0 for some
r ∈ N and a primitive X0 ∈ L′ with a > 0. Then we have PX = PX0 and
ΓX = ΓX0 . Since DQ(X) ∈ Z for any X ∈ L′ , we must have r2 | Dm.
26 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Moreover, if X0 ∈ L + ν, then we necessarily have rν = µ in L′ /L. Hence,
we can write
                                X X
                   trm,µ (f ) =           tr0m/r2 ,ν (f ).
                                           r∈N ν∈L′ /L
                                          r2 |Dm rν=µ

Conversely, using an inclusion-exclusion argument, we see that the primitive
trace tr0m,µ (f ) can be written as an integral linear combination of the traces
trm/r2 ,ν (f ), for r ∈ N with r2 | Dm and ν ∈ L′ /L with rν = µ.

4.1.3. Green’s functions and theta lifts. We let ΘL (τ, v) be the Siegel theta
function on H × Gr(L) as in Section 2.5. Using the identification H3 ∼      =
Gr(L), P 7→ v = Rv(P ), given by (4.2), we can view

                                ΘL (τ, P ) = ΘL (τ, Rv(P ))

as a function on H × H3 . It is Γ-invariant in P , and since L has signature
(1, 3), it transforms like a modular form of weight −1 for the Weil represen-
tation ρL in τ .
                                                        cusp
   Let n ∈ N0 . For a harmonic Maass form f ∈ H1−2n,L           − of weight 1 − 2n

for the dual Weil representation ρL , we define the regularized theta lift
                                 Z reg
                (1−2n)                  n
                                              
               ΦL      (f, P ) =       R1−2n f (τ ) · ΘL (τ, P )dµ(τ ),
                                      F

where the integral over the fundamental domain F for SL2 (Z) is regularized
as explained by Borcherds [2] or Bruinier [3], the product in the integral is
the bilinear pairing on C[L′ /L], and dµ(τ ) is the invariant measure on H.
   For n ∈ N0 , µ ∈ L′ /L and m ∈ Z + Q(µ) with m > 0 we let F1−n,m,µ (τ, s)
be the weight 1 − n Maass Poincaré series for ρL defined in Section 2.2 (for
the lattice L− ).

Theorem 4.2. For n ∈ N0 , µ ∈ L′ /L and µ ∈ Z + Q(µ) with m > 0 and
Re(s) > 1 we have
   (1−2n)                                              2                          
  ΦL        (F1−2n,m,µ ( · , s), P ) = Cn (s)              √ trm,µ G2s−1 ( · , P ) ,
                                                πΓ(s + 1/2) m
with the constant Cn (s) = (4πm)n (s + 1/2 − n)(s + 1/2 − n + 1) · · · (s − 1/2)
for n > 0 and C0 (s) = 1.

Proof. Using Lemma 2.1 we see that
              (1−2n)                                      (1)
            ΦL         (F1−2n,m,µ ( · , s), P ) = Cn (s)ΦL (F1,m,µ ( · , s), P ),

so it suffices to show the result for n = 0. Then the theta lift can be
computed by unfolding against the Poincaré series as in [3, Theorem 2.14].
We need to apply this theorem to the lattice L− = (L, −Q), which has
        SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                    27

                                          +   −
signature (3, 1), and with weight k = b −b
                                        2  = 1. Then we obtain
    (1)
  ΦL (F1,m,µ ( · , s), P )
                                                                 
            2Γ(s)        X
                                        −s          1       m
   =                          (4πQ(Xv )) 2 F1 s, s + , 2s;         ,
     Γ(2s) · (4πm)1/2−s X∈L+µ                       2      Q(Xv )
                             Q(X)=m

where we put v = Rv(P ) for brevity. Since (v(P ), v(P )) = 1, we have
                                            
                           (X, v(P ))            1
            Q(Xv ) = Q                  v(P ) = (X, v(P ))2 .
                         (v(P ), v(P ))          2
Hence, using Lemma 4.1, we can write Q(Xv ) = m cosh(d(P, PX ))2 . More-
over, the hypergeometric function simplifies to
                                             √
                                 
                        1
(4.4)        F
            2 1  s, s +   , 2s; x   = 22s−1 ( 1 − x + 1)1−2s (1 − x)−1/2 .
                        2
Combining these two facts, we obtain after a short computation
(4.5)
                         
            1       m
 2 F1 s, s + , 2s;          = 22s−1 cosh(d(P, PX ))2s φ2s−1 (cosh(d(P, PX ))),
            2      Q(Xv )
where φs is defined by (1.2). Taking everything together, we arrive at
   (1)                          22s Γ(s)      X
 ΦL (F1,m,µ ( · , s), P ) =              1/2
                                                   φ2s−1 (cosh(d(PX , P ))).
                            Γ(2s) · (4πm)    X∈L+µ
                                              Q(X)=m
                                                                                2s
                                                             Γ(s)
By the duplication formula for the Gamma function we have 2Γ(2s)  =
   √
  2 π
Γ(s+1/2) .Splitting the sum modulo Γ, and replacing X with −X if a < 0,
gives the stated formula.                                            □
   Next we recall that for n ≥ 1 the function F1−2n,m,µ (τ ) = F1−2n,m,µ τ, n + 12
                                                                                          
defines a harmonic Maass form of weight 1 − 2n for ρL with principal part
q −m (eµ +e−µ ). As an application of Theorem 4.2 we obtain the next theorem
which is the main result of this section.
Theorem 4.3. Let µ ∈ L′ /L and m ∈ Z + Q(µ) with m > 0. For n ≥ 1 we
have
        (1−2n)                           2
               (F1−2n,m,µ , P ) = (4πm)n √ trm,µ G2n ( · , P ) .
                                                              
       ΦL
                                        π m
Proof. One can show, as in the proof of [3, Proposition 2.11], that
(4.6)
                                                                                
  (1−2n)                                    (1−2n)                             1
 ΦL      (F1−2n,m,µ ( · , s), P ) s=n+ 1 = ΦL            F1−2n,m,µ       ·,n +    ,P .
                                      2                                        2
Here we use that n ≥ 1, so F1−2n,m,µ ( · , s) converges at s = n + 12 . Now the
theorem follows from (4.6) and Theorem 4.2.                                  □
28 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Remark 4.4. It would be interesting to extend Theorem 4.3 to n = 0. How-
ever, one would need to show that F1,m,µ ( · , s) has an analytic continuation
to s = 1/2, and that (4.6) still holds, which seem to be difficult problems.
4.2. Splitting of the Siegel theta function at special points.
                              group. We let L be the lattice of integral bi-
4.2.1. The special orthogonal √
nary hermitian forms over Q( D) defined in (4.1), with the quadratic form
Q(X) = det(X). We let
                                                          √
                                                           
                                  a b
           V =L⊗Q= X =                  : a, c ∈ Q, b ∈ Q( D)
                                   b c
be the surrounding rational quadratic space, and G = SO(V ) the corre-
sponding special orthogonal group. As usual, there is a short exact sequence
                           1 → Gm → GSpinV → G → 1
of algebraic groups over Q, where GSpinV denotes the general spinor group
associated to V , and Gm is the multiplicative group.
   For an integral domain R of characteristic zero√ we consider the commu-
tative ring OD ⊗ R = R ⊕ RωD , where ωD = D+2 D . On OD ⊗ R there is a
                                                         √         √
unique R-linear involution denoted by z 7→ z satisfying D = − D, which
induces an involution on the group GL2 (OD ⊗ R). Note that OD ⊗ R is an
integral domain if and only if D is not a square in R.
   A study of the Clifford algebra associated to (V, Q) (see, e.g., [32, Chap-
ter 1]) shows that, for any field extension F of Q, we have
(4.7)         GSpin (F ) =∼ {g ∈ GL2 (OD ⊗ F ) : det(g) ∈ F × },
                   V
with spinor norm ν corresponding to det(g). Moreover, the action of GSpinV (F )
on V ⊗ F corresponds to
                                     1
                           g.X =          gXg t .
                                   det(g)
Hence, we get
            = GSpin (F )/F × ∼
(4.8) G(F ) ∼          V     = {g ∈ GL2 (OD ⊗ F ) : det(g) ∈ F × }/F × .
  We now consider the compact open subgroup
                   e = {g ∈ G(Af ) : gL = L} ⊂ G(Af )
                   U
and its subgroup
                       e : g fixes the classes in L′ /L}.
              U = {g ∈ U
          e =Q U
Note that U
                           Q
               p p and U =    p Up where
                e
             ep = {gp ∈ G(Qp ) : gp Lp = Lp } and
             U
                        ep : gp fixes the classes in L′p /Lp },
             Up = {gp ∈ U
with Lp = L ⊗ Zp and L′p = L′ ⊗ Zp .
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                   29

   For the rest of this section we assume that D < 0 is a prime discriminant,
and denote by ℓ the unique prime dividing D. We then define
                             √
                       1√+ −1, if D = −4,
                       
                zD =       −2,       if D = −8,
                       √
                       
                           −ℓ,       if D = −ℓ, ℓ ≡ 3 (mod 4),
                       
and put gD = z0D z0D as an element of GSpinV (Q) according to (4.7). We
let TD denote the image of gD under the natural map GSpinV (Q) → G(Q).
A straightforward computation shows that TD ∈ U     eℓ and that TD induces an
                     ′
automorphism of Lℓ /Lℓ of order two.
Lemma 4.5. For every prime p we have
           Up ∼
              = {g ∈ GL2 (OD ⊗ Zp ) : det(g) ∈ Z× }/Z× .  p     p

                                         eℓ = Uℓ ∪ TD Uℓ .
                  ep = Up if p ̸= ℓ, and U
Moreover, we have U
Proof. It is easy to check that every element in {g ∈ GL2 (OD ⊗Zp ) : det(g) ∈
Z×p } acts on V (Qp ) as a transformation in Up . In order to prove the converse,
let T ∈ Up . By (4.8) we have that T is induced by the action of a matrix
g ∈ GL2 (OD ⊗ Qp ) with det(g) ∈ Q×     p . By multiplying g by an appropriate
power of p we can assume that g ∈ M2 (OD ⊗ Zp ) \ pM2 (OD ⊗ Zp ). Then
det(g) ∈ pm Z× p for some integer m ≥ 0. We claim that m = 0. Indeed, using
the Zp -basis
                                                    
                       1 0       0 0       0 1      0 ωD
                              ,       ,         ,
                       0 0       0 1       1 0     ωD 0
of Lp , we see that gLp g −1 is generated over Zp by
                                           
    αα αγ         ββ βδ        αβ + βα βγ + αδ
               ,            ,                      ,
    γα γγ         δβ δδ        γβ + δα δγ + γδ
                                                                     
                                          ωD αβ + ωD βα ωD βγ + ωD αδ
                                                                        .
                                          ωD γβ + ωD δα ωD δγ + ωD γδ
Since gLp g −1 = det(g)Lp , if follows that these four matrices have all their co-
efficients
         in pm OD ⊗ Z
                      p . We distinguish three cases according to the value of
 D
 p    . First, assume D   p  = −1. Then OD ⊗ Zp = Zp [ωD ] is a quadratic un-
ramified extension of Zp with maximal ideal pZp [ωD ]. Since zz ∈ pm Zp [ωD ]
for all z ∈ {α, β, γ, δ}, we have α, β, γ,     m
                                          δ ∈ p Zp [ωD ]. Since g ̸∈ pM2 (Zp [ωD ])
we get m = 0. Now, assume D       p    = 0, i.e. p = ℓ. Then Zp [ωD ] is a
quadratic ramified extension of Zp with maximal ideal zD Zp [ωD ]. Since
zz ∈ zD2m Z [ω ] for all z ∈ {α, β, γ, δ}, we have α, β, γ, δ ∈ z m Z [ω ] =
           p D                                                   D p D
  m
zD Zp [ωD ]. But then g = gD  m h for some matrix h ∈ GL (Z [ω ]) with
                                                              2  p D
det(h) ∈ Z× p . Since g and h act as transformations in Uℓ and gD does
not, we must have m even. This implies α, β, γ, δ ∈ pm/2 Zp [ωD ]. Since
30 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT
                                                                
                                                                D
g ̸∈ pM2 (Zp [ωD ]) we get m = 0, as before. Finally, assume    p    = 1. Using
that p ∤ D we deduce from the generators of gLp g −1computed
                                                             above, that
        m                                             D
zw ∈ p OD ⊗ Zp for all z, w ∈ {α, β, γ, δ}. Since p = 1, there exists
ζ ∈ Zp such that ζ 2 = D, and the map pm OD ⊗ Zp → Zp × Zp given by
                                                           
                                             D+ζ        D−ζ
(4.9)      z = x + yωD 7→ (z1 , z2 ) = x + y     ,x + y
                                              2          2
is a ring isomorphism. We then have (z1 w2 , z2 w1 ) ∈ pm (Zp × Zp ) for all
z, w ∈ {α, β, γ, δ}. If zi ∈ Z× p for some index i ∈ {1, 2} and some z ∈
{α, β, γ, δ}, then we get wj ∈ pm Zp for the other index j ∈ {1, 2}, j ̸= i,
for all w ∈ {α, β, γ, δ}. In particular αj δj − βj γj ∈ p2m Zp . But det(g) =
αδ − βγ ∈ Zp , hence its image under (4.9) lies in the diagonal subring of
Zp × Zp . This implies det(g) ∈ p2m Z×   p , which is only possible for m = 0.
This proves that m = 0 in all possible cases, and completes the proof of the
first statement.
   Regarding the second statement, for p ̸= ℓ we have L′p = Lp and the result
follows. The case p = ℓ follows from the arguments used in the previous
paragraph since any T ∈ U  eℓ is in Uℓ , hence it acts as a matrix of the form
gD h where m ≥ 0 is an integer and h ∈ GL2 (OD ⊗ Zp ) with det(h) ∈ Z×
  m
                                                                             p.
Since h defines a transformation in Uℓ and gD defines the transformation
TD with TD2 ∈ Uℓ , we get U eℓ = Uℓ ∪ TD Uℓ as wanted. This completes the
proof.                                                                       □
  We now prove the following approximation result.
Lemma 4.6. We have G(Af ) = G(Q)U .
Proof. The number of double cosets in
                               G(Q)\G(Af )/U
                                           e

is equal to the number of classes in the genus of L. Since L is indefinite of
determinant D, and D is a prime discriminant, we have by [13, Chapter 15,
Theorem 21] that the genus of L consist of a single class, thus
                                           e.
                              G(Af ) = G(Q)U
                      e = U ∪ TD U . Since TD ∈ G(Q) we conclude that
From Lemma 4.5 we get U
                    G(Af ) = G(Q)(U ∪ TD U ) = G(Q)U,
as claimed.                                                                  □
  We let
                               ΓU = G(Q) ∩ U,
which is a discrete subgroup of G(Q). From Lemma 4.5 it follows that
                 ΓU ∼
                    = {g ∈ GL2 (OD ) : det(g) = ±1}/{±1}.
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE             31

Remark 4.7. Since an element in {g ∈ GL2 (OD ) : det(g) = ±1} of determi-
nant −1 can be written as g = εg0 with ε = −1   0 and g ∈ SL (O ), we
                                                  
                                             0 1         0     2   D
have
          {g ∈ GL2 (OD ) : det(g) = ±1} = SL2 (OD ) ∪ SL2 (OD )ε,
as a disjoint union. Also note that ε acts on V (Q) by
                                             
                             a b        −a b
                                   7→            .
                             b c         b −c
Hence, we have
                                           0,+
                            ΓU \L0m,µ = Γ\Lm,µ ,
where the + indicates that we only take the positive definite (i.e. a > 0)
hermitian forms in L0m,µ (recall that Γ = PSL2 (OD ) and L0m,µ denotes the
set of all X ∈ L + µ with Q(X) = m which are primitive in L′ ). Moreover,
for every X ∈ V (Q) the stabilizers subgroups ΓX and ΓU,X = {α ∈ ΓU :
αX = X} satisfy |ΓX | = |ΓU,X |.

Lemma 4.8. For any fixed X0 ∈ L0m,µ we have

                            L0m,µ = V (Q) ∩ U X0 .

Proof. Since U preserves L and fixes the classes of L′ /L, we have V (Q) ∩
U X0 ⊆ L0m,µ . Conversely, given b0 ∈ µ, for each prime p we will show that
any point
                                      
                                   a b
                            X=            ∈ L0m,µ
                                   b c
can be transformed into the “principal form”
                                   
                              1 b0
                                      ∈ L0m,µ ,
                              b0 ∗

(where ∗ is uniquely determined from det(X0 ) = m) using a transformation
in G(Q) ∩ Up . First, since X is primitive in L′ , we can act by some element
in PSL2 (OD ) ⊂ G(Q) ∩ Up to assume that a is coprime to p. Indeed, if a
is already coprime to p then there is nothing to prove. If c is coprime to p,
we can act by 01 −1                                                      1z
                   0 . If a and c are divisible by p, then acting by ( 0 1 ),
with z ∈ OD , transforms the a-component of X to a + tr(zb) + c|z|2 . If this
number were divisible by p for all z ∈ OD , then we would have b/p ∈ d−1 ,
hence p1 X ∈ L′ . This contradicts the fact that X is primitive in L′ . Now,
                                
since p ∤ a, the matrix 1/a 0 1
                               0
                                   acts as a transformation in G(Q) ∩ Up (by
Lemma 4.5) with
                                                
                             1/a 0            1 b
                                      .X =           .
                              0 1             b ac
32 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT
                                
Finally, for β ∈ OD the matrix β1 01 also acts as a transformation in
G(Q) ∩ Up , with
                                            
                    1 0    1 b        1     b+β
                         .       =                .
                    β 1    b ac      b+β      ∗
Hence, by choosing β = b0 − b ∈ OD , we arrive at the desired principal form.
This completes the proof of the lemma.                                     □

  From now on, we fix some primitive X0 ∈ L0m,µ . We let
                         H = {g ∈ G : gX0 = X0 }
be the stabilizer of X0 in G, which can be identified with SO(W ) where
W = (QX0 )⊥ is a negative definite three-dimensional rational quadratic
space. In H(Af ) we have the compact open subgroup
                              K = H(Af ) ∩ U.
Since G(Af ) = G(Q)U and H(Af ) ⊂ G(Af ), every element h ∈ H(Af ) ⊂
G(Af ) can be written as a product h = gu for some g ∈ G(Q) and u ∈ U .
The following bijection, that we extract from [33], allows us to translate
the set Γ\L0m,µ into an adelic setting. Recall that ΓU = G(Q) ∩ U and
ΓU,X = {α ∈ ΓU : αX = X} is the stabilizer of a point X ∈ V (Q) in ΓU .
Theorem 4.9. We have a bijection
                    H(Q)\H(Af )/K        →    ΓU \L0m,µ ,
                              h = gu     7→   g −1 X0 .
Moreover, if we let Γh = H(Q) ∩ hKh−1 then we have |Γh | = |ΓU,g−1 X0 |.
Proof. Since U ⊂ G(Af ) is open and compact, the map
(4.10)
   H(Q)\(H(Af ) ∩ G(Q)U )/(H(Af ) ∩ U ) → (G(Q) ∩ U )\(V (Q) ∩ U X0 )
                                   h = gu 7→ g −1 X0 ,
is a bijection by [33, Theorem 2.2(ii)]. By Lemma 4.6 we have G(Af ) =
G(Q)U and hence H(Af ) ∩ G(Q)U = H(Af ). Thus the left-hand side in
(4.10) is H(Q)\H(Af )/K. Moreover, by Lemma 4.8 we have
                  (G(Q) ∩ U )\(V (Q) ∩ U X0 ) = ΓU \L0m,µ ,
This gives the stated bijection. We leave it to the reader to verify that the
map
                       Γh → ΓU,g−1 X0 , β 7→ g −1 βg
is a bijection.                                                            □

  We obtain the following splitting of the trace of the theta function.
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                 33

Theorem 4.10. Fix a point X0 ∈ L0m,µ , and define sublattices
                     P = L ∩ QX0 ,         N = L ∩ (QX0 )⊥ ,
which are one-dimensional positive definite and three-dimensional negative
definite, respectively. Let N − = (N, −Q). Then we have
                                                                         L
           tr0m,µ (ΘL (τ, · )) = tr0m,µ (1) · ΘP (τ ) ⊗ E3/2,N − (τ )v 3/2 ,
where ΘP (τ ) is the weight 1/2 holomorphic theta function for P and E3/2,N − (τ )
is the weight 3/2 holomorphic Eisenstein series for N − , and the superscript
L denotes the operator defined in Section 2.1.
Proof. Using Remark 4.7 and the bijection from Theorem 4.9, we can write
the left-hand side as
                      X       1                     X          1
tr0m,µ (ΘL (τ, · )) =               ΘL (τ, PX ) =                  ΘL (τ, P0 , h),
                        0
                           |Γ U,X |                          |Γ h|
                     X∈ΓU \Lm,µ                         h∈H(Q)\H(Af )/K

where P0 ∈ H3 is the special point corresponding to X0 , and
                            X      X
 ΘL (τ, P0 , h) = Im(τ )3/2              e(Q(Xv(P0 ) )τ + Q(Xv(P0 )⊥ )τ )eµ .
                            µ∈L′ /L X∈h(L+µ)

Since K = H(Af )∩U acts trivially on L′ /L, the function f (h) = ΘL (τ, P0 , h)
on H(Q)\H(Af ) is invariant under K from the right, so Lemma 3.10 leads
to
                                              Z
        X         1                        1
                       ΘL (τ, P0 , h) =                    ΘL (τ, P0 , h)dh.
                 |Γh |                  vol(K) H(Q)\H(Af )
   h∈H(Q)\H(Af )/K

By (2.6) the theta functions for L and P ⊕ N are related by
                        ΘL (τ, P0 , h) = ΘP ⊕N (τ, P0 , h)L .
Note that the operator f 7→ f L commutes with the integral, so we get
     Z                             Z                              !L
                ΘL (τ, P0 , h)dh =             ΘP ⊕N (τ, P0 , h)dh .
      H(Q)\H(Af )                         H(Q)\H(Af )

Next, we use the splitting
                 ΘP ⊕N (τ, P0 , h) = ΘP (τ ) ⊗ v 3/2 ΘN − (τ, h).
Note that ΘP (τ ) is independent of h since H(Af ) acts trivially on P . Thus
we get
  Z                                                 Z
                                                3/2
              ΘP ⊕N (τ, P0 , h)dh = ΘP (τ ) ⊗ v               ΘN − (τ, h)dh.
   H(Q)\H(Af )                                          H(Q)\H(Af )

By the Siegel–Weil formula (Theorem 3.9) we have
                Z
                            ΘN − (τ, h)dh = 2E3/2,N − (τ ).
                     H(Q)\H(Af )
34 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

It remains to compute vol(K). Using the formula for vol(K) from Lemma 3.10,
and the bijection from Theorem 4.9 again, we obtain
          2            X         1         X         1
               =                      =                    = tr0m,µ (1).
       vol(K)                   |Γh |         0
                                                  |Γ U,X |
                    h∈H(Q)\H(Af )/K       X∈ΓU \Lm,µ

Taking everything together, we obtain the stated formula.                  □
Remark 4.11. The unary lattice P associated to X0 ∈ L0m,µ equals Zdµ X0
and has determinant 2dµ m, where dµ is the order of µ in L′ /L. The ternary
lattice N − has determinant 2m|D|.
                                Indeed,      by Lemma 4.8 one can assume
                                   1 b0
that X0 is the “principal form” b c , where b0 ∈ µ and c0 = m + |b0 |2 ,
                                   0 0
and then a direct computation using the equality
                                                         
                        a        b
                N=                          : a ∈ Z, b ∈ OD
                        b tr(bb0 ) − ac0
gives the result.
4.3. Traces of special values of Green’s functions. We fix a primitive
rational point X0 ∈ L′ of determinant m′ = Q(X0 ) > 0, and we let P0 ∈ H3
be the corresponding special point. We define the sublattices
                       P = L ∩ QX0 ,    N = L ∩ (QX0 )⊥ ,
which are positive definite one-dimensional and negative definite three-dimensional,
respectively. Then N − = (N, −Q) is positive definite three-dimensional. We
let E3/2,N − ∈ M3/2,N − be the holomorphic weight 3/2 Eisenstein series for
ρN defined in Section 3.1. Moreover, we let E   e1/2,N ∈ H hol be the har-
                                                           1/2,N
monic Maass Eisenstein series of weight 1/2 for ρN defined in Section 3.2,
                     e1/2,N = 1 E3/2,N − .
which satisfies ξ1/2 E        2
   We obtain the following explicit formula involving double traces of the
Green’s function.
Theorem 4.12. Let n ≥ 1 be a positive integer, and let
                X       X
           f=                                      !
                               af (m, µ)q m eµ ∈ M1−2n,L −

                     µ∈L′ /L m∈Z−Q(µ)

be a weakly holomorphic modular form of weight 1 − 2n for the Weil repre-
sentation ρL . Let µ′ ∈ L′ /L and −m′ ∈ Z − Q(µ′ ) with m′ > 0 such that
af (−m′ r2 , µ′ r) = 0 for all integers r ≥ 1. Then we have
                1 X X n−1/2
(4.11)                        m        af (−m, µ)tr0m′ ,µ′ trm,µ (G2n )
                2
                  µ∈L′ /L m>0
                         4n π                       h
                                                              e+
                                                                     i 
                     = 2n tr0m′ ,µ′ (1)CT fP ⊕N · ΘP , E      1/2,N     ,
                                                            n
                         n
       SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                              35

      e+
where E1/2,N denotes the holomorphic part of E1/2,N , [·, ·]n denotes the n-th
                                             e
Rankin–Cohen bracket as defined in Section 2.3, with k = ℓ = 1/2, and
CT(·) denotes the constant term of a holomorphic q-series.

Remark 4.13.       (1) The condition af (−m′ r2 , µ′ r) = 0 for all integers r ≥
       1 ensures that we never evaluate the Green’s function G2n (P1 , P2 )
       along the diagonal.
   (2) By writing trm′ ,µ′ in terms of primitive traces as explained in Sec-
       tion 4.1.2, we can also get a closed formula for the non-primitive
       double trace trm′ ,µ′ trm,µ (G2n ).
   (3) The Rankin–Cohen bracket appearing in the theorem is given by
                       n                           
                                j n − 1/2     n − 1/2 (n−j) (j)
                      X
            [g, h]n =     (−1)                          g     h ,
                                      j        n−j
                            j=0

                            1 ∂ j
         with g (j) =
                                 
                           2πi ∂τ g.    The product of binomial coefficients can be
         written as
                                                
                        n − 1/2      n − 1/2    1 2n 2n
                                              = n        .
                           j          n−j      4   n  2j
    (4) The right-hand side of (4.11) equals
                      X
       πtr0m′ ,µ′ (1)   af (−m, µ)
                    µ′ ∈L′ /L
                      m>0
                      X                 X
             ×                                κm,n (ℓ)cΘP (ℓ, α)c+e         (m − ℓ, β),
                                                                   E1/2,N
                    α∈P ′ /P   ℓ∈Z+Q(α)
                    β∈N ′ /N
                 α+β=µ (mod L)

         with the rational constants κm,n (ℓ) = nj=0 (−1)j 2n
                                                                 n−j
                                                                      (m − ℓ)j .
                                                P
                                                             2j ℓ
         Suppose that S1+2n,L = {0}. Then we can choose f = F1−2n,m,µ =
         q −m (eµ + e−µ ) + O(1) for some fixed µ ∈ L′ /L and m ∈ Z + Q(µ)
         with m > 0. In this case, formula (4.11) simplifies to

mn−1/2 tr0m′ ,µ′ trm,µ (G2n )
                                X             X
      = 2πtr0m′ ,µ′ (1)                                κm,n (ℓ)cΘP (ℓ, α)c+e         (m − ℓ, β).
                                                                            E1/2,N
                             α∈P ′ /P       ℓ∈Z+Q(α)
                             β∈N ′ /N
                          α+β=µ (mod L)

Proof of Theorem 4.12. Since the weight 1 − 2n is negative, we can write f
as a linear combination of Maass Poincaré series,
                         1 X X
                f (τ ) =           af (−m, µ)F1−2n,m,µ (τ ),
                         2  ′     µ∈L /L m>0
36 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

see (2.4) in Section 2.2. Writing the Green’s function as a theta lift using
Theorem 4.3, we have
  1 X X n−1/2                                         1 π (1−2n)
               m      af (−m, µ)trm,µ G2n ( · , Q) =        Φ      (f, Q).
  2     ′
                                                     (4π)n 2 L
    µ∈L /L m>0

Taking the trace tr0m′ ,µ′ in Q, and using the splitting of the trace of the
Siegel theta function from Theorem 4.10 (which involves an application of
the Siegel–Weil formula), we obtain
                                      Z reg
  0       (1−2n)             0                 n
                                                    fP ⊕N (τ )·ΘP (τ )⊗E3/2,N − (τ )v 3/2 dµ(τ ).
                                                         
trm′ ,µ′ ΦL      (f, · ) = trm′ ,µ′ (1)       R1−2n
                                        F
Next, using the “self-adjointness” of the raising operator, we obtain
       Z reg
               n
                   fP ⊕N (τ ) · ΘP (τ ) ⊗ E3/2,N − (τ )v 3/2 dµ(τ )
                          
             R1−2n
        F
                Z reg                                               
              n                      n                           3/2
       = (−1)         fP ⊕N (τ ) · R−1 ΘP (τ ) ⊗ E3/2,N − (τ )v        dµ(τ )
                 F
                Z reg                           
       = (−1)n        fP ⊕N (τ ) · R1/2n
                                          ΘP (τ ) ⊗ E3/2,N − (τ )v 3/2 dµ(τ ).
                   F

In the last step we used that E3/2,N − is holomorphic (Theorem 3.1). More-
over, one has to check that certain boundary integrals vanish, which is
straightforward but tedious. Next, Proposition 2.2 implies that
      
         n
                                            (−4π)n       h           i
        R1/2 ΘP (τ ) ⊗ E3/2,N − (τ )v 3/2 = 2 n−1/2 L1+2n ΘP , E
                                                                e1/2,N ,
                                                                            n
                                                  n

where we used that ΘP is holomorphic. Note that n−1/2           = 41n 2n
                                                                       
                                                         n             n . Now a
standard application of Stokes’ Theorem as in [6, Proposition 3.5] gives
           Z reg                         
                               n
                 fP ⊕N (τ ) · R1/2 ΘP (τ ) ⊗ E3/2,N − (τ )v 3/2 dµ(τ )
              F
                     (−4π)n          h
                                            e+
                                                   i 
                  = 2 1 2n CT fP ⊕N · ΘP , E1/2,N     .
                                                           n
                       4n   n

Here we used that f (and hence fP ⊕N ) is holomorphic on H. Taking every-
thing together, we obtain the stated formula.                          □
Example 4.14. Here we give the details for Example 1.3 from the intro-
duction. We work over the field Q(i) with discriminant D = −4. Then
                             = 21 Z[i]/Z[i] ∼
                       L′ /L ∼              = Z/2Z × Z/2Z.
We will write the elements of L′ /L as (b1 , b2 ) with b1 , b2 ∈ Z/2Z, and under- 
                                                                      0    (b +ib )/2
stand that this tuple corresponds to the class of the matrix (b1 −ib2 )/2 1 0 2       .
   Let us take n = 1. Since S3,L = {0}, the Maass Poincaré series f−1,m,µ
is weakly holomorphic for every m > 0 and µ ∈ L′ /L, so we can just take
         SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                                  37

f = f−1,m,µ . Then the formula from Theorem 4.12 simplifies to
        √                                               h                                i 
(4.12)                                                         e+
          mtr0 ′ ′ trm,µ (G2n ) = 2πtr0 ′ ′ (1)CT fP ⊕N · ΘP , E                                .
                   m ,µ                        m ,µ                                   1/2,N 1

                        µ = (1, 1), such
    We take m = 1/2 and               that the trace trm,µ has only
                                         1    (1+i)/2
one summand for the form              (1−i)/2    1
                                                        with corresponding point 1+i
                                                                                  2 +
√
   2                                                         ′                ′
 2 j, with stabilizer of order 12. Moreover, we choose m = 1 and µ =
                    0
(0, 0), such that trm′ ,µ′ has only one summand for the form X0 = ( 10 01 ) with
corresponding point j, with stabilizer of order 4. In particular, tr0m′ ,µ′ (1) =
1
4 . Hence, (4.12) becomes
             p                √ !
              1/2       1+i    2    π         h
                                                     e+
                                                           i 
(4.13)            G2 j,     +    j = CT fP ⊕N · ΘP , E1/2,N 1 .
              48         2    2     2
    Next, we compute the sublattices P and N . We have
                                   
                       1 0
    P = L ∩ QX0 = n           :n∈Z ∼    = (Z, n2 ),
                       0 1
                                                
                         a b
                  ⊥
    N = L ∩ (QX0 ) =              : a ∈ Z, b ∈ Z[i] ∼= (Z3 , −a2 − b21 − b22 ).
                         b −a
Their dual lattices are given by
                                            
                  ′   1        n 1 0
                 P = P =               :n∈Z ,
                      2        2 0 1
                                                       
                  ′   1        1 a b
                N = N=                   : a ∈ Z, b ∈ Z[i] .
                      2        2 b −a
Note that for α ∈ P ′ and β ∈ N ′ we have α + β ∈ L′ if and only if n ≡ a
(mod 2). We have
                          ∼ Z/2Z, N ′ /N ∼
                   P ′ /P =               = (Z/2Z)3 .
In particular, we will write the elements of (P ⊕N )′ /(P ⊕N ) ∼
                                                               = P ′ /P ×N ′ /N
as (n, (a, b1 , b2 )) with n, a, b1 , b2 ∈ Z/2Z. Such an element is in L′ /L if
and only if n ≡ a (mod 2), and in this case it is in the class of the tuple
(b1 , b2 ) ∈ L′ /L.
   The first Rankin–Cohen bracket of two forms of weight 1/2 is given by
                                          1
                               [f, g]1 = (f ′ g − f g ′ ),
                                          2
where f ′ = 1 d f . Moreover, by construction, ΘP and E     e+     do not have
              2πi dτ                                                          1/2,N
any terms of negative index, which implies that [ΘP , E e + ]1 has vanishing
                                                         1/2,N
principal part. Since f−1,m,µ has principal part q −m (eµ + e−µ ), we obtain
                         h           i 
      CT (f−1,m,µ )P ⊕N · ΘP , Ee+
                                           1/2,N 1

           = 2ch       e+
                   ΘP ,E
                                i (m, (0, (0, µ))) + 2ch
                                                                e+
                                                           Θ P ,E
                                                                         i (m, (1, (1, µ))).
                        1/2,N   1                                1/2,N   1
38 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Hence, it remains to compute the coefficients of the Rankin–Cohen bracket.
Recall that we take m = 1/2 and µ = (1, 1). The coefficient at q 1/2 of
the component of index (0, (0, 1, 1)) is given by −1/2 times the constant
coefficient of ΘP at e0 (which equals 1) times 1/2 times the coefficient at
                  e+
q 1/2 e(0,1,1) of E1/2,N (here we use that the constant coefficient of the deriva-
tive of ΘP vanishes, and that the coefficient at q 1/2 of ΘP vanishes). Using
Theorem 3.6 and the Dirichlet class number formula, this latter coefficient
can be computed as
                                                     √                  √
                            4             4 log(3 + 8)        2 log(3 + 8)
 cEe+ (1/2, (0, 1, 1)) = − L(χ8 , 1) = −        √         =−        √       .
    1/2,N                   π             π        8          π       2
Hence, we get
                                               1
                chΘ ,Ee+ i 1/2, (0, (0, 1, 1)) = L(χ8 , 1).
                    P  1/2,N 1                      π
Similarly, we see that
                                                          
                      chΘ ,Ee+    i    1/2, (1, (1, 1, 1)) = 0
                         P   1/2,N 1

due to a cancellation in the Rankin–Cohen bracket. Putting this into (4.13),
we finally obtain
                                      √ !
                    1          1+i     2
                  p     G2 j,       +    j = 96L(χ8 , 1).
                    1/2         2     2
  For n = 2 we have S5,L = {0}, so we can compute in a similar way that
                              √ !
             1         1+i       2
           p     G4 j,      +      j = 96 log(2) − 96L(χ8 , 1).
             1/2         2      2
  We summarize the algebraic properties of the double traces of the Green’s
function.
Theorem 4.15. Let f ∈ M1−2n,L   !          ′    ′                ′        ′
                                      − , µ ∈ L /L and −m ∈ Z − Q(µ ) be

as in Theorem 4.12. Suppose that the coefficients af (−m, µ) for m > 0 are
rational. Then the linear combination of double traces
                1      X X
            p                     mn−1/2 af (−m, µ)tr0m′ ,µ′ trm,µ (G2n )
               m′ |D| µ∈L′ /L m>0
                                                                            √
is a rational linear combination of log(p) for some primes p and log(ε∆ )/ ∆
for some fundamental discriminants
                         √              ∆ > 0, where ε∆ is the smallest totally
positive unit > 1 in Q( ∆).
Proof. We need to analyze the right-hand side of (4.11). Since n ≥ 1, and
ΘP and E e+
          1/2,N have Fourier hexpansions isupported on non-negative indices,
the constant term of fP ⊕N · ΘP , Ee+        is a linear combination with co-
                                    1/2,N      n
efficients in Q of products of negative index coefficients of fP ⊕N (hence of
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                39


f ), and positive index coefficients of ΘP and Ee + . Moreover, the theta
                                                  1/2,N
function ΘP has integral Fourier coefficients by construction. Now, by The-
orem 3.6 and the subsequent Remark 3.7(3), the coefficients of E e+
                                                                   1/2,N are
of the form
                    √                          (           √
 +                      2                        log(ε∆0 )/ ∆0 , if ∆ is not a square,
ce      (n, γ) = p            ×rational number×
 E1/2,N            |N ′ /N |π                    log(p),         if ∆ is a square,

for some prime p | 2det(N ) in the square case. Here we use the same notation
as in Theorem 3.6. The factor π in the denominator on the right cancels
out with the factor π in the numerator on the right-hand side of (4.11).
Moreover, by Remark 4.11 we have |N ′ /N | = 2m′ |D|. Taking everything
together, we obtain the stated result.                                      □

Remark 4.16. It follows from Remarks 4.11 and 4.13(4) that the right-hand
side of (4.11) is a linear combination of coefficients c+e (n, β) with n =
                                                       E1/2,N
                        t2
m−ℓ and ℓ of the form 4d2 m′ (t ∈ Z), hence the relevant discriminants are of
                        µ                                q                   
the form ∆ = 4d2β nm′ |D| and ∆0 is the discriminant of Q  (4mm′ d2µ − t2 )|D| .
Moreover, when ∆ is a square, the coefficient c+e            (n, β) is a rational
                                                    E1/2,N
multiple of log(p) provided p is the unique prime divisor of 2m′ |D| for
which N ⊗ Qp is anisotropic, and it vanishes if there are two or more such
primes by Remark 3.7(2). By using properties of Hilbert symbols it is easy
to check that N ⊗ Qp is anisotropic if and only if (−m, D)p = −1. This
explains Remark 1.2.

   We note that Theorem 4.15 can be rephrased in terms of linear combi-
nations of traces with coefficients coming from rational relations for spaces
of cusp forms (see Section 2.4). More precisely, in the language of rational
relations, Theorem 4.15 says that if {λ(m, µ)}m∈ 1 N, µ∈L′ /L is a rational
                                                     |D|
relation for S1+2n,L , then for any µ′ ∈ L′ /L and −m′ ∈ Z − Q(µ′ ) such that
m′ > 0 and λ(m′ r2 , µ′ r) = 0 for all integers r ≥ 1, we have that the linear
combination of double traces
                1        X X
             p                    mn−1/2 λ(m, µ)tr0m′ ,µ′ trm,µ (G2n )
               m′ |D| µ∈L′ /L m>0
                                                                          √
is a rational linear combination of log(p) for some primes p and log(ε∆ )/ ∆
for some fundamental discriminants ∆ > 0. Then, Theorem 4.15 and Lemma
2.3 imply the following corollary, of which Theorem 1.1 in the introduction
is a special case.
                                                          +
Corollary 4.17. Let {λ(t)}t∈N be a rational relation for S1+2n (Γ0 (|D|), χD ),
         ′   1                     ′    2
and let m ∈ |D| N be such that λ(m |D|r ) = 0 for all integers r ≥ 1. Then
40 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

the linear combination of double traces
                    1     X
                 p            mn−1/2 λ(m|D|)tr0m′ trm (G2n )
                   m′ |D| m>0
                                                                          √
is a rational linear combination of log(p) for some primes p and log(ε∆ )/ ∆
for some fundamental discriminants
                        √              ∆ > 0, where ε∆ is the smallest totally
positive unit > 1 in Q( ∆).

   5. Twisted traces of special values of Green’s functions

                √ we let (L, Q) denote the lattice of integral binary hermitian
   In this section
forms over Q( D) defined in Section 4.1.1, associated to a fundamental
discriminant D < 0. Recall that V = L ⊗ Q.
5.1. The twisting function. Let us write D = p|D p∗ with prime dis-
                                                       Q

criminants p∗ , that is, for odd p we have p∗ = ( −1p )p and for p = 2 we have
p∗ ∈ {−4, ±8}.
   We set
                         LD = {X ∈ L′ : Q(X) ∈ DZ}.
As in [17, Lemma 3.3] one can check that LD ⊆ L. For X = ab cb ∈ LD we
                                                                      

define the function
                                                ∗ 
                                                   p
                                                a , if p ∤ a,
                                               
                                               
                      Y
(5.1)       χD (X) =      χp (X),    χp (X) =      p∗
                                                   c , if p ∤ c,
                      p|D                      
                                                 0,        otherwise.
                                               

For X ∈ V (Q) with X ∈   / LD we put χD (X) = 0. It is easy to check that
χD is well-defined, Γ-invariant, and only depends on X modulo DL. For
prime discriminants D < 0, it coincides with the function defined in the
introduction.
   So far, we have defined χD on all of V (Q). Next, we extend it to V (Af ).
Definition 5.1. For a prime p dividing D and Xp = ab cb ∈ L′p with
                                                              

Q(Xp ) ∈ DZp we let
                                 
                                 (a, D)p , if p ∤ a,
                                 
                     χD,p (Xp ) = (c, D)p , if p ∤ c,
                                 
                                   0,        otherwise,
                                 

where (c, D)p denotes the p-adic Hilbert symbol. For all other Xp ∈ V (Qp )
we put χD,p (Xp ) = 0, so that χD,p is defined on all of V (Qp ). For primes p
not dividing D, we define χD,p as the characteristic function of L′p = Lp .
Once again, it is easy to check that χD,p is well-defined. For X = (Xp )p<∞ ∈
V (Af ) we put
                                      Y
                            χD (X) =      χD,p (Xp ).
                                     p<∞
       SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE               41

   It follows from the basic properties of the Hilbert symbol that χD agrees
with the previous definition on V (Q).
   By a slight abuse of notation, we also define χD as a function on A×f by
                              Y                Y
(5.2)               χD (x) =     χD,p (xp ) =     (xp , D)p .
                             p<∞                p<∞

Note that χD is a quadratic character on A×   +
                                          f /Q .
  Let ν denote the spinor norm on GSpinV . By (4.8) the map
                       χD,p ◦ ν : GSpinV (Qp ) → {±1}
induces a quadratic character χD,p ◦ ν : G(Qp ) → {±1} . Hence, we obtain
the quadratic character
                                                   Y
(5.3)       χD ◦ ν : G(Af ) → {±1},       χD ◦ ν =   χD,p ◦ ν.
                                                         p


                      Q transformation property of χD (X) under the action
   We have the following
of the subgroup U = p Up defined in Section 4.2.1.

Proposition 5.2. For every prime p, every gp ∈ Up and Xp ∈ V (Qp ) we
have
                     χD,p (gp Xp ) = χD,p (ν(gp ))χD,p (Xp ).
In particular, for all g ∈ U and X ∈ V (Af ) we have
                         χD (gX) = χD (ν(g))χD (X).

Proof. It is enough to prove the first statement since the second one follows
from the fact that χD is the product of χD,p over all primes p. Let gp ∈ Up
and
 X   p ∈ V (Qp ). Recall that gp is given by the action of a matrix hp =
 αβ
 γ δ    ∈ GL2 (OD ⊗ Zp ) with ν(gp ) = det(hp ) ∈ Z× p (Lemma 4.5). If p does
not divide D then (ν(gp ), D)p = 1 and χD,p on V (Qp ) is the characteristic
function of L′p = Lp . Since gp preserves Lp , we have gp Xp ∈ Lp if and
only if Xp ∈ Lp , hence the desired identity follows. Now, assume p divides
D. Since the action of gp preserves L′p and the quadratic form Q, both
χD,p (gp Xp ) and χD,p (Xp ) are zero if Xp is not in L′p or has Q(Xp ) ̸∈ DZp .
Hence, we can assume Xp ∈ L′p and Q(Xp ) ∈ DZp . This implies Xp ∈ Lp .
If we write Xp = ab cb , then
                        


                                a|α|2 + tr(αβb) + c|β|2
                                                                               
  A B                     1                                          ∗
           = gp X =
  B C               det(hp )               ∗              a|γ|2 + tr(γδb) + c|δ|2
                                                                           √
where the norms and traces are taken in the ring OD ⊗ Zp ⊆ Qp ( D).
Note that p | D implies tr(z) ∈ pZp for every z ∈ OD ⊗ Zp . In particular,
tr(αβb), tr(γδb) ∈ pZp . Hence, if a, c ∈ pZp , then χD,p (gp Xp ) = χD,p (Xp ) =
42 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

0. We get the same conclusion if A, C ∈ pZp . Assume a, A ∈ Z×
                                                             p . Note that

                 det(hp )Aa = |aα + βb|2 + |β|2 (ac − |b|2 )
                              = |aα + βb|2 + |β|2 Q(Xp )
                              ≡ |aα + βb|2 mod DZp .
This implies (det(hp )Aa, D)p = 1, hence
   χD,p (gp Xp ) = (A, D)p = (det(hp ), D)p (a, D)p = χD,p (ν(gp ))χD,p (Xp ).
The remaining cases are treated similarly. This proves the result.               □
5.2. The twisted modified Siegel theta function. In this section we
construct a scalar-valued twisted Siegel theta function, which is modified
with a polynomial. A similar twisted theta function was first constructed in
[17] for lattices of signature (2, 2) and D > 0, whereas we are in the case of
signature (1, 3) and D < 0.
   Recall that G = SO(V ) where V = L ⊗ Q.
Definition 5.3. For h ∈ G(Af ), τ ∈ H and P ∈ H3 we define the (scalar-
valued) D-twisted modified theta function
(5.4)                                                                        
                             X                             Q(Xv )    Q(Xv⊥ )
Θ∗L,χD (τ, P, h) = Im(τ )3/2   χD (h−1 X) |D|
                                           1
                                              (X, v(P ))e         τ+         τ ,
                                                            |D|        |D|
                           X∈hL
where v = Rv(P ) ∈ Gr(L) is the positive line corresponding to P as in
Section 4.1.1.
   Note that this is not the usual Siegel theta function, but it is modified
with a polynomial in X, which is harmonic and homogeneous of degree (1, 0).
It is straightforward to check that the twisted theta function is Γ-invariant
in P . The goal of this section is to prove its modularity in τ .
Proposition 5.4. The twisted theta function Θ∗L,χD (τ, P, h) transforms like
a (scalar-valued) modular form of weight 0 for the full modular group SL2 (Z)
in τ .
   We will deduce this result from the well known modularity of a (vector-
valued) non-twisted modified Siegel theta function, using an “intertwining
operator” ψD of certain Weil representations. This general method for con-
structing twisted theta functions was developed in [1].
   We let L(D) be the rescaled lattice DL = {DX : X ∈ L} with the
quadratic form QD (X) = Q(X) |D| . Then the dual lattice of L(D) is again L
                                                                           ′

(as a set, but L′ is now equipped with QD (X)). We write L(D) = L′ /L(D)
for the discriminant group of L(D). Note that |L(D)| = |D| · |D|4 = |D|5 ,
and that L(D) ⊂ LD (as sets, but they have different quadratic forms). We
let ρL(D) be the Weil representation corresponding to L(D). Recall that
χD (X) defined in (5.1) depends only on X modulo DL, hence it defines a
function on L(D). Then we have the following general result.
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                 43

Lemma 5.5. Put
                     X                       X
            ψD =             χD (δ)eδ =                χD (δ)eδ ∈ C[L(D)].
                    δ∈L(D)                δ∈LD /L(D)

Then ψD is invariant under the dual Weil representation ρL(D) .
Proof. Put ρ = ρL(D) for brevity. Using the notation in Section 2.1, we need
to check that ρ(T )ψD = ψD and ρ(S)ψD = ψD . We have
                                       
                  X                Q(δ)           X
    ρ(T )ψD =           χD (δ)e −         eδ =           χD (δ)eδ = ψD ,
                                    |D|
               δ∈LD /L(D)                                δ∈LD /L(D)

where we used that Q(δ)
                   |D| ∈ Z for δ ∈ LD . Moreover, we have
                  X
     ρ(S)ψD =           χD (δ)ρ(S)eδ
                   δ∈LD /L(D)
                                                                     
                      X          e((1 − 3)/8)    X           1
               =           χD (δ) p                     e       (δ, µ) eµ
                δ∈LD /L(D)
                                     |L(D)| µ∈L′ /L(D) |D|
                                                                   
                                                                
                     i      X         X                 1
               =−                            χD (δ)e      (δ, µ) eµ .
                  |D|5/2    ′
                                                       |D|
                             µ∈L /DL      δ∈LD /L(D)

Hence it remains to show the evaluation of the Gauss sum
                                          
                 X                1
                        χD (δ)e      (δ, µ) = i|D|5/2 χD (µ).
                                 |D|
                δ∈LD /L(D)

This can be proved by the same arguments as in [17, Section 4.2].               □
Corollary 5.6. Let k ∈ Z, let Ak,ρL(D) be the space of functions transform-
ing like vector-valued modular forms of weight k for ρL(D) , and let Ak,SL2 (Z)
be the space of functions transforming like scalar-valued modular forms of
weight k for SL2 (Z). Then we have a map
                                  X                          X
Ak,ρL(D) → Ak,SL2 (Z) ,   f=            fδ eδ 7→ f · ψD =            χD (δ)fδ .
                                   δ∈L′ /L(D)                     δ∈LD /L(D)

Here f · ψD denotes the bilinear pairing on C[L(D)].
Proof. We again put ρ = ρL(D) . It is well known that the Weil representation
satisfies
                     (ρ(M, ϕ)a) · b = a · (ρ(M, ϕ)−1 b)
for any (M, ϕ) ∈ Mp2 (Z) and a, b ∈ C[L(D)]. Since ψD is invariant under
ρ, we obtain
f (M τ )·ψD = ϕ(τ )2k ρ(M, ϕ)f (τ )·ψD = ϕ(τ )2k f (τ )·ρ(M, ϕ)−1 ψD = ϕ(τ )2k (f ·ψD ),
so f · ψD transforms like a modular form of weight k for SL2 (Z).               □
  We now complete the proof of Proposition 5.4.
44 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Proof of Proposition 5.4. Consider the (vector-valued and non-twisted) mod-
ified theta function for L(D),
                                                                                     
                             X         X                         Q(Xv )     Q(Xv⊥ )
Θ∗L(D) (τ, P, h) = Im(τ )3/2                    1
                                               |D| (X, v(P ))e          τ +         τ  eδ .
                             ′
                                                                  |D|         |D|
                             δ∈L /L(D) X∈h(δ+L(D))

As a function of τ it transforms like a modular form of weight 0 for ρL(D) by
[2, Theorem 4.1]. Moreover, it is related to the scalar-valued twisted theta
function by
                     Θ∗L,χD (τ, P, h) = Θ∗L(D) (τ, P, h) · ψD ,
which can be checked by a short computation. In particular, by Corollary 5.6
the twisted theta function Θ∗L,χD (τ, P, h) transforms like a modular form of
weight 0 for SL2 (Z) in τ . This proves the result.                        □
5.3. The twisted traces of the Green’s function as a theta lift. Let
n ∈ N0 . For a smooth modular form f of weight −2n for SL2 (Z) we define
the twisted regularized theta lift
                              Z reg
               ∗,(−2n)
             ΦL,χD (f, P ) =         n
                                    R−2n f (τ )Θ∗L,χD (τ, P )dµ(τ ).
                               F
             ∗               ∗
Here we put ΘL,χD (τ, P ) = ΘL,χD (τ, P, 1) in the twisted theta function (5.4).
  For m ∈ N we let
                           1          X
       F−2n,m (τ, s) =                            M−2n,s (4πmv)e(−mu)|k M
                         Γ(2s)
                                 M ∈Γ∞ \SL2 (Z)

be the m-th Maass Poincaré series of weight −2n for SL2 (Z), where Γ∞ is
the subgroup of SL2 (Z) generated by ( 10 11 ) and Mk,s is defined in (2.3).
By unfolding against the Poincaré series as in the proof of Theorem 4.2, we
obtain the twisted trace of the Green’s function as a theta lift.
Theorem 5.7. Let n ∈ N0 and m ∈ N. For Re(s) > 1 we have
                                           √
   ∗,(−2n)                                2 2                             
  ΦL,χD (F−2n,m ( · , s), P ) = Cn (s)      p    trm|D|,χD G2s−1 ( · , P ) ,
                                       πΓ(s) |D|
with the constant Cn (s) = (4πm)n (s − n)(s − n + 1) · · · (s − 1).
Proof. By Lemma 2.1 we have
            ∗,(−2n)                                  ∗,(0)
           ΦL,χD (F−2n,m ( · , s), P ) = Cn (s)ΦL,χD (F0,m ( · , s), P ).
Unfolding against F0,m (τ, s) and computing the integral over u = Re(τ ) as
in the proof of [3, Theorem 2.14], we obtain
  ∗,(0)                        2     X
ΦL,χD (F0,m ( · , s), P ) =                χD (X)(X, v(P ))
                            Γ(2s)|D|
                                         X∈L
                                      Q(X)=m|D|
                             Z ∞                                       
                                                         Q(Xv )               dv
                         ×       M0,s−1/2 (4πmv) exp −4π        v + 2πmv v 1/2 .
                             v=0                          |D|                 v
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                 45

The integral is a Laplace transform and equals
                             Q(Xv ) −s−1/2
                                                                 
           −1/2                                       1      m|D|
     (4πm)      Γ(s + 1/2)                 2 F1 s, s + , 2s,         .
                             m|D|                     2      Q(Xv )
By Lemma 4.1, we have
                     p                                 m|D|            1
(X, v(P )) = sgn(cX ) 2m|D|cosh(d(P, PX )),                   =                  ,
                                                       Q(Xv )   cosh(d(P, PX ))2
where cX is the bottom left entry of X. Moreover, the hypergeometric
function simplifies as in (4.4). As in (4.5) we obtain
                          
            1       m|D|
 2 F1 s, s + , 2s;            = 22s−1 cosh(d(P, PX ))2s φ2s−1 (cosh(d(P, PX ))).
            2       Q(Xv )
Taking everything together, we arrive at
                                               √
                                 2s−1 Γ(s + 1/2)
  ∗,(0)                      2                 2
 ΦL,χD (F0,m ( · , s), P ) =            p
                                   Γ(2s) π|D|
                                    X                                        
                           ×              χD (X)sgn(cX )φ2s−1 cosh(d(P, PX )) .
                                  X∈L
                               Q(X)=m|D|

Note that D < 0 implies χD (−X) = −χD (X). Hence, by replacing X with
−X if sgn(cX ) < 0 we can restrict the sum to X ∈ L+
                                                   m|D| and get a factor of
                                                             2s−1           √
                                                        Γ(s+1/2)
2. Moreover, using the Legendre duplication formula 2 Γ(2s)           π
                                                                 = Γ(s) ,
we obtain
                                  √
   ∗,(0)                        2 2    X                             
  ΦL,χD (F0,m ( · , s), P ) =     p       χD (X)φ2s−1 cosh(d(P, PX )) .
                              Γ(s) |D|  +
                                          X∈Lm|D|

Splitting the sum modulo Γ gives the stated formula.                            □

 At s = n+1 the function F−2n,m (τ ) = F−2n,m (τ, n+1) defines a harmonic
Maass form of weight −2n for SL2 (Z). We obtain the following result.
Theorem 5.8. Let m ∈ N. For n ≥ 1 we have
                                    √
       ∗,(−2n)                   n 2 2
                                                              
      ΦL,χD (F−2n,m , P ) = (4πm) p     trm,χD G2n+1 ( · , P ) .
                                  π |D|
Remark 5.9. The theorem also holds for n = 0. In this case, F0,m (τ, s) is
a Niebur Poincaré series which can be analytically continued to s = 1 via
its Fourier expansion. Arguing as in the proof of [3, Proposition 2.11] one
                                       ∗,(0)
can check that the twisted theta lift ΦL,χD (F0,m ( · , s), P ) is holomorphic at
                             ∗,(0)
s = 1, and agrees with ΦL,χD (F0,m , P ). This is remarkable since it implies
                                             
that the twisted trace trm|D|,χD Gs ( · , P ) is holomorphic at s = 1, although
the Green’s function Gs (P1 , P2 ) has a pole at s = 1. Since the residue of the
46 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Green’s function at s = 1 does not depend on P1 , P2 , the holomorphicity of
trm|D|,χD Gs ( · , P ) at s = 1 is equivalent to
                               trm|D|,χD (1) = 0.
Indeed, this vanishing can also be proved directly. Using Theorem 4.9 and
Lemma 3.10 we see that trm|D|,χD (1) is a multiple of
                         Z
                                     χD (ν(h))dh,
                            H(Q)\H(Af )

where χD ◦ ν is defined in (5.3), and this integral vanishes since χD ◦ ν is a
non-trivial character on the compact group H(Q)\H(Af ).
5.4. A twisted Siegel–Weil formula. In this section we let M be a pos-
itive definite even lattice of rank 3. Moreover, we let W = M ⊗ Q the
surrounding rational quadratic space, and H = SO(W ). The classical
Siegel–Weil formula describes the integral of the theta function ΘM (τ, h)
over h ∈ H(Q)\H(Af ) as an explicit Eisenstein series; see Theorem 3.9.
Let ν denote the spinor norm on GSpinW (Af ), and associated to the field
discriminant D < 0 consider the quadratic character χD of A×    f defined in
(5.2). Then the function χD ◦ ν defines a non-trivial quadratic character
of H(Af ) that is trivial on H(Q), so it makes sense to consider the twisted
Siegel–Weil integral
                              Z
                            1
(5.5)          ϑM,χD (τ ) =               ΘM (τ, h)χD (ν(h))dh,
                            2 H(Q)\H(Af )
where dh denotes the Tamagawa measure on H(Af ) normalized such that
vol(H(Q)\H(Af )) = 2 (as in Theorem 3.9). This function was studied in
detail by Snitz [34] in his thesis. It follows from Snitz’s work that ϑM,χD (τ )
is a holomorphic cusp form of weight 3/2 with rational Fourier coefficients
whose Fourier expansion is supported on a single rational square class. More
precisely, his main result implies that ϑM,χD (τ ) lies in the distinguished
subspace generated by unary theta functions of weight 3/2. To state his
result in a convenient form, recall that Ak,ρM denotes the space of functions
transforming like vector-valued modular forms of weight k under the Weil
representation ρM . For a lattice P in a one-dimensional positive definite
quadratic space (Q, Q)e we let
                                 X        X
                      θP∗ (τ ) =                xe2πiQ(x)τ er
                                                     e

                              r∈P ′ /P x∈(r+P )

be the holomorphic unary theta function of weight 3/2 associated with P .
   In the following theorem, we assume that the character χD is compatible
with the quadratic space W in the sense that at every prime p such that
the local character χD,p is trivial, we have that W ⊗ Qp is isotropic. If
this compatibility condition is not satisfied, then ϑM,χD (τ ) = 0 (see [34,
Corollary 15]) and the following theorem holds trivially.
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE               47

Theorem 5.10 (Twisted Siegel–Weil formula [34]). Let M be a positive
definite even lattice of rank 3 and let D < 0 be a field discriminant such that
χD is compatible with the quadratic space M ⊗ Q as explained above. Then
there exists a positive definite unary lattice P and a linear map Φ : Ak,ρP →
Ak,ρM of the form
                               X  X                         
                    Φ(f ) =                    fr (τ ) · cr,µ eµ
                            µ∈M ′ /M   r∈P ′ /P

with rational coefficients cr,µ , such that
                                ϑM,χD = Φ(θP∗ ).
Remark 5.11.       (1) Snitz’s results are stated for the ternary quadratic
       spaces (B 0 , nr) coming from the reduced norm on trace zero elements
       of a quaternion algebra B. For a general quadratic space (W, Q) we
       have that (W, 2 det(W )Q) is isometric to (B 0 , nr) for some B (see,
       e.g., [37, Theorem 5.1.1]), hence one can apply the results of Snitz
       in our setting by keeping track of the effect of this re-scaling.
   (2) It follows from [34, Theorem 2] that the coefficients cr,µ can be
       expressed as products of p-adic orbital integrals of compactly sup-
       ported and locally constant functions with rational values. However,
       we will not need their precise values.
   (3) Since the coefficients cr,µ are rational, Φ also defines a linear map
       between spaces of modular forms for the dual Weil representations
       ρP and ρM .
   (4) The lattice P is a lattice in the rational quadratic space (Q, 2 det(M )|D|x2 ).
Proof of Theorem 5.10. Since the results of [34] are stated in terms of Schwartz
functions on adelic spaces, we give some details on the translationQinto our
setting. Given a lattice L we define L̂ = L ⊗ Ẑ where Ẑ = p<∞ Zp .
We let S(W (A)) be the space of Schwartz functions φ = φ∞ ⊗ φf , that
is, φ∞ ∈ S(W (R)) is smooth and rapidly decreasing and φf ∈ S(W (Af ))
is compactly supported and locally constant. Associated to the quadratic
space (W, Q) and the standard non-trivial additive character ψ0 of A/Q
there is the adelic Weil representation ωW,ψ0 = ωW of Mp2 (A) on S(W (A)).
Note that, for ϵ = 2 det(W ), the representation ωW is equivalent to the
adelic Weil representation associated to the quadratic space (W, ϵQ) and
the additive character ψ(x) = ψ0 (x/ϵ), hence we can apply the results in
[34] as explained in Remark 5.11(1). Now, to each φ ∈ S(W (A)) one can
associate a theta function ΘW (g, h, φ) as in [34, Equation (1.1)], which is
a function of g ∈ Mp2 (A) and h ∈ H(Af ). Choosing φ∞ = e−2πQ(x) as
the Gaussian, the finite part φf as the characteristic function 1µ of a coset
µ ∈ M̂ ′ /M̂ ∼
             = M ′ /M , and
                            1 u v 1/2
                                             
                                            1
(5.6)          g = gτ =                          , 1 ∈ Mp2 (R)
                            0 1      0   v −1/2
48 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

the usual matrix that sends i to τ = u + iv ∈ H, we obtain v 3/4 times the
µ-th component of our holomorphic ternary theta function ΘM (τ, h) defined
in (3.4).
   Next, consider the one-dimensional quadratic space U = (Q, ϵ|D|x2 ), the
corresponding space of Schwartz functions S(U (A)), and the adelic Weil rep-
resentation ωU,ψ0 = ωU of Mp2 (A) on S(W (A)). In a similar way as before,
to each φ0 ∈ S(U (A)) one can associate a theta function          0  0
                                                      Q ΘU (g, h , φ ), which
                                    0
is a function of g ∈ Mp2 (A) and h ∈ O(U )(Af ) = p<∞ {±1}. If we let S
denote the set of primes p such that W ⊗N    Qp is anisotropic, and define the
character ηS : O(U )(Af ) → {±1} as ηS = p<∞ ηp with ηp (xp ) = sgn(xp ) if
p ∈ S, and ηp (xp ) = 1 otherwise, then the results of [34] can be summarized
by saying that there exists an explicit equivariant (with respect to ωW and
ωU ) linear map
                 S(W (A)) → S(U (A)),      φ → φ0 = φ0∞ ⊗ φ0f
such that the equality of twisted integrals
Z                                      Z
            ΘW (g, h, φ)χD (ν(h))dh =                            ΘU (g, h0 , φ0 )ηS (h0 )dh0
 H(Q)\H(Af )                               O(U )(Q)\O(U )(Af )

holds. For factorizable functions φf = p<∞ φp the image φ0f is also fac-
                                          N

torizable φ0f =          0
                N
                   p<∞ φp . Moreover, our compatibility hypothesis implies
the parity property φ0p (−r) = ηp (−1)φ0p (r) valid for every prime p (see [34,
Corollary 38]). Then, as done in [34, Section 3.2] one can rewrite the above
equality as
             Z
(5.7)                    ΘW (g, h, φ)χD (ν(h))dh = ΘU (g, 1, φ0 ).
               H(Q)\H(Af )

   In our setting, we choose g as in (5.6), φ∞ = e−2πQ(x) as the Gaussian and
φf = 1µ as the characteristic function of µ ∈ M̂ ′ /M̂ . Then, a direct compu-
tation using [34, Theorem 2 with x0 ∈ W (Q) satisfying ϵQ(x0 ) = |D|] shows
                             2
that φ0∞ (r) = c∞ re−2π|D|r /ϵ with c∞ the volume of Tx0 (R)\H(R) where
Tx0 is the stabilizer of x0 in H. Moreover, we have that φf is factorizable.
As a consequence of (5.7), multiplying both sides by eµ and summing over
µ ∈ M̂ ′ /M̂ we get
(5.8)
  Z
1
                                                          re−2πϵ|D|r τ 10µ (ϵr)eµ .
                                                                     2
                                              X      X
                ΘM (τ, h)χD (ν(h))dh = c∞
2 H(Q)\H(Af )                                   ′
                                            µ∈M /M r∈U (Q)

Since for every µ ∈ M ′ /M we have     10 ∈ S(U (A )), there exists a lattice P
                                        µ          f
in U (Q) such that 1  0 (ϵr) is supported on P
                      µ
                                              ˆ′ and constant on each class in
Pˆ′ /P̂ ∼
        = P ′ /P . Hence, the map φ → φ0 (ϵr) restricts to a map SM → SP ,
where SM and SP are the subspaces of S(W (Af )) and S(U (Af )) spanned by
characteristic functions {1µ : µ ∈ M ′ /M } and {1r : r ∈ P ′ /P }, respectively.
Notice that SM and SP can be identified with the group rings C[M ′ /M ]
       SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                           49

and C[P ′ /P ] via 1µ 7→ eµ and 1r 7→ er , respectively. Since the dual Weil
representations ρM and ρP acting on SM and SP are induced by the adelic
Weil representations ωW and ωP , respectively (see, e.g., [12, Section 2]), the
map SM → SP is equivariant with respect to ρM and ρP . Using this, it is
easy to check that the map
                                 X  X                          
                                               fr (τ ) · 1µ (ϵr) eµ
               X
                                                          0
                    fr (τ )er 7→
               r∈P ′ /P              µ∈M ′ /M     r∈P ′ /P

sends Ak,ρP to Ak,ρM . Now, the explicit integral formula given in [34, The-
orem 2] shows that 10µ (ϵr) = cf cµ,r with cµ,r a positive rational number and
cf the volume of Tx0 (Af )\H(Af ). Finally, noting that c∞ cf = 1 due to the
normalization of measures used by Snitz (see [34, p. 440]), we get that the
right-hand side of (5.8) equals Φ(θP∗ ). This finishes the proof.            □
Example 5.12. Let us choose D = −4, and consider the lattice M = Z3
with Q(x, y, z) = 4x2 + y 2 + z 2 . We have M ′ /M ∼                   = (Z/8Z) × (Z/2Z)2 , so
                                              x y z
we write its elements in the form ( 8 , 2 , 2 ). Note that the quadratic space
W ⊗ Qp is anisotropic only when p = 2, hence χD is compatible with M ⊗ Q.
The twisted Siegel–Weil formula asserts that ϑM,χD is a cusp form whose
Fourier expansion is supported on rational squares. Indeed, using Williams’
weilrep package for sage math [40] one can check that the space S3/2,M is
one-dimensional and spanned by the form
                                                                                    
                     ∗
            f = θ4,1      e( 1 ,0,0) + e( 7 ,0,0) − e( 5 , 1 , 1 ) − e( 7 , 1 , 1 )
                          8                 8               8 2 2         8 2 2
                                                                                      
                       ∗
                   +θ4,2     e(0, 1 ,0) + e(0,0, 1 ) − e( 1 , 1 ,0) − e( 1 ,0, 1 )
                           2                        2         2 2           2     2
                                                                                       
                       ∗
                   +θ4,3     e( 1 , 1 , 1 ) + e( 7 , 1 , 1 ) − e( 3 ,0,0) − e( 5 ,0,0) ,
                                  8 2 2         8 2 2        8        8

       ∗                         2
           = n≡r(2N ) nq n /4N is a unary theta function of weight 3/2, and
                P
where θN,r
a multiple of a component of θP∗ for a suitable unary lattice P . In our case,
P = (Z, 4x2 ). The sageMath code
      from weilrep import *
      w = WeilRep(diagonal_matrix([-8,-2,-2]))
      w.cusp_forms_basis(3/2,prec=10)
will print the components of f up to q 10 . The cusp form ϑM,χD is a rational
multiple of f .
Theorem 5.13. Let the notation be as in Theorem 5.10. There exists a
harmonic Maass form ϑeM,χD of weight 1/2 for ρM − with
                                       1
                          ξ1/2 ϑeM,χD = ϑM,χD ,
                                       2
                                  p
such that the holomorphic part of 2det(M )|D| ϑeM,χD has rational Fourier
coefficients.
50 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Proof. Since P is a lattice in (Q, 2 det(M )|D|x2 ), by [26, Theorem 1.1] there
exists a harmonic Maass form θeP∗ of weight 1/2 for the dual Weil represen-
tation ρP with
                                          1
                         ξ1/2 θeP∗ = p              θP∗ ,
                                    2 2det(M )|D|
such that the holomorphic part of θeP∗ has rational coefficients. Now we
choose ϑeM,χ = 2det(M )|D| Φ(θe∗ ).
                 p
             D                         P                                     □
5.5. Splitting of the Siegel theta function, twisted versions. In this
section we compute the twisted traces of the Siegel theta functions ΘL (τ, P )
and Θ∗L,χD (τ, P ), similarly as in Theorem 4.10. Throughout, we fix µ ∈ L′ /L
and m ∈ Z + Q(µ) with m > 0. Recall that L+,0  m,µ denotes the set of primitive
positive definite binary hermitian forms X ∈ L+µ with determinant Q(X) =
m. Throughout we consider a fixed primitive positive definite vector X0 ∈
L+,0
  m,µ . As before, we define sublattices

(5.9)               P = L ∩ (QX0 ),         N = L ∩ (QX0 )⊥ ,
which are one-dimensional positive definite and three-dimensional negative
definite. Let N − = (N, −Q). As in Section 5.2 we let P (D) = (DP, QD ) and
                                     1
N (D) = (DN, QD ) with QD (X) = |D|    Q(X) be the corresponding rescaled
lattices. Note that we have
            P (D) = L(D) ∩ (QX0 ),          N (D) = L(D) ∩ (QX0 )⊥ .
As in Section 4.2.1 we let H = {g ∈ G : gX0 = X0 } be the stabilizer of X0
in G, which we now identify with SO(W ) where W = (QX0 )⊥ is a positive
definite three-dimensional quadratic space with quadratic form −Q.
   We start with the twisted traces of the (non-twisted) Siegel theta function
ΘL (τ, P ), which was defined in Section 2.5.
Theorem 5.14. Fix a primitive vector X0 ∈ L+,0       m|D|,0 . Then we have
                                                                               L
  tr0m|D|,χD (ΘL (τ, · )) = χD (X0 )tr0m|D|,0 (1) · ΘP (τ ) ⊗ ϑN − ,χD (τ )v 3/2 ,
where ΘP (τ ) is the weight 1/2 holomorphic theta function for P and ϑN − ,χD (τ )
is the weight 3/2 cusp form described in Section 5.4, and the superscript L
denotes the operator defined in Section 2.1.
Proof. The arguments are very similar to the proof of Theorem 4.10, where
the non-twisted trace of ΘL (τ, P ) was computed. Using Theorem 4.9, we
have
                                   X      χD (Q)
     tr0m|D|,χD (ΘL (τ, · )) =                   ΘL (τ, PX )
                                     +,0
                                           |ΓX |
                                  X∈Γ\Lm|D|,0

                                           X        χD (g −1 X0 )
                             =                                    ΘL (τ, P0 , h),
                                                        |Γh |
                                  h∈H(Q)\H(Af )/K
         SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                   51

where P0 ∈ H3 is the special point corresponding to X0 , and we wrote
h = gu with g ∈ G(Q) and u ∈ U . By Proposition 5.2 we have
        χD (g −1 X0 ) = χD (uX0 ) = χD (ν(u))χD (X0 ) = χD (ν(h))χD (X0 ).
Here we wrote g −1 = uh−1 , used that h−1 X0 = X0 since H is the stabilizer
of X0 , and χD (ν(g −1 )) = 1 since g ∈ G(Q) and χD is trivial on Q+ . Using
Lemma 3.10 we obtain as in the proof of Theorem 4.10 that
  tr0m|D|,χD (ΘL (τ, · ))
                             X            χD (ν(h))
         = χD (X0 )                                 ΘL (τ, P0 , h)
                                            |Γh |
                        h∈H(Q)\H(Af )/K
                        Z
             χD (X0 )
         =                             χD (ν(h))ΘL (τ, P0 , h)dh
             vol(K)      H(Q)\H(Af )
                                    Z                                       !L
           χD (X0 )
         =          ΘP (τ ) ⊗ v 3/2              χD (ν(h))ΘN − (τ, P0 , h)dh .
           vol(K)                    H(Q)\H(Af )

Notice that χD ◦ ν is precisely the non-trivial quadratic character on the
twisted Siegel–Weil integral (5.5). Hence, the integral is the function 2ϑN − ,χD .
                       2
Finally, we plug in vol(K) = tr0m|D| (1) to finish the proof.                  □
    The crucial difference between Theorem 4.10 and its twisted version The-
orem 5.14 is the fact that the Eisenstein series E3/2,N − is replaced by the
cusp form ϑN − ,χD .
    Next, we consider the twisted and non-twisted traces of the twisted mod-
ified theta function Θ∗L,χD (τ, P ). We will use the same notation as in Sec-
tion 5.2.
Theorem 5.15. Fix a primitive vector X0 ∈ L+,0         m,µ . Then we have
                                                                               L(D)
tr0m,µ Θ∗L,χD (τ, · ) = χD (X0 )tr0m,µ (1) Θ∗P (D) (τ ) ⊗ ϑN (D)− ,χD (τ )v 3/2
                     
                                                                                      ·ψD .

Similarly, if X0 ∈ L+,0
                    m|D|,0 , then we have
                                                                                      L(D)
tr0m|D|,χD Θ∗L,χD (τ, · ) = χD (X0 )tr0m|D|,0 (1) Θ∗P (D) (τ ) ⊗ E3/2,N (D)− (τ )v 3/2
                         
                                                                                             ·ψD ,
Here,
                                                                        
                                  1         X                      Q(X)
(5.10)       Θ∗P (D) (τ ) = p                       1
                                                   |D| (X, X0 )e        τ eX+P (D)
                                2Q(X0 ) X∈P (D)′                    |D|

is the weight 3/2 holomorphic theta function for P (D), and ψD is the in-
variant vector defined in Lemma 5.5.
Proof. Let P0 ∈ H3 be the point corresponding to X0 . Using Proposition 5.2
one can check that the twisted modified Siegel theta function satisfies
                   Θ∗L,χD (τ, g −1 P0 ) = χD (ν(h))Θ∗L,χD (τ, P0 , h)
52 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

for h = gu ∈ H(Af ) with g ∈ G(Q) and u ∈ U . Moreover, we can write
Θ∗L,χD (τ, P, h) = Θ∗L(D) (τ, P, h) · ψD . Using these facts, the proof of the
theorem is analogous to the proof of Theorem 5.14. We leave the details to
the reader.                                                                 □
Remark 5.16. If P (D) is spanned by rX0 for some r ∈ Q, and we put N0 =
 1                                 ∼        2          ′          ∼
|D| Q(rX0 ), then we have P (D) = (Z, N0 x ) and P (D) /P (D) = Z/2N0 Z.
Hence, we can write more explicitly
                          √
              ∗             2N0     X         X          2
            ΘP (D) (τ ) = p                         nq n /4N0 eρ .
                            |D| ρ (mod 2N )   n∈Z
                                          0
                                              n≡ρ (mod 2N0 )

5.6. Twisted traces of Green’s functions. We are now ready to give
an explicit evaluation of the twisted double traces of the Green’s function,
similar to Theorem 4.12. We can either twist both traces, or only one of
them. Moreover, we can consider the Green’s function Gs at even or odd
integer values for s. Throughout this section, X0 denotes a fixed primitive
                             +,0         +,0
positive definite vector in Lm ′ ,µ′ or Lm′ |D|,0 , which defines sublattices P and

N as in (5.9).
   We start with the partially-twisted double trace of Gs at even integral
s = 2n for n ≥ 1, where one of the traces is twisted, and the other trace is
non-twisted.
Theorem 5.17. Let n ∈ N and let
                X       X
           f=                                     !
                               af (m, µ)q m eµ ∈ M1−2n,L −

                       µ∈L′ /L m∈Z−Q(µ)

be a weakly holomorphic modular form of weight 1−2n for the Weil represen-
tation ρL . Let m′ ∈ N such that af (−m′ |D|r2 , 0) = 0 for all integers r ≥ 1.
Then we have
        1 X X n−1/2
                       m    af (−m, µ)tr0m′ |D|,χD trm,µ (G2n )
        2
           µ∈L′ /L m>0
                  4n π                               h              i 
              = 2n χD (X0 )tr0m′ |D|,0 (1)CT fP ⊕N · ΘP , ϑe+
                                                             N − ,χD
                                                                         ,
                                                                      n
                   n

where ϑe+
        N − ,χD
                denotes the holomorphic part of ϑeN − ,χD , and [·, ·]n denotes
the n-th Rankin–Cohen bracket as defined in Section 2.3, with k = ℓ = 1/2.
Proof. Note that the character χD is compatible with the quadratic space
W = N − ⊗ Q because of Remark 4.16. Using Theorem 5.14 and Theo-
rem 5.13 the proof is analogous to the proof of Theorem 4.12.           □
Theorem 5.18. Let f ∈ M1−2n,L  !              ′
                                     − and m ∈ N be as in Theorem 5.17,

and suppose that the coefficients af (−m, µ) for m > 0 are rational. Then
the linear combination of partially twisted double traces
               X X
                        mn−1/2 af (−m, µ)tr0m′ |D|,χD trm,µ (G2n )
              µ∈L′ /L m>0
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                53
                           √
is a rational multiple of π m′ .
                           !
Proof. Since the space M1−2n,L   − has a basis of forms with rational coef-

ficients by a result of McGraw [27], a weakly holomorphic modular form
with rational principal part of negative weight has only rational coefficients.
Therefore, f (hence fP ⊕N ) has rational Fourier coefficients. Now, by Theo-
rem 5.13, we can assume that the coefficients of ϑe+
                                                   N − ,χD
                                                           are rational multiples
of 2det(N − )|D|. We have seen in Remark 4.11 that det(N − ) = 2|D|m′ .
    p

Since ΘP has rational coefficients, the √ right-hand side of the formula in
Theorem 5.17 is a rational multiple of π m′ .                                  □

  As in the case of non-twisted double traces, one can rephrase Theo-
rem 5.18 in terms of linear combinations of partially-twisted traces with
coefficients coming from rational relations for spaces of cusp forms. As a
consequence, we obtain the following corollary.
                                                            +
Corollary 5.19. Let {λ(t)}t∈N be a rational relation for S1+2n (Γ0 (|D|), χD ),
           ′                      ′   2  2
and let m ∈ N be such that λ(m |D| r ) = 0 for all integers r ≥ 1. Then
the linear combination of partially-twisted double traces
                  X
                      mn−1/2 λ(m|D|)tr0m′ |D|,χD trm (G2n )
                   m>0
                           √
is a rational multiple of π m′ .
  Next, we compute the partially-twisted double trace of Gs at odd integral
s = 2n + 1.
Theorem 5.20. Let n ∈ N and let
                     X
                f=                    !
                         af (m)q m ∈ M−2n (SL2 (Z))
                          m∈Z

be a weakly holomorphic modular form of weight −2n for SL2 (Z). Let µ′ ∈
L′ /L and −m′ ∈ Z − Q(µ′ ) with m′ > 0 such that af (−m′ r2 /|D|) = 0 for
all integers r ≥ 1 if µ′ = 0. Then we have
 1X n
        m af (−m)tr0m′ ,µ′ trm|D|,χD (G2n+1 )
 2
   m>0
                                 r
          4n π 0
                                           h                                 
                                    |D|         ∗
                                                                    iL(D)
       = 2n trm′ ,µ′ (1)χD (X0 )       CT f · ΘP (D) , ϑN (D)− ,χD
                                                        e                 · ψD ,
           n
                                     2                               n


where Θ∗P (D) is the weight 3/2 unary theta function defined in (5.10), ϑe+
                                                                          N (D)− ,χD
denotes the holomorphic part of ϑN (D)− ,χ , and [·, ·]n denotes the n-th Rankin–
                                  e
                                           D
Cohen bracket as defined in Section 2.3, with k = 3/2 and ℓ = 1/2. More-
over, the superscript L(D) denotes the map defined in Section 2.1, and ψD
is the invariant vector defined in Lemma 5.5.
54 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Proof. The proof is again very similar to the proof of Theorem 4.12. How-
ever, this time we first write the m|D|-th twisted trace of G2n+1 as a twisted
theta lift using Theorem 5.8, and then compute the non-twisted trace in the
second variable using Theorem 5.15. For brevity, we omit the details of the
computation.                                                                □
Theorem 5.21. Let the notation be as in Theorem 5.20, and suppose that
the coefficients af (−m) for m > 0 are rational. Then the linear combination
of partially-twisted double traces
                     X
                        mn af (−m)tr0m′ ,µ′ trm|D|,χD (G2n+1 )
                   m>0

is a rational multiple π.
Proof. The coefficients of the unary theta function Θ∗P (D) are rational mul-
          √
tiples of 2m′ since Q(X0 ) = m′ . Moreover, by Theorem 5.13     p we can choose
  +
ϑN (D)− ,χD such that its coefficients are rational multiples of 2det(N (D)− )|D|.
e
Now det(N (D)− ) = 2m′ |D|4 by Remark 4.11. This implies the stated re-
sult.                                                                        □

  We obtain the following corollary.
Corollary 5.22. Let {λ(t)}t∈N be a rational relation for S2+2n (SL2 (Z)),
and let m′ ∈ N be such that λ(m′ r2 /|D|) = 0 for all integers r ≥ 1. Then
the linear combination of partially-twisted double traces
                     X
                         mn λ(m)tr0m′ trm|D|,χD (G2n+1 )
                     m>0

is a rational multiple π.
   Note that part (2) of Theorem 1.5 is a direct consequence of Corollar-
ies 5.19 and 5.22.
   Finally, we evaluate the doubly-twisted double trace of Gs at odd integral
s = 2n + 1.
Theorem 5.23. Let n ∈ N and let
                     X
                f=                    !
                         af (m)q m ∈ M−2n (SL2 (Z))
                            m∈Z

be a weakly holomorphic modular form of weight −2n for SL2 (Z). Let m′ ∈ N
such that af (−m′ r2 ) = 0 for all integers r ≥ 1. Then we have
 1X n
        m af (−m)tr0m′ |D|,χD trm|D|,χD (G2n+1 )
 2
   m>0
                                 r
         4n π 0
                                           h                               
                                   |D|            ∗
                                                                  iL(D)
       = 2n trm′ ,µ′ (1)χD (X0 )      CT f · ΘP (D) , E1/2,N (D)
                                                       e                · ψD ,
           n
                                    2                              n
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE              55

                                                                        e+
where Θ∗P (D) is the weight 3/2 unary theta function defined in (5.10), E1/2,N
denotes the holomorphic part of E1/2,N , and [·, ·]n denotes the n-th Rankin–
                                  e
Cohen bracket as defined in Section 2.3, with k = 3/2 and ℓ = 1/2. More-
over, the superscript L(D) denotes the map defined in Section 2.1, and ψD
is the invariant vector defined in Lemma 5.5.
Proof. Write the twisted trace of G2n+1 as a twisted theta lift using The-
orem 5.8 and evaluate the second twisted trace using Theorem 5.15. The
computation is analogous to the proof of Theorem 4.12.                  □
Theorem 5.24. Let the notation be as in Theorem 5.23, and suppose that
the coefficients af (−m) for m > 0 are rational. Then the linear combination
of twisted double traces
                   X
                      mn af (−m)tr0m′ |D|,χD trm|D|,χD (G2n+1 )
                 m>0
                                                                          √
is a rational linear combination of log(p) for some primes p and log(ε∆ )/ ∆
for some fundamental discriminants ∆ > 0.

Proof. The coefficients of Θ∗P (D) are rational multiples of 2|D|m′ since
                                                              p

Q(X0 ) = m′ |D|. Note that |N (D)√′ /N (D)| = 2m′ |D|4 . Hence, the coeffi-
                                        ′
          e+
cients of E          are of the form πm times a rational number times log(p)
           1/2,N
            √    (D)
or log(ε∆ )/ ∆. This implies the claimed statement.                         □

  The following corollary implies part (1) of Theorem 1.5.
Corollary 5.25. Let {λ(t)}t∈N be a rational relation for S2+2n (SL2 (Z)),
and let m′ ∈ N be such that λ(m′ r2 ) = 0 for all integers r ≥ 1. Then the
linear combination of partially-twisted double traces
                  X
                      mn λ(m)tr0m′ |D|,χD trm|D|,χD (G2n+1 )
                   m>0
                                                                          √
is a rational linear combination of log(p) for some primes p and log(ε∆ )/ ∆
for some fundamental discriminants ∆ > 0.
5.6.1. Example: The value of the Green’s function at an individual special
point. In some special cases it is possible to combine our formulas for twisted
and non-twisted double traces to obtain values of Green’s functions at indi-
vidual points. We demonstrate this in the following example. We consider
the field Q(i), and take n = 1, that is, we evaluate the Green’s function over
Q(i) at s = 2. We have S3,L = {0}, so we can take f = F−1,m,µ as a Maass
Poincaré series in Theorem 4.12. Recall that L′ /L ∼ = Z/2Z × Z/2Z.
   We take the determinants m = 1 and m′ = 4, and µ = µ′ = (0, 0) in both
cases. We first compute the non-twisted double trace, using Theorem 4.12.
The computation is similar to Example 4.14. We need to simplify (4.12).
56 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

Now tr0m′ ,µ′ has two summands, corresponding to

                                                            
                        4 0                              3  1+i
                  X0 =       ,               X1 =                ,
                        0 1                             1−i  2

with stabilizers of size 2 each, and corresponding points P0 = 2j and P1 =
1+i                         0
 2 + j. Hence we have trm′ ,µ′ (1) = 1, and (4.12) becomes

                                
     1             1      1+i                  h
                                                      e+
                                                            i 
       G2 (j, 2j) + G2 j,     + j = 2πCT fP ⊕N · ΘP , E1/2,N 1 .
     8             8       2

Note that the factor 8 = 4 · 2 in the denominator on the left is the product
of the orders of the stabilizers of j and 2j, respectively.
   The lattices P and N are given by
                                         
                               4 0
            P = L ∩ (QX0 ) = n       :n∈Z ,
                               0 1
                                                      
                          ⊥     4a b
            N = L ∩ (QX0 ) =            : a ∈ Z, b ∈ Z[i] ,
                                 b −a

with dual lattices
                                      
                      ′   n 4 0
                     P =          :n∈Z ,
                          8 0 1
                                                  
                      ′   1 4a 4b
                     N =            : a ∈ Z, b ∈ Z[i] .
                          8 4b −a

For α ∈ P ′ and β ∈ N ′ in the form above, we have α + β ∈ L′ if and only
if a ≡ n (mod 8). We have P ′ /P ∼  = Z/8Z and N ′ /N ∼       = Z/8Z × (Z/2Z)2 ,
so we will write the elements of (P ⊕ N )′ /(P ⊕ N ) as (n, (a, b1 , b2 )) with
n, a ∈ Z/8Z and b1 , b2 ∈ Z/2Z.
   Since we take f = F−1,1,(0,0) = 2q −1 e0 + . . . , we have

            h            i                 X
                   e+
                                                                                           
   CT fP ⊕N · ΘP , E1/2,N     =2                     chΘ ,Ee+       i     1, (a, (a, 0, 0)) .
                                 1                       P    1/2,N 1
                                         a (mod 8)


We have
                                                              2
                                     X          X
                     ΘP (τ ) =                             q n /16 ea .
                                 a (mod 8)      n∈Z
                                             n≡a (mod 8)
      SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                             57
                                                             
Note that the coefficient chΘ ,Ee+     i    1, (a, (a, 0, 0)) is invariant under a 7→
                              P   1/2,N 1
−a (mod 8), so we get
               h           i 
     CT fP ⊕N · ΘP , Ee+
                       1/2,N 1
                                     3
                                      X
                                                                                       
 = 2 chΘ ,Ee+ i 1, (0, (0, 0, 0)) + 2   chΘ ,Ee+               i    1, (a, (a, 0, 0))
             P   1/2,N 1                              P   1/2,N 1
                                               a=1
                                      
    +chΘ ,Ee+ i 1, (4, (4, 0, 0))
        P   1/2,N 1
                                                                  
         1                                14          15
  = 2 − cEe+          1, (0, 0, 0) + 2 − cEe+             , (1, 0, 0)
         2 1/2,N                           32 1/2,N 16
                                                                                
      1          3                  1         7
    − cEe+         , (2, 0, 0) + cEe+           , (3, 0, 0)     + cEe+ (0, (4, 0, 0)) .
      4 1/2,N 4                     16 1/2,N 16                       1/2,N


The relevant coefficients of the Eisenstein series E       e+
                                                            1/2,N can be computed
using Theorem 3.6, and are given by
                                       2 log(2)
            cEe+       1, (0, 0, 0) = −          ,
                1/2,N                       π
                                                                 √
                    15                  2L(χ60 , 1)     8 log(4 + 15)
        cEe+            , (1, 0, 0) = −             =−       √          ,
           1/2,N    16                       π                 60π
                                                                  √
                      3                 2L(χ12 , 1)     2 log(7 + 2 12)
          cEe+          , (2, 0, 0) = −             =−        √           ,
             1/2,N    4                      π                  12π
                                                                     √
                     7                  2L(χ28 , 1)     2 log(127 + 24 28)
        cEe+            , (3, 0, 0) = −             =−          √           ,
           1/2,N    16                       π                    28π
                                        log(2)
             cEe+ (0, (4, 0, 0)) = −           .
                1/2,N                      π
Taking everything together, we find that
                                     
                            1+i
   G2 (j, 2j) + G2 j,              + j = 32L(χ12 , 1) − 8L(χ28 , 1) + 56L(χ60 , 1).
                              2
   Note that the real quadratic discriminants that appear, namely   p       ∆ =
60, 12, 28, are exactly the discriminants of the quadratic fields Q( (4mm′ − r2 )|D|)
for r = 1, 2, 3, respectively.
   Next, we compute the partially-twisted double trace using Theorem 5.17.
From the theorem we get, similarly as in the non-twisted case discussed
above, that
                                       
         1             1        1+i                          h            i 
(5.11) G2 (j, 2j) − G2 j,            + j = 2πCT fP ⊕N · ΘP , ϑe+    N − ,χD 1
                                                                               ,
         8             8          2
where f = F−1,1,(0,0) as before, and the lattice P and N are as above. Here
ϑeN − ,χ is a harmonic Maass form of weight 1/2 which maps to the cusp form
      D
1
2 ϑN − ,χD (see Theorem 5.13). In this case, ϑN − ,χD is precisely the cusp form
58 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

given in Example 5.12. An explicit ξ-preimage can be constructed using [26,
Proposition 6.1]. It is given by
                                                                                       
                         ∗
         ϑeN − ,χD = θe4,1    e( 1 ,0,0) + e( 7 ,0,0) − e( 5 , 1 , 1 ) − e( 7 , 1 , 1 )
                              8               8               8 2 2         8 2 2
                                                                                         
                           ∗
                        +θ4,2 e(0, 1 ,0) + e(0,0, 1 ) − e( 1 , 1 ,0) − e( 1 ,0, 1 )
                          e
                               2                      2         2 2           2      2
                                                                                          
                           ∗
                        +θe4,3 e( 1 , 1 , 1 ) + e( 7 , 1 , 1 ) − e( 3 ,0,0) − e( 5 ,0,0) ,
                                     8 2 2       8 2 2       8          8

                                                          ∗ have holo-
where the weight 1/2 scalar-valued harmonic Maass forms θe4,ρ
morphic parts
    ∗,+   1 1     7 15 21 31 43 47 47 63                 79         95
  θe4,1 = q − 16 − q 16 − q 16 − q 16 − q 16 − 42q 16 − 77q 16 + . . . ,
          4       4        4        4       2
    ∗,+       3     7       11      15     19        23
  θ4,2 = −2q 4 − 6q 4 − 14q 4 − 28q 4 − 54q 4 − 98q 4 + . . . ,
   e
    ∗,+     3 7    7 23       39 69 55 119 71 239 87
  θe4,3 = − q 16 − q 16 − 7q 16 − q 16 −      q 16 −     q 16 + . . . .
            4      2              4        4           4
We computed these expansions numerically
                                      √         in sage, using [26, Proposi-
tion 6.1(2)], with N = 4 and ε4 = 6 8 + 17.
   The constant term CT(·) appearing on the right-hand side of (5.11) can
be computed similarly as in the non-twisted case above, replacing E   e+
                                                                       1/2,N
by ϑeN − ,χD , so we do not repeat this computation here. Putting in the
coefficients of θe∗,+ above, we obtain from (5.11) that
                  4,ρ
                                                 
                                           1+i
                        G2 (j, 2j) − G2 j,     + j = −4π.
                                            2
   Combining the evaluation of the non-twisted and partially-twisted double
trace yields

           G2 (j, 2j) = 16L(χ12 , 1) − 4L(χ28 , 1) + 28L(χ60 , 1) − 2π.

In particular, the “individual” value G2 (j, 2j) is not just a rational linear
combination of L-values.
  For n = 2 we have S5,L = {0}, so we can compute in a similar way that
                          
                  1+i
G4 (j, 2j)+G4 j,       + j = −64 log(2)+32L(χ12 , 1)+62L(χ28 , 1)−34L(χ60 , 1),
                   2
and
                                                 
                                           1+i
                        G4 (j, 2j) − G4 j,     + j = −π.
                                            2
This yields
                                                                                    π
   G4 (j, 2j) = −32 log(2) + 16L(χ12 , 1) + 31L(χ28 , 1) − 17L(χ60 , 1) −             .
                                                                                    2
       SPECIAL VALUES OF GREEN’S FUNCTIONS ON HYPERBOLIC 3-SPACE                       59

                                     References
 [1] C. Alfes and S. Ehlen, Twisted traces of CM values of weak Maass forms, J. Number
     Theory 133 (2013), 1827–1845.
 [2] R.E. Borcherds, Automorphic forms with singularities on Grassmannians, Invent.
     Math. 132 (1998), 491–562.
 [3] J.H. Bruinier, Borcherds products on O(2, l) and Chern classes of Heegner divisors,
     Lecture Notes in Mathematics 1780, Springer-Verlag, Berlin (2002).
 [4] J.H. Bruinier and M. Bundschuh, On Borcherds products associated with lattices of
     prime discriminant, Ramanujan J. 7 (2003), 49–61.
 [5] J.H. Bruinier, S. Ehlen, and T. Yang, CM values of higher automorphic Green’s
     functions on orthogonal groups, Invent. Math. 225 (2021), 693–785.
 [6] J.H. Bruinier and J. Funke, On two geometric theta lifts, Duke Math. J. 125, no. 1
     (2004), 45–90.
 [7] J.H. Bruinier and U. Kühn, Integrals of automorphic Green’s functions associated to
     Heegner divisors, Int. Math. Res. Not. IMRN 2003, no. 31 (2003), 1687–1729.
 [8] J.H. Bruinier and M. Kuss, Eisenstein series attached to lattices and modular forms
     on orthogonal groups, Manuscripta Math. 106, no. 4 (2001), 443–459.
 [9] J.H. Bruinier, Y. Li, and T. Yang, Deformed theta integral and a conjecture of Gross–
     Zagier, arXiv:2204.10604 (2022).
[10] J.H. Bruinier and K. Ono, Heegner divisors, L-functions and harmonic weak Maass
     forms, Ann. of Math. (2) 172 (2010), 2135–2181.
[11] J.H. Bruinier and M. Schwagenscheidt, Algebraic formulas for the coefficients of mock
     theta functions and Weyl vectors of Borcherds products, J. Algebra 478 (2017), 38–57.
[12] J.H. Bruinier and T. Yang, Faltings heights of CM cycles and derivatives of L-
     functions, Invent. Math. 177, no. 3 (2009), 631–681.
[13] J.H. Conway and N.J.A. Sloane, Sphere packings, lattices and groups, Springer-Verlag,
     New York (1999).
[14] R. Cowan, D. Katz, and L. White, A new generating function for calculating the Igusa
     local zeta function, Adv. Math. 304 (2017), 355–420.
[15] W. Duke and Y. Li, Harmonic Maass forms of weight 1, Duke Math. J. 164, no. 1
     (2015), 39–113.
[16] J. Elstrodt, F. Grunewald, and J. Mennicke, Groups Acting on Hyperbolic Space
     - Harmonic Analysis and Number Theory, Springer Monographs in Mathematics,
     Springer-Verlag Berlin Heidelberg (1998).
[17] S. Ehlen, CM values of regularized theta lifts and harmonic weak Maaß forms of
     weight 1, Duke Math. J. 166, no. 13 (2017), 2447–2519.
[18] B. Gross, W. Kohnen, and D. Zagier, Heegner points and derivatives of L-series. II,
     Math. Ann. 278 (1987), 497–562.
[19] B. Gross and D. Zagier, Heegner points and derivatives of L-series, Invent. Math. 84
     (1986), 225–320.
[20] B. Gross and D. Zagier, On singular moduli, J. Reine Angew. Math. 355 (1985),
     191–220.
[21] S. Herrero, Ö. Imamoglu, A.-M. von Pippich, and Á. Tóth, A Jensen–Rohrlich type
     formula for the hyperbolic 3-space, Trans. Amer. Math. Soc. 371, no. 9 (2019), 6421–
     6446.
[22] S. Kudla, Integrals of Borcherds forms, Compos. Math. 137, no. 3 (2003), 293–349.
[23] S. Kudla, Some extensions of the Siegel–Weil formula, Eisenstein series and applica-
     tions, 205–237, Progr. Math. 258, Birkhäuser, Boston (2008).
[24] Y. Li, Average CM-values of higher Green’s function and factorization,
     Amer. J. Math. 144, no. 5 (2022), 1241-1298.
[25] Y. Li, Algebraicity of higher Green’s function at a CM point, Invent. Math. 234
     (2023), 375-418.
60 S. HERRERO, Ö. IMAMOḠLU, A.-M. VON PIPPICH, AND M. SCHWAGENSCHEIDT

[26] Y. Li and M. Schwagenscheidt, Mock modular forms with integral Fourier coefficients,
     Adv. Math. 399 (2022).
[27] W.J. McGraw, The rationality of vector valued modular forms associated with the
     Weil representation, Math. Ann. 326, no. 1 (2003), 105–122.
[28] A. Mellit, Higher Green’s functions for modular forms, arXiv:0804.3184 (2008).
[29] S. Rallis, L-Functions and the Oscillator Representation, Lecture notes in mathemat-
     ics 1245, Springer-Verlag, New York (1987).
[30] R.C. Rhoades and M. Waldherr, A Maass lifting of Θ3 and class numbers of real and
     imaginary quadratic fields, Math. Res. Lett. 18, no. 5 (2011), 1001–1012.
[31] J. Schofer, Borcherds forms and generalizations of singular moduli, J. Reine Angew.
     Math. 629 (2009), 1–36.
[32] G. Shimura, Arithmetic and analytic theories of quadratic forms and Clifford groups,
     Math. Surveys Monogr. 109, American Mathematical Society, Providence, RI, 2004.
[33] G. Shimura, Integer-valued quadratic forms and quadratic Diophantine equations,
     Doc. Math. 11 (2006), 333–367.
[34] K. Snitz, Theta correspondence of automorphic characters, J. Number Theory 122
     (2007), 429–465.
[35] M. Viazovska, CM Values of higher Green’s functions, arXiv:1110.4654 (2011).
[36] M. Viazovska, Petersson inner products of weight-one modular forms, J. Reine Angew.
     Math. 749 (2019), 133–159.
[37] J. Voight, Quaternion Algebras, Grad. Texts in Math., 288, Springer, Cham, 2021.
[38] B. Williams, Vector-valued Eisenstein series of small weight, Int. J. Number Theory
     15, no. 2 (2019), 265–287.
[39] B. Williams, Poincaré square series for the Weil representation, Ramanujan J. 47,
     no. 3 (2018), 605–650.
[40] B. Williams, weilrep sageMath program, https://github.com/btw-47/weilrep.

  Universidad de Santiago de Chile, Dept. de Matemática y Ciencia de la
Computación, Av. Libertador Bernardo O’Higgins 3363, Santiago, Chile, and
ETH, Mathematics Dept., CH-8092, Zürich, Switzerland
  Email address: sebastian.herrero.m@gmail.com

  ETH, Mathematics Dept., CH-8092, Zürich, Switzerland
  Email address: ozlem@math.ethz.ch

   University of Konstanz, Dept. of Mathematics and Statistics, Univer-
sitätsstraße 10, 78464 Konstanz, Germany
   Email address: anna.pippich@uni-konstanz.de

  ETH, Mathematics Dept., CH-8092, Zürich, Switzerland
  Email address: mschwagen@ethz.ch
