| | @@ -0,0 +1,107 @@ |
| 1 | +# Independent verification of upper-smaller-k3 (K ≤ 5.998), task t-2c17c79ecc |
| 2 | + |
| 3 | +Verifier: cc-slate-heron (did not write or accept t-ab6c51e5af). Read against |
| 4 | +[upper-smaller-k3/NOTES.md](NOTES.md) at head 340076a, with |
| 5 | +[upper-new-cover/NOTES.md](../upper-new-cover/NOTES.md) §§1–2, |
| 6 | +[upper-smaller-k2/NOTES.md](../upper-smaller-k2/NOTES.md), |
| 7 | +[upper-threshold-k7/NOTES.md](../upper-threshold-k7/NOTES.md) and |
| 8 | +[upper-deletion-constant/NOTES.md](../upper-deletion-constant/NOTES.md) §4. |
| 9 | +Script: [verify_k3.py](verify_k3.py) (stdlib + NumPy; does **not** import check.py; floating point |
| 10 | +only proposes charges, every certified number is exact). Logs: |
| 11 | +[verify_k3_constants.log](verify_k3_constants.log) (Parts A and C), |
| 12 | +[verify_k3.log](verify_k3.log) (Parts A, C and the sampled Part B). |
| 13 | + |
| 14 | +## Verdict |
| 15 | + |
| 16 | +**Correct as stated; no error found.** Every step of §§1–5 was checked or is marked below. The |
| 17 | +bounds that hold are the ones claimed: \(K\le2999/500=5.998\) at \(R=32,100\) for \(\sqrt M\ge2^{240}\); |
| 18 | +\(\ell(N)<0.986629\sqrt N<\tfrac{74}{75}\sqrt N\) for every \(N\ge N_0=\lceil q2^{512}\rceil\), where |
| 19 | +\(q=(\kappa/\gamma)^2\), \(\kappa=31/32\), \(\gamma=986629/10^6\) and \(N_0\le2^{512}\) (so for all \(N\ge2^{512}\)); |
| 20 | +and \(\limsup\ell(N)/\sqrt N\le31/(32\sqrt{q_*})=0.98662344\ldots<0.98662345\). |
| 21 | + |
| 22 | +The certificate (6) was replayed exactly and independently: at **R = 32 every one of the 131,841 pairs \((i,l)\)** passes (verify_k3_all32.log, smallest excess \(0.025136\) at \((i,l)=(16,497)\)); at **R = 100 it is sampled**: every \(i\) at the eight overlaps \(l\in\{12,13,100,200,201,1536,1537,1600\}\) (table-entry boundaries and full overlap; 5,207 pairs, verify_k3_all100.log, smallest \(0.027410\) at \((1585,1600)\)) plus 828 pairs from the per-pair run (all \(l\le12\), entry boundaries, radius edges, 250 random; verify_k3.log, smallest \(0.028218\)); all exceed \(1/250\). The original checker certifies intervals |
| 23 | +of overlaps with one charge vector each (smallest certified excess 0.004049 / 0.004006); my per-pair |
| 24 | +replay certifies much larger per-pair margins (smallest 0.0251 at R=32, 0.0274 at R=100), consistent with that |
| 25 | +being interval slack. The decoding of the tables was written from the NOTES text only, so the agreement also |
| 26 | +confirms the text describes the tables. Two cited inputs are taken without recomputation (marked *cited*): |
| 27 | +the smaller-k initial cover and the transcript count \(\log((M+1)T)/m<1.4012\cdot10^{-9}\) of upper-threshold-k7, |
| 28 | +which I verified independently in t-3eb84c0628. |
| 29 | + |
| 30 | +Cosmetic notes (no effect on any bound): (a) the §4 rate margin is thin, \(D=1.409473\cdot10^{-9}\) against the stated |
| 31 | +\(1.4094\cdot10^{-9}\) and the count \(1.4012\cdot10^{-9}\) — fine, but worth showing the digits in the paper; |
| 32 | +(b) NOTES §2 could state explicitly that a double's seed index \(j\) lies in \(I\) because \(g_x(x)\) is a seed point in |
| 33 | +\([0,R]\) (it is used to apply (5) with \(0\le j\le l\)). |
| 34 | + |
| 35 | +Status labels below: **checked** = re-derived on paper or recomputed exactly by verify_k3.py; |
| 36 | +**sampled** = recomputed exactly on a sample only; **cited** = taken from an accepted note without |
| 37 | +re-derivation here. |
| 38 | + |
| 39 | +## §1 The distance budget |
| 40 | + |
| 41 | +| Step | Status | Note | |
| 42 | +|---|---|---| |
| 43 | +| Count \(B_m\) | checked | From upper-new-cover §1: \(M^{\lfloor2pm\rfloor+1}\) sets, \(p^3=3240000\log M/(\tau m)\), \(\log M=2\log m\) gives \(2p\log M/m\cdot m+\log M/m\) = first two terms; the record count \(\rho^{-\rho n}(1+\rho)^n\) gives the third. The smaller-k initial cover itself is cited. | |
| 44 | +| Incidence lemma (not re-derived by the original reviewer) | checked | Read the proof of upper-new-cover §2 line by line: \(\sum r(t)^2\le b_*(1+b_*)m^2\); list size \(Jm^2/H_0^2\); two listed images meet in ≤ 2 points; set-aside \(\le J^2m^4/H_0^4=J^2m/h_0^4\); the six discard classes. Recomputed the final inequality exactly at \(m=2^{240}\): discarded/\(m^{15/8}\le 181.80<183\) (R=32) and \(48.48<49\) (R=100); the dominant term is \(4h_0\cdot\frac{101}{200}A_0\). | |
| 45 | +| \(g_z=g_x^{-1}\) | checked | The list is inverse-closed and \(g_x^{-1}\) sends \(z=g_x(a)\) to \(a\in S\); the lemma leaves at most one listed map sending a remaining vertex into \(S\). The partner of a *surviving* double also survives, so \(z\) has a double and \(g_z\) is defined. | |
| 46 | +| Set-aside \(<\varepsilon\tau m\), start \(\le b_*m\) | checked | \(1.694\cdot10^{-5}<2.5\cdot10^{-5}\); \(5.252\cdot10^{-6}<8\cdot10^{-6}\); \((s+\varepsilon)\tau=0.21868\le1/3\), \(0.06998\le1/10\). | |
| 47 | +| Mass \(A=R-1-10^{-5}\) | checked | \(32A_0Rm^{-1/8}=4.77\cdot10^{-6}\) and \(5.96\cdot10^{-6}\) at \(m=2^{240}\). | |
| 48 | +| \(W\) in (1) | checked | Exact: unit integral, \(W(0)=2929/700\), even, decreasing, support \(<7\), all knots on the mesh \(1/16\) (so the mesh Riemann sum equals the integral). | |
| 49 | +| \(Q_W\) bound and (3) | checked | Sidon: \(E_W(\nu)(\tau m)^2=|S|W(0)+2\sum_{d\in D}W(Rd/M)\); \(\sum_{d\ge1}W(Rd/M)\le M/(2R)\) by monotonicity; with \(b\ge s\tau m\), averaging gives (3) exactly as written. Error \(0.0014605\) (R=32), \(0.0038190\) (R=100), both \(<1/250\). | |
| 50 | +| Width | checked | \(s+\varepsilon-1=5.9978\); slack \(2\cdot10^{-4}\) absorbs \(R/m\). So \(K=2999/500\) holds in both rows. | |
| 51 | + |
| 52 | +## §2 Coupled rounding |
| 53 | + |
| 54 | +| Step | Status | Note | |
| 55 | +|---|---|---| |
| 56 | +| (4) | checked | \(Q g(y)+v'=\sigma(Qy+v)-\lfloor\sigma v-Qh\rfloor\); for \(\sigma=-1\), \(\lfloor-X\rfloor=-\lfloor X\rfloor-1\) a.s. \(v'\) uniform; the shift of \(g^{-1}\) at \(v'\) is \(\{\sigma(v'+Qh)\}=v\). | |
| 57 | +| \(T\) maps node \(j\) of \(I\) to node \(l-j\) of the inverse overlap | checked | All three cases by hand: translation by \(-k\) (\(I=[k,n]\) numbered from \(n\), image \([0,n-k]\) numbered from 0: indices sum to \(n-k=l\)); reflection \(j\mapsto c-j\) with \(c\le n\) (\(I=[0,c]\), both numbered from 0, sum \(c=l\)) and \(c>n\) (\(I=[c-n,n]\) numbered from \(n\), sum \(2n-c=l\)). | |
| 58 | +| Same signed displacement, (5) sums to 1 | checked | Partner indices \((l-j,l-i)\), displacement \(j-i\); \(H_l(i,j)+H_l(l-j,l-i)=1\) identically. For a real double \(j\in I\) because \(g_x(x)\in[0,R]\). | |
| 59 | +| \(l=n\) average (the reviewer asked to recheck) | checked | Identity: partner \((j,i)\); \(\hat H(i,j)+\hat H(j,i)=\frac12[(H(i,j)+H(n-j,n-i))+(H(n-i,n-j)+H(j,i))]=1\) using (5) twice. Reflection: partner \((n-j,n-i)\), and \(\hat H(i,j)+\hat H(n-j,n-i)\) is the same four terms. Both orientations are certified separately (pair \((i,n)\) with \(u\) and \((n-i,n)\) with reflected \(u\)), so the average is certified. | |
| 60 | +| \(0\le L\le W\), \(\mathbb E w_{r(y)-r(t)}=W(y-t)\) | checked | \(0\le H\le1\) needs \(0\le P\le1\): all table numerators lie in \([0,2^{14}]\) (asserted). Linear interpolation is exact because the knots of (1) are on the mesh. | |
| 61 | + |
| 62 | +## §3 Certificate |
| 63 | + |
| 64 | +| Step | Status | Note | |
| 65 | +|---|---|---| |
| 66 | +| (6) | checked | \(G\) is PSD: verify_k3.py checks exactly that \(w_d=4[d=0]+\sum_h\frac{c_h}{100}\frac{(16h-|d|)_+}{16h^2}\), and \((16h-|j-k|)_+\) is a Gram matrix of interval indicators. Then \(u^TGu\ge2c^TGu-c^TGc\), and \(u\ge0\), \(\sum u\ge A\), \(\lambda>0\) give (6). | |
| 67 | +| Table decoding | checked | Implemented from the NOTES text alone (bands \(0,12,24,40,56,80\), sign row, floor of the interpolated numerator, radius entries: first profile for \(i<r\), second for \(l-i<r\), common last ordinate). Structure asserted: the \(l\)-ranges tile \([0,n]\), knots end at `hi`, radius entries have \(l\ge2r\), \(8\mid r\). | |
| 68 | +| The inequality (6) > R + 1/250 per pair | R=32: **all pairs, exact**; R=100: **sampled** (about 6,000 of 1,282,401 pairs, some counted in both runs; exact). No pair fails; smallest excess 0.025136 (R=32), 0.027410 (R=100), need > 0.004. Each pair: FISTA proposes \(c\), rounded down to \(2^{-22}\); \(Gc\) exact (float products split so every partial sum is an integer \(<2^{53}\), asserted); \(Z\) rounded down; \(\lambda\), \(c^TGc\) and the comparison in exact integers/Fractions. | |
| 69 | + |
| 70 | +## §4 Finite bound |
| 71 | + |
| 72 | +| Step | Status | Note | |
| 73 | +|---|---|---| |
| 74 | +| \(N_0=\lceil q2^{512}\rceil\) gives \(M=2^{512}\); \(N_0\le2^{512}\) | checked | exact. | |
| 75 | +| \(O_3\), \(a<1.187406386\), \(O_3<\beta\) | checked | exact: \(a=1.1874063852\ldots\). | |
| 76 | +| \(\lambda_*=(a-1)/95\in(\lambda_0,1/100)\) | checked | \(1.9727\cdot10^{-3}\). | |
| 77 | +| (7) in the form \(u<1+95\lambda+1/m\) (reviewer did not re-derive) | checked | upper-deletion-constant l. 477 proves \(|U|<k+2s\lambda m\) with \(2s=96\) and \(k=\lceil(1-\lambda)m\rceil\le(1-\lambda)m+1\); hence \(|U|<(1+95\lambda)m+1\). With \(m\ge2^{256}\), \(1/m\le e=2^{-256}\). | |
| 78 | +| Corner rates \(>1.4094\cdot10^{-9}\) | checked (60-digit decimal, not interval) | \(D=1.409473\cdot10^{-9}\) at \((1-\lambda_*,a+e)\) and \(1.3935\cdot10^{-6}\) at \((x_0,1+95\lambda_0+e)\). The first margin is \(7\cdot10^{-14}\) absolute, far above 60-digit rounding. Affine-on-the-line and \(x\le u\le2x\) at both corners checked by hand. | |
| 79 | +| Excess in (3) at \(N_0\): \(R^2W(0)(1/m+2b_m)<2.62\cdot10^{-20}\) | checked | With \(b_m\) from my own independent replay of upper-threshold-k7 (verify_k7.py, t-3eb84c0628; \(b_m\) does not depend on the tested fraction): \(2.6191\cdot10^{-20}\) with \(W(0)=2929/700\) (vs \(4.594\cdot10^{-20}\) with the old 367/50). | |
| 80 | +| Record bound \(f_3\le c_+O_2\), \(Rc_+(0.51)<10^{-5}\) | checked | Same replay: \(O_2=0.500052<0.51\), \(Rc_+\cdot0.51=1.73\cdot10^{-11}\). Lowering \(O_3\) keeps \(O_3<\min(\beta,O_2)\). | |
| 81 | +| Count \(\log((M+1)T)/m<1.4012\cdot10^{-9}\), first two pass residuals | cited | From upper-threshold-k7, which I verified independently in t-3eb84c0628; the count uses \(c_{+,i}O_{i-1}\) only, so the smaller \(O_3\) does not enter it. Not recomputed here. | |
| 82 | +| Exact-size and binomial mode | checked | \(qM\le N<q(M+1)<N+1\); \(\lceil\kappa m\rceil-1<\kappa m\le\gamma\sqrt N\) since \(M\le N/q\). | |
| 83 | + |
| 84 | +## §5 Limiting coefficient |
| 85 | + |
| 86 | +| Step | Status | Note | |
| 87 | +|---|---|---| |
| 88 | +| \(H_b(q)\), \(H_0(q)\) | checked | \(q^2(1-b/95)+q(1-q)(1+b)=(1+b)q-\frac{96}{95}bq^2\); \(q^2+q(1-q)(1+95\lambda_0)=H_0\). | |
| 89 | +| Polynomial | checked | \(H_{b_\infty}(q)=\kappa\), \(b_\infty=5997/32000\), times 3040000 is \(575712q^2-3609715q+2945000\); decreasing on \([0,1]\); sign change on \((0.96409665161,0.96409665162)\). | |
| 90 | +| Coefficient | checked | \(31/(32\sqrt{q_*})=0.9866234380\in(0.98662343,0.98662345)\) by exact squaring of the bracket; \(H_0<\kappa\) on the bracket (\(\le0.96411\)). | |
| 91 | +| Varying \(h_0\), fixed \(D_0\) | checked | Dominant discard term \(4h_0m^{3/4}e\) with \(e=O(m^{9/8})\). | |
| 92 | + |
| 93 | +## Bounds that hold |
| 94 | + |
| 95 | +- Theorem 1: \(K=2999/500=5.998\) at \(R=32,100\), \(m\ge2^{240}\). |
| 96 | +- Theorem 2: for every \(N\ge N_0=\lceil q2^{512}\rceil\) (so for every \(N\ge2^{512}\)), \(\ell(N)<\gamma\sqrt N\) with \(\gamma=986629/10^6=0.986629<74/75\), \(q=(\kappa/\gamma)^2\), \(\kappa=31/32\). |
| 97 | +- Limit: \(\limsup\ell(N)/\sqrt N\le31/(32\sqrt{q_*})<0.98662345\), \(q_*\) the root in \((0,1)\) of \(575712q^2-3609715q+2945000\). |
| 98 | + |
| 99 | +## Reproduction |
| 100 | + |
| 101 | +~~~sh |
| 102 | +cd experiments/erdos530/upper-smaller-k3 |
| 103 | +OPENBLAS_NUM_THREADS=1 python3 -B verify_k3.py --samples32 -1 --samples100 -1 # Parts A, C (seconds) |
| 104 | +OPENBLAS_NUM_THREADS=1 python3 -B verify_k3.py --samples32 3000 --samples100 250 # plus per-pair sample (~5 min) |
| 105 | +OPENBLAS_NUM_THREADS=1 python3 -B verify_k3.py --all-i 32:stride:1 # every R=32 pair (~17 min) |
| 106 | +OPENBLAS_NUM_THREADS=1 python3 -B verify_k3.py --all-i 100:12,13,100,200,201,1536,1537,1600 # ~10 min |
| 107 | +~~~ |