Free-chiral squashing response
Before this lesson: Reproduce the free-chiral response.
Can a calculation reproduce a current coefficient and tell you why an apparently convergent answer is wrong? This laboratory evaluates the free-chiral squashing response in three ways. One method integrates the differentiated determinant, another differentiates its unpaired modes, and a third evaluates the determinant at finite squashing before taking differences.
Read the free-chiral capstone first. It supplies the determinant and its subtraction prescription. Here the task is to implement those formulas, expose their numerical failure modes, and reproduce
Fix the physical path before taking a derivative
Section titled “Fix the physical path before taking a derivative”The theory is one massless three-dimensional free chiral multiplet, with scalar R-charge held fixed. There is no gauge group, gauge-rank parameter, superpotential or flavor mass. The Lorentzian parent has four real Poincaré supercharges. We use the four rigid supersymmetry directions of the homogeneous sphere family; this does not assert that the curved background retains the full superconformal algebra.
For completeness, write its fixed sources using the global round forms , with cyclically and positive orientation. Define the dimensionless parameters , and :
Here is a fixed radius scale, , and the ordinary sphere has its unique spin structure and trivial R bundle. These sources are not integrated over. In particular, the round auxiliary field is . The background construction and its normalization are in the source-response lesson.
We calculate the real representative . In the inherited conformal supersymmetric prescription, the allowed contact-term changes on this family are imaginary and do not alter the response. Adding an arbitrary real subtraction would define a different problem. The dimensionless and below do not depend on .
The fixed-R determinant uses
Its starting domain is real . The dimensionless integration variable is a rescaled proper time. The subtracted term removes the short-time divergence; it is retained at every squashing value.
The mode product in Imamura–Yokoyama (86)–(87) fixes . In their parameters, and , where denotes their , not our . Then . The real- branch uses the continuation specified in the capstone; it is not a claim that different squashed metrics have identical sources.
By contrast, P (8.11) literally prints and , so it holds fixed. Call that function . At the round point, and . The chain rule gives . The program checks this common Hessian and also shows that the two finite- functions differ. It never silently replaces the printed numerator.
Evaluate the differentiated integral stably
Section titled “Evaluate the differentiated integral stably”Differentiating produces the convergent integral
At small , the numerator subtracts two numbers of order to recover a quantity of order . Ordinary floating-point evaluation therefore loses accuracy. Increasing the quadrature’s sampling density does not repair a wrongly evaluated integrand.
The code instead defines and uses
The function expm1(t) evaluates without first rounding to one. For , log_sinhc evaluates the convergent Taylor series of through degree 48. Larger positive arguments use exponential expressions. The tested working precisions are stated below; this finite series is not advertised as an arbitrary-precision algorithm at every requested precision.
There is a simple independent bound on the omitted large- tail. The numerator of is positive because its derivative is . Also . Consequently
For the upper bound is ; for it is . These are analytic tail bounds. Numerical quadrature on the retained interval still has its own error, checked by increasing arithmetic precision. A repeat at higher precision is useful evidence, not an interval proof.
Differentiate actual modes as a second check
Section titled “Differentiate actual modes as a second check”The unpaired frequencies are , with . At , group the modes by . For each mode, , and . Writing , the program forms the literal shell sum
This tests the mode multiplicity and both derivatives. The large- limit is . The capstone’s continued spectral prescription includes the finite contribution , so the finite approximation is
The known partial-fraction identity converts this into an odd-square sum. Define . The exact infinite answer lies strictly between
At , the program obtains , where denotes the Hessian, not the auxiliary field . This slower but independently controlled calculation contains . Increasing precision alone does not narrow a fixed- tail interval.
The separate --omit-finite-part mode removes only . Its intervals converge toward and exclude the correct answer. The program exits successfully after detecting this intended error; it has not validated the altered prescription.
Reproduce the output and its error scales
Section titled “Reproduce the output and its error scales”Download the complete lab (ZIP) with the program, pinned dependencies, reference output and run instructions.
Save the editable calculation, pinned requirement and complete expected output in one folder. The tested environment is Python 3.13.7 with mpmath 1.3.0. From that folder in PowerShell:
python -m venv .venv.venv/Scripts/python.exe -m pip install -r requirements.txt.venv/Scripts/python.exe squashing_response.py.venv/Scripts/python.exe squashing_response.py --omit-finite-partOn macOS or Linux, create the environment with python3 -m venv .venv and use .venv/bin/python afterward. Installation needs registry access; running the calculation needs no network or repository files. The optional --dps 70 increases working precision. The program accepts 40–80 working digits and repeats selected evaluations with 20 additional digits.
| Quantity | Code name |
|---|---|
| Dimensionless log-squashing | u |
| Stable differentiated integrand | response_kernel |
| Actual subtracted finite-squashing integral | free_energy |
| Differentiated individual modes | literal_shell |
| Subtracted sum and analytic tail bounds | shell_interval |
The default result includes
{ "integral_Hessian": "1.233700550136169827354", "tau_RR": "0.25", "working_decimal_digits": 50, "stability_decimal_digits": 70, "all_high_precision_comparisons_pass": true}Five integral, symmetry and precision comparisons pass a scaled tolerance of . This does not make every number in the output accurate to 35 digits. To see why, first evaluate the physical integral, then form
Exchanging makes this determinant even in , so the one-sided-looking expression equals the centered difference. The subtraction in (LAB06.3) is integrated explicitly: its tail from one to infinity contributes . It is not dropped to make the integral easier.
| Error in | Error in | |
|---|---|---|
These are finite-step errors: the successive Richardson errors fall by approximately sixteen. A 50-digit arithmetic setting does not remove the bias. At , the physical and printed fixed-shift free energies differ by , despite their equal round Hessians. That difference is a source-path distinction, not numerical noise.
Change one input
Section titled “Change one input”1. Sample closer to the endpoint
Section titled “1. Sample closer to the endpoint”Estimate how the relative error in the naive numerator of (LAB06.4) grows as decreases, if each elementary operation has relative rounding scale . Why can evaluating it at with ordinary double precision be worse than evaluating it at ? What should a small- test of the stable routine approach?
Hint 1
Before subtraction both terms are of order ; their difference starts at order .
Hint 2
Compare an absolute numerator error of order with the desired numerator. Use the displayed Taylor series for the limit.
Solution
The numerator’s relative rounding error can scale as . With of order , this estimate is about at but becomes order at . Exact cancellations or correlated library errors can change a particular observed value; there is no reliable small relative-error guarantee there.
The stable result must approach , with its first deviation . A more aggressive quadrature that samples the naive expression closer to zero can amplify the failure. The repair is the stable expression or its controlled series, followed by a precision check, not an assertion that smaller coordinates are automatically better.
2. Balance step size against evaluation error
Section titled “2. Balance step size against evaluation error”Suppose each of the three free energies used in has an absolute error at most . Keep their shared center value explicit. Derive an error bound for from these evaluations. If its finite-step bias is bounded by , what step minimizes the resulting bound? Does comparing two working precisions by itself prove the assumed bound ?
Hint 1
Expand the Richardson combination as a linear combination of , and before taking absolute values.
Hint 2
The two contributions scale as and . Differentiate their sum to find its minimum.
Solution
With denoting the physical path,
The triangle inequality bounds its evaluation error by . Combining this with the assumed bias gives
For the illustrative inputs and , the optimal scale is about . The observed leading bias in the table motivates that value of ; the table alone does not prove a uniform bias bound at every step. Likewise, agreement at two precisions is evidence of stability, not a rigorous bound on either quadrature’s error. A certified combined interval would need certified bounds for both terms. The exercise explains why reducing the step indefinitely at fixed numerical accuracy eventually becomes counterproductive.
3. Differentiate a different squashing parameter
Section titled “3. Differentiate a different squashing parameter”The original mode calculation also uses . Near the round point, write . Find the one-sided derivative at . Why is it not another second derivative equal to ?
Hint 1
Here , so . It is not an invertible linear coordinate near .
Hint 2
Eliminate between the two expansions. The determinant is even in , so either nearby branch gives the same answer.
Solution
For approaching one from below, and . Therefore
The singular coordinate change has turned the leading quadratic variation in into a linear variation in . It is not legitimate to copy the -Hessian formula with replaced by . By contrast, has nonzero derivative at zero, and the vanishing first derivative of makes its and Hessians agree at the round point. A comparison of responses requires the parameter path as well as the numerical normalization.
This experiment supports the free, massless Gaussian result in the stated source prescription. It does not determine a contact-term phase, a massive determinant at an infrared pole, or the response of an interacting theory. The useful output is the coefficient together with a reproducible explanation of its subtraction, source path and numerical errors.