Skip to content

ABJM small-N partition functions

An oscillatory integral can return many stable digits of the wrong limiting prescription. A positive integral can also mislead if its integration box grows faster than its numerical resolution. This lab gives each problem a separate diagnostic.

Begin with the regulated rank-one calculation. The default program needs only that lesson. The later Spectral checks section introduces an additional prerequisite and an optional program mode; you can complete the rank-one experiment and its first exercise independently.

We use the undeformed round-sphere partition function of three-dimensional compact U(N)k×U(N)−kU(N)_k\times U(N)_{-k}, with positive integer kk, rank NN at each node, and no extra quotient by the center. The generic full theory has N=6\mathcal N=6, or twelve real Poincaré supercharges, enhanced to sixteen at k=1,2k=1,2. The calculation uses its N=2\mathcal N=2 sphere subalgebra. Keep H=−i/ℓH=-i/\ell, matter scalar R-charge 1/21/2, zero real masses and FI terms, and the original superpotential.

The dimensionless gauge scalars are s=ℓσs=\ell\sigma and t=ℓσ^t=\ell\widehat\sigma. Our first node has phase +iπks2+i\pi k s^2, and F=−log⁡ZF=-\log Z. These are fixed finite-rank calculations, without a large-NN or semiclassical approximation.

At N=1N=1, introduce positive Gaussian damping:

Zϵ(1,k)=∫R2ds dt exp⁡[iπk(s2−t2)−ϵ(s2+t2)]4cosh⁡2 ⁣π(s−t),ϵ>0.(LAB10.1)Z_\epsilon(1,k)= \int_{\mathbb R^2}ds\,dt\, \frac{\exp[i\pi k(s^2-t^2)-\epsilon(s^2+t^2)]} {4\cosh^2\!\pi(s-t)},\qquad \epsilon>0. \tag{LAB10.1}

The physical prescription is lim⁡ϵ↓0Zϵ\lim_{\epsilon\downarrow0}Z_\epsilon, not an arbitrary rectangular oscillatory cutoff. The normalization agrees with FG (2.1) under μ=2πs\mu=2\pi s, ν=2πt\nu=2\pi t. KWY (3.68), (4.4) has the opposite first-node phase; exchange its nodes to compare. Its Weyl normalization is already included, with both factors trivial at rank one.

Set x=s−tx=s-t and y=(s+t)/2y=(s+t)/2. The absolute Jacobian is one, while s2−t2=2xys^2-t^2=2xy and s2+t2=2y2+x2/2s^2+t^2=2y^2+x^2/2. Absolute convergence at positive ϵ\epsilon permits the Gaussian yy integration. Writing C=π2k2+ϵ2C=\pi^2k^2+\epsilon^2 gives

Zϵ=π2ϵ∫Re−Cx2/(2ϵ)4cosh⁡2(πx) dx=πC E ⁣[14cosh⁡2(πϵ/C U)],U∼N(0,1).(LAB10.2)\begin{aligned} Z_\epsilon &=\sqrt{\frac{\pi}{2\epsilon}} \int_{\mathbb R}\frac{e^{-Cx^2/(2\epsilon)}}{4\cosh^2(\pi x)}\,dx\\ &=\frac{\pi}{\sqrt C}\, \mathbb E\!\left[ \frac1{4\cosh^2(\pi\sqrt{\epsilon/C}\,U)} \right],\qquad U\sim N(0,1). \end{aligned} \tag{LAB10.2}

The second line is the numerical representation: the integration variable UU always has unit width. A routine operating directly on the first line would have to resolve a peak narrowing as ϵ\sqrt\epsilon.

The limit is 1/(4k)1/(4k). For a useful finite-input guarantee, use ∣tanh⁡v∣≤∣v∣|\tanh v|\leq|v|, EU2=1\mathbb E U^2=1, and 1−(1+a)−1/2≤a/21-(1+a)^{-1/2}\leq a/2:

0≤1−4kZϵ≤ϵk2+ϵ22π2k2.(LAB10.3)0\leq1-4kZ_\epsilon \leq\frac{\epsilon}{k^2} +\frac{\epsilon^2}{2\pi^2k^2}. \tag{LAB10.3}

This bounds the regulator bias. Raising numerical precision cannot remove it, and ϵ\epsilon is not a physical coupling.

Save these three files in one directory:

Download the complete lab (ZIP) with the program, pinned dependencies, reference output and run instructions.

The tested environment is Python 3.13.7 with mpmath 1.3.0 in an isolated virtual environment. After activating such an environment, run:

python -m pip install -r requirements.txt
python small_n.py
python small_n.py --level 2

No notebook, repository imports, or network calls are required by the calculation itself. The program accepts levels one through four and 40–70 working decimal digits via --dps. The default is 50 digits, with a repeat at 70. The expected-output file contains two objects: entry is the default result, and spectral is the optional run below.

For k=1k=1:

ϵ\epsilonComputed ZϵZ_\epsilonRelative bias 1−4Zϵ1-4Z_\epsilonProven upper bound
0.10.10.2288487331090.2288487331090.084605070.084605070.100506610.10050661
0.030.030.2429049864030.2429049864030.028380050.028380050.030045590.03004559
0.010.010.2475474030820.2475474030820.009810390.009810390.010005070.01000507

The precision repeat differs by about 1.7×10−531.7\times10^{-53} at the last input. That is evidence of numerical stability for this quadrature; the physical limit is still 0.250.25, nearly one percent above the finite-ϵ\epsilon result.

In the program, epsilon is the regulator, k the integer level, and z1_regulated implements (LAB10.2). Changing the level changes the physical theory. Changing the regulator or working precision changes how we approximate its answer.

This section and --spectral require the Fermi-gas transformation. That lesson proves the relation to the regulated matrix integral and explains the auxiliary fermions. They are a representation of the sphere observable, not a replacement of ABJM by a microscopic free-fermion theory.

Keep the precisely normalized kernel on L2(R,dx)L^2(\mathbb R,dx):

w(x)=12cosh⁡(x/2),ρ(x,y)=w(x)w(y)4πkcosh⁡[(x−y)/(2k)].(LAB10.4)w(x)=\frac1{2\cosh(x/2)},\qquad \rho(x,y)= \frac{\sqrt{w(x)w(y)}}{4\pi k\cosh[(x-y)/(2k)]}. \tag{LAB10.4}

Here the auxiliary Planck constant is 2πk2\pi k. The operator has not been rescaled to trace one. Its normalization and permutation formula are FG (3.3)–(3.8).

Let tj=Tr⁡ρjt_j=\operatorname{Tr}\rho^j. The two permutations of two particles give

t1=∫Rρ(x,x) dx=14k,Z(2,k)=12(t12−t2)=12∫R2[ρ(x,x)ρ(y,y)−ρ(x,y)ρ(y,x)] dx dy.(LAB10.5)\begin{aligned} t_1&=\int_{\mathbb R}\rho(x,x)\,dx=\frac1{4k},\\ Z(2,k)&=\frac12(t_1^2-t_2)\\ &=\frac12\int_{\mathbb R^2} [\rho(x,x)\rho(y,y)-\rho(x,y)\rho(y,x)]\,dx\,dy. \end{aligned} \tag{LAB10.5}

The factor 1/21/2 and the negative exchange term are both essential. A numerical kernel matrix can compute its trace and the trace of its square separately. We also want a comparison that avoids subtracting those two quantities.

Substituting the kernel shows that the square bracket is w(x)w(y)tanh⁡2[(x−y)/(2k)]/(16π2k2)w(x)w(y)\tanh^2[(x-y)/(2k)]/(16\pi^2k^2). Use d=x−yd=x-y and c=(x+y)/2c=(x+y)/2, again with unit Jacobian. Then

∫Rw(c+d/2)w(c−d/2) dc=∫Rdc2[cosh⁡c+cosh⁡(d/2)]=d2sinh⁡(d/2),Z(2,k)=132π2k2∫0∞d tanh⁡2[d/(2k)]sinh⁡(d/2) dd.(LAB10.6)\begin{aligned} \int_{\mathbb R}w(c+d/2)w(c-d/2)\,dc &=\int_{\mathbb R}\frac{dc}{2[\cosh c+\cosh(d/2)]}\\ &=\frac{d}{2\sinh(d/2)},\\ Z(2,k)&=\frac1{32\pi^2k^2} \int_0^\infty \frac{d\,\tanh^2[d/(2k)]}{\sinh(d/2)}\,dd. \end{aligned} \tag{LAB10.6}

For the middle equality, substitute t=tanh⁡(c/2)t=\tanh(c/2); the integral becomes a rational integral on −1<t<1-1<t<1. Its value at d=0d=0 is the continuous limit one. The last line uses evenness in dd. Both (LAB10.5) and (LAB10.6) use the same dxdx kernel measure; there is no additional dx/(2π)dx/(2\pi).

At k=1k=1, put d=2ud=2u. The remaining integral is 4∫0∞usinh⁡u/cosh⁡2u du4\int_0^\infty u\sinh u/\cosh^2u\,du. Integration by parts reduces it to 4∫0∞sech⁡u du=2π4\int_0^\infty\operatorname{sech}u\,du=2\pi. Thus

Z(2,1)=116π=0.0198943678864869…,t2=116−18π=0.0227112642270262….(LAB10.7)Z(2,1)=\frac1{16\pi}=0.0198943678864869\ldots,\qquad t_2=\frac1{16}-\frac1{8\pi}=0.0227112642270262\ldots. \tag{LAB10.7}

This is a complete finite-rank answer, not the leading term of a strong-coupling expansion.

Run:

python small_n.py --spectral
python small_n.py --spectral --level 2 --dps 60
python small_n.py --spectral --omit-exchange

The positive integral is evaluated directly. Its difference-coordinate cutoff D has an analytic omission bound:

0≤Z(2,k)−ZD(2,k)≤(2D+4)e−D/216π2k2(1−e−D).(LAB10.8)0\leq Z(2,k)-Z_D(2,k)\leq \frac{(2D+4)e^{-D/2}}{16\pi^2k^2(1-e^{-D})}. \tag{LAB10.8}

Indeed tanh⁡2≤1\tanh^2\leq1 and 1/sinh⁡(d/2)≤2e−d/2/(1−e−D)1/\sinh(d/2)\leq2e^{-d/2}/(1-e^{-D}) for d≥Dd\geq D. Integrating de−d/2d e^{-d/2} proves the bound. At k=1k=1, D=32D=32 omits about 4.85×10−84.85\times10^{-8}; D=64D=64 omits about 1.06×10−141.06\times10^{-14}. These bounds concern the exact truncated integral, independently of quadrature accuracy.

The kernel check instead restricts both x,yx,y to [−L,L][-L,L]. For Gauss–Legendre nodes xix_i and integration weights ωi\omega_i on that interval, form Rij=ωiωjρ(xi,xj)R_{ij}=\sqrt{\omega_i\omega_j}\rho(x_i,x_j). Compute Tr⁡R\operatorname{Tr}R and Tr⁡R2\operatorname{Tr}R^2. The program also sums the positive pair determinants of this same matrix, checking their algebraic agreement; that last equality alone is not an independent quadrature test.

To test the actual quadrature, integrate the center variable analytically over its finite allowed range. For 0<d<2L0<d<2L,

CL(d)=2 atanh⁡ ⁣[tanh⁡(d/4)tanh⁡((L−d/2)/2)]sinh⁡(d/2),Zbox=116π2k2∫02LCL(d)tanh⁡2[d/(2k)] dd.(LAB10.9)\begin{aligned} C_L(d)&= \frac{2\,\operatorname{atanh}\!\left[ \tanh(d/4)\tanh((L-d/2)/2)\right]}{\sinh(d/2)},\\ Z_{\mathrm{box}}&=\frac1{16\pi^2k^2} \int_0^{2L}C_L(d)\tanh^2[d/(2k)]\,dd. \end{aligned} \tag{LAB10.9}

Use CL(0)=tanh⁡(L/2)C_L(0)=\tanh(L/2). This one-dimensional reference has the same box as the kernel matrix. Its difference from the matrix answer isolates quadrature error. Separately, the diagonal mass outside the box is δL=arctan⁡(e−L/2)/(πk)\delta_L=\arctan(e^{-L/2})/(\pi k). Since the positive pair determinant is at most the diagonal product, 0≤Z−Zbox≤t1δL−δL2/20\leq Z-Z_{\mathrm{box}}\leq t_1\delta_L-\delta_L^2/2.

Representative k=1k=1 results are:

Box half-width LLNodesQuadrature difference from the same-box integralBound on box omission
161632322.57×10−62.57\times10^{-6}2.67×10−52.67\times10^{-5}
161664641.81×10−111.81\times10^{-11}2.67×10−52.67\times10^{-5}
16161281284.32×10−224.32\times10^{-22}2.67×10−52.67\times10^{-5}
323232327.23×10−47.23\times10^{-4}8.96×10−98.96\times10^{-9}
32321281282.08×10−112.08\times10^{-11}8.96×10−98.96\times10^{-9}

At fixed 32 nodes, a larger box is worse resolved. At fixed L=16L=16, more nodes cannot remove the omitted tail. Increasing --dps cannot cure either error. The complete download reports all nine box/node combinations, while its precision repeat tests the positive integral at two arithmetic settings. Its top-level trace2 is reconstructed from the full positive integral; the separately evaluated kernel traces are in finite_box_kernel_checks.

The negative mode reports t12/2=1/32t_1^2/2=1/32 at k=1k=1 instead of the correct (LAB10.7). It deliberately omits exchange, detects that discrepancy, and returns intentional_error_detected: true. A successful diagnostic exit does not endorse the wrong number. Likewise, checks_pass means the asserted identities, bounds and precision comparisons passed; it does not claim every coarse grid in the table is accurate.

This exercise needs only the rank-one entrance. Expand 4kZϵ4kZ_\epsilon through order ϵ2\epsilon^2, using EU4=3\mathbb E U^4=3. Show that 2Zϵ/2−Zϵ2Z_{\epsilon/2}-Z_\epsilon cancels the linear bias. At k=1k=1, compare its errors at ϵ=0.02\epsilon=0.02 and 0.010.01. Does the extrapolation equal the exact answer at finite input?

Hint 1

Expand sech⁡2v=1−v2+2v4/3+⋯\operatorname{sech}^2v=1-v^2+2v^4/3+\cdots as well as the prefactor πk/C\pi k/\sqrt C.

Hint 2

A term bϵ2b\epsilon^2 becomes −bϵ2/2-b\epsilon^2/2 in the extrapolated combination.

Solution

The Gaussian moments in (LAB10.2) give

4kZϵ=1−ϵk2+(2k4−12π2k2)ϵ2+O(ϵ3).4kZ_\epsilon= 1-\frac{\epsilon}{k^2} +\left(\frac2{k^4}-\frac1{2\pi^2k^2}\right)\epsilon^2 +O(\epsilon^3).

Consequently the combination has no term linear in ϵ\epsilon, but retains minus one-half the displayed quadratic coefficient. Direct evaluation gives absolute errors 8.98396×10−58.98396\times10^{-5} and 2.33748×10−52.33748\times10^{-5} at the two requested inputs. The ratio is about 3.843.84, approaching four as ϵ\epsilon decreases. This is quadratic improvement, not exact removal of the regulator. It also does not automatically inherit the one-sided bound (LAB10.3).

2. Change the physical level and budget the error

Section titled “2. Change the physical level and budget the error”

After the spectral preparation, use k=2k=2. Derive Z(2,2)=1/(32π2)Z(2,2)=1/(32\pi^2) from (LAB10.6), and find t2t_2. Can the bound (LAB10.8) certify a difference-cutoff omission below 10−1010^{-10} at D=32D=32? At D=64D=64? Explain why that is not yet a total numerical error certificate.

Hint 1

Set d=4ud=4u and use sinh⁡(2u)=2sinh⁡ucosh⁡u\sinh(2u)=2\sinh u\cosh u.

Hint 2

The remaining integral involves usinh⁡u/cosh⁡3uu\sinh u/\cosh^3u. Differentiate sech⁡2u\operatorname{sech}^2u.

Solution

The unnormalized integral in (LAB10.6) becomes 8∫0∞usinh⁡u/cosh⁡3u du=4∫0∞sech⁡2u du=48\int_0^\infty u\sinh u/\cosh^3u\,du=4\int_0^\infty\operatorname{sech}^2u\,du=4. Including its prefactor gives Z(2,2)=1/(32π2)≈0.003166286989Z(2,2)=1/(32\pi^2)\approx0.003166286989. Because t1=1/8t_1=1/8, the trace is t2=1/64−1/(16π2)t_2=1/64-1/(16\pi^2).

The bounds are approximately 1.21×10−81.21\times10^{-8} at D=32D=32 and 2.65×10−152.65\times10^{-15} at D=64D=64. Only the latter certifies the requested tail budget. A quadrature comparison and a precision comparison still address separate errors in evaluating the truncated integral. A box cutoff LL also has its own domain and bound; it cannot be substituted for DD.

After the spectral preparation, consider two modifications at k=1k=1: dropping t2t_2 from (LAB10.5), or replacing ρ\rho by ρ/t1\rho/t_1 to make it a trace-one density operator. Find both incorrect two-particle answers, and identify a rank-one check that catches the second error. What physical approximation, if any, do these modifications implement?

Hint 1

Every term in the two-particle determinant is quadratic in ρ\rho.

Hint 2

The rank-one sphere integral is 1/41/4, whereas the trace of the rescaled operator is one.

Solution

Dropping exchange gives 1/32=0.031251/32=0.03125, an overestimate by 1/32−1/(16π)≈0.011355631/32-1/(16\pi)\approx0.01135563. Rescaling ρ\rho by four gives 16Z(2,1)=1/π16Z(2,1)=1/\pi and changes Z(1,1)Z(1,1) to one. In general ρ↦cρ\rho\mapsto c\rho changes Z(N,k)Z(N,k) by cNc^N, so this is an observable normalization change.

Neither modification is a controlled approximation to the fixed observable here. The first discards the antisymmetric occupation rule of its exact auxiliary representation; the second discards the absolute normalization inherited from localization. The three-dimensional theory remains interacting. Correct auxiliary fermion statistics and the rank-one normalization are both needed to reproduce its sphere partition function.

The successful comparison is between the specified Abel limit, the normalized kernel traces, and a positive two-particle integral with explicit cutoffs. It supports these finite-rank computations. It does not establish arbitrary contour deformations, a large-NN expansion, or a microscopic free-fermion description.