check-notes.md

back to table · edit · history · where entries came from · files · download

2408 bytes, as of the version from 2026-11-27 18:52 (current). Recorded here, not run.

# Spectral check derivation and tail bound

Write E(s)=sum' q(m,n)^(-s) for the determinant-one positive form q and
Theta(t)=sum exp(-pi*t*q). In two dimensions the dual has the same norm
multiset, so Theta(t)=t^(-1)*Theta(1/t). Splitting the defining Mellin integral
at 1 and substituting t->1/t on (0,1) gives

pi^(-s)*Gamma(s)*E(s) = -1/s + 1/(s-1)
  + integral_1^infinity (Theta(t)-1)*(t^(s-1)+t^(-s)) dt.

Expanding at zero using 1/Gamma(s)=s+gamma*s^2+O(s^3) gives E(0)=-1 and
E'(0)=-1-gamma-log(pi)+sum'[E1(pi*q)+exp(-pi*q)/(pi*q)].
Since Z(s)=(4*pi^2)^(-s)*E(s),
L=1+gamma-log(4*pi)-sum'[E1(pi*q)+exp(-pi*q)/(pi*q)].
E1(z)=Gamma(0,z)=integral_z^infinity exp(-u)/u du for z>0.
This uses different summands and analytic continuation from the eta product.
Lee arXiv:2407.06609v1 equation (1.5) supplies the general heat/Mellin setup;
the explicit identity and bounds here are derived, not attributed to Lee.

For G=[[2a,-b],[-b,2c]]/sqrt(d), det(G)=1. Its smaller eigenvalue is at least
alpha=det(G)/trace(G)=sqrt(d)/(2(a+c)), so q(m,n)>=alpha*(m^2+n^2).
Set t=pi*alpha>0 and truncate to |m|,|n|<=M. For all omitted vectors,
z=pi*q>=t*(M+1)^2. Since E1(z)<=exp(-z)/z, the omitted positive sum is bounded by

B=4*T*S/(t*(M+1)^2),
T=2*exp(-t*(M+1)^2)/(1-exp(-t*(2M+3))),
S=1+2*exp(-t)/(1-exp(-3*t)).

Here T bounds sum_{|n|>M}exp(-t*n^2), S bounds the complete one-dimensional
Gaussian sum, and 2*T*S bounds the union outside the square. All bounds use
outward ball operations. Adding symmetric error B is conservative despite the
known one-sided tail. The finite sum groups equal exact integral form norms
for efficiency, preserving the full signed-vector multiplicity. It never calls
the eta generator. Comparison first requires finite independent balls of absolute radius
<10^-110 and stored balls of radius <10^-95; exact containment tests the
full stored 100-digit interval rather than a generic tolerance. Each independent ball must fit inside the entire 100-significant-digit
stored decimal interval, and the production ball must fit there too.

Square and hexagonal Gamma values test the checker constants. Wrong controls
include replacing y by y^2, dropping 4*pi^2 from the spectrum, negating L,
perturbing an interior value, NaN and vacuously wide intervals. Area scaling
is derived by Z_A(s)=A^s*Z_1(s), hence L_A=L_1+log(A). Tests of that law must
use a nonsquare torus as well as the square.