## Background

Since the introduction of the theory of Jacobi forms by Eichler and Zagier [1], connections between Jacobi forms and modular-type objects have been a question of central interest, with applications to many areas including Siegel modular forms, mock modular forms, and Lie theory. In this paper we study the Fourier coefficients of a special family of negative index Jacobi forms. In particular, consider for $N\in ℕ,M\in {ℕ}_{0}$ the functions

${\varphi }_{M,N}\left(z;\tau \right):=\frac{𝜗{\left(z+\frac{1}{2};\tau \right)}^{M}}{𝜗{\left(z;\tau \right)}^{N}},$

where 𝜗(z;τ) is the usual Jacobi theta function

$𝜗\left(z;\tau \right):=-i{\zeta }^{-\frac{1}{2}}{q}^{\frac{1}{8}}{\left(q\right)}_{\infty }{\left(\zeta \right)}_{\infty }{\left({\zeta }^{-1}q\right)}_{\infty }.$
(1)

Here, $q:={e}^{2\mathrm{\pi i\tau }}\left(\tau \in ℍ\right)$, $\zeta :={e}^{2\mathrm{\pi iz}}\left(z\in ℂ\right)$, and for $n\in {ℕ}_{0}\cup \left\{\infty \right\}$, ${\left(a\right)}_{n}:={\left(a;q\right)}_{n}:=\prod _{j=0}^{n-1}\left(1-a{q}^{j}\right)$ is the q-Pochhammer symbol. The relationship between Jacobi forms and modular forms has appeared in many guises and stems back to important work on holomorphic Jacobi forms, which states that they have theta decompositions relating them to half-integral weight modular forms [1]. The situation for meromorphic positive index Jacobi forms also well understood; a meromorphic Jacobi form of positive index has Fourier coefficients which are almost mock modular forms, which in turn are holomorphic parts of almost harmonic Maass forms[2]-[6]. Loosely speaking, almost harmonic weak Maass forms are sums of harmonic weak Maass functions under iterates of the raising operator multiplied by almost holomorphic modular forms. In this paper, we describe new decompositions of the Jacobi forms ϕM,N(z;τ) which complement this long history of previous work on positive index Jacobi forms in the much more mysterious case of negative index. In addition to being of interest in the subject of general Jacobi forms, here we give further applications of such decompositions, focusing on the special subfamily ϕ N (τ):=ϕ0,N(τ) as they are of great interest in various areas such as number theory, representation theory, combinatorics, and physics. Here we outline just a few such occurrences.

Firstly, for various choices of N, the functions ϕ N are of combinatorial interest. In particular, the function ϕ1 is related to the famous Andrews-Dyson-Garvan crank generating function (see (7) and (8)), which was used by Andrews and Garvan to provide a combinatorial explanation for the Ramnaujan congruences for the partition function [7], as postulated by Dyson [8]. In this paper we describe relations between powers of the crank-generating function with certain Appell-Lerch series, giving a new family of partial differential equations (PDEs) generalizing the ‘rank-crank PDE’ of Atkin and Garvan [9] (see Theorem 3). This beautiful identity of Atkin and Garvan gives a surprising connection between the rank and crank generating functions which can be used to show various congruences-relating ranks and cranks, as well as useful relations between the rank and crank moments [9]. We also note the other examples of similar PDEs related to combinatorics have shown up in, for example Section 3.2 of [10], where the function ϕ1,3(z;τ) is studied in relation to overpartitions.

Secondly, the functions ϕ N contain information about certain affine vertex algebras and their associated affine Lie algebras studied by Kac and Wakimoto [11]. More precisely, let $\mathcal{S}\left(1\right)$ be the graded vector space

$\mathcal{S}\left(1\right):=\text{Sym}\underset{n=0}{\overset{\infty }{\oplus }}\left({q}^{n+\frac{1}{2}}\left(\mathrm{\zeta ℂ}\oplus {\zeta }^{-1}ℂ\right)\right),$

and $\mathcal{S}\left(N\right)=\mathcal{S}{\left(1\right)}^{\otimes N}$. The vector space $\mathcal{S}\left(N\right)$ can be given the structure of a vertex algebra, the bosonic β γ-ghost vertex algebra of rank N and central charge −N. The graded character of this vertex algebra has a nice product form in the domain $|q{|}^{\frac{1}{2}}<|{\zeta }_{n}|<|q{|}^{-\frac{1}{2}}$, where ${\zeta }_{n}:={e}^{2\mathrm{\pi i}{z}_{n}}$,

$\text{ch}\left[\phantom{\rule{0.3em}{0ex}}\mathcal{S}\left(N\right)\right]\left({z}_{1},\cdots \phantom{\rule{0.3em}{0ex}},{z}_{N};\tau \right)=\prod _{n=1}^{N}{q}^{\frac{1}{24}}\text{ch}\left[\phantom{\rule{0.3em}{0ex}}\mathcal{S}\left(1\right)\right]\left({z}_{n};\tau \right)={q}^{\frac{N}{24}}\prod _{n=1}^{N}\frac{1}{{\left({\zeta }_{n}^{-1}{q}^{\frac{1}{2}}\right)}_{\infty }{\left({\zeta }_{n}{q}^{\frac{1}{2}}\right)}_{\infty }}.$
(2)

It specializes to ϕ N (z;τ) for the following choices:

${i}^{N}{\zeta }^{\frac{N}{2}}{q}^{-\frac{N}{6}}{\left(q\right)}_{\infty }^{-N}\text{ch}\left[\phantom{\rule{0.3em}{0ex}}\mathcal{S}\left(N\right)\right]\left(z-\frac{\tau }{2},\cdots \phantom{\rule{0.3em}{0ex}},z-\frac{\tau }{2};\tau \right)={\varphi }_{N}\left(z;\tau \right).$

The algebra $\mathcal{S}\left(N\right)$ contains as commuting subalgebras the rank 1 Heisenberg vertex algebra $\mathcal{ℋ}\left(1\right)$ and the simple affine vertex algebra of $s\ell \left(N\right)$ at level −1, ${L}_{-1}\left(s\ell \left(N\right)\right)$. Note that −1 is not an admissible level in the case of N=2 and that these algebras do not form a mutually commuting pair inside $\mathcal{S}\left(2\right)$. However, for N>2 it was shown in [12] that ${L}_{-1}\left(s\ell \left(N\right)\right)$ and $\mathcal{ℋ}\left(1\right)$ form such a mutually commuting pair inside $\mathcal{S}\left(N\right)$. The character of the highest-weight module ${\mathcal{F}}_{\mu }$, $\mu \in ℝ$, of $\mathcal{ℋ}\left(1\right)$ takes the form

$\text{ch}\left[\phantom{\rule{0.3em}{0ex}}{\mathcal{F}}_{\mu }\left(z;\tau \right)\right]=\frac{{\zeta }^{\sqrt{N}\mu }{q}^{-\frac{{\mu }^{2}}{2}}}{{q}^{\frac{1}{24}}{\left(q\right)}_{\infty }},$
(3)

so that the Fourier coefficients in ζ of ϕ N (z;τ) immediately allow one to compute the multiplicity with which the character of ${\mathcal{F}}_{r/\sqrt{N}}$ appears. In physics language, such a multiplicity is called the branching function of the coset $\mathcal{S}\left(N\right)/\mathcal{ℋ}\left(1\right)$.

This leads to the second conformal field theory and vertex algebra importance of decomposing a meromorphic Jacobi form. One of the most interesting classes of vertex algebras is given by ${V}_{k}\left(\mathfrak{𝔤}\right)$, the universal affine vertex algebra of the simple Lie algebra $\mathfrak{𝔤}$ at level $k\in ℂ$. For certain rational admissible levels, ${V}_{k}\left(\mathfrak{𝔤}\right)$ is not simple and one instead prefers to study its simple quotient ${L}_{k}\left(\mathfrak{𝔤}\right)$. The characters of irreducible highest-weight modules at admissible level ${L}_{k}\left(\mathfrak{𝔤}\right)$ are the sum expansions in special domains of meromorphic Jacobi forms [13]. Understanding these sum expansions is crucial in studying the modular data of the corresponding conformal field theory [14],[15].

Fourthly, the functions ϕ N appear in the denominator identities of affine Lie super algebras [16]. In [14],[15] the denominator identity of $\stackrel{̂}{\text{s}\ell }\left(2|1\right)$ was an essential ingredient to study the relations between characters of admissible level L k (s(2)), while we use the identities for the family $\stackrel{̂}{\text{s}\ell }\left(N|1\right)$ to prove one of our central theorems.

Finally, the functions ϕ N also occur in string theory; we only expound upon one example. The reciprocal of the Igusa cusp form Φ10(Z) ($Z\in {ℍ}_{2}$, the Siegel upper half plane of genus (2) arises as the partition function of quarter-BPS dyons in the type II compactification on the product of a K3 surface and an elliptic curve. Write

$\frac{1}{{\Phi }_{10}\left(Z\right)}=\sum _{m=-1}^{\infty }{\psi }_{m}\left(z;\tau \right){\rho }^{m}\phantom{\rule{2em}{0ex}}\left(Z=\left(\begin{array}{c}\tau \phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}z\\ z\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}w\end{array}\right),\phantom{\rule{1em}{0ex}}\rho ={e}^{2\mathrm{\pi iw}}\right).$
(4)

For m>0, the Fourier coefficients of the functions ψ m are the degeneracies of single-centered black holes and two-centered black holes with total magnetic charge invariant equal to m. This case is studied in pathbreaking work of Dabholkar, Murthy, and Zagier [3] (see also [17] for the appearance of mock modular forms in the context of quantum gravity partition functions and AdS3/CFT2, as well as [18] for a relation between multi-centered black holes and mock Siegel-Narain theta functions). The coefficient of m=−1 equals

$\frac{-1}{{\eta }^{18}\left(\tau \right)𝜗{\left(z;\tau \right)}^{2}}$

(note that our theta function 𝜗(z;τ) differs from the theta function θ1(z;τ) in the notation of [3] by a factor of i). Analogously to the case of Jacobi forms of positive index, one may view Theorem 3 below as a decomposition giving a ‘polar part’ but no ‘finite part’ as described in [2],[3] and stated in more detail in (24). This is consistent with a string theoretic interpretation of ψ−1 in (4) in that there are no single-centered black holes and the degeneracies are all interpreted as accounting for two-centered black holes (see [19],[20]). In contrast, in the case m>0, the mock part of ψ m corresponds to single-centered black holes and the Appel Lerch sum corresponds to two-centered black hole bound states [3].

Returning to the problem of studying ϕM,N, we define its Fourier coefficients by

${\varphi }_{M,N}\left(z;\tau \right)=:\sum _{r\in \frac{M-N}{2}+ℤ}\chi \left(M,N,r;\tau \right){\zeta }^{r}$

and in particular we set χ(N,r;τ):=χ(0,N,r;τ). Note that wallcrossing occurs; the coefficients χ(M,N,r;τ) are only well-defined if we fix a range for z. We show that the Fourier coefficients χ(M,N,r;τ) can be described using partial theta functions (i.e., sums over half a lattice which when summed over a full lattices becomes a theta function), whose modularity properties near the real line we also describe using quantum modular forms. Quantum modular forms were recently defined by Zagier in [21] (see also [22]-[24]). Although the definition is not rigorous, Zagier gave a number of motivating examples. Roughly speaking, a weight k quantum modular form is a function $f:\mathcal{Q}\to ℂ$ for some subset $\mathcal{Q}\subseteq {ℙ}_{1}\left(ℚ\right)$ such that for any γ in a congruence subgroup Γ, the cocycle f| k (1−γ) extends to an open set of and is ‘nice’ (e.g., continuously differentiable, smooth). In fact, our study of the modularity of the partial theta functions shows that they are what Zagier refers to as strong quantum modular forms, namely, that they have a near-modular property for asymptotic expansions defined at every point in a subset of ${ℙ}_{1}\left(ℚ\right)$. Moreover, this behavior comes from the ‘leaking’ of modularity properties of a non-holomorphic Eichler integral defined on the lower half plane (see (38)).

Returning to the Fourier coefficients of ϕM,N, we define a mixed partial theta function to be a linear combination of quasimodular forms multiplied with partial theta functions. These functions have known connections to many interesting combinatorial functions, such as concave and convex compositions [25], unimodal sequences [26],[27], and stacks [28]. Throughout, we abuse notation to say that any function is a modular form, partial theta function, mixed partial theta function, etc. if it is equal to such a function up to multiplication by a rational power of q. Our main result is the following:

### Theorem1.

For any $N\in ℕ$, $M\in 2{ℕ}_{0}$ and $r\in ℤ$ with M<N, the functions χ(M,N,r;τ) are mixed partial theta functions.

### Remarks.

1. 1.

The quasimodular forms appearing in the decomposition of the mixed partial theta functions are canonically determined by the Laurent expansion of the Jacobi form ϕ M,N (see Theorem 4).

2. 2.

Using the techniques of this paper, it is easy to relax the condition on M to allow any natural number less than N; however, we restrict to even M for notational convenience. Together with Theorem 1 and the works in [2],[3],[5], this settles the final cases of modularity of Kac-Wakimoto characters raised in [11].

We first consider the case of ϕ N (z;τ), which we study from two perspectives. Our first viewpoint describes the Fourier coefficients as derivatives of partial theta functions of a rescaled version of the root lattice

${A}_{N-1}:=ℤ{\alpha }_{1}\oplus \cdots \oplus ℤ{\alpha }_{N-1}$

of sℓ(N). Here, the α n are the simple roots of sℓ(N), which are linear functionals on the Cartan subalgebra $\mathfrak{𝔥}\cong {ℂ}^{N-1}$ of sℓ(N). The Gram matrix of AN−1 is the Cartan matrix of sℓ(N). We denote the bilinear form by (|) and abbreviate t2:=(t|t) for t in AN−1. For r in , we define the subset of $\frac{1}{N}{A}_{N-1}$

$\phantom{\rule{-10.0pt}{0ex}}\begin{array}{c}{T}_{r}:=\left\{\sum _{n=1}^{N-1}{a}_{n}{\alpha }_{n}\left|\right{a}_{n}=\frac{\left(N-n\right)n}{2}-\frac{\mathit{\text{rn}}}{N}+\left(N-1\right){m}_{n},{m}_{n}\in ℤ,\left({m}_{N-1}-\frac{1}{2}\right)\left(r-\frac{1}{2}\right)\ge 0\right\}\end{array}$
(5)

and its partial theta function

${P}_{r}\left(\tau \right):=\sum _{t\in {T}_{r}}{e}^{t}{q}^{\frac{{t}^{2}}{2\left(N-1\right)}}.$

The et are functions on the Cartan subalgebra $\mathfrak{𝔥}$ defined by et : uet(u) for u in $\mathfrak{𝔥}$. Its evaluation for $u\in \mathfrak{𝔥}$ is then denoted by P r (u;τ). We call P r a partial theta function because the theta function obtained by summing over the complete lattice $\frac{1}{N}{A}_{N-1}$,

${\theta }_{N}\left(\tau \right):=\sum _{t\in \frac{1}{N}{A}_{N-1}}{e}^{t\left(0\right)}{q}^{\frac{{t}^{2}}{2\left(N-1\right)}},$

is a modular form of weight (N−1)/2 for Γ(M) with M=N2(N−1)/2. This statement is true, since θ N is the theta function of the lattice $\frac{1}{\sqrt{2M}}{A}_{N-1}$. The level of this lattice is M, and the modularity of theta functions of lattices is discussed for example in [29].

Further, let be the differential operator

${\partial }_{\alpha }{e}^{\lambda }:=\left(\lambda |\alpha \right){e}^{\lambda }\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}\partial :=\prod _{\alpha \in {\Delta }_{0}^{+}}{\partial }_{\alpha }$
(6)

where ${\Delta }_{0}^{+}$ is the set of positive roots of sℓ(N). Finally, set ${d}_{N}:=\prod _{j=1}^{N}j!$ and let sign(r)=1 if r≥0 and −1 otherwise. Then we have the following.

### Theorem 2.

For N≥2, the r th Fourier coefficient of ϕ N (z;τ) is given by

$\begin{array}{c}\begin{array}{cc}\chi \left(N,r;\tau \right)& =\frac{{i}^{N}\text{sign}\left(r-\frac{N}{2}\right){q}^{\frac{-{r}^{2}}{2N}}}{\eta {\left(\tau \right)}^{N\left(N+1\right)}{d}_{N-1}}\sum _{t\in {T}_{r-\frac{N}{2}}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(t|\alpha \right){q}^{\frac{{t}^{2}}{2\left(N-1\right)}}\\ ={\frac{{i}^{N}\text{sign}\left(r-\frac{N}{2}\right){q}^{\frac{-{r}^{2}}{2N}}}{\eta {\left(\tau \right)}^{N\left(N+1\right)}{d}_{N-1}}\partial {P}_{r-\frac{N}{2}}\left(\tau \right)|}_{\left\{{e}^{t}=1\left|\rightt\in \frac{1}{N}{A}_{N-1}\right\}}.\end{array}\end{array}$

### Remarks.

1. 1.

Using (2) and (3), Theorem 2 implies the character decomposition

$\begin{array}{c}\begin{array}{cc}\text{ch}\left[\phantom{\rule{0.3em}{0ex}}\mathcal{S}\left(N\right)\right]\left(z,\cdots \phantom{\rule{0.3em}{0ex}},z;\tau \right)& =\sum _{r\in ℤ}\text{ch}\left[\phantom{\rule{0.3em}{0ex}}{\mathcal{F}}_{\frac{r}{\sqrt{N}}}\left(z;\tau \right)\right]\text{ch}\left[\phantom{\rule{0.3em}{0ex}}{\mathcal{ℬ}}_{r}\right]\left(\tau \right),\phantom{\rule{2em}{0ex}}\end{array}\end{array}$

where

$\begin{array}{c}\begin{array}{cc}\text{ch}\left[\phantom{\rule{0.3em}{0ex}}{\mathcal{ℬ}}_{r}\right]\left(\tau \right):& =\frac{\text{sign}\left(r\right)}{\eta {\left(\tau \right)}^{{N}^{2}-1}{d}_{N-1}}\sum _{t\in {T}_{r}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(t|\alpha \right){q}^{\frac{{t}^{2}}{2\left(N-1\right)}}.\end{array}\end{array}$

The $\text{ch}\left[\phantom{\rule{0.3em}{0ex}}{\mathcal{ℬ}}_{r}\right]\left(\tau \right)$ are then characters of L−1(sℓ(N)).

1. 2.

The proof of the theorem uses the denominator identity of both sℓ(N|1) and $\stackrel{̂}{s\ell }\left(N|1\right)$ as well as Weyl’s character formula for sℓ(N).

2. 3.

The case N=1 follows from the denominator identity of $\stackrel{̂}{\mathrm{g}\ell }\left(1|1\right)$ (see Example 1). In this case, the Fourier coefficients relate to the characters of a well-known logarithmic conformal field theory, the $\mathcal{W}\left(2,3\right)$-algebra of central charge −2. The modularity of the coefficients has been studied from a different perspective in [30].

The second approach is based on a generalization of a deep identity of Atkin and Garvan. To state it, we first recall the rank and crank generating functions (whose combinatorial meanings are not needed in this paper), which arise in many contexts and in particular give combinatorial explanations of Ramnaujan’s congruences (for example, see [7],[8],[31]). Specifically, the generating functions are given as follows:

$\mathcal{R}\left(\zeta ;q\right):=\frac{\left(1-z\right)}{{\left(q\right)}_{\infty }}\sum _{n\in ℤ}\frac{{\left(-1\right)}^{n}{q}^{\frac{n}{2}\left(3n+1\right)}}{1-\zeta {q}^{n}},\phantom{\rule{2em}{0ex}}\mathcal{C}\left(\zeta ;q\right):=\frac{{\left(q\right)}_{\infty }}{{\left(\mathrm{\zeta q}\right)}_{\infty }{\left({\zeta }^{-1}q\right)}_{\infty }}.$
(7)

We also need the normalized versions

${\mathcal{R}}^{\ast }\left(\zeta ;q\right):=\frac{{\zeta }^{\frac{1}{2}}{q}^{-\frac{1}{24}}\mathcal{R}\left(\zeta ;q\right)}{1-\zeta },\phantom{\rule{1em}{0ex}}\phantom{\rule{1em}{0ex}}\phantom{\rule{1em}{0ex}}\phantom{\rule{1em}{0ex}}{\mathcal{C}}^{\ast }\left(\zeta ;q\right):=\frac{{\zeta }^{\frac{1}{2}}{q}^{-\frac{1}{24}}\mathcal{C}\left(\zeta ;q\right)}{1-\zeta }.$

Note that ϕ N is essentially the N th power of ${\mathcal{C}}^{\ast }$ as for $N\in ℕ$ we have

${\varphi }_{N}\left(z;\tau \right)={i}^{N}\eta {\left(\tau \right)}^{-2N}{\mathcal{C}}^{\ast }{\left(\zeta ;q\right)}^{N}.$
(8)

The simplest case of our decomposition relies on the fact that ${\mathcal{C}}^{\ast }$, and thus ϕ1, is essentially an Appell-Lerch sum thanks to the following classical partial fraction expansion (for example, see Theorem 1.4 of [32]).

${\mathcal{C}}^{\ast }\left(\zeta ;q\right)=\frac{{\zeta }^{\frac{1}{2}}}{\eta \left(\tau \right)}\sum _{n\in ℤ}\frac{{\left(-1\right)}^{n}{q}^{\frac{n\left(n+1\right)}{2}}}{1-\zeta {q}^{n}}.$
(9)

For the cube of the crank generating function, Atkin and Garvan [9] proved the following rank-crank PDE which is very useful in establishing congruences and relations between the moments of the rank and crank generating functions:

$2\eta {\left(\tau \right)}^{2}{\mathcal{C}}^{\ast }{\left(\zeta ;q\right)}^{3}=\left(6{\mathcal{D}}_{q}+{\mathcal{D}}_{\zeta }^{2}\right){\mathcal{R}}^{\ast }\left(\zeta ;q\right).$
(10)

Here and throughout ${\mathcal{D}}_{x}:=x\frac{\partial }{\mathrm{\partial x}}$. Note that this gives a description of ϕ3 in terms of Appell-Lerch sums by (8).

Zwegers [32] nicely generalized (10) for arbitrary odd powers of the crank generating function using the theory of elliptic forms. For similar results using another clever proof, see also the paper of Chan, Dixit, and Garvan [33].

In this paper, we prove a new family of analogous PDEs which are of independent interest. Moreover, we package Zwegers’ family of PDEs in a way which illuminates their structure coming from negative index Jacobi forms. To describe this, we need the Appell-Lerch sums

${F}_{N}\left(z,u;\tau \right):={\zeta }^{\frac{N}{2}}{w}^{\frac{N}{2}}\sum _{n\in ℤ}\frac{{\left(-w\right)}^{\mathit{\text{Nn}}}{q}^{\frac{N}{2}n\left(n+1\right)}}{1-\mathrm{\zeta w}{q}^{n}},$
(11)

where w:=e2πiu. We note that these Appell-Lerch sums are similar to the functions f z (u;τ) considered in Chapter 3 of [6], which transform as a Jacobi form in u and as a ‘mock Jacobi form’ in z. We also require the Laurent coefficients of ϕM,N(z;τ) at z=0:

${\varphi }_{M,N}\left(z;\tau \right)=\frac{{D}_{N}\left(\tau \right)}{{\left(2\mathrm{\pi iz}\right)}^{N}}+\frac{{D}_{N-2}\left(\tau \right)}{{\left(2\mathrm{\pi iz}\right)}^{N-2}}+\cdots +O\left(1\right).$
(12)

Note that only even or odd Laurent coefficients occur, depending on the parity of N, since 𝜗(−z;τ)=−𝜗(z;τ). It is not hard to see that the coefficients D j are quasimodular forms. Explicitly, they can be computed quickly in terms of the usual Eisenstein series

${G}_{k}\left(\tau \right):=-\frac{{B}_{k}}{2k}+\sum _{n\ge 1}{\sigma }_{k-1}\left(n\right){q}^{n},$

where ${\sigma }_{k}\left(n\right):=\sum _{d|n}{d}^{k}$ and B k is the usual k th Bernoulli number. Specifically, it easily follows from the Jacobi triple product formula that

$𝜗\left(z;\tau \right)=-2\mathrm{\pi z}{\eta }^{3}\left(\tau \right)exp\left(-2\sum _{k\ge 1}{G}_{2k}\left(\tau \right)\frac{{\left(2\mathrm{\pi iz}\right)}^{2k}}{\left(2k\right)!}\right).$

The following result puts Zwegers family of PDEs as well as our new family of PDEs into a common framework. Setting

${\delta }_{e}:=\left\{\begin{array}{cc}0& \text{if}N\in 2ℕ-1,\\ 1& \text{if}N\in 2ℕ,\end{array}\right\$

we find:

### Theorem 3.

For any $N\in ℕ$, $M\in {ℕ}_{0}$, we have

${\varphi }_{2M,N+2M}\left(z;\tau \right)={\left(-1\right)}^{1+{\delta }_{e}}\sum _{j=0}^{\frac{N-1-{\delta }_{e}}{2}+M}\frac{{D}_{2j+{\delta }_{e}+1}\left(\tau \right)}{\left(2j+{\delta }_{e}\right)!}{\mathcal{D}}_{w}^{2j+{\delta }_{e}}\left({F}_{N}\left(z,u;\tau \right)\right){}_{w=1}.$

### Remarks.

1. 1.

Note that Theorem 3 is more explicit than Zwegers’ rank-crank type PDEs as it gives the modular coefficients of the PDEs directly from the structure of the Jacobi form ϕ M,N. Chan, Dixit, and Garvan also remarked that it would be interesting to find such an explicit expression for the quasimodular forms in the decomposition in that case.

2. 2.

It would be interesting to find a Lie theoretic interpretation of the decomposition in Theorem 3.

Armed with the decomposition in Theorem 3 into Appell-Lerch sums, we can easily pick off the Fourier coefficients χ(M,N,r;τ) and write them in terms of the Laurent coefficients of ϕM,N and certain partial theta functions

${\Theta }_{\frac{1}{2}+{\delta }_{e}}\left(N,r;\tau \right):=\sum _{n\ge 0}{\left(-1\right)}^{\mathit{\text{Nn}}}{\left(n+\frac{r}{N}\right)}^{{\delta }_{e}}{q}^{\frac{N}{2}{\left(n+\frac{r}{N}\right)}^{2}}.$

Specifically, if we let

$\rho \left(r\right):=\left\{\begin{array}{cc}r& \text{if}r\ge \frac{N}{2},\\ N-r& \text{if}r<\frac{N}{2},\end{array}\right\$

then the Fourier coefficients of ϕM,N are as follows.

### Theorem 4.

For any $N\in ℕ$, $M\in {ℕ}_{0}$, $r\in \frac{N}{2}+ℤ$, 0≤ Im(z)< Im(τ), we have

$\phantom{\rule{-9.0pt}{0ex}}\chi \left(2M,N+2M,r;\tau \right)={\left(-1\right)}^{1+{\delta }_{e}}{q}^{-\frac{{r}^{2}}{2N}}\sum _{j=0}^{\frac{N-1-{\delta }_{e}}{2}\phantom{\rule{0.3em}{0ex}}+\phantom{\rule{0.3em}{0ex}}M}\frac{{D}_{2j+{\delta }_{e}+1}\left(\tau \right)}{\left(2j+{\delta }_{e}\right)!}{N}^{j+{\delta }_{e}}{2}^{j}{\mathcal{D}}_{q}^{\phantom{\rule{0.3em}{0ex}}j}\left({\Theta }_{\frac{1}{2}+{\delta }_{e}}\left(N,\rho \left(r\right);\tau \right)\right).$

If N>1 is odd, these partial theta functions fit into the pioneering work of Folsom, Ono, and Rhoades [23] which gives startling relations between the asymptotic expansions of the rank and crank generating functions, generalizing and proving beautiful formulas of Ramanujan. Their work shows that ${\Theta }_{\frac{1}{2}}\left(N,r;\tau \right)$ is a strong quantum modular form for odd N>1. Although their theorem does not directly apply for N=1, in this case we essentially obtain an eta quotient which is trivially a quantum modular form at cusps where it vanishes.

For even N, both the hypergeometric representations used to determine quantum sets and the proof of quantum modularity are not applicable. Here we use the innovative approach of Lawrence and Zagier [34] to study quantum modularity properties (see also [35]). A key ingredient in our investigation is a beautiful identity of Warnaar [36] which relates certain partial and false theta functions (see (35)). Our main result for studying quantum modularity for even N is the following, which gives a new family of quantum modular forms.

### Theorem 5.

For any $N\in 2ℕ$ and $r\in ℤ$, ${\Theta }_{\frac{3}{2}}\left(N,r;\tau \right)$ is a strong quantum modular form with quantum set ${\stackrel{̂}{Q}}_{N,r}$ (defined in (34)) on Γ1(2N), multiplier system χ r (defined in (23)), and weight $\frac{3}{2}$.

### Remarks.

1. 1.

More details about the specific quantum modular properties can be found in the proof of Theorem 5 in Section ‘Quantum modularity of ${\Theta }_{\frac{3}{2}}\left(N,r;\tau \right)$.’

2. 2.

More generally, using Proposition 3 of [37], our proof of Theorem 5 shows that ${\Theta }_{\frac{3}{2}}\left(N,r;\tau \right)$ has modularity properties on all of . For this, we note that although the function is not defined on all of , it has a well-defined asymptotic expansion at all points in . This expansion still agrees with the non-holomorphic Eichler integral on the lower half plane (see Section ‘Proof of Theorem 5’), so one could say that ${\Theta }_{\frac{3}{2}}\left(N,r;\tau \right)$ is a quantum modular form on if we allow ‘poles’ at certain points in .

The paper is organized as follows. In ‘Preliminaries on Lie super algebras and character identities’ and ‘Basic facts on Jacobi forms and quantum modular forms’ sections, we review the necessary notation and basic objects from Lie theory, Jacobi forms, and quantum modular forms. We give our first proof of the decomposition using Lie theory in ‘The Fourier coefficients and partial theta functions of A N ’ section and our second proof using an analogue of the rank-crank PDE in ‘Second viewpoint on the decomposition into partial theta functions’ section. We conclude by describing the quantum modular properties of ${\Theta }_{\frac{1}{2}+\nu }\left(N,r;\tau \right)$ in ‘Proof of Theorem 5’ section.

## Preliminaries on Lie super algebras and character identities

In this section, we recall some known facts of the affine Lie superalgebra $\stackrel{̂}{s\ell }\left(N|1\right)$, following [16], as well as the finite-dimensional Lie algebra sℓ(N) using [38].

### The Lie super algebra sℓ(N+1|1)

In this subsection, the Lie super algebra sℓ(N+1|1) and its root system are defined.

The even subalgebra of the Lie super algebra sℓ(N+1|1) is g (N+1) and the odd part decomposes into the standard representation of the even subalgebra and its conjugate. In order to define the Lie super algebra, it is convenient to first introduce its root system. It lies in the lattice

${L}_{N}:=ℤ{\epsilon }_{1}\oplus \cdots \oplus ℤ{\epsilon }_{N+1}\oplus \mathrm{ℤ\delta }$

with bilinear form

$\left({\epsilon }_{j}|{\epsilon }_{k}\right):={\delta }_{j,k},\phantom{\rule{1em}{0ex}}\left({\epsilon }_{j}|\delta \right):=0,\phantom{\rule{1em}{0ex}}\left(\delta |\delta \right):=-1.$

Thus, its signature is (N+1,1). The set of roots is Δ=Δ0Δ1L N , where the set of even roots (respective odd roots) is denoted by Δ0 (respectively Δ1). They are

${\Delta }_{0}:=\left\{{\epsilon }_{j}-{\epsilon }_{k}|1\le j,k\le N+1,j\ne k\right\},\phantom{\rule{2em}{0ex}}{\Delta }_{1}:=\left\{{\epsilon }_{j}-\delta ,\delta -{\epsilon }_{j}|1\le j\le N+1\right\}.$
(13)

It is useful to split these sets into positive and negative subroot spaces, where

$\begin{array}{cc}{\Delta }_{0}^{+}& :=\left\{{\epsilon }_{j}-{\epsilon }_{k}|1\le j

A distinguished system of simple positive roots is then chosen to be

$\Pi :=\left\{{\alpha }_{j}={\epsilon }_{j}-{\epsilon }_{j+1},\beta ={\epsilon }_{N+1}-\delta |1\le j\le N\right\}.$

The α j are even roots and β is the only distinguished odd simple root. The inner products of simple positive roots are

$\left({\alpha }_{j}|{\alpha }_{k}\right)=\left\{\begin{array}{cc}2\phantom{\rule{1em}{0ex}}& \phantom{\rule{1em}{0ex}}\text{if}\phantom{\rule{1em}{0ex}}j=k,\\ -1\phantom{\rule{1em}{0ex}}& \phantom{\rule{1em}{0ex}}\text{if}\phantom{\rule{1em}{0ex}}j=k±1,\\ 0\phantom{\rule{1em}{0ex}}& \phantom{\rule{1em}{0ex}}\text{otherwise,}\end{array}\right\\phantom{\rule{2em}{0ex}}\left(\beta |{\alpha }_{j}\right)=-{\delta }_{j,N},\phantom{\rule{2em}{0ex}}\left(\beta |\beta \right)=0.$

Hence, β is an isotropic root. Simple even roots generate the even root lattice

${A}_{N}:=ℤ{\alpha }_{1}\oplus \cdots \oplus ℤ{\alpha }_{N}.$

Its dual lattice is

${A}_{N}^{\prime }:=ℤ{\lambda }_{1}\oplus \cdots \oplus ℤ{\lambda }_{N},$

where the inner product of the fundamental weights λ j with simple roots is (λ j |α k )=δj,k and (λ j |δ)=0. Roots and weights act on the Cartan subalgebra, which is

$\mathfrak{𝔥}:=\underset{\alpha \in \Pi }{\oplus }ℂ{h}_{\alpha }={\mathfrak{𝔥}}_{0}\oplus ℂ{h}_{\beta },\phantom{\rule{1em}{0ex}}{\mathfrak{𝔥}}_{0}:=ℂ{h}_{{\alpha }_{1}}\oplus \cdots \oplus ℂ{h}_{{\alpha }_{N}},$

with basis {h α } parameterized by simple positive roots, and ${\mathfrak{𝔥}}_{0}$ the Cartan subalgebra of sℓ(N+1). The fundamental weights λ j are identified with elements of the dual ${\mathfrak{𝔥}}_{0}^{\ast }$ of ${\mathfrak{𝔥}}_{0}$ via ${\lambda }_{j}\left({h}_{{\alpha }_{k}}\right)={\delta }_{j,k}$. A bilinear form (,) on $\mathfrak{𝔥}$ is induced from the form on its dual space via

$\left({h}_{\alpha },{h}_{{\alpha }^{\prime }}\right):=\left(\alpha |{\alpha }^{\prime }\right).$

We remark that the Lie superalgebra sℓ(N+1|1) is then the $ℤ/2ℤ$-graded algebra generated by $\left\{{h}_{\alpha },{e}_{\alpha }^{±}|\alpha \in \Pi \right\}$ subject to the Serre-Chevalley relations (14) and the graded Jacobi identity. The parity of h α and ${e}_{{\alpha }_{j}}^{±}$ is even, while the ${e}_{\beta }^{±}$ are odd. We denote the graded anti-symmetric bracket by [, ]: sℓ(N+1|1)× sℓ(N+1|1)→ sℓ(N+1|1). Then the Serre-Chevalley relations of the algebra are

$\phantom{\rule{-12.0pt}{0ex}}\begin{array}{c}\left[{h}_{\alpha },{h}_{{\alpha }^{\prime }}\right]=0,\phantom{\rule{1em}{0ex}}\left[{h}_{\alpha },{e}_{{\alpha }^{\prime }}^{±}\right]=±\left(\alpha |{\alpha }^{\prime }\right){e}_{\alpha }^{±},\phantom{\rule{1em}{0ex}}\left[{e}_{\alpha }^{+},{e}_{{\alpha }^{\prime }}^{-}\right]={\delta }_{\alpha ,{\alpha }^{\prime }}{h}_{\alpha },\phantom{\rule{1em}{0ex}}{\left(\text{ad}\phantom{\rule{0.3em}{0ex}}{e}_{\alpha }^{±}\right)}^{1-\left(\alpha |{\alpha }^{\prime }\right)}{e}_{{\alpha }^{\prime }}^{±}=0\end{array}$
(14)

for all α,αΠ and αα in the last equation. The bilinear form (,) on $\mathfrak{𝔥}$ can be extended to an invariant non-degenerate graded symmetric form on sℓ(N+1|1), which we also denote by (,).

### The even Weyl group and denominator identity of sℓ(N+1|1)

We now introduce the even Weyl group and the denominator identity of the Lie super algebra sℓ(N+1|1).

For this, we first need to define the Weyl vector ρ. It is the difference of the even Weyl vector ρ0 and the odd one ρ1, namely,

$\phantom{\rule{-15.0pt}{0ex}}\begin{array}{cc}{\rho }_{0}& :=\frac{1}{2}\sum _{\alpha \in {\Delta }_{0}^{+}}\alpha =\frac{1}{2}\sum _{j=1}^{N+1}\left(N+2-2j\right){\epsilon }_{j},\phantom{\rule{2em}{0ex}}{\rho }_{1}:=\frac{1}{2}\sum _{\alpha \in {\Delta }_{1}^{+}}\alpha =\frac{1}{2}\left(-\left(N+1\right)\delta +\sum _{j=1}^{N+1}{\epsilon }_{j}\right),\\ \rho & :={\rho }_{0}-{\rho }_{1}=\frac{1}{2}\left(\left(N+1\right)\delta +\sum _{j=1}^{N+1}\left(N+1-2j\right){\epsilon }_{j}\right).\end{array}$

The group of even Weyl reflections W acts on the dual of the even root lattice, A N′, and is generated by σ j ,j=1,⋯,N defined by

$\begin{array}{c}{\sigma }_{j}:{A}_{N}^{\prime }\to {A}_{N}^{\prime },\phantom{\rule{2em}{0ex}}{\sigma }_{j}\left(\lambda \right):=\lambda -\left({\alpha }_{j}|\lambda \right){\alpha }_{j}.\end{array}$

This action naturally extends to the lattice L N via σ j (δ)=0 and

$\begin{array}{cc}{\sigma }_{j}\left({\epsilon }_{k}\right)& :={\epsilon }_{k}-\left({\epsilon }_{k}|{\alpha }_{j}\right){\alpha }_{j}={\epsilon }_{k}-\left({\delta }_{j,k}-{\delta }_{j+1,k}\right)\left({\epsilon }_{j}-{\epsilon }_{j+1}\right)=\left\{\begin{array}{cc}{\epsilon }_{j+1}& j=k,\\ {\epsilon }_{j}& j=k-1,\\ {\epsilon }_{k}& \text{otherwise}.\end{array}\right\\end{array}$

Hence, the even Weyl group W is just the group SN+1 permuting the ε j . Orthonormality of the ε j implies that the even Weyl group preserves the bilinear form (|). Following [16] we define

#### Definition.

A regular exponential function on A N′ is a finite linear combination of exponentials of the form eλ for λA N′. A rational exponential function is the quotient A/B of two regular exponential functions A and B≠0. The even Weyl group W acts on the field of these functions as eλew(λ) for any wW. The Weyl denominator of sℓ(N+1|1) is the rational exponential function

$R=\frac{\prod _{\alpha \in {\Delta }_{0}^{+}}\left(1-{e}^{-\alpha }\right)}{\prod _{\alpha \in {\Delta }_{1}^{+}}\left(1+{e}^{-\alpha }\right)}.$

We saw that the even Weyl group W is just SN+1, the signum of an element w in W is σ(w):=(−1)n if w can be written as a composition of n transpositions. Theorem 2.1 of [16] applied to our situation gives

#### Lemma 1.

The Weyl denominator of the Lie super algebra sℓ(N+1|1) is

${e}^{\rho }R=\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left(\frac{{e}^{\rho }}{\left(1-{e}^{\delta -{\epsilon }_{N+1}}\right)}\right).$

### The denominator identity of the affine Lie super algebra $\stackrel{̂}{s\ell }\left(N+1|1\right)$

We turn our focus to the affinization of s(N+1|1) that is

$\stackrel{̂}{\mathrm{s}\ell }\left(N+1|1\right):=ℂ\left[t,{t}^{-1}\right]\otimes \mathrm{s}\ell \left(N+1|1\right)\oplus \mathrm{ℂC}\oplus \mathrm{ℂd}$

with bracket

$\phantom{\rule{-15.0pt}{0ex}}\begin{array}{cc}\left[{t}^{n}\otimes x,{t}^{m}\otimes y\right]& :={t}^{n+m}\otimes \left[x,y\right]+n{\delta }_{n+m,0}\left(x,y\right)C,\phantom{\rule{1em}{0ex}}\phantom{\rule{1em}{0ex}}\left[d,{t}^{n}\otimes x\right]:=n{t}^{n}\otimes x,\phantom{\rule{1em}{0ex}}\phantom{\rule{1em}{0ex}}\left[C,{t}^{n}\otimes x\right]\\ :=\left[C,d\right]:=0\end{array}$

for all x,y∈s(N+1|1) and $n,m\in ℤ$. The Cartan subalgebra extends to its affine counterpart

$\stackrel{̂}{\mathfrak{𝔥}}:=\mathfrak{𝔥}\oplus \mathrm{ℂd}\oplus \mathrm{ℂC}$

and the bilinear form extends as

$\begin{array}{cc}\left({t}^{n}\otimes x,{t}^{m}\otimes y\right)& :=\left(x,y\right){\delta }_{n+m,0},\phantom{\rule{1em}{0ex}}\phantom{\rule{1em}{0ex}}\left(C,d\right):=1,\phantom{\rule{1em}{0ex}}\phantom{\rule{1em}{0ex}}\left(C,C\right):=\left(d,d\right):=\left(C,{t}^{n}\otimes x\right)\\ :=\left(d,{t}^{n}\otimes x\right):=0.\end{array}$

We identify C and d with linear functionals on $\mathfrak{𝔥}$ using the bilinear form (,) and extend A N′ to

${\stackrel{̂}{A}}_{N}^{\prime }:={A}_{N}^{\prime }\oplus \mathrm{ℤd}\oplus \mathrm{ℤC.}$

The bilinear form extends as

$\left(C|d\right):=1\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}\left(C|C\right):=\left(d|d\right)=\left(C|\lambda \right)=\left(d|\lambda \right)=0\phantom{\rule{1em}{0ex}}\forall \lambda \in {A}_{N}^{\prime }.$

The lattice A N A N′ is then also a sublattice of ${\stackrel{̂}{A}}_{N}^{\prime }$. The affine Weyl vector is

$\stackrel{̂}{\rho }:=\rho +\mathrm{Nd.}$

Note that N is the dual Coxeter number of sℓ(N+1|1). For αA N , we define

${t}_{\alpha }:{\stackrel{̂}{A}}_{N}^{\prime }\to {\stackrel{̂}{A}}_{N}^{\prime },\phantom{\rule{2em}{0ex}}\lambda ↦\lambda +\left(\lambda |C\right)\alpha -\left(\left(\lambda |\alpha \right)+\frac{1}{2}\left(\alpha |\alpha \right)\left(\lambda |C\right)\right)\mathrm{C.}$
(15)

The group of even Weyl translations is {t α |αA N }. Conjugation by a Weyl rotation gives for any wW,αA N

$w\circ {t}_{\alpha }\circ {w}^{-1}={t}_{w\left(\alpha \right)}.$
(16)

Let

$Y:=\left\{h\in \stackrel{̂}{\mathfrak{𝔥}}|\text{Re}\left(C\left(h\right)\right)>0\right\}$

be the domain of all elements in $\stackrel{̂}{\mathfrak{𝔥}}$ on which the action of C has positive real part. Let $\stackrel{̂}{\mathcal{F}}$ be the field of meromorphic functions on Y and define $\mathfrak{𝔮}:={e}^{-C}$. Thus, $|\mathfrak{𝔮}\left(y\right)|<1$ for all y in Y. Any element λ of L extends to a linear function on ${\stackrel{̂}{\mathfrak{𝔥}}}^{\ast }$ by defining λ(C)=λ(d)=0. In this way rational exponential functions on L embed in $\stackrel{̂}{\mathcal{F}}$.

#### Definition.

The denominator of $\stackrel{̂}{s\ell }\left(N+1|1\right)$ is

$\stackrel{̂}{R}=R\prod _{j=1}^{\infty }{\left(1-{\mathfrak{𝔮}}^{j}\right)}^{n+1}\prod _{\alpha \in {\Delta }_{0}}\left(1-{\mathfrak{𝔮}}^{j}{e}^{\alpha }\right)\prod _{\alpha \in {\Delta }_{1}}{\left(1+{\mathfrak{𝔮}}^{j}{e}^{\alpha }\right)}^{-1}.$

We need Theorem 4.1 of [16] which states

#### Lemma 2.

The denominator of $\stackrel{̂}{s\ell }\left(N+1|1\right)$satisfies

${e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}=\sum _{\alpha \in {A}_{N}}{t}_{\alpha }\left({e}^{\stackrel{̂}{\rho }}R\right).$

### The Weyl character formula of sℓ(N+1)

We also require a well-known variant of the dimension formula, which itself is a corollary of the famous character formula of Weyl [39]. Let λ=m1λ1+⋯+m N λ N be a dominant weight of sℓ(N+1); that is, all m j are natural numbers. Letting V λ be the corresponding irreducible highest-weight module, then the character formula is in our notation

$\text{ch}\left[\phantom{\rule{0.3em}{0ex}}{V}_{\lambda }\right]=\frac{\sum _{w\in {W}^{♯}}\sigma \left(w\right){e}^{w\left(\lambda +{\rho }_{0}\right)}}{{e}^{{\rho }_{0}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(1-{e}^{-\alpha }\right)}.$
(17)

Since ρ1 is W invariant, we can replace ρ0 by ρ in this formula. Let $m\in ℕ$ and let v be the linear map from the regular exponential functions on $\frac{1}{m}{A}_{N}^{\prime }$ to the complex numbers defined by v(eλ)=1 for every $\lambda \in \frac{1}{m}{A}_{N}^{\prime }$. Let V λ be the irreducible finite-dimensional highest-weight module of highest-weight λ. Hence, v(ch[ V λ ]) is just the dimension of this module. The application of v to both nominator and denominator of the character formula (17) vanishes, but the quotient is finite. Using (6), we find [38]

$v\left(\text{ch}\left[\phantom{\rule{0.3em}{0ex}}{V}_{\lambda }\right]\right)=\frac{v\left(\partial \sum _{w\in {W}^{♯}}\sigma \left(w\right){e}^{w\left(\lambda +{\rho }_{0}\right)}\right)}{v\left(\partial \phantom{\rule{0.3em}{0ex}}{e}^{{\rho }_{0}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(1-{e}^{-\alpha }\right)\right)}=\frac{\prod _{\alpha \in {\Delta }_{0}^{+}}\left(\lambda +{\rho }_{0}|\alpha \right)}{\prod _{\alpha \in {\Delta }_{0}^{+}}\left({\rho }_{0}|\alpha \right)}.$

Note that this is Weyl’s character formula for irreducible finite-dimensional highest-weight modules. The second equality also holds if we replace λ+ρ0 by z w(λ+ρ0) for any complex number z and any w in W.

#### Definition.

If $m\in ℕ$ and μ in $\frac{1}{m}{A}_{N}^{\prime }$, then v μ is the rational exponential function

${\mathrm{v}}_{\mu }=\frac{\sum _{w\in {W}^{♯}}\sigma \left(w\right){e}^{w\left(\mu \right)}}{{e}^{{\rho }_{0}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(1-{e}^{-\alpha }\right)}.$
(18)

Note that if μρ0 is dominant, then this is just the character of the irreducible highest-weight module of highest-weight μρ0. We now closely follow the argument of the proof of the dimension formula of [38].

#### Lemma 3.

If $m\in ℕ$ and μ in $\frac{1}{m}{A}_{N}^{\prime }$, then

$v\left({v}_{\mu }\right)=\frac{1}{{d}_{N}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(\mu |\alpha \right)=\frac{v\left(\partial {e}^{\mu }\right)}{{d}_{N}}.$

#### Proof.

Using the explicit description of the positive even roots in (13), it is easy to compute

$\prod _{\alpha \in {\Delta }_{0}^{+}}\left({\rho }_{0}|\alpha \right)=\prod _{n=1}^{N}n!={d}_{N}.$

For an arbitrary weight μA N′, there exists a unique wW such that w(μ+ρ0)−ρ0 is dominant. Letting (w) be the number of positive roots that are mapped to negative ones by w, then (−1)(w)=σ(w) (see [38]). Then using that the even Weyl group respects the bilinear form.

$\phantom{\rule{-20.0pt}{0ex}}\begin{array}{cc}v\left({v}_{\frac{\mu }{M}}\right)& =v\left(\frac{\sum _{w\in {W}^{♯}}\sigma \left(w\right){e}^{w\left(\frac{\mu }{M}\right)}}{{e}^{{\rho }_{0}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(1-{e}^{-\alpha }\right)}\right)={\left(-1\right)}^{\ell \left(w\right)}\frac{\prod _{\alpha \in {\Delta }_{0}^{+}}\left(w\left(\frac{\mu }{M}\right)\left|\right\phantom{\rule{0.3em}{0ex}}\alpha \right)}{\prod _{\alpha \in {\Delta }_{0}^{+}}\left({\rho }_{0}|\alpha \right)}=\frac{{\left(-1\right)}^{\ell \left(w\right)}}{{d}_{N}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(\frac{\mu }{M}\left|\right{w}^{-1}\left(\alpha \right)\right)\\ =\frac{{\left(-1\right)}^{\ell \left(w\right)+\ell \left({w}^{-1}\right)}}{{d}_{N}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(\frac{\mu }{M}\left|\right\phantom{\rule{0.3em}{0ex}}\alpha \right)=\frac{1}{{d}_{N}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(\frac{\mu }{M}\left|\right\phantom{\rule{0.3em}{0ex}}\alpha \right)=\frac{v\left(\partial {e}^{\frac{\mu }{M}}\right)}{{d}_{N}}.\end{array}$

## Basic facts on Jacobi forms and quantum modular forms

### Jacobi forms

Here we recall some special Jacobi forms and previous work on Fourier coefficients of Jacobi forms. Jacobi forms are functions from $ℂ×ℍ\to ℂ$ which satisfy both an elliptic and a modular transformation law. For the precise definition and basic facts on Jacobi forms, we refer the reader to [1]. In this paper, we are particularly interested in the classical Jacobi theta function, defined in (1). The following transformation laws are well known (for example, see [40] (80.31) and (80.8)).

#### Lemma 4.

For $\lambda ,\mu \in ℤ$ and $\gamma =\left(\begin{array}{cc}a& b\\ c& d\end{array}\right)\in \underset{2}{SL}\left(ℤ\right)$, we have that

$𝜗\left(\frac{z}{\mathrm{c\tau }+d};\frac{\mathrm{a\tau }+b}{\mathrm{c\tau }+d}\right)={\psi }^{3}\left(\gamma \right){\left(\mathrm{c\tau }+d\right)}^{\frac{1}{2}}{e}^{\frac{\mathrm{\pi ic}{z}^{2}}{\mathrm{c\tau }+d}}𝜗\left(z;\tau \right),$
$𝜗\left(z+\mathrm{\lambda \tau }+\mu ;\tau \right)={\left(-1\right)}^{\lambda +\mu }{q}^{-\frac{{\lambda }^{2}}{2}}{e}^{-2\mathrm{\pi i\lambda z}}𝜗\left(z;\tau \right),$

where ψ(γ) is the multiplier arising in the transformation law of Dedekind’s eta function.

We also require the following theta functions of weight $\frac{1}{2}+\nu$ defined for $r\in ℤ$, ν∈{0,1}

${𝜗}_{\frac{1}{2}+\nu }\left(N,r;\tau \right):=\sum _{n\in ℤ}{\left(-1\right)}^{\mathit{\text{nN}}}{\left(n+\frac{r}{N}-\frac{1}{2}\right)}^{\nu }{q}^{\frac{N}{2}{\left(n+\frac{r}{N}-\frac{1}{2}\right)}^{2}}.$

We define for convenience the following shifted versions when $N\in 2ℕ$

${\stackrel{~}{𝜗}}_{\frac{1}{2}+\nu }\left(N,r;\tau \right):={𝜗}_{\frac{1}{2}+\nu }\left(N,r+\frac{N}{2};\tau \right).$
(19)

It is trivial to show the following identities:

${\stackrel{~}{𝜗}}_{\frac{1}{2}+\nu }\left(N,r+N;\tau \right)={\stackrel{~}{𝜗}}_{\frac{1}{2}+\nu }\left(N,r;\tau \right),$
(20)
${\stackrel{~}{𝜗}}_{\frac{1}{2}+\nu }\left(N,-r;\tau \right)={\left(-1\right)}^{\nu }{\stackrel{~}{𝜗}}_{\frac{1}{2}+\nu }\left(N,r;\tau \right),$
(21)
${𝜗}_{\frac{1}{2}}\left(1,0;\tau \right)={\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(2,r;\tau \right)=0.$
(22)

In Sections ‘Second viewpoint on the decomposition into partial theta functions’ and ‘Proof of Theorem 5,’ we need the following modular transformations, which can be derived as special cases of the transformation formulas for the theta functions of Shimura [41].

#### Proposition 1.

If $N\in 2ℕ$ and $r\in ℤ$, then we have:

${\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(N,r;\tau +1\right)=e\left(\frac{{r}^{2}}{2N}\right){\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(N,r;\tau \right),$
${\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(N,r;-\frac{1}{\tau }\right)=\frac{2}{\sqrt{N}}{\left(-\mathrm{i\tau }\right)}^{\frac{3}{2}}\sum _{k=1}^{\frac{N}{2}-1}sin\left(\frac{2\mathrm{\pi kr}}{N}\right){\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(N,k;\tau \right).$

Moreover, for ν∈{0,1}, ${\stackrel{~}{𝜗}}_{\frac{1}{2}+\nu }\left(N,r;\tau \right)$ is a modular form of weight $\frac{1}{2}+\nu$ on Γ1(2N) with multiplier

${\chi }_{r}\left(\begin{array}{c}a\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}b\\ c\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}d\end{array}\right):=\left\{\begin{array}{cc}e\left(\frac{{r}^{2}}{2N}\right)& \text{if}c=0,\\ e\left(\frac{b{r}^{2}}{2N}\right)\left(\frac{2\mathit{\text{Nc}}}{d}\right)& \text{if}c\ne 0.\end{array}\right\$
(23)

We remark that in Proposition 1, ${𝜗}_{\frac{1}{2}+\nu }\left(N,r;\tau \right)$ are actually modular forms on a slightly larger congruence subgroup, but we have chosen to use Γ1(2N) for ease of exposition.

We next recall the structure of Fourier coefficients of positive index Jacobi forms for comparison. It is well known that holomorphic Jacobi forms have a theta decomposition involving the functions

${𝜗}_{m,b}\left(z;\tau \right):=\sum _{\begin{array}{c}\lambda \in ℤ\\ \lambda \equiv b\phantom{\rule{0.3em}{0ex}}\left(mod\phantom{\rule{0.3em}{0ex}}2m\right)\end{array}}{e}^{\frac{\mathrm{\pi i}{\lambda }^{2}\tau }{2m}+2\mathrm{\pi i\lambda z}}.$

The components of this decomposition are classical (vector-valued) modular forms [1]. The Fourier coefficients of meromorphic Jacobi forms of positive index are also understood. Specifically, in [2], Folsom and the first author, building on illuminating work of Dabholkar, Murthy, and Zagier [3] and Zwegers [6], considered the Kac-Wakimoto character of level (M,N) with M>N, $M,N\in 2ℕ$, which essentially corresponds to the meromorphic Jacobi form ϕM,N (the general case with M>N is considered in [5]). These Kac-Wakimoto characters have a decomposition into a finite and a polar part, where the finite part has a theta decomposition similar to that of holomorphic Jacobi forms (but involving mock modular forms) and where the polar part is

$\phantom{\rule{-15.0pt}{0ex}}\begin{array}{c}{{\phi }^{P}\left(z;\tau \right):=-\sum _{j=1}^{\frac{N}{2}}\frac{{D}_{2j}\left(\tau \right)}{{\left(2\mathrm{\pi i}\right)}^{2j-1}\left(2j-1\right)!}\frac{{\partial }^{2j-1}}{\partial {u}^{2j-1}}\left({e}^{\mathrm{\pi i}\left(M-N\right)u}{\zeta }^{-\frac{M-N}{2}}{F}_{M-N}\left(\frac{\tau }{2}-u,z-\frac{\tau }{2};\tau \right)\right)|}_{u=0}.\end{array}$
(24)

Here D j is the j th Laurent coefficient of the level (M,N) Kac-Wakimoto character. Thus, we see that our functions ϕM,N have decompositions which are strikingly similar to the decompositions of positive index Jacobi forms, although in our case there are no associated ‘finite parts’. As mentioned in Remark 1 following Theorem 3, this has an interesting interpretation in physics.

### Quantum modular forms

In this section, we recall some definitions and examples of quantum modular forms and describe the quantum sets in Theorem 5. We begin with a few definitions (see [42] for additional background on quasimodular forms).

#### Definition.

A function $f:ℍ\to ℂ$ is an almost holomorphic modular form of weight k on a congruence subgroup Γ if it transforms as a modular form of weight k for Γ and is a polynomial in $\frac{1}{Im\left(\tau \right)}$ with coefficients which are holomorphic on $ℍ\cup {ℙ}_{1}\left(ℚ\right)$. Moreover, f is a quasimodular form of weight k if it is the constant term of an almost holomorphic modular form of weight k.

Quantum modular are then defined as follows (see [21] for background on quantum modular forms).

#### Definition.

For any infinite ‘quantum set’ $\mathcal{Q}\subseteq ℚ$, we say a function $f:\mathcal{Q}\to ℂ$ is a quantum modular form of weight k on a congruence subgroup Γ if for all γΓ, the cocycle

${r}_{\gamma }\left(\tau \right):=f{|}_{k}\left(1-\gamma \right)\left(\tau \right)$

extends to an open subset of and is analytically ‘nice’. Here nice could mean continuous, smooth, real-analytic, etc. We say that f is a strong quantum modular form if there is a formal power series over attached to each point in with a stronger modularity requirement (see [21]).

#### Remark.

All of the quantum modular forms occurring in this paper have cocycles defined on which are real-analytic except at one point. Moreover, they have full asymptotic expansions towards rational points in their quantum sets which agree with the asymptotic expansions of mock modular forms defined on the lower half plane.

Especially relevant for us are certain partial theta functions which were shown to be quantum modular forms in recent work of Folsom, Ono, and Rhoades [23], namely,

$G\left(a,b;\tau \right):=\sum _{n\ge 0}{\left(-1\right)}^{n}{q}^{{\left(n+\frac{a}{b}\right)}^{2}}.$

For any $a,b\in ℤ$ with (a,b)=1, a>0, define the following quantum set, where all fractions are assumed to have coprime denominator and numerator throughout

${\mathcal{Q}}_{a,b}:=\left\{\frac{h}{k}\in ℚ:h>0,\phantom{\rule{1em}{0ex}}b|2h,\phantom{\rule{1em}{0ex}}b\nmid h,\phantom{\rule{1em}{0ex}}k\equiv a\phantom{\rule{0.3em}{0ex}}\left(mod\phantom{\rule{0.3em}{0ex}}b\right),\phantom{\rule{1em}{0ex}}k\ge a\right\}.$

Since for $r=\frac{j}{2}\in \frac{1}{2}+ℤ$

${\Theta }_{\frac{1}{2}}\left(N,r;\tau \right)=G\left(j,2N;\frac{\mathrm{N\tau }}{2}\right),$

it suffices to study the quantum modular properties of G(a,b;τ). Although a=0 is excluded, it is easy to handle this case directly. Note that $G\left(0,1;\frac{\tau }{2}\right)$ is essentially a modular form as $G\left(0,1;\tau \right)=\frac{\eta {\left(\tau \right)}^{2}}{2\eta \left(2\tau \right)}+\frac{1}{2}$ and also that G(0,2N;τ)=G(0,1;2N τ). It is clear that $G\left(0,1;\frac{\tau }{2}\right)$ is quantum modular at any cusps where the eta quotient vanishes, namely, for $\tau \in \left\{\frac{h}{k}\in ℚ:k\equiv 1\phantom{\rule{0.3em}{0ex}}\left(mod\phantom{\rule{0.3em}{0ex}}2\right)\right\}$. For a>0, the situation is more subtle. Folsom, Ono, and Rhoades proved that G(a,b;τ) have the following quantum properties:

#### Theorem 6([23]).

For b even, G(a,b;τ) is a strong quantum modular form of weight 1/2 with quantum set ${\mathcal{Q}}_{a,b}$.

#### Remark.

Although [23] only states the theorem for 0<a<b, an inspection of the proof shows that it is true for general integers (a,b)=1 with a>0 and b are even.

When N is even, we also have the analogous weight $\frac{3}{2}$ partial theta functions ${\Theta }_{\frac{3}{2}}\left(N,r;\tau \right)$ (see Theorem 5).

## The Fourier coefficients and partial theta functions of A N

In this section, we prove Theorem 2.

### Proof of Theorem 2.

Define a subdomain of Y

$X:=\left\{h\in Y|\text{Re}\left(C\left(h\right)\right)>\text{Re}\left(\alpha \left(h\right)\right)>0\phantom{\rule{1em}{0ex}}\forall \phantom{\rule{0.3em}{0ex}}\alpha \in {\Delta }^{+}\right\}$

so that in particular $|\mathfrak{𝔮}\left(x\right)|<|{e}^{\left(\delta -{\epsilon }_{N+1}\right)\left(x\right)}|<1$ for all x in X. We begin with the following crucial lemma.

### Lemma 5.

As a function in X, we have

$\begin{array}{cc}{e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}& ={e}^{\mathit{\text{Nd}}-{\rho }_{1}}{q}^{-\frac{\left(N+1\right)\left(N+2\right)}{24}}\sum _{r\in ℤ}\text{sign}\left(-r\right){\left(-1\right)}^{r}{\mathfrak{𝔮}}^{-\frac{{r}^{2}}{2\left(N+1\right)}}{\mathfrak{𝔮}}^{\frac{r}{2}}{e}^{r\frac{2{\rho }_{1}}{N+1}}\sum _{t\in {T}_{r}}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({e}^{t}{\mathfrak{𝔮}}^{\frac{{t}^{2}}{2N}}\right).\end{array}$

### Proof.

Inserting the statement of Lemma 1 into the one of Lemma 2 gives

${e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}=\sum _{\alpha \in {A}_{N}}{t}_{\alpha }\left({e}^{\stackrel{̂}{\rho }}R\right)=\sum _{\alpha \in {A}_{N}}{t}_{\alpha }\left(\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left(\frac{{e}^{\stackrel{̂}{\rho }}}{\left(1+{e}^{\delta -{\epsilon }_{N+1}}\right)}\right)\right).$

Using (16) and the bijectivity of the map w:A N A N for every wW, we get

$\phantom{\rule{-20.0pt}{0ex}}\begin{array}{c}{e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}\phantom{\rule{0.3em}{0ex}}=\phantom{\rule{0.3em}{0ex}}\sum _{\alpha \in {A}_{N}}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({t}_{{w}^{-1}\left(\alpha \right)}\left(\frac{{e}^{\stackrel{̂}{\rho }}}{\left(1+{e}^{\delta -{\epsilon }_{N+1}}\right)}\right)\right)\phantom{\rule{0.3em}{0ex}}=\sum _{\alpha \in {A}_{N}}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({t}_{\alpha }\left(\frac{{e}^{\stackrel{̂}{\rho }}}{\left(1+{e}^{\delta -{\epsilon }_{N+1}}\right)}\right)\right).\end{array}$

Let α=m1α1+⋯+m N α N be an element of A N , and set m0:=mN+1:=0. By (15), we have

$\begin{array}{c}{t}_{\alpha }\left(\stackrel{̂}{\rho }\right)=\stackrel{̂}{\rho }+\mathrm{N\alpha }-\left(\sum _{n=1}^{N+1}\left({m}_{n}+\frac{N}{2}{\left({m}_{n}-{m}_{n-1}\right)}^{2}\right)\right)C\phantom{\rule{1em}{0ex}}\text{and}\\ {t}_{\alpha }\left(\delta -{\epsilon }_{N+1}\right)=\delta -{\epsilon }_{N+1}-{m}_{N}\mathrm{C.}\end{array}$

Hence,

${e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}=\sum _{m\in {ℤ}^{N}}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({e}^{\stackrel{̂}{\rho }}\prod _{n=1}^{N+1}{e}^{{\mathit{\text{Nm}}}_{n}{\alpha }_{n}}{\mathfrak{𝔮}}^{{m}_{n}+\frac{N}{2}{\left({m}_{n}-{m}_{n-1}\right)}^{2}}{\left(1+{e}^{\delta -{\epsilon }_{N+1}}{\mathfrak{𝔮}}^{{m}_{N}}\right)}^{-1}\right),$

where we used the short-hand notation m=(m1,…,m N ) and kept as before m0=mN+1=0. Recall that α n =ε n εn+1. We split the exponential of the affine Weyl vector as

${e}^{\stackrel{̂}{\rho }}={e}^{\mathit{\text{Nd}}-{\rho }_{1}}\prod _{n=1}^{N+1}{e}^{\frac{\left(N+2-2n\right)}{2}{\epsilon }_{n}}.$

Note that N dρ1 is invariant under W. Letting q n :=m n mn−1, we then find the identity

$\sum _{n=1}^{N+1}\left(\frac{N}{2}{q}_{n}^{2}+{m}_{n}\right)=\frac{1}{2N}\sum _{n=1}^{N+1}{\left(N\left({q}_{n}+\frac{1}{2}\right)+\left(1-n\right)\right)}^{2}-\frac{\left(N+1\right)\left(N+2\right)}{24}.$

Defining the set

$S:=\left\{\left({s}_{1},\dots ,{s}_{N+1}\right)\in \frac{1}{2}{ℤ}^{N+1}\phantom{\rule{0.3em}{0ex}}\left|\phantom{\rule{0.3em}{0ex}}{s}_{n}=N\left({q}_{n}+\frac{1}{2}\right)+\left(1-n\right),{q}_{n}\in ℤ,\sum _{n=1}^{N+1}{q}_{n}=0\right\right\},$

we obtain

$\phantom{\rule{-15.0pt}{0ex}}{e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}={e}^{\mathit{\text{Nd}}-{\rho }_{1}}{\mathfrak{𝔮}}^{-\frac{\left(N+1\right)\left(N+2\right)}{24}}\sum _{s\in S}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left(\prod _{n=1}^{N+1}{e}^{{s}_{n}{\epsilon }_{n}}{\mathfrak{𝔮}}^{\frac{{s}_{n}^{2}}{2N}}{\left(1+{e}^{\delta -{\epsilon }_{N+1}}{\mathfrak{𝔮}}^{-\frac{{s}_{N+1}}{N}-\frac{1}{2}}\right)}^{-1}\right).$

In the domain X, we can expand in a geometric series to find that ${e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}$ equals

$\phantom{\rule{-20.0pt}{0ex}}\begin{array}{c}{e}^{\mathit{\text{Nd}}-{\rho }_{1}}{\mathfrak{𝔮}}^{-\frac{\left(N+1\right)\left(N+2\right)}{24}}\left(\sum _{\begin{array}{c}s\in S\\ {s}_{N+1}\le -\frac{1}{2}\end{array}}\sum _{r=0}^{\infty }{\left(-1\right)}^{r}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left(\right{e}^{r\left(\delta -{\epsilon }_{N+1}\right)}{\mathfrak{𝔮}}^{-r\left(\frac{{s}_{N+1}}{N}+\frac{1}{2}\right)}\prod _{n=1}^{N+1}{e}^{{s}_{n}{\epsilon }_{n}}{\mathfrak{𝔮}}^{\frac{{s}_{n}^{2}}{2N}}\left)\right\right\\ -\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\sum _{\begin{array}{c}s\in S\\ {s}_{N+1}>-\frac{1}{2}\end{array}}\sum _{r=1}^{\infty }{\left(-1\right)}^{r}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({e}^{-r\left(\delta -{\epsilon }_{N+1}\right)}{\mathfrak{𝔮}}^{r\left(\frac{{s}_{N+1}}{N}+\frac{1}{2}\right)}\prod _{n=1}^{N+1}{e}^{{s}_{n}{\epsilon }_{n}}{\mathfrak{𝔮}}^{\frac{{s}_{n}^{2}}{2N}}\right)).\end{array}$

Since the double sum converges absolutely in the domain X, we can interchange summations. Define

${g}_{r}:=\left\{\begin{array}{cc}\sum _{\begin{array}{c}s\in S\\ {s}_{N+1}\le -\frac{1}{2}\end{array}}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({e}^{-r\left(\delta -{\epsilon }_{N+1}\right)}{\mathfrak{𝔮}}^{r\left(\frac{{s}_{N+1}}{N}+\frac{1}{2}\right)}\prod _{n=1}^{N+1}{e}^{{s}_{n}{\epsilon }_{n}}{\mathfrak{𝔮}}^{\frac{{s}_{n}^{2}}{2N}}\right)\phantom{\rule{1em}{0ex}}& \text{if}\phantom{\rule{1em}{0ex}}r\le 0,\\ \sum _{\begin{array}{c}s\in S\\ {s}_{N+1}>-\frac{1}{2}\end{array}}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({e}^{-r\left(\delta -{\epsilon }_{N+1}\right)}{\mathfrak{𝔮}}^{r\left(\frac{{s}_{N+1}}{N}+\frac{1}{2}\right)}\prod _{n=1}^{N+1}{e}^{{s}_{n}{\epsilon }_{n}}{\mathfrak{𝔮}}^{\frac{{s}_{n}^{2}}{2N}}\right)\phantom{\rule{1em}{0ex}}& \text{if}\phantom{\rule{1em}{0ex}}r>0.\end{array}\right\$

Then

${e}^{\stackrel{̂}{\rho }}\stackrel{̂}{R}={e}^{\mathit{\text{Nd}}-{\rho }_{1}}{\mathfrak{𝔮}}^{-\frac{\left(N+1\right)\left(N+2\right)}{24}}\sum _{r\in ℤ}{\left(-1\right)}^{r}\text{sign}\left(-r\right){g}_{r}.$

We can express εN+1δ in terms of the odd Weyl vector and positive even simple roots:

$\phantom{\rule{-20.0pt}{0ex}}\begin{array}{cc}{\epsilon }_{N+1}-\delta & =-\delta +\frac{1}{N+1}\left(\sum _{n=1}^{N+1}{\epsilon }_{n}+\sum _{n=1}^{N}n\left({\epsilon }_{n+1}-{\epsilon }_{n}\right)\right)=\frac{2}{N+1}{\rho }_{1}+{\epsilon }_{N+1}-\frac{1}{N+1}\sum _{n=1}^{N+1}{\epsilon }_{n}.\end{array}$
(25)

We see that ${\epsilon }_{N+1}-\delta -\frac{2}{N+1}{\rho }_{1}$ is in $\frac{1}{N+1}{A}_{N}$. For (s1,…,sN+1)∈S, we find that

${\left({s}_{N+1}-\frac{r}{N+1}+r\right)}^{2}+\sum _{n=1}^{N}{\left({s}_{n}-\frac{r}{N+1}\right)}^{2}=\frac{N{r}^{2}}{N+1}+2{\mathit{\text{rs}}}_{N+1}+\sum _{n=1}^{N+1}{s}_{n}^{2}.$
(26)

Combining (25) and (26), we can rewrite

${e}^{-r\left(\delta -{\epsilon }_{N+1}\right)}{\mathfrak{𝔮}}^{r\left(\frac{{s}_{N+1}}{N}+\frac{1}{2}\right)}\prod _{n=1}^{N+1}{e}^{{s}_{n}{\epsilon }_{n}}{\mathfrak{𝔮}}^{\frac{{s}_{n}^{2}}{2N}}={e}^{r\frac{2{\rho }_{1}}{N+1}}{\mathfrak{𝔮}}^{-\frac{{r}^{2}}{2\left(N+1\right)}}{\mathfrak{𝔮}}^{\frac{r}{2}}\prod _{n=1}^{N+1}{e}^{{t}_{n}{\epsilon }_{n}}{\mathfrak{𝔮}}^{\frac{{t}_{n}^{2}}{2N}}$

with ${t}_{n}:={s}_{n}-\frac{r}{N+1}+r{\delta }_{n,N+1}$. Then

$\begin{array}{cc}\sum _{n=1}^{N+1}{t}_{n}{\epsilon }_{n}& =\sum _{n=1}^{N+1}\sum _{j=1}^{n}{t}_{j}\left({\epsilon }_{j}-{\epsilon }_{j+1}\right)=\sum _{n=1}^{N}\sum _{j=1}^{n}{t}_{j}{\alpha }_{n}.\end{array}$

Here we used that t1+⋯+tN+1=0, which follows from the same property for the s n . Let q j be as in the definition of the set S; in particular, we can write q j =m j mj−1 with integers m j for 1≤jN, and mN+1=0. Then

$\begin{array}{cc}\sum _{j=1}^{n}{t}_{j}& =-\frac{\mathit{\text{rn}}}{N+1}+\sum _{j=1}^{n}{s}_{j}=\frac{n\left(N-n+1\right)}{2}-\frac{\mathit{\text{rn}}}{N+1}+\sum _{j=1}^{n}{\mathit{\text{Nq}}}_{j}\\ =\frac{\left(N-n+1\right)n}{2}-\frac{\mathit{\text{rn}}}{N+1}+{\mathit{\text{Nm}}}_{n}.\end{array}$

Using the sets T r (5), we finally get

$\begin{array}{c}{g}_{r}={e}^{r\frac{2{\rho }_{1}}{N+1}}{\mathfrak{𝔮}}^{-\frac{{r}^{2}}{2\left(N+1\right)}}{\mathfrak{𝔮}}^{\frac{r}{2}}\sum _{t\in {T}_{r}}\sum _{w\in {W}^{♯}}\sigma \left(w\right)w\left({e}^{t}{\mathfrak{𝔮}}^{\frac{{t}^{2}}{2N}}\right).\end{array}$

Letting $\mathfrak{𝔷}=-{e}^{\frac{2{\rho }_{1}}{N+1}}$, we deduce the following.

### Corollary 1.

The identity A=B C holds as functions on X, where

$\begin{array}{cc}A& :=\prod _{j=1}^{N+1}\frac{{\mathfrak{𝔮}}^{\frac{1}{24}}}{{\left(-{e}^{\delta -{\epsilon }_{j}};\mathfrak{𝔮}\right)}_{\infty }{\left(-{e}^{{\epsilon }_{j}-\delta }\mathfrak{𝔮};\mathfrak{𝔮}\right)}_{\infty }},\phantom{\rule{2em}{0ex}}B:=\frac{{\mathfrak{𝔮}}^{-\frac{{\left(N+1\right)}^{2}}{24}}}{{\left(\mathfrak{𝔮};\mathfrak{𝔮}\right)}_{\infty }^{N+1}\prod _{\alpha \in {\Delta }_{0}}{\left({e}^{\alpha }\mathfrak{𝔮};\mathfrak{𝔮}\right)}_{\infty }{\left({e}^{-\alpha }\mathfrak{𝔮};\mathfrak{𝔮}\right)}_{\infty }},\\ C& :=\sum _{r\in ℤ}\text{sign}\left(-r\right){\mathfrak{𝔷}}^{r}{\mathfrak{𝔮}}^{-\frac{{r}^{2}}{2\left(N+1\right)}}{\mathfrak{𝔮}}^{\frac{r}{2}}\sum _{t\in {T}_{r}}{v}_{t}{\mathfrak{𝔮}}^{\frac{{t}^{2}}{2N}}.\end{array}$

### Proof.

The corollary follows immediately from Lemma 5 by inserting v t in the definition of C in (18).

Evaluating the expressions in this equality provides a nice expansion of ϕN+1(z;τ).

### Corollary 2.

Inside the range |q|<|ζ|<1, we have

$\begin{array}{cc}{\varphi }_{N}\left(z;\tau \right)& =\frac{{i}^{N}}{{d}_{N-1}\eta {\left(\tau \right)}^{{N}^{2}+N}}\sum _{r\in ℤ}{\zeta }^{r+\frac{N}{2}}\text{sign}\left(r\right){q}^{-\frac{{\left(r+\frac{N}{2}\right)}^{2}}{2N}}\sum _{t\in {T}_{r}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(t|\alpha \right){q}^{\frac{{t}^{2}}{2\left(N-1\right)}}.\end{array}$

### Proof.

The evaluation v maps every regular exponential eλ for $\lambda \in \frac{1}{N}{A}_{N-1}$ to 1. The application of v to A and B is finite for $|\mathfrak{𝔮}\left(x\right)|<|{\mathfrak{𝔷}}^{-1}\left(x\right)|<1$ and xX, and the same is true for C by Lemma 3. The identity (25) implies that $v\left({e}^{\delta -{\epsilon }_{j}}\right)={e}^{-\frac{2{\rho }_{1}}{N}}=-\zeta$ for all j=1,…,N, so that

$v\left(A\right)={\mathfrak{𝔮}}^{\frac{N}{24}}{\left({\mathfrak{𝔷}}^{-1};\mathfrak{𝔮}\right)}_{\infty }^{-N}{\left(\mathfrak{𝔷}\mathfrak{𝔮};\mathfrak{𝔮}\right)}_{\infty }^{-N}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}v\left(B\right)={\mathfrak{𝔮}}^{-\frac{{N}^{2}}{24}}{\left(\mathfrak{𝔮};\mathfrak{𝔮}\right)}_{\infty }^{-{N}^{2}}.$

By Lemma 3,

$v\left({v}_{t}\right)=\frac{1}{{d}_{N-1}}\prod _{\alpha \in {\Delta }_{0}^{+}}\left(t|\alpha \right)$

and the evaluation v(C) follows. All three evaluations v(A),v(B),v(C) are meromorphic functions on $\left\{x=-2\mathrm{\pi i\tau d}+\frac{4\mathrm{\pi iz}{h}_{{\rho }_{1}}}{N-1}:\text{Im}\left(\tau \right)>\text{Im}\left(z\right)>0\right\}$ so that the result follows with $\zeta ={\mathfrak{𝔷}}^{-1}\left(x\right)$ and $q=\mathfrak{𝔮}\left(x\right)$.

This completes the proof as Corollary 1 and Lemma 3 imply Theorem 2. □

The case N=1 can be proven in a very similar manner using (9), which is the denominator identity of $\stackrel{̂}{\mathrm{g}\ell }\left(1|1\right)$ (see Example 4.1 of [16]).

### Example 1.

The Fourier coefficients of ϕ1(z;τ) are given by

$\chi \left(1,r;\tau \right)=\frac{i{q}^{-\frac{{r}^{2}}{2}}}{\eta {\left(\tau \right)}^{3}}\sum _{m=0}^{\infty }{\left(-1\right)}^{m}{q}^{\frac{{\left(m+\left|r-\frac{1}{2}\right|+\frac{1}{2}\right)}^{2}}{2}}.$

### Proof.

Suppose |q|<|ζ|<1. Expanding (9) in a geometric series and rewriting easily gives the statement.

## Second viewpoint on the decomposition into partial theta functions

In this section, we prove Theorem 3 and use it to extract the Fourier coefficients of ϕM,N in Theorem 4. A key ingredient for the proof of Theorem 3 is the following result whose proof is deferred to Section ‘Proof of Lemma 6’.

### Lemma 6.

For $N\in ℕ$, there exist meromorphic functions ${f}_{j}^{\ast }\left(\tau \right)$ for $0\le j\le \frac{N-1-{\delta }_{e}}{2}$ with ${f}_{\frac{N-1-{\delta }_{e}}{2}}^{\ast }\left(\tau \right)\ne 0$ such that for all $r\in ℤ$

$\sum _{j=0}^{\frac{N-1-{\delta }_{e}}{2}}{f}_{j}^{\ast }\left(\tau \right){\mathcal{D}}_{q}^{\phantom{\rule{0.3em}{0ex}}j}\left({𝜗}_{\frac{1}{2}+{\delta }_{e}}\left(N,r;\tau \right)\right)=0.$

### Proof of Theorem 3 for M=0

The first step in the proof of Theorem 3 is to show the following decomposition for the case when M=0:

#### Proposition 2.

For $N\in ℕ$ there exist meromorphic functions g j (τ)such that

${\varphi }_{N}\left(z;\tau \right)=\sum _{j=0}^{\frac{N-1-{\delta }_{e}}{2}}{g}_{j}\left(\tau \right){\mathcal{D}}_{w}^{2j+{\delta }_{e}}\left({F}_{N}\left(z,u;\tau \right)\right){}_{w=1}.$

#### Proof.

We first determine the elliptic transformations of F N (z;τ) and prove that although this function does not, in general, transform as a negative index Jacobi form, we can ‘correct’ the elliptic transformations to match those of ϕ N (z;τ). The following periodicity property is evident:

${F}_{N}\left(z+1,u;\tau \right)={\left(-1\right)}^{N}{F}_{N}\left(z,u;\tau \right).$

For the elliptic transformation zz+τ, a direct calculation gives

${\left(-1\right)}^{N}{\zeta }^{-N}{q}^{-\frac{N}{2}}{F}_{N}\left(z+\tau ,u;\tau \right)-{F}_{N}\left(z,u;\tau \right)$
$=\sum _{r=0}^{N-1}{\zeta }^{r-\frac{N}{2}}{q}^{-\frac{1}{2N}{\left(r-\frac{N}{2}\right)}^{2}}\sum _{n\in ℤ}{\left(-1\right)}^{\mathit{\text{Nn}}}{w}^{\mathit{\text{Nn}}+r-\frac{N}{2}}{q}^{\frac{N}{2}{\left(n-\frac{1}{2}+\frac{r}{N}\right)}^{2}}.$

Thus, we have the following elliptic transformation formula for the iterated derivative of F N (z;τ):

${\left(-1\right)}^{N}{\zeta }^{-N}{q}^{-\frac{N}{2}}{\mathcal{D}}_{w}^{2j+{\delta }_{e}}\left({F}_{N}\left(z+\tau ,u;\tau \right)\right){}_{w=1}-{\mathcal{D}}_{w}^{2j+{\delta }_{e}}\left({F}_{N}\left(z,u;\tau \right)\right){}_{w=1}$
$={2}^{j}{N}^{j+{\delta }_{e}}\sum _{r=0}^{N-1}{\zeta }^{r-\frac{N}{2}}{q}^{-\frac{1}{2N}{\left(r-\frac{N}{2}\right)}^{2}}{\mathcal{D}}_{q}^{j}\left({𝜗}_{\frac{1}{2}+{\delta }_{e}}\left(N,r;\tau \right)\right).$

We now use the functions ${f}_{j}^{\ast }$ from Lemma 6 to ‘correct’ the elliptic transformation by defining

${P}_{N}\left(z;\tau \right):=\sum _{j=0}^{\frac{N-1-{\delta }_{e}}{2}}\frac{{f}_{j}^{\ast }\left(\tau \right)}{{2}^{j}{N}^{j+{\delta }_{\text{e}}}}{\mathcal{D}}_{w}^{2j+{\delta }_{e}}\left({F}_{N}\left(z,u;\tau \right)\right){}_{w=1}$

so that

${P}_{N}\left(z+1;\tau \right)={\zeta }^{-N}{q}^{-\frac{N}{2}}{P}_{N}\left(z+\tau ;\tau \right)={\left(-1\right)}^{N}{P}_{N}\left(z;\tau \right).$

Thus, P N (z;τ) satisfies the same elliptic transformations as ϕ N (z;τ). It also has poles in the same locations and of the same order, namely, poles in $\mathrm{ℤ\tau }+ℤ$ of order N. Hence, the product

${p}_{N}\left(z;\tau \right):=𝜗{\left(z;\tau \right)}^{N}{P}_{N}\left(z;\tau \right)$

is an entire elliptic function and therefore constant in z. It remains to show that P N (z;τ)≠0, which we prove by looking at the behavior as z→0. The principal part as z→0 of ${\mathcal{D}}_{w}^{j}\left({F}_{N}\left(z,u;\tau \right)\right)$ only comes from the n=0 term in (11), which contributes

$\frac{{\left(\mathrm{\zeta w}\right)}^{\frac{N}{2}}}{1-\mathrm{\zeta w}}=-\sum _{m\ge 0}\frac{{B}_{m}\left(\frac{N}{2}\right){\left(2\mathrm{\pi i}\left(u+z\right)\right)}^{m-1}}{m!}=-\frac{1}{2\mathrm{\pi i}\left(u+z\right)}+O\left(1\right),$

where B m (x) is the usual m th Bernoulli polynomial. Thus, as z→0,

${\mathcal{D}}_{w}^{j}\left({F}_{N}\left(z,u;\tau \right)\right)\left|{}_{w=1}=\frac{{\left(-1\right)}^{j+1}j!}{{\left(2\mathrm{\pi iz}\right)}^{j+1}}+O\left(1\right)\right$
(27)

and so

${P}_{N}\left(z;\tau \right)=\frac{{\left(-1\right)}^{N}\left(N-1\right)!{f}_{\frac{N-1-{\delta }_{e}}{2}}^{\ast }\left(\tau \right)}{{N}^{{\delta }_{e}}{\left(2N\right)}^{\frac{N-1-{\delta }_{e}}{2}}{\left(2\mathrm{\pi iz}\right)}^{N}}+O\left({z}^{-N+1}\right).$

We can then use the well-known formula

${𝜗}^{\prime }\left(0;\tau \right)=-2\mathrm{\pi \eta }{\left(\tau \right)}^{3}$

and compare the coefficients of zN to give

${p}_{N}\left(z;\tau \right)=\frac{\left(N-1\right)!{\left(-i\right)}^{N}{f}_{\frac{N-1-{\delta }_{e}}{2}}^{\ast }\left(\tau \right)}{{N}^{{\delta }_{e}}{\left(2N\right)}^{\frac{N-1-{\delta }_{e}}{2}}}\ne 0,$

as by assumption ${f}_{\frac{N-1-{\delta }_{e}}{2}}^{\ast }\ne 0$. By absorbing the constants into the ${f}_{j}^{\ast }$, Proposition 2 follows.

#### Proof of Theorem 3 for M=0.

To finish the proof for M=0, we connect the functions g j in Proposition 2 to the Laurent coefficients of ϕ N given in (12) by comparing the principal parts. Namely, using (27), we easily read off:

${g}_{j}\left(\tau \right)=\frac{{\left(-1\right)}^{{\delta }_{e}+1}{D}_{2j+{\delta }_{e}+1}\left(\tau \right)}{\left(2j+{\delta }_{e}\right)!}.$

### Proof of Lemma 6

For N odd, Lemma 2.1 of [32] easily gives Lemma 6 by rearranging terms. The condition f0≠0 (in the notation of [32]) is not stated explicitly in the statement; however, the proof shows that one can choose f0=1 in Lemma 2.1 of [32]. Now suppose that N is even. For $k\in ℕ$, consider the Ramanujan-Serre derivative, which raises the weight of a modular form by 2:

${\mathcal{E}}_{k}:={\mathcal{D}}_{q}-\frac{k}{12}{E}_{2}\left(\tau \right)$

and its iterated version starting at weight $\frac{3}{2}$ given by ${\mathcal{E}}^{n}:={\mathcal{E}}_{2n-\frac{1}{2}}\circ {\mathcal{E}}_{2n-\frac{5}{2}}\circ \dots \circ {\mathcal{E}}_{\frac{7}{2}}\circ {\mathcal{E}}_{\frac{3}{2}}$. By rearranging, it is enough to show that there are holomorphic functions f j such that for all $r\in ℤ$

$\sum _{j=0}^{\frac{N}{2}-1}{f}_{j}\left(\tau \right){\mathcal{E}}^{j}\left({𝜗}_{\frac{3}{2}}\left(N,r;\tau \right)\right)=0.$

This is clearly equivalent to the following, where ${\stackrel{~}{𝜗}}_{\frac{1}{2}+\nu }\left(N,r;\tau \right)$ is defined in (19).

#### Lemma 7.

If $N\in 2ℕ$, then there exist meromorphic functions f j (τ) with ${f}_{\frac{N}{2}-1}\left(\tau \right)\ne 0$ such that for all $r\in ℤ$

$\sum _{j=0}^{\frac{N}{2}-1}{f}_{j}\left(\tau \right){\mathcal{E}}^{j}\left({\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(N,r;\tau \right)\right)=0.$
(28)

#### Proof.

The approach taken here is similar to Zwegers’ proof of Lemma 2.1 in [32], although we give details for the reader’s convenience. Using (20) and (21), it suffices to prove the lemma for $1\le r\le \frac{N}{2}-1$. By (22), we may simply choose f0=1 for N=2. Thus, we assume for the remainder of the proof that N≥4.

Consider the vector-valued form

${\stackrel{\to }{𝜗}}_{N}\left(\tau \right):={\left({\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(N,1;\tau \right),\dots ,{\stackrel{~}{𝜗}}_{\frac{3}{2}}\left(N,\frac{N}{2}-1;\tau \right)\right)}^{T}$

and the matrix-valued form

${T}_{N}:=\left({\stackrel{\to }{𝜗}}_{N},\mathcal{E}\left({\stackrel{\to }{𝜗}}_{N}\right),\dots ,{\mathcal{E}}^{\frac{N}{2}-2}\left({\stackrel{\to }{𝜗}}_{N}\right)\right).$

Using Proposition 1, we see that

${T}_{N}\left(\tau +1\right)=diag{\left(e\left(\frac{{j}^{2}}{2N}\right)\right)}_{1\le j\le \frac{N}{2}-1}{T}_{N}\left(\tau \right),$
${T}_{N}\left(-\frac{1}{\tau }\right)=\frac{2}{\sqrt{N}}{\left(-\mathrm{i\tau }\right)}^{\frac{3}{2}}{\left(sin\left(\frac{2\mathrm{\pi k\ell }}{N}\right)\right)}_{1\le k,\ell \le \frac{N}{2}-1}{T}_{N}\left(\tau \right)diag{\left({\tau }^{2j-2}\right)}_{1\le j\le \frac{N}{2}-1}.$

Hence,

$det\left({T}_{N}\right)\left(\tau +1\right)=e\left(\frac{\left(N-1\right)\left(N-2\right)}{48}\right)det\left({T}_{N}\right)\left(\tau \right),$
$det\left({T}_{N}\right)\left(-\frac{1}{\tau }\right)={\left(-\mathrm{i\tau }\right)}^{\frac{\left(N-1\right)\left(N-2\right)}{4}}det\left({T}_{N}\right)\left(\tau \right).$

Here we used the following elementary determinant formula:

$det{\left(\frac{2{\left(-i\right)}^{\frac{3}{2}}}{\sqrt{N}}sin\left(\frac{2\mathrm{\pi \ell k}}{N}\right)\right)}_{}$