Repository navigation
C16: two-sided certificate, 2.156225528148 ≤ C_16 ≤ 2.15622552819 - #391
babifarah9 wants to merge 2 commits into
Conversation
|
A short preprint with the full argument (both theorems, the closed-form lattice-sum reduction, the convexity argument and the large-δ estimate) is now available, together with the certificate: https://doi.org/10.5281/zenodo.24505597 |
WorldianAI
left a comment
There was a problem hiding this comment.
Independent replay of this PR: the lower bound 2.156225528148 checks out rigorously; the upper bound is only cross-checked numerically (details and limits below).
I did not download or run the Zenodo scripts. I wrote both checks from the definition on the 16a page and from the PR text (the value a = 8.18930592760459679684798324553), and I read nothing from the certificate itself.
Lower bound (rigorous replay). Trial function u = sum_{k != 0} c_k e^{ik.x} with c_k = 1/(|k|^2 (|k|^2 + mu)), mu = a. With S0 = sum c_k, S1 = sum |k|^2 c_k^2, S2 = sum |k|^4 c_k^2 over all of Z^2 \ 0 (untruncated): delta = S2/S1, ||u||_inf >= u(0) = S0, so L >= S0^2/(pi S1) - ln(delta) - ln(1 + ln(delta)). I reduced the lattice sums to convergent sums over the row index m using the exact row sums C(x) = sum_j 1/(j^2+x) = pi coth(pi sqrt x)/sqrt x and D(x) = -C'(x): S0 = B/mu, S2 = E - 1/mu^2, S1 = B/mu^2 - S2/mu, where B = [pi^2/3 - C(mu) + 1/mu] + 2 sum_{m>=1} [C(m^2) - C(m^2+mu)] and E = D(mu) + 2 sum_{m>=1} D(m^2+mu). Rows m <= 300000 are computed in interval arithmetic (mpmath.iv, 200 bits). For the tail m > 300000: both summands are positive and decreasing in m (because C is convex), so the tail lies between int_{M+1}^inf and int_M^inf of the summand, which I bound with closed forms (pi ln((M + sqrt(M^2+mu))/(2M)) and (pi/(2 mu))(1 - M/sqrt(M^2+mu))) plus proven bounds on the exponentially small coth/csch corrections. Result (one run, 316 s):
delta = 3.9288361657183553406...- enclosure of the bound:
[2.15622552815421140343..., 2.15622552815421450881...], width3.1e-15. - The lower endpoint exceeds the claimed
2.156225528148by6.2e-12, and exceeds the previous row2.1562247706.
Upper bound (numerical consistency check only, not a proof). Cauchy-Schwarz with weights |k|^2 (1 + mu_d |k|^2) gives, for every nu = 1/mu_d > 0, G(delta) <= H(nu, delta) = (1 + delta/nu) B(nu)/pi - ln(delta) - ln(1 + ln(delta)), where B is the function above (so the dual lattice sum is B(nu)). I solved the saddle min_nu max_delta of H numerically (30 digits): nu* = 8.18930592760459679684798324553, which equals the PR's a to all 30 digits, delta* = 3.92883616571835534..., value 2.15622552815421295.... So the dual bound is tight against the lower bound here, and the claimed upper bound 2.15622552819 lies 3.6e-11 above that value, which is consistent with a branch-and-bound with small slack. I did not replicate the rigorous part of the upper bound (the interval branch-and-bound over delta or the argument for delta >= e^15), so I am not confirming the upper asterisk.
Not checked. The Zenodo scripts and the exact archive; the 385 branch-and-bound intervals; the delta >= e^15 bound; that the "Equivalently" characterisation on the page is the right definition (I took it as given).
I am not the author of this PR. I did this replay with AI assistance (Claude Code, Anthropic). The asterisk decision stays with the maintainer.
Lower-bound checker (mpmath interval arithmetic)
"""Independent rigorous replay of the C_16 (16a) LOWER bound of PR 391.
Trial function u(x) = sum_{k in Z^2\\0} c_k e^{ik.x}, c_k = 1/(|k|^2 (|k|^2 + mu)), mu = a (given decimal).
With S0 = sum c_k, S1 = sum |k|^2 c_k^2, S2 = sum |k|^4 c_k^2: delta = S2/S1 and, since ||u||_inf >= u(0) = S0,
L >= S0^2/(pi S1) - ln(delta) - ln(1 + ln(delta)).
All sums over Z^2\\0 are reduced to convergent sums over the row index m with the exact row sums
C(x) = sum_j 1/(j^2+x) = pi coth(pi sqrt x)/sqrt x , D(x) = sum_j 1/(j^2+x)^2 = -C'(x),
S0 = B/mu, S2 = E - 1/mu^2, S1 = B/mu^2 - S2/mu, with
B = [pi^2/3 - C(mu) + 1/mu] + 2 sum_{m>=1} [C(m^2) - C(m^2+mu)], E = D(mu) + 2 sum_{m>=1} D(m^2+mu).
Tails (m > M): both summands are positive and decreasing in m (C is convex), so
int_{M+1}^inf <= tail <= int_M^inf, evaluated with elementary closed forms plus a proven bound on the coth/csch terms.
Interval arithmetic: mpmath.iv (outward rounding)."""
import sys, time
from mpmath import iv, mp
iv.prec = 200
M = int(sys.argv[1]) if len(sys.argv) > 1 else 100000
mu = iv.mpf("8.18930592760459679684798324553")
pi = iv.pi
one = iv.mpf(1)
def coth(y): # y > 0
e = iv.exp(2 * y)
return (e + 1) / (e - 1)
def csch2(y):
e = iv.exp(2 * y)
return 4 * e / ((e - 1) ** 2)
def C(x):
s = iv.sqrt(x)
return pi * coth(pi * s) / s
def D(x):
s = iv.sqrt(x)
return pi * coth(pi * s) / (2 * s ** 3) + pi ** 2 * csch2(pi * s) / (2 * s ** 2)
t0 = time.time()
# --- sanity: closed forms against brute-force partial sums (non-rigorous, plain mpmath) ---
mp.dps = 30
x = mp.mpf("3.7")
brute_C = sum(1 / (j * j + x) for j in range(-20000, 20001)) + 2 * 0 # tail error ~ 1e-4.. only a sanity check
brute_D = sum(1 / (j * j + x) ** 2 for j in range(-20000, 20001))
print("sanity C(3.7): closed %.8f brute %.8f" % (float(C(iv.mpf("3.7")).mid), float(brute_C)))
print("sanity D(3.7): closed %.10f brute %.10f" % (float(D(iv.mpf("3.7")).mid), float(brute_D)))
# --- explicit rows m = 1..M ---
SB = iv.mpf(0)
SE = iv.mpf(0)
for m in range(1, M + 1):
mm = iv.mpf(m * m)
SB += C(mm) - C(mm + mu)
SE += D(mm + mu)
print("rows done in %.1f s" % (time.time() - t0))
# --- tails for m > M ---
def tail_B(Mv):
"""sum_{m>Mv} phi(m) with phi(m) = C(m^2) - C(m^2+mu) = pi[coth(pi m)/m - coth(pi sqrt(m^2+mu))/sqrt(m^2+mu)]."""
Mv = iv.mpf(Mv)
# upper: int_{Mv}^inf phi <= pi*ln((Mv+sqrt(Mv^2+mu))/(2Mv)) + (pi/Mv) * (1/pi) e^{-2 pi Mv}/(1-e^{-2 pi Mv})
# (uses coth(y) <= 1 + 2/(e^{2y}-1) and coth >= 1)
eps = iv.exp(-2 * pi * Mv)
ub = pi * iv.log((Mv + iv.sqrt(Mv ** 2 + mu)) / (2 * Mv)) + (1 / Mv) * eps / (1 - eps)
return ub
def tail_B_lower(Mv):
# lower: sum_{m>Mv} phi(m) >= int_{Mv+1}^inf phi(x)dx >= pi*ln(...)(Mv+1) (coth(pi m)/m >= 1/m, coth(.)/sqrt <= 1+eps -> subtract)
Mv1 = iv.mpf(Mv + 1)
eps2 = iv.exp(-2 * pi * Mv1)
base = pi * iv.log((Mv1 + iv.sqrt(Mv1 ** 2 + mu)) / (2 * Mv1))
# phi(x) >= pi[1/x - (1+2eps(x))/sqrt(x^2+mu)] ; the extra piece integrates to <= (2 pi/sqrt(Mv1^2+mu)) * (1/(2 pi)) eps/(1-eps)... bounded below by -tiny
corr = (1 / iv.sqrt(Mv1 ** 2 + mu)) * 2 * eps2 / (1 - eps2)
return base - corr
def tail_E(Mv):
# psi(m) = D(m^2+mu) = pi coth(pi s)/(2 s^3) + pi^2 csch^2(pi s)/(2 s^2), s = sqrt(m^2+mu); decreasing in m.
# int_{Mv}^inf pi/(2 (x^2+mu)^{3/2}) dx = (pi/(2 mu)) (1 - Mv/sqrt(Mv^2+mu)); extra terms bounded by 1e-90 for Mv >= 40.
Mv = iv.mpf(Mv)
main = (pi / (2 * mu)) * (1 - Mv / iv.sqrt(Mv ** 2 + mu))
return main
def tail_E_lower(Mv):
Mv1 = iv.mpf(Mv + 1)
return (pi / (2 * mu)) * (1 - Mv1 / iv.sqrt(Mv1 ** 2 + mu))
tiny = iv.mpf("1e-80")
assert M >= 40
tB = iv.mpf([tail_B_lower(M).a, tail_B(M).b])
tE = iv.mpf([tail_E_lower(M).a, tail_E(M).b + tiny.b])
print("tail widths: B %.2e E %.2e" % (float(tB.delta), float(tE.delta)))
B = (pi ** 2 / 3 - C(mu) + 1 / mu) + 2 * (SB + tB)
E = D(mu) + 2 * (SE + tE)
S0 = B / mu
S2 = E - 1 / mu ** 2
S1 = B / mu ** 2 - S2 / mu
delta = S2 / S1
f = S0 ** 2 / (pi * S1) - iv.log(delta) - iv.log(1 + iv.log(delta))
print("S0 =", S0.mid, " width %.2e" % float(S0.delta))
print("S1 =", S1.mid, " width %.2e" % float(S1.delta))
print("S2 =", S2.mid, " width %.2e" % float(S2.delta))
print("delta =", delta.mid)
print("L-lower interval: [%s , %s]" % (mp.nstr(f.a, 20), mp.nstr(f.b, 20)), " width %.2e" % float(f.delta))
claim = iv.mpf("2.156225528148")
print("rigorous lower endpoint >= 2.156225528148 :", bool(f.a >= claim.a), " margin %.3e" % float(f.a - claim.a))
print("previous row 2.1562247706 exceeded:", bool(f.a > iv.mpf("2.1562247706").b))
print("total %.1f s" % (time.time() - t0))Upper-bound numerical check (mpmath, non-rigorous)
"""Non-rigorous numerical check of the dual (Cauchy-Schwarz) upper bound for C_16, derived independently:
for all mu>0, nu=1/mu: G(delta) <= H(nu,delta) = (1 + delta/nu) * B(nu)/pi - ln(delta) - ln(1+ln(delta)),
B(nu) = sum_{(j,m)!=0} (1/n - 1/(n+nu)), n=j^2+m^2. Then L <= max_delta min_nu H."""
from mpmath import mp, mpf, pi, coth, sqrt, nsum, inf, log, findroot, csch, exp
mp.dps = 30
def C(x):
s = sqrt(x); return pi*coth(pi*s)/s
def D(x):
s = sqrt(x); return pi*coth(pi*s)/(2*s**3) + pi**2*csch(pi*s)**2/(2*s**2)
def B(nu):
return (pi**2/3 - C(nu) + 1/nu) + 2*nsum(lambda m: C(m*m) - C(m*m+nu), [1, inf])
def Bp(nu): # dB/dnu = sum_{(j,m)!=0} 1/(n+nu)^2 = E - 1/nu^2
return D(nu) + 2*nsum(lambda m: D(m*m+nu), [1, inf]) - 1/nu**2
def H(nu, d):
return (1 + d/nu)*B(nu)/pi - log(d) - log(1+log(d))
def eqs(nu, d):
e1 = -d*B(nu)/nu**2 + (1+d/nu)*Bp(nu) # dH/dnu * pi
e2 = B(nu)/(pi*nu) - 1/d - 1/(d*(1+log(d))) # dH/ddelta
return (e1, e2)
sol = findroot(eqs, (mpf("8.189"), mpf("3.9288")))
nu, d = sol
print("nu* =", nu, " mu* = 1/nu* =", 1/nu)
print("delta* =", d)
print("max_delta min_nu H =", H(nu, d))|
Thank you, @WorldianAI. An independent rigorous replay is exactly what this needed, and I appreciate the care in deriving it from the definition alone. Since submitting, I've seen that #270 (Patankar) establishes these bounds earlier by the same row-sum method, with L determined to 18 digits; your enclosure [2.1562255281542114, 2.1562255281542145] agrees with it. Your replay therefore also corroborates #270. As this PR is superseded, I'm closing it. |
Improves both bounds for constant 16a (Brezis–Gallouet–Wainger remainder constant on the 2D torus):
Both previous certificates truncated the lattice at |k| ≤ 4000. Here all lattice sums are computed with exact row sums (Σ_j 1/(j²+x) = π coth(π√x)/√x and its derivative), with rows m > M enclosed by integral bounds, in Arb ball arithmetic (python-flint, 200 bits). The gap narrows from 9·10⁻⁷ to 4·10⁻¹¹. Uses the "Equivalently" definition on the page (max over δ ≥ 1).
Certificate (two scripts, ~1 s and ~90 s): https://doi.org/10.5281/zenodo.24500552
SHA-256 of the archive: 230059b5ba6f107cedc18cd0669f36f2748697dd81251ea60cf9076fad844317
Markdown-only changes: new rows appended to both tables on 16a.md (existing rows kept), reference [AF2026], README cell and a Recent progress line.
AI disclosure: the computations and certificate scripts were produced with the assistance of Claude (Anthropic). I have checked the results and the references and take responsibility for them. An independent replay would be welcome; the asterisks should stay until then.