Lecture 4

Two-Dimensional CFT: the Partition Function on the Torus

For the reader from (mathematics).

The “physics torus” is your elliptic curve /(+τ), and “modular invariance” is the action of SL(2,) on τ. The partition function will turn out to be built from the Dedekind η and the Jacobi θ functions-weight-12 modular forms you already know. What CFT adds is a reason those particular forms appear: they are traces over representations.

For the reader from (physics).

The one structural novelty is that the time circle of Lecture 3 is now accompanied by a space circle, and we are free to relabel which is which. The partition function cannot depend on that relabelling-that constraint is modular invariance, and it is as strong as it is because SL(2,) is large.

4.1 Two circles make a torus

Put a 2d CFT on a spatial circle of circumference 2π. Its states live in a Hilbert space acted on by two copies of the Virasoro algebra-generators Ln for the left-movers, L¯n for the right-and the zero modes do most of this chapter’s work. The one statement to anchor everything, especially if the lingo is new, is this: the Hamiltonian of the theory on the circle is

H=L0+L¯0c12,P=L0L¯0,

with P the momentum, generating translation around the circle. L0 and L¯0 are nothing exotic: they are the left- and right-moving halves of the energy. And the shift c/12 is the Casimir energy of Lecture 3, one c/24 for each half. Evolving in Euclidean time by β and tracing makes a torus: one cycle is the space circle, the other the time circle. Allowing the time evolution to also translate along the space circle by an angle θ (a “twist”) combines the two real parameters into one complex modular parameter τ=τ1+iτ2, with β=2πτ2 and θ=2πτ1, and we set q=e2πiτ. The literature calls this q the nome of the torus-an old word from elliptic-function theory, worth recognizing but nothing mysterious: it is the natural expansion variable for anything living on the torus, and, physically, a Boltzmann weight once more. Indeed |q|=eβ, so qL0 suppresses a state by eβ and rotates its phase by θ per unit of L0. Mind that it is not the thermal q=eβω of L2, which weighted the quanta of one chosen oscillator; the two coincide only once the tower is graded by L0 in integer steps. The torus is the quotient /(+τ).

Why two copies of the Virasoro algebra, and why the constant talk of holomorphy? In two Euclidean dimensions, conformal geometry and complex analysis are the same subject: pack the two worldsheet coordinates into one complex z, and a map preserves angles precisely where it is holomorphic (or antiholomorphic)-the Cauchy–Riemann equations are the conformality condition. The 2d conformal “group” is therefore infinite-dimensional: every holomorphic zz+ϵ(z) is an infinitesimal symmetry, one generator n=zn+1z per Fourier mode of ϵ. Quantum mechanically their algebra acquires a central term, measured by the same c that set the Casimir energy a paragraph ago:

[Lm,Ln]=(mn)Lm+n+c12m(m21)δm+n,0, (4.1)

one copy for the holomorphic side and an independent copy L¯n for the antiholomorphic. Everything in the theory accordingly splits into left-movers (functions of z) and right-movers (functions of z¯), coupled only through the spectrum-and the split survives the trace: a quantity built from left-movers alone depends on the modulus only through q=e2πiτ, never q¯, so chiral objects will be holomorphic functions of τ. That innocuous remark is the engine of §4.6.

The partition function is the graded trace

Z(τ,τ¯)=TrqL0c24q¯L¯0c24. (4.2)

Compare (1)-and note this is an identity, not an analogy: unpacking q=e2πiτ,

qL0c24q¯L¯0c24=eβHeiθP,

so (4.2) is the thermal trace of Lecture 2, refined by a conjugate potential for the momentum. Inverse temperature has been complexified into τ.

Thread (Where the c/24 lands).

The shift L0L0c24 in (4.2) is exactly the Casimir energy of Lecture 3: putting the theory on a circle costs a ground-state energy c/24 per chiral half. This is the same 1/12, now wearing its conformal clothes.

Thread (Reading the torus trace with the Interlude’s checklist).

Which charges? H=L0+L¯0c12 and P=L0L¯0. Which conjugate potentials? β=2πτ2 and θ=2πτ1, packaged as the single complex τ. What closes the trace? The two cycles of the torus. If the theory has an extra current charge J0, we may refine the trace to TryJ0qL0c/24: the new potential y is the elliptic variable-the chemical potential of §4, now a Jacobi-form variable.

4.2 Modular invariance

The same torus can be described by different choices of which lattice vectors are the two cycles. The relabellings form the modular group SL(2,), acting by

τaτ+bcτ+d,(abcd)SL(2,), (4.3)

generated by

T:ττ+1,S:τ1τ. (4.4)

Since they describe the same torus, the partition function of a consistent theory must be invariant:

Z(τ+1)=Z(τ),Z(1/τ)=Z(τ). (4.5)

T-invariance is a statement about the spectrum modulo the c/24 shift; S-invariance exchanges the space and time circles, relating high and low “temperature.” Modular invariance is the conformal descendant of the cyclicity of the trace (§1).

4.3 The free boson: the Dedekind eta

For a single non-compact free boson (c=1) the trace (4.2) factorizes into the zero-mode (momentum) integral and the oscillator trace (5). The result, quoted per unit target-space volume (the momentum integral also supplies an overall volume factor), is

Zboson(τ)=1Imτ|η(τ)|2,η(τ)=q1/24n1(1qn). (4.6)

There is the c/24 thread again, as the q1/24. The Dedekind eta is a modular form of weight 12: η(τ+1)=eiπ/12η(τ) and η(1/τ)=iτη(τ). The factor 1/Imτ from the momentum integral is exactly what is needed to make (4.6) modular invariant. The oscillator product (1qn)1 of Lecture 2 has become a modular object.

For the curious (the compact boson and T-duality).

Compactify the boson on a circle of radius R. States now carry momentum n and winding w, and the zero-mode integral becomes a sum over the Narain lattice. The partition function is invariant under Rα/R with (n,w)(w,n): T-duality. Tracking the Interlude’s potentials, the S-transform of the torus and the R1/R duality are two faces of the same self-consistency-high/low temperature exchange.

4.4 The free fermion: theta functions and four spin structures

A free fermion on the torus must be assigned a boundary condition on each of the two cycles-periodic (Ramond, R) or antiperiodic (Neveu–Schwarz, NS)-by the rule of §3.2. That is 2×2=4 choices: the four spin structures. We write (a,b) with a the space-cycle and b the time-cycle condition; by §3.2, an R (periodic) time cycle means a (1)F insertion in the trace. Each choice yields a trace that evaluates to a ratio of a Jacobi theta function and η:

(NS, NS)θ3η,(NS, R)θ4η,(R, NS)θ2η,(R, R)θ1η0, (4.7)

the last vanishing because θ10 (a fermion zero mode; the same zero mode leaves the R ground states degenerate). Parallel to η in (4.6), let us spell the Jacobi theta constants out as products,

θ3=n1(1qn)(1+qn12)2,θ4=n1(1qn)(1qn12)2,θ2=2q1/8n1(1qn)(1+qn)2 (4.8)

(equivalently the sums nqn2/2, n(1)nqn2/2 and nq(n+1/2)2/2). The blocks are then the Lecture 2 products in thin disguise:

θ3η=q148r=12,32,(1+qr),θ4η=q148r=12,32,(1qr),θ2η=2q124n1(1+qn): (4.9)

the fermionic partition function (6), mode by mode, with half-integer (NS) or integer (R) moding, a sign when (1)F is inserted, a 2 for the R zero mode, and the sector ground-state energy out front. The leading powers in (4.9) are old friends: q1/48 for NS, q+1/24 for R-the two regulator-box vacuum energies (3.8) and (3.7) of Lecture 3, in units of 2π/L, now reading as c24 and hc24 for the c=12 Majorana fermion. The NS ground state is the true vacuum; the R ground state is not-it is a state of dimension h=116, created by the spin field of the Ising model, sitting at 116148=+124. The boundary conditions of Lecture 3 have become sector data, each sector with its own ground-state energy. Under the modular group, T and S permute the spin structures, hence permute θ2,θ3,θ4:

T:θ3θ4,θ2θ2;S:θ2θ4,θ3θ3. (4.10)

A modular-invariant fermion partition function is therefore a specific sum over spin structures, 12(|θ3/η|+|θ4/η|+|θ2/η|) in schematic form-the content of the 2d Ising model at its critical point, the c=12 theory realized by a single Majorana fermion.

One more enlargement before the machinery of Lecture 5. Put the boson and the fermion together (c=1+12=32), and the combined theory carries more symmetry than two commuting Virasoros: alongside the stress tensor there is a fermionic current G(z) of weight 32-concretely Gψϕ-whose modes Gr extend (4.1) to the 𝒩=1 super-Virasoro algebra,

[Lm,Gr]=(m2r)Gm+r,{Gr,Gs}=2Lr+s+c3(r214)δr+s,0. (4.11)

This is superconformal symmetry: conformal transformations together with supersymmetries rotating the boson into the fermion, holomorphic like everything else in this chapter.11 1 Indeed the pattern of §4.1 persists one rung up. Adjoin to z an anticommuting partner θ (with θ2=0), making the worldsheet a superspace with coordinates (z|θ); a function f(z,θ)=f0(z)+θf1(z) packs a boson and a fermion into one superfield. Superconformal transformations are exactly the superholomorphic maps of (z|θ)-those preserving, up to scale, the odd derivative D=θ+θz, a square root of translations (D2=z) foreshadowing the square root of the Hamiltonian in Lecture 5. Mode-expanding one such map yields the Lm and Gr together: super-Virasoro is to superholomorphy what Virasoro is to holomorphy. We will not need superspace, but the hint is worth having. Being fermionic, G inherits the spin-structure question just settled: its moding r is half-integer in the NS sector and integer in the R sector-the same two choices, now inside the symmetry algebra itself. What the enlarged algebra buys (a square root of the Hamiltonian, and with it the sturdiest partition functions in these notes) is the closing business of Lecture 5.

Thread (The thread converges on SCFT).

The choice “which spin structure” is the choice “insert (1)F on which cycle.” Inserting it on the time cycle of the R sector produces the trace TrR(1)FqL0c/24-the Witten index (Lecture 5). The theta functions we just met are precisely the super-characters that index will assemble. The boson gave us η; the fermion gives us the θ’s; together they are the building blocks of superconformal partition functions.

4.5 Characters: the partition function decomposes

The Hilbert space organizes into Virasoro representations Vh labelled by conformal weight h. The trace over a single representation is its character,

χh(τ)=TrVhqL0c/24=qhc/24n0(dimVh,n)qn, (4.12)

and the full partition function is a sesquilinear combination

Z(τ,τ¯)=h,h¯Nhh¯χh(τ)χh¯(τ)¯,Nhh¯0. (4.13)

In a rational theory there are finitely many χh, and the modular S-transform acts on this finite vector by a matrix-the modular S-matrix Shh. Modular invariance becomes a finite linear-algebra condition on the multiplicities Nhh¯. Equation (4.12) is the doorway to Lecture 5: a character is manifestly a graded dimension.

4.6 Holomorphic factorization, and its instructive failure

Stare at the shape of (4.13). Every character χh(τ) is holomorphic in τ: built from one chirality alone, it sees q and never q¯, exactly as promised in §4.1. The partition function is therefore a finite sesquilinear form in holomorphic objects-chiral blocks and their conjugates, glued by a matrix of non-negative integers. Now recall the first structural fact of these notes (§4): independent systems multiply. If the left- and right-moving halves of the theory were independent systems, Z would be a single product, Z(τ,τ¯)=f(τ)f(τ)¯. Equation (4.13) says that in general they are not: no such f exists, and the matrix Nhh¯ records exactly how the two chiral halves are correlated-which left-moving sectors occur, and paired with which right-moving ones. In information-theoretic terms N is a joint distribution over sector labels, and the failure of Z to factor is the statement that the chiral halves carry mutual information. The partition function has acquired internal structure: it is not one function but a pairing of two vectors of blocks.

Both running examples exhibit the failure. For the boson, (4.6) glues η1 to η¯1 diagonally, and the zero-mode factor 1/Imτ-neither holomorphic nor antiholomorphic-ties the halves together. For the fermion, the invariant is a sum over spin structures, i|θi/η|, correlating the left and right boundary conditions sector by sector. Modular invariance is the culprit: S and T shuffle the blocks among themselves, so (special theories aside) no single product ff¯ is invariant-only matrix-glued combinations survive. The diagonal gluing Nhh¯=δhh¯ always works, because the S-matrix is unitary; but it is typically not alone, and distinct gluing matrices are inequivalent theories built from identical chiral ingredients. The chiral data does not determine the CFT: the pairing is extra physical information.

This is precisely why Lecture 5 studies the chiral half by itself. The blocks are characters of the chiral algebra-the affine Lie algebras and vertex operator algebras of the next lecture-and representation theory speaks about one chirality at a time. A full CFT is two chiral halves plus a modular-invariant gluing; the objects of Lecture 5 are the factors that (4.13) almost, but never quite, separates into. (For the reader keeping categorical score: the blocks span a finite-dimensional representation of SL(2,), and a consistent Z is an invariant vector in a product of two such-a first hint of the finale’s habit of valuing partition functions in vector spaces rather than numbers.)

For the curious (ADE, and when factorization does hold).

For 𝔰𝔲^(2)k-and, closely related, for the Virasoro minimal models-the complete list of gluing matrices is known, and it follows a pattern no one ordered: the modular invariants are classified by the simply-laced Dynkin diagrams An,Dn,E6,E7,E8 (Cappelli–Itzykson–Zuber). The A-series is the diagonal theory; the D-series pairs sectors with their images under a 2 symmetry; among the exceptionals, E6 and E8 are diagonal invariants of an extended chiral algebra in disguise, while E7 genuinely couples different left and right sectors. Honest holomorphic factorization-or an outright holomorphic Z-is reserved for meromorphic theories and requires c24, else phases like η’s eiπ/12 survive under T. The most famous example sits at c=24: the Moonshine module, with Z(τ)=J(τ) the modular j-function (less its constant term) and the Monster group as its symmetry.

Rosetta notes

  • τ complexified inverse temperature/geometry; qL0c/24eβH with vacuum subtraction.

  • Spin structure L3 boundary conditions (1)F insertions.

  • Modular S high/low-temperature duality the Kac–Peterson transform (L5). The elliptic variable y is the chemical potential of §4, now a Jacobi-form variable.

  • Chiral block/character a module of the chiral algebra (L5); the gluing matrix Nhh¯ which left and right modules pair-the part of the theory the chiral halves alone cannot see.

← Back to The Many Faces of the Partition Function

Prefer the whole series as one document? Download the notes (PDF).