Repository navigation
Description
The 3e page says the limiting ratio of the [M2026b] carry-free <4,5> construction as N, B → ∞ is ρ/σ = 1.2725580515…*. Evaluating the certificate's own formula, the construction tops out lower, at about 1.2725580202134, which the B = 160 certificate already reaches to within 3.4e-12.
Method: the certificate's finite formula, n_d = floor(N x^κ(d)/Z(x)), L = Σ n_d κ(d), log D_N = logΓ(N+1) − logΓ(n_0+1) − 2 Σ logΓ(n_d+1), log S_N(y) = N log P_+(y) − 2L log y, with y solving the saddle equation exactly. Everything in mpmath at 60 digits, with x optimized by golden section.
| Setting | Ratio |
|---|---|
| Certificate's own x, y, B = 160, N = 10^15 (reproduces log S_N = 2527203816196844.664348 and the certified 1.27255802020997…) | 1.2725580202099751 |
| B = 160, N = 10^30, optimal x ≈ 0.8148959061 | 1.272558020213426 |
| B = 320, N = 10^30, optimal x | 1.27255802021343 |
A separate entropy-rate evaluation agrees (1.2725580202134 for B ≥ 160) and reproduces log(1+√2)/log 2 exactly for the gapless simplex. I could not find where 1.2725580515 comes from. It looks like an extrapolation from the B = 80 and B = 160 certificates, but by B = 160 the value has already stopped moving.
Suggested change: replace the asterisked limit with ≈ 1.2725580202134 (or drop it), unless 1.2725580515 refers to a different construction. Happy to be corrected by the author.
Script (Python + mpmath, about 15 s)
from mpmath import mp, mpf, log, loggamma, floor, findroot, nstr
mp.dps = 60
def alphabet(B):
H = sorted({4*i + 5*j for i in range(B//4 + 1) for j in range(B//5 + 1) if 4*i + 5*j <= B}); Hs = set(H)
kap = [min(2*b + d for b in H if b + d in Hs) for d in range(1, B + 1)]
return kap, sorted({a + b for a in H for b in H})
def ratio(N, B, x, y=None):
kap, S = alphabet(B); x = mpf(x); w = [x**k for k in kap]; Z = 1 + 2*sum(w)
n = [floor(N*wi/Z) for wi in w]; n0 = N - 2*sum(n); L = sum(ni*k for ni, k in zip(n, kap))
logD = loggamma(N + 1) - loggamma(n0 + 1) - 2*sum(loggamma(ni + 1) for ni in n)
if y is None: y = findroot(lambda yy: sum(s*yy**s for s in S)/sum(yy**s for s in S) - 2*L/N, mpf('0.85'))
return logD/(N*log(sum(mpf(y)**s for s in S)) - 2*L*log(y))
print(nstr(ratio(mpf(10)**15, 160, mpf(814897)/10**6, mpf(851418)/10**6), 20)) # certificate
for B in (160, 320):
a, b = mpf('0.80'), mpf('0.83'); g = (mpf(5).sqrt() - 1)/2; F = lambda x: -ratio(mpf(10)**30, B, x)
c, d = b - g*(b - a), a + g*(b - a); fc, fd = F(c), F(d)
for _ in range(45):
if fc < fd: b, d, fd = d, c, fc; c = b - g*(b - a); fc = F(c)
else: a, c, fc = c, d, fd; d = a + g*(b - a); fd = F(d)
print(B, nstr(-F((a + b)/2), 16))Prepared with AI assistance (Claude, Anthropic).
Activity
mizopl commentedon Nov 23, 2026
Thank you @jblack874 for catching this and for independently re-checking both the finite
B = 160, N = 10^15certificate (1.2725580202099751) and the asymptotic limit!You are completely right. Re-evaluating the exact$B = \infty$ rational generating functions for $M = \langle 4, 5 \rangle = \mathbb{N}_0 \setminus {1,2,3,6,7,11}$ in 80-digit
mpmathconfirms your numbers:814897/1000000851418/10000001.27255802020997507...(mpmath.iv)0.8148959060999...0.8514171391164...1.27255802021342550...0.8148959060999002...0.8514171391164176...1.27255802021342973...So by$B = 160$ the truncation gap to $B = \infty$ is already only $4.2 \times 10^{-15}$ , and the $N = 10^{15}$ certificate sits $3.45 \times 10^{-12}$ below the true limit.
The$3.13 \times 10^{-8}$ ) does not refer to a different construction — it was a leftover unverified prose number from the initial draft of #339 (from the same pre-fix pass as the erroneous $B = 160$ log figures that @arhancanli caught; his replay explicitly noted that the asterisked limiting ratio was not checked). The finite certified bounds (
1.2725580515...*figure (which exceeds the true<4,5>limit byC_3e > 1.27255802and> 1.27255796) and the certificate folder itself are unaffected.We have opened a 1-line correction PR (#388) updating
1.2725580515...*to1.2725580202134...*inconstants/3e.md. Thanks again for the careful audit!— engineered & verified by we* (
PROOFERpowered by Gemini + @mizopl)jblack874 commentedon Nov 24, 2026
You bet. Thank you @mizopl