ABJM large N and the Airy approximation
Before this lesson: The Airy function and the corrections it omits.
Two curves can overlap on a free-energy plot while disagreeing by much more than the numerical error. Conversely, a tiny difference can be entirely numerical. This laboratory makes both situations visible. Starting from the positive ABJM density kernel, you will calculate finite-rank partition functions, plot , and then magnify the discrepancy from the perturbative Airy answer.
Read the Airy function and the corrections it omits first. Its determinant and asymptotic derivations supply our analytic preparation; the present task is an independent finite-rank computation and its error diagnosis.
The observable and the fixed limit
Section titled “The observable and the fixed limit”We keep the undeformed three-dimensional compact theory, with rank per factor and no further quotient. All variables below are dimensionless. The round-sphere measure and positive first-node Chern–Simons phase are fixed as in the prerequisite. There are no real masses or FI sources. The generic theory has twelve real Poincaré supercharges, enhanced to sixteen at the two levels used here, ; this full-theory count differs from the chosen supercharge used in the manifest localization calculation.
The physical observable is , with . The auxiliary Fermi gas is ungraded, and is not an index. Increasing at fixed positive tests the M-theory large-rank limit. It is not the ’t Hooft limit, which increases together at fixed .
On , use
The factor , rather than , matters in this expression. Its operator is positive and trace class. If its eigenvalues are , the Fermi-gas formulation gives
Here is an auxiliary fugacity, not a mass. The kernel and determinant follow FG (3.3) and (3.24). We compute the coefficients of this full determinant numerically; the Airy function is not used to generate those data.
A positive coefficient calculation
Section titled “A positive coefficient calculation”Replace the real line by . Let be the nodes and positive weights of an -point Gauss–Legendre quadrature on that interval. The symmetric weighted matrix is
Diagonalizing approximates the integral-operator spectrum. It does not make the integral discretization exact. If is the coefficient of after some eigenvalues have been included, adding one more eigenvalue gives
The two terms choose whether to occupy that level. Both use the old array; updating upward in place would reuse the same fermionic level. Every addition is positive, so this method avoids alternating Newton identities between nearly equal traces. The program actually stores and uses a stable log-sum operation. This also prevents underflow of small .
Exact positivity does not prevent tiny negative eigenvalues in floating-point arithmetic. The program records their total absolute size , rejects an eigenvalue below , and otherwise omits only those negative values. This numerical threshold is a diagnostic choice, not a physical cutoff. Small positive eigenvalues can also contain error; recording alone cannot certify them.
| Mathematical input | Program name | Meaning |
|---|---|---|
k, nmax | Fixed level and largest requested rank | |
L, nodes | Independent window and quadrature controls | |
log_Z | Positive coefficient recursion | |
F_minus_F_pert | Signed free-energy discrepancy | |
negative_eigenvalue_mass | Recorded floating-point sign defect |
The two predictions
Section titled “The two predictions”The leading prediction is . The normalized perturbative prediction is
These special values use the constant-map prescription of HMO (3.4), identified there as a conjectured input tested with exact data. They are not fitted to the kernel calculation. The prerequisite explains the prescription and the cubic inversion; HMO (3.18) gives the resulting Airy expression. The script deliberately supports only , where these absolute constants are supplied.
The exact Fredholm determinant is periodic in a chemical potential through ; is a perturbative branch, not that exact determinant. Its Airy coefficient resums algebraic large- corrections but omits exponential sectors. Quantify the omission with the signed ratio used in HMO (1.6):
Evaluating this as expm1(log_Z - log_Z_pert) avoids a second loss of significant digits. It cannot recover digits already lost in the kernel calculation.
Run and read the comparison
Section titled “Run and read the comparison”Save these four files in one directory:
Download the complete lab (ZIP) with the program, pinned dependencies, reference output and run instructions.
- Standalone Python calculation.
- Pinned dependencies.
- Expected default physical values and tolerance.
- Reproducible two-panel figure.
The tested environment is Python 3.13.7, NumPy 2.1.2 and mpmath 1.3.0. In a fresh environment, install the dependencies and run:
python -m pip install -r requirements.txtpython large_n.py --json result.json --svg large_n.svg --check-expected expected-output.jsonpython large_n.py --k 1 --nmax 12 --json level-one.jsonpython large_n.py --k 1 --coarse --json coarse.jsonThe default is , . Four calculations use every combination and . The final value is from . The deliberately coarse option instead uses and ; it is a negative control. The script makes no network calls and does not import another laboratory. --dps changes the Airy and source-constant working precision, not the NumPy kernel, which remains double precision.
Representative default values are:
| Empirical indicator in | |||
|---|---|---|---|
| 1 | 2.0794415417 | about | |
| 2 | 2.0347689442 | about | |
| 4 | 2.0372565548 | about | |
| 8 | 2.0530069131 | about |
Last digits of the diagnostic columns depend on the linear-algebra platform. The expected-output file compares physical columns with an absolute tolerance of ; it does not demand identical roundoff.
The leading constant for this plot is . Its visible finite-rank bias is much larger than the Airy discrepancy. Thus leading scaling, perturbative resummation and full finite-rank data answer three different accuracy questions.
What the checks actually bound
Section titled “What the checks actually bound”An analytic fact controls the lost diagonal trace outside the window:
Here restricts wavefunctions to . For the exact compressed operator, let be its determinant coefficients. Ordered eigenvalues obey by the variational principle, with . Expanding each coefficient in and , then allowing overlapping selections to overcount, gives
We used for nonnegative numbers. This is a genuine operator-compression bound. In the program its right side is evaluated with numerical : that evaluation is not a bound on quadrature or diagonalization error. The exact mathematical statement and the numerical substitution must remain separate.
For an empirical resolution indicator, the program takes ten times the largest observed change in on either axis of the four-run grid, the sensitivity scale , and a floating-point floor ; it then adds the logarithmic version of (LAB11.9). The factor ten is a declared conservative convention, not a confidence level or a theorem. The JSON report exposes every contribution. Agreement on this grid is useful evidence, but errors common to all four grids can survive it.
Independent calibration catches some such errors. HMO Appendix B gives, for example,
The script compares these values, and their counterparts, with the kernel output. Checks through against additional source formulas had relative differences below in the tested environment. A separate positive real Bessel integral also reproduced the normalized Airy values. Neither check makes all future higher-rank coefficients exact.
At fixed , the omitted sectors have actions proportional to or , where . Their coefficients and cancellations matter: at the leading combined correction is much smaller than at . The optional result is unresolved by this calculation. Increasing --dps alone does not change that. On a fixed- path, these scales and behave differently; this laboratory does not convert its fixed-level evidence into uniform ’t Hooft error control.
Exercises
Section titled “Exercises”1. Change the density normalization
Section titled “1. Change the density normalization”A copied measure accidentally multiplies the kernel by . Derive the change in and in , holding the intended Airy normalization fixed. Estimate the error at . Which independent check catches it?
Hint 1. Each term of the th coefficient contains exactly eigenvalues.
Hint 2. Compare with the same , not with a refitted .
Solution
Every eigenvalue is multiplied by , so and . The normalized change is , about at . Also , about for the default value, overwhelmingly larger than . The trace becomes , so even the calibration detects the wrong measure. A constant adjustment of cannot remove an error proportional to at every rank. Positive eigenvalues and stable quadrature would not detect this convention error by themselves.
2. Explain the leading plot’s bias
Section titled “2. Explain the leading plot’s bias”Use the large-positive-argument Airy asymptotic to derive the first corrections to . What happens to if instead of being fixed?
Hint 1. Keep the prefactor before expanding .
Hint 2. Expand at fixed first; only afterward inspect whether this ordering survives the changed path.
Solution
Taking the negative logarithm gives
At fixed , division by therefore yields
For , , , so the leading normalized bias is . The next displayed term partly offsets it. These power corrections explain why the upper plot’s discrepancy from is far larger than its Airy residual. On , however, does not tend to zero; and also change. The fixed- expansion is not a uniform expansion along that path. An integer-level sequence with a specified rational can realize the path, but it poses a different asymptotic problem.
3. Diagnose an apparent negative correction
Section titled “3. Diagnose an apparent negative correction”Run python large_n.py --k 1 --coarse. Near , the program returns , whereas the refined calculation gives about . Explain which evidence rejects the coarse sign. Then interpret a residual of order with an indicator of order .
Hint 1. Compare the change in under node refinement with .
Hint 2. Check the independent exact before assigning the discrepancy to an omitted instanton sector.
Solution
The coarse free-energy discrepancy is only about , while its node change is about and its empirical indicator about . Its exact-source relative calibration error is itself about . The sign is a discretization artifact in this test, as the refined source-calibrated value confirms. It is not evidence for a negative physical sector.
At , the residual lies below the observed resolution scale. Report it as unresolved; neither its sign nor agreement with zero is meaningful at that precision. More Airy digits do not repair the double-precision eigensystem. A further investigation would need a better-conditioned or higher-precision spectral representation, independent refinement and a renewed error budget. It must not set the physical correction to zero simply because this implementation cannot see it.
The useful outcome is a comparison with three explicit scales: the leading finite-rank bias, the much smaller Airy omission, and the numerical resolution. Keep those scales separate when moving to a more demanding rank or level.