# log: validate_all
# started (UTC): 2026-11-19T02:55:43+00:00
# python 3.12.14 on Darwin arm64
# argv: validate_all.py
V1  x* by Newton in `decimal` (own Taylor series for sinh/cosh)
  [PASS] V1 x*: 0.28054992617 vs 0.28054992617  |diff| 0.00e+00 (tol 1e-15) 
  decimal x* = 0.2805499261695900635678597944676198464044362 ; |diff to mpmath| = 3.62E-41
  [PASS] V1 Lambda_V: 9.12663402556 vs 9.12663402556  |diff| 0.00e+00 (tol 1e-14) 
V2  U_0 and identity (6-identity) by Gauss-Legendre in float64
  [PASS] V2 U_0: -0.388747872041 vs -0.388747872  |diff| 4.11e-11 (tol 2e-09) vs mpmath value of s02
  [PASS] V2 I1 + I2 = asinh(1)/2: 0.44068679351 vs 0.44068679351  |diff| 3.28e-15 (tol 1e-10) 
  [PASS] V2 U(i/2) = 0: -4.32986979604e-15 vs 0  |diff| 4.33e-15 (tol 1e-09) 
V3  Poisson integral for a general slit in float64 (scipy.quad) vs mpmath (s02) vs finite differences (s03)
  [PASS] V3 U_s(0), s=0.24: scipy.quad vs mpmath: -0.384976617351 vs -0.384976617351  |diff| 5.55e-17 (tol 2e-07) 
  [PASS] V3 U_s(0), s=0.24: finite differences vs mpmath: -0.385127625379 vs -0.384976617351  |diff| 1.51e-04 (tol 3e-04) second-order FD, h=1/200
  [PASS] V3 U_s(0), s=0.26: scipy.quad vs mpmath: -0.387821929313 vs -0.387821929313  |diff| 3.33e-16 (tol 2e-07) 
  [PASS] V3 U_s(0), s=0.26: finite differences vs mpmath: -0.387899617904 vs -0.387821929313  |diff| 7.77e-05 (tol 3e-04) second-order FD, h=1/200
  [PASS] V3 U_s(0), s=0.3: scipy.quad vs mpmath: -0.387988942632 vs -0.387988942632  |diff| 2.22e-16 (tol 2e-07) 
  [PASS] V3 U_s(0), s=0.3: finite differences vs mpmath: -0.387945294286 vs -0.387988942632  |diff| 4.36e-05 (tol 3e-04) second-order FD, h=1/200
  [PASS] V3 U_s(0), s=0.32: scipy.quad vs mpmath: -0.385760067258 vs -0.385760067258  |diff| 1.11e-16 (tol 2e-07) 
  [PASS] V3 U_s(0), s=0.32: finite differences vs mpmath: -0.385666861353 vs -0.385760067258  |diff| 9.32e-05 (tol 3e-04) second-order FD, h=1/200
  [PASS] V3 tip-coefficient sign change: FD root vs x*: 0.280488167865 vs 0.28054992617  |diff| 6.18e-05 (tol 2e-03) 
  [PASS] V3 U(0): FD Richardson vs closed form: -0.388747872041 vs -0.388747872041  |diff| 0.00e+00 (tol 1e-06) 
V4  Table 2: normal equations in 50 digits vs numpy lstsq; ratios in exact rationals
  [PASS] V4 xi (F4, all rows, unweighted): 0.0262513513741 vs 0.0262513513741  |diff| 3.07e-15 (tol 1e-09) 
  [PASS] V4 coefficient of c^(-2/3): 0.270707710472 vs 0.270707710472  |diff| 8.88e-16 (tol 1e-06) 
  [PASS] V4 max |c/Delta - printed| in units of half a printed digit (must be <= 1): 0.98177386576 vs 0  |diff| 9.82e-01 (tol 1e+00) exact Fraction arithmetic
V5  extremal functionals: LP (HiGHS, float64) vs multiprecision Newton; Hellerman cubic
  [PASS] V5 Delta1^(P=4)(c=4): LP vs Newton: 1.04038780928 vs 1.0403887557  |diff| 9.46e-07 (tol 2e-05) LP grid + bisection tolerance
  [PASS] V5 Delta1^(P=8)(c=4): LP vs Newton: 1.00698822737 vs 1.00699568925  |diff| 7.46e-06 (tol 2e-05) LP grid + bisection tolerance
  [FAIL] V5 Delta1^(P=6)(c=12): LP vs Newton: 2.12472881873 vs 2.13170779226  |diff| 6.98e-03 (tol 2e-05) LP grid + bisection tolerance
  [FAIL] V5 Delta1^(P=8)(c=12): LP vs Newton: 2.08371978998 vs 2.08111339567  |diff| 2.61e-03 (tol 2e-05) LP grid + bisection tolerance
  [FAIL] V5 Delta1^(P=8)(c=24): LP vs Newton: 4.56964146098 vs 3.7312296056  |diff| 8.38e-01 (tol 2e-05) LP grid + bisection tolerance
  [FAIL] V5 Delta1^(P=8)(c=48): LP vs Newton: 9.10014707843 vs 7.13902942859  |diff| 1.96e+00 (tol 2e-05) LP grid + bisection tolerance
  [FAIL] V5 Delta1^(P=8)(c=64): LP vs Newton: 12.01823017 vs 9.464330452  |diff| 2.55e+00 (tol 2e-05) LP grid + bisection tolerance
  [PASS] V5 Hellerman P=2, c=4: cubic root vs Newton: 1.1280811713 vs 1.1280811713  |diff| 6.66e-16 (tol 1e-09) 
  Hellerman c=4: Delta1^(2) = 1.12808117, eps_c = 1.228e-02, eps_c*c = 0.0491, bound c/6+0.4737 = 1.140367
  [PASS] V5 Hellerman P=2, c=12: cubic root vs Newton: 2.46857489666 vs 2.46857489666  |diff| 0.00e+00 (tol 1e-09) 
  Hellerman c=12: Delta1^(2) = 2.46857490, eps_c = 5.120e-03, eps_c*c = 0.0614, bound c/6+0.4737 = 2.473700
  [PASS] V5 Hellerman P=2, c=24: cubic root vs Newton: 4.47099481461 vs 4.47099481461  |diff| 0.00e+00 (tol 1e-09) 
  Hellerman c=24: Delta1^(2) = 4.47099481, eps_c = 2.700e-03, eps_c*c = 0.0648, bound c/6+0.4737 = 4.473700
  [PASS] V5 Hellerman P=2, c=64: cubic root vs Newton: 11.1393204957 vs 11.1393204957  |diff| 1.78e-15 (tol 1e-09) 
  Hellerman c=64: Delta1^(2) = 11.13932050, eps_c = 1.041e-03, eps_c*c = 0.0666, bound c/6+0.4737 = 11.140367
  Hellerman c=256: Delta1^(2) = 43.14009878, eps_c = 2.629e-04, eps_c*c = 0.0673, bound c/6+0.4737 = 43.140367
  Hellerman c=1024: Delta1^(2) = 171.14029579, eps_c = 6.585e-05, eps_c*c = 0.0674, bound c/6+0.4737 = 171.140367
V6  Hagedorn root: numpy.roots of the cubic; exact rational mode sum
  [PASS] V6 y_H from numpy.roots: 0.267949192431 vs 0.267949192431  |diff| 0.00e+00 (tol 1e-14) 
  [PASS] V6 x_H = y_H^2 vs mode-sum bisection: 0.0717967697245 vs 0.0717967697245  |diff| 0.00e+00 (tol 1e-14) 
  [PASS] V6 mode sum (exact rationals, n<=120) vs closed form at y=1/3: 2 vs 2  |diff| 0.00e+00 (tol 1e-14) exact difference 5.1e-111
V7  series sums with exact Fractions x Decimal; mpmath.pade vs own Pade
  [PASS] V7 partial sum of series a: -0.73390741644 vs -0.73390741644  |diff| 0.00e+00 (tol 1e-12) 
  [PASS] V7 partial sum of series b: -1.49251490599 vs -1.49251490599  |diff| 0.00e+00 (tol 1e-12) 
  [PASS] V7 Pade [5/1] of series b: mpmath.pade vs own solver: -1.49937719977 vs -1.49937719977  |diff| 0.00e+00 (tol 1e-10) 
  [PASS] V7 Pade [4/2] of series b: mpmath.pade vs own solver: -1.49840908434 vs -1.49840908434  |diff| 0.00e+00 (tol 1e-10) 
  [PASS] V7 Pade [3/3] of series b: mpmath.pade vs own solver: -1.498656754 vs -1.498656754  |diff| 0.00e+00 (tol 1e-10) 
  [PASS] V7 Pade [2/4] of series b: mpmath.pade vs own solver: -1.50330621879 vs -1.50330621879  |diff| 0.00e+00 (tol 1e-10) 
V8  Landau thresholds by brute force on a grid (|b| = 0.1)
  [PASS] V8 m^2_min (grid scan vs root solve): 0.05262 vs 0.052623972962  |diff| 3.97e-06 (tol 3e-05) 
  [PASS] V8 m^2_c (grid scan vs root solve): 0.03163 vs 0.031638521348  |diff| 8.52e-06 (tol 3e-05) 
  [PASS] V8 u_c (grid scan vs root solve): 0.5979 vs 0.597887414165  |diff| 1.26e-05 (tol 2e-03) 
V9  quartic coefficient from the printed digits in Decimal arithmetic
  [PASS] V9 b/g^4: -36.9415569343 vs -36.9415569686  |diff| 3.43e-08 (tol 1e-06) 
  [PASS] V9 b/g^4 vs the paper's -36.94(1): -36.9415569343 vs -36.94  |diff| 1.56e-03 (tol 1e-02) 
  [PASS] V9 critical q4 = 4 beta_0 I: 11.7913371124 vs 11.79  |diff| 1.34e-03 (tol 5e-03) 
SUMMARY: 46/51 validation comparisons pass
  NOT PASSED: V5 Delta1^(P=6)(c=12): LP vs Newton 2.1247288187344866 2.131707792256366
  NOT PASSED: V5 Delta1^(P=8)(c=12): LP vs Newton 2.083719789981842 2.0811133956687153
  NOT PASSED: V5 Delta1^(P=8)(c=24): LP vs Newton 4.569641460975012 3.731229605598209
  NOT PASSED: V5 Delta1^(P=8)(c=48): LP vs Newton 9.100147078434626 7.139029428586486
  NOT PASSED: V5 Delta1^(P=8)(c=64): LP vs Newton 12.01823017001152 9.464330452001528
# finished (UTC): 2026-11-19T02:55:55+00:00  status: ok
