Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Modular Transformations and Partition-Function Invariance

    Quantizing a torus along either primitive cycle should describe the same nonanomalous bosonic CFT. Exchanging the cycles is the modular transformation S:τ↦−1/τS:\tau\mapsto-1/\tau; adding one spatial cycle to the other is T:τ↦τ+1T:\tau\mapsto\tau+1. Their action reorganizes the trace, often mixing chiral characters even when the full partition function is invariant.

    We will derive this reorganization for Gaussian sums, obtain the Ising character matrices, and use Poisson summation to prove compact-boson invariance. A finite numerical sum will then test the calculation with controlled cutoff comparisons.

    Preparation: torus traces and characters. Throughout, q=e2πiτq=e^{2\pi i\tau}, Im⁡τ>0\operatorname{Im}\tau>0, and the examples have c=cˉc=\bar c with no gravitational anomaly. Spin theories transform as a family of spin structures, which is a different requirement from invariance of one component.

    Changing the cycle basis

    A dimensionless torus is C/(Z+τZ)\mathbb C/(\mathbb Z+\tau\mathbb Z). Choosing another oriented primitive basis of this lattice gives

    τ⟼aτ+bcτ+d,a,b,c,d∈Z,ad−bc=1.\tau\longmapsto\frac{a\tau+b}{c\tau+d}, \qquad a,b,c,d\in\mathbb Z,\qquad ad-bc=1.

    The generators SS and TT suffice. On the modulus, S2S^2 and (ST)3(ST)^3 act trivially. On chiral modules they can act by charge conjugation; every Ising module is self-conjugate, so its matrices will obey S2=(ST)3=IS^2=(ST)^3=I.

    The full torus trace need not be a scalar invariant in every theory. A gravitational anomaly can produce a multiplier, and a specified spin structure can be sent to another one. In the nonanomalous bosonic examples here, the partition function is a scalar and must be invariant under both generators.

    The TT test has a direct spectral meaning. A state of weights (h,hˉ)(h,\bar h) contributes the phase

    e2πi[(h−hˉ)−(c−cˉ)/24].e^{2\pi i[(h-\bar h)-(c-\bar c)/24]}.

    For c=cˉc=\bar c, integral spin makes this phase one. The SS test is less visible term by term because it exchanges the roles of the cycles and reorganizes infinitely many states.

    Poisson summation supplies the transformation

    For a geometric realization, exchange the two periods of the Legendre elliptic curve. Its theta nome is the square root of the trace nome used here, with the branch fixed by the same upper-half-plane parameter.

    For a rapidly decreasing function, write

    ∑n∈Zf(n)=∑m∈Zf^(m),f^(m)=∫Rdx e−2πimxf(x).\sum_{n\in\mathbb Z}f(n)=\sum_{m\in\mathbb Z}\widehat f(m), \qquad \widehat f(m)=\int_{\mathbb R}dx\,e^{-2\pi imx}f(x).

    For f(x)=eπiτx2f(x)=e^{\pi i\tau x^2}, the convergent Gaussian integral gives

    f^(m)=1−iτexp⁡ ⁣(−πim2τ).\widehat f(m)=\frac1{\sqrt{-i\tau}} \exp\!\left(-\frac{\pi i m^2}{\tau}\right).

    The root is positive for τ\tau on the positive imaginary axis and continued in the upper half-plane. Summing proves the transformation of θ3\theta_3. Half-integer shifts and alternating signs give the other two:

    θ3(−1/τ)=−iτ θ3(τ),θ2(−1/τ)=−iτ θ4(τ),θ4(−1/τ)=−iτ θ2(τ).\begin{aligned} \theta_3(-1/\tau)&=\sqrt{-i\tau}\,\theta_3(\tau),\\ \theta_2(-1/\tau)&=\sqrt{-i\tau}\,\theta_4(\tau),\\ \theta_4(-1/\tau)&=\sqrt{-i\tau}\,\theta_2(\tau). \end{aligned}

    The product identity θ2θ3θ4=2η3\theta_2\theta_3\theta_4=2\eta^3, with its phase fixed on the imaginary axis, then gives

    η(−1/τ)=−iτ η(τ).\eta(-1/\tau)=\sqrt{-i\tau}\,\eta(\tau).

    Under TT, the Gaussian sums and oscillator product give

    θ3↔θ4,θ2↦eiπ/4θ2,η↦eiπ/12η.\theta_3\leftrightarrow\theta_4, \qquad \theta_2\mapsto e^{i\pi/4}\theta_2, \qquad \eta\mapsto e^{i\pi/12}\eta.

    For example, eπin2=(−1)ne^{\pi in^2}=(-1)^n exchanges θ3\theta_3 and θ4\theta_4. The eta phase follows from its explicit prefactor eπiτ/12e^{\pi i\tau/12} while its integer-mode product stays fixed. These identities are derived from Poisson summation and product formulas in Ginsparg, §7.6, Eqs. (7.27)–(7.35) (PDF).

    Derive the Ising character matrices

    Keep the ordered character vector

    χ=(χ1,χϵ,χσ)T.\boldsymbol\chi=(\chi_{\mathbf1},\chi_\epsilon,\chi_\sigma)^T.

    Let F3=θ3/ηF_3=\sqrt{\theta_3/\eta}, F4=θ4/ηF_4=\sqrt{\theta_4/\eta}, and F2=θ2/ηF_2=\sqrt{\theta_2/\eta}, with branches fixed by the oscillator products. Then χ1=(F3+F4)/2\chi_{\mathbf1}=(F_3+F_4)/2, χϵ=(F3−F4)/2\chi_\epsilon=(F_3-F_4)/2, and χσ=F2/2\chi_\sigma=F_2/\sqrt2. Under SS, F3F_3 is unchanged and F4,F2F_4,F_2 exchange. Substituting gives

    S=12(11211−22−20),χ(−1/τ)=Sχ(τ).\boxed{ S=\frac12\begin{pmatrix} 1&1&\sqrt2\\ 1&1&-\sqrt2\\ \sqrt2&-\sqrt2&0 \end{pmatrix}, \qquad \boldsymbol\chi(-1/\tau)=S\boldsymbol\chi(\tau). }

    For TT, all descendant grades are integers, so only the leading exponent of each character matters:

    T=diag⁡(e−iπ/24,e23iπ/24,eiπ/12),χ(τ+1)=Tχ(τ).\boxed{ T=\operatorname{diag} \left(e^{-i\pi/24},e^{23i\pi/24},e^{i\pi/12}\right), \quad \boldsymbol\chi(\tau+1)=T\boldsymbol\chi(\tau). }

    The last phase uses hσ−c/24=1/24h_\sigma-c/24=1/24, not hσ=1/16h_\sigma=1/16. The identity and energy phases also differ by a minus sign, which is what the NS parity projection requires.

    Direct multiplication gives S†S=T†T=IS^\dagger S=T^\dagger T=I and S2=(ST)3=IS^2=(ST)^3=I. One short check of the cubic relation is to write T=t0diag⁡(1,−1,u)T=t_0\operatorname{diag}(1,-1,u), with t0=e−iπ/24t_0=e^{-i\pi/24} and u=eiπ/8u=e^{i\pi/8}. For the displayed SS,

    [Sdiag⁡(1,−1,u)]3=uI,t03u=1.\left[S\operatorname{diag}(1,-1,u)\right]^3=uI, \qquad t_0^3u=1.

    The central-charge phase in TT is essential for this cancellation.

    What a character pairing must satisfy

    For this section write the sesquilinear pairing as

    Z=χ†Mχ,Mij∈Z≥0.Z=\boldsymbol\chi^\dagger M\boldsymbol\chi, \qquad M_{ij}\in\mathbb Z_{\ge0}.

    Here the row labels the antiholomorphic module and the column the holomorphic one. A unique normalized vacuum requires M11=1M_{\mathbf1\mathbf1}=1. Modular invariance demands

    S†MS=M,T†MT=M.S^\dagger MS=M,\qquad T^\dagger MT=M.

    The diagonal choice M=IM=I therefore gives

    ZIsing=∣χ1∣2+∣χϵ∣2+∣χσ∣2,Z_{\rm Ising}=|\chi_{\mathbf1}|^2+|\chi_\epsilon|^2+|\chi_\sigma|^2,

    invariant under both transformations. The first exercise shows that, within this three-character system and with a unique vacuum, the invariance equations actually force this pairing.

    The conditions test state multiplicities, integer spins, and consistency under changing torus cycles. They do not construct OPE coefficients or prove sphere crossing and higher-genus sewing. Even a positive integral modular invariant is only part of the data of a local CFT. Conversely, a generic nonrational theory may require an infinite character sum or an integral kernel rather than this finite matrix calculation.

    Prove compact-boson invariance without a finite character basis

    For radius RXR_X, denote the momentum-winding sum by ΘRX(τ)\Theta_{R_X}(\tau). The Hamiltonian expression is

    ΘRX=∑n,w∈Zexp⁡[−2πτ2n2RX2−πτ2w2RX22+2πiτ1nw].\Theta_{R_X}=\sum_{n,w\in\mathbb Z} \exp\left[-\frac{2\pi\tau_2n^2}{R_X^2} -\frac{\pi\tau_2w^2R_X^2}{2}+2\pi i\tau_1nw\right].

    Apply the Gaussian Poisson formula to nn with a=2τ2/RX2a=2\tau_2/R_X^2 and b=τ1wb=\tau_1w:

    ∑ne−πan2+2πibn=1a∑me−π(m−b)2/a.\sum_n e^{-\pi a n^2+2\pi ibn} =\frac1{\sqrt a}\sum_m e^{-\pi(m-b)^2/a}.

    It follows that the same full partition function is

    ZRX(τ)=RX2τ2 ∣η(τ)∣2∑m,w∈Zexp⁡[−πRX22τ2∣m−wτ∣2].\boxed{ Z_{R_X}(\tau)=\frac{R_X}{\sqrt{2\tau_2}\,|\eta(\tau)|^2} \sum_{m,w\in\mathbb Z} \exp\left[-\frac{\pi R_X^2}{2\tau_2}|m-w\tau|^2\right]. }

    The new integers label winding around the two Euclidean cycles. Under TT, the summand is preserved by m↦m−wm\mapsto m-w. Under SS,

    τ2↦τ2∣τ∣2,∣m−w(−1/τ)∣2τ2/∣τ∣2=∣mτ+w∣2τ2,\tau_2\mapsto\frac{\tau_2}{|\tau|^2},\qquad \frac{|m-w(-1/\tau)|^2}{\tau_2/|\tau|^2} =\frac{|m\tau+w|^2}{\tau_2},

    which is the old lattice after (m,w)↦(w,−m)(m,w)\mapsto(w,-m). The prefactor is invariant because the factor ∣τ∣|\tau| from τ2−1/2\tau_2^{-1/2} cancels the factor ∣τ∣|\tau| in ∣η(−1/τ)∣2|\eta(-1/\tau)|^2. This proves invariance for the infinite convergent sum. The Hamiltonian TT test is equivalently the integer-spin phase e2πinw=1e^{2\pi inw}=1.

    This calculation also explains why the oscillator determinant alone is insufficient: its modular weight is canceled by the zero-mode lattice. The underlying Hamiltonian and Poisson-resummed formulas appear in Ginsparg, §8.1, Eqs. (8.5)–(8.7) (PDF), with RX=2rR_X=2r.

    Numerical tests and their limits

    The shared companion evaluates characters by explicit oscillator products, so it retains fractional leading phases when τ\tau is shifted by one. It then compares with the derived S,TS,T matrices and, independently, with theta functions. The latter use the library convention θn(0,eiπτ)\theta_n(0,e^{i\pi\tau}): passing the torus q=e2πiτq=e^{2\pi i\tau} to that API would use the wrong modulus.

    At 80 decimal digits, Ising tests at τ=i\tau=i, 0.21+0.63i0.21+0.63i, and 0.13+0.12i0.13+0.12i have absolute S,TS,T residuals below 3.3×10−793.3\times10^{-79}. The diagonal value at the self-dual point is Z(i)≈1.89631389618927Z(i)\approx1.89631389618927.

    For the compact boson with RX2=3R_X^2=3, independent lattice and oscillator cutoff increases were performed before the modular comparison. With ∣n∣,∣w∣≤32|n|,|w|\le32 and 600 oscillator factors, the relative SS residuals are:

    Modulus τ\tauRelative difference between Z(τ)Z(\tau) and Z(−1/τ)Z(-1/\tau)
    0.21+0.63i0.21+0.63ibelow 1.1×10−801.1\times10^{-80}
    0.13+0.12i0.13+0.12ibelow 10−7810^{-78}
    0.13+0.04i0.13+0.04i3.18×10−423.18\times10^{-42}

    The last point requires a substantially larger cutoff than the first. Finite lattice cutoffs are not exactly preserved by Poisson summation, so a finite-sum residual should not be called an algebraic identity. The exact proof uses the infinite sum; the numerical tests check its implementation and normalization. Source and retained outputs are torus_modular_checks.py and torus_modular_results.json under examples/cft/modular-cft/.

    Summary

    Modular transformations exchange and shear torus cycles. Poisson summation turns that geometry into explicit transformations of Gaussian sums, theta functions, and the compact-boson lattice. Ising characters mix by a unitary matrix while their full diagonal pairing stays invariant. Vacuum shifts, branch phases, and zero modes are necessary parts of the calculation; genus-one invariance still leaves local OPE and sewing data to be supplied.

    Exercises

    1. Classify all pairings MM of the three Ising characters with nonnegative integer entries, M11=1M_{\mathbf1\mathbf1}=1, and invariance under the displayed S,TS,T. Would counting the spin module twice pass?
    Solution

    The three TT eigenvalues are distinct, and no two leading exponents differ by an integer. Thus T†MT=MT^\dagger MT=M forces MM to be diagonal: M=diag⁡(1,a,b)M=\operatorname{diag}(1,a,b). Since SS is unitary, the other equation is equivalent to MS=SMMS=SM. Its identity-energy entry requires a=1a=1, and its identity-spin entry requires b=1b=1, because those entries of SS are nonzero. Hence M=IM=I is the unique solution under these assumptions.

    The proposed extra Ramond degeneracy would give M=diag⁡(1,1,2)M=\operatorname{diag}(1,1,2). It passes the TT test but fails SS. A separately graded fermion ground multiplicity therefore cannot be inserted into the irreducible Ising spin character's full pairing.

    1. Replace TT by T′=diag⁡(e2πihi)T'=\operatorname{diag}(e^{2\pi ih_i}), omitting the vacuum shift. Compute (ST′)3(ST')^3 and explain why a diagonal partition-function test alone can miss the error.
    Solution

    Since c=1/2c=1/2, T′=eiπ/24TT'=e^{i\pi/24}T. Therefore

    (ST′)3=eiπ/8(ST)3=eiπ/8I.(ST')^3=e^{i\pi/8}(ST)^3=e^{i\pi/8}I.

    The correct character representation has (ST)3=I(ST)^3=I. Nevertheless, a common phase cancels between the two factors in Z=χ†χZ=\boldsymbol\chi^\dagger\boldsymbol\chi, so testing only invariance of that diagonal quadratic form does not detect the missing shift. Checking the actual character transformation and group relation does.

    1. At τ=it\tau=it with t>0t>0, compare the oscillator-only expression Zosc=∣η∣−2Z_{\rm osc}=|\eta|^{-2} with its SS transform. How does the Poisson-resummed zero-mode factor repair the mismatch?
    Solution

    The eta transformation gives Zosc(i/t)=t−1Zosc(it)Z_{\rm osc}(i/t)=t^{-1}Z_{\rm osc}(it), so it is not invariant unless t=1t=1. In the winding form of the compact trace, the prefactor contains τ2−1/2\tau_2^{-1/2}. Exchanging tt with 1/t1/t multiplies this factor by tt, while the two-cycle lattice sum is reindexed without change. The factors cancel. This check distinguishes modular covariance of an oscillator determinant from invariance of the complete trace.

    References

    • Ginsparg, Paul. “Applied Conformal Field Theory.” Les Houches lectures, 1988; arXiv posting, 1991. arXiv:hep-th/9108028, PDF. See §7.3, Eq. (7.11), for cycle transformations; §7.4 for Ising characters; §7.6, Eqs. (7.27)–(7.35), for product and Poisson identities; and §8.1, Eqs. (8.5)–(8.7), for the compact-boson modular calculation. The finite checks and the Ising pairing argument above are worked explicitly in the stated basis.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.