validation-method.md

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

3434 bytes, as of the version from 2026-11-28 10:26 (current). Recorded here, not run.

# Independent builder calculation and bounds

The generator expands the exact product for h_d(n), then calls Arb
zetaderiv(1) at the nonpositive integers. The checker never imports this code.
It starts with the literal binomial difference from GP, Example 1.3.2,
interpolates h_d(n) exactly at n=1,...,d-1 in Newton form, and checks those
coefficients against direct binomial counts for n=1,...,2d+19. Polynomiality
and degree d-2 follow algebraically from the binomial difference; tests do
not constitute the proof of that assertion. In d=2, the polynomial is 2 for
n>=1 and the omitted n=0 mode has multiplicity one.

For each monomial n^j, split the Dirichlet series at N=128. Let z=s-j.
Euler–Maclaurin gives the tail from n=N as

N^(1-z)/(z-1) + N^(-z)/2
+ sum_{r=1}^M B_(2r)/(2r)! * (z)_(2r-1) * N^(1-z-2r)
- (z)_(2M)/(2M)! * integral_N^infinity Btilde_(2M)(x) x^(-z-2M) dx.

Here (z)_k is the rising factorial and Btilde is the periodic Bernoulli
polynomial. This is the even-remainder version of the standard repeated
integration-by-parts continuation in DLMF 25.2(iii), (25.2.8)–(25.2.9).
The sum before N is evaluated with the direct harmonic binomial counts,
not the interpolated coefficients. Differentiating the explicit tail gives
the checker, with the outer minus sign for logdet=-Z'(0).

Since j<=18<2M=240, (s-j)_(2M) has a simple zero at s=0. Its derivative
there has magnitude j!*(2M-j-1)!. The differentiated remainder therefore
contains no differentiated power/log term, because its prefactor is zero.
The Fourier series DLMF (24.8.1) implies

abs(Btilde_(2M)(x))/(2M)! <= 2*zeta(2M)/(2*pi)^(2M)
                                 < 4/(2*pi)^(2M).

Thus each derivative remainder has the rigorous absolute bound

4*j!*(2M-j-1)!/(2*pi)^(2M)
* N^(j-2M+1)/(2M-j-1).

This is evaluated as an Arb upper bound and explicitly added to the ball.
Each dimension's error is at most the sum of abs(a_j) times these bounds.
The checker uses 700 bits, independently of the generator's 461 bits, to
allow for cancellation between the large finite sum and continuation terms.
Bernoulli numbers, factorials, interpolation and coefficients are exact.
Both exponentiation and stored-decimal uncertainty are propagated as balls.
A stored decimal denotes its exact midpoint plus/minus one last-place unit;
its whole interval must contain the independent finite, narrow enclosure.

The heat check derives the exact constant Laurent coefficient of
(1+exp(-t))/(1-exp(-t))^(d-1)-1 by formal rational series division and
multiplication, separately from zeta evaluation. Its agreement with the
polynomial zeta(0) checks zero-mode subtraction and the first-order radius
exponent. The heat trace is obtained from the harmonic generating function
(1-q^2)/(1-q)^d=(1+q)/(1-q)^(d-1), with the constant mode subtracted.
This is a symbolic heat-trace check, not independent heat-integral quadrature.

The unit disk's D=2*pi is a nonzero known-answer control. Mutations test the
logdet sign, half multiplicity, squared operator, non-unit radius, missing
heat zero-mode subtraction, NaN, a vacuous ball and a stored value shifted
by 10^-90. The checks record all actual results. Shared assumptions are the
spectral theorem and Arb's elementary arithmetic. The independent continuation
and multiplicity construction do not establish source correctness by themselves.
A fresh independent critic, not this builder, supplies the scientific verdict.