| | @@ -340,3 +340,233 @@ needs it (without the bonus the margin at node 0 is −2.46). |
| 340 | 340 | for general n and L. Two of those three verifications (`../upper-smaller-k/VERIFY.md`, |
| 341 | 341 | `../upper-large-deficit/VERIFY.md`) are by this same verifier; the third |
| 342 | 342 | (`../upper-canonical-deletion/VERIFY.md`) is by cx-brisk-tern. |
| 343 | + |
| 344 | +--- |
| 345 | + |
| 346 | +# Independent pass, by an agent who neither wrote nor accepted the note (t-227e24920c) |
| 347 | + |
| 348 | +Verifier: cc-slate-heron, 2026-12-04, task t-227e24920c. The note is by cx-north-wren |
| 349 | +(t-a09e9b6807) and was accepted by cc-amber-ibis, whose own second pass is t-386f43dc1b. |
| 350 | +I wrote this section and the three `second_*.py` scripts from the text of `NOTES.md` alone: |
| 351 | +I did not open `check.py`, `verify_independent.py`, `verify_identities.py` or the text of the |
| 352 | +first pass above before or while doing so, and my scripts import none of them. (The first pass |
| 353 | +landed while I was submitting; this section was appended to it unchanged apart from headings.) What I had |
| 354 | +seen of the earlier pass before starting: its submission summary in the swarm's task list |
| 355 | +(verdict "no gap found", its least margins, the list of what it covered) and the founder's |
| 356 | +task text. So I knew what the earlier pass had concluded, but not how it argued. |
| 357 | + |
| 358 | +**Verdict: no gap found.** Every step of §§1–5 is re-derived below or recomputed exactly. |
| 359 | +The grid certificate holds at all 3,207 centers with charges found by my own solver. |
| 360 | + |
| 361 | +Status words used below: **paper** = I re-derived the step by hand from the text; |
| 362 | +**exact** = recomputed with integers/rationals by my script; **test** = brute-force sanity |
| 363 | +test on small cases, not a proof; **read** = relied on as stated in an accepted note, which |
| 364 | +has its own verification, and not re-derived by me. |
| 365 | + |
| 366 | +How to rerun, from the repository root (Python 3.10+, NumPy, SciPy; about 30 CPU-minutes on the shared machine): |
| 367 | + |
| 368 | + python3 -B experiments/erdos530/upper-new-cover/second_constants.py |
| 369 | + python3 -B experiments/erdos530/upper-new-cover/second_incidence.py |
| 370 | + python3 -B experiments/erdos530/upper-new-cover/second_grid.py selftest |
| 371 | + OPENBLAS_NUM_THREADS=1 python3 -B experiments/erdos530/upper-new-cover/second_grid.py 32 |
| 372 | + OPENBLAS_NUM_THREADS=1 python3 -B experiments/erdos530/upper-new-cover/second_grid.py 100 |
| 373 | + OPENBLAS_NUM_THREADS=1 python3 -B experiments/erdos530/upper-new-cover/second_grid.py 135 |
| 374 | + |
| 375 | +I ran the last two in two pieces each (`second_grid.py 100 0 600`, `100 601 1200`, |
| 376 | +`135 0 810`, `135 811 1620`); a single run starts the search at center 601 or 811 from the |
| 377 | +previous center instead of from scratch, so its margins there can differ in the last digits. |
| 378 | + |
| 379 | +Logs of my runs: `second_constants.log`, `second_incidence.log`, `second_grid_selftest.log`, |
| 380 | +`second_grid_R32.log`, `second_grid_R100a.log`, `second_grid_R100b.log`, |
| 381 | +`second_grid_R135a.log`, `second_grid_R135b.log`. |
| 382 | + |
| 383 | +## Independent pass: Inputs taken from other notes |
| 384 | + |
| 385 | +| Input | Where | Status | |
| 386 | +|---|---|---| |
| 387 | +| Initial cover at 1/100 and 1/135: at most \(M^{\lfloor2pm\rfloor+1}\) sets of size \(\le(1+K\tau)m\), \(K=37.5,\,35.9\), for \(m\ge10^{14}R^2\), \(p^3=3240000\log M/(\tau m)\) | `upper-smaller-k/NOTES.md`, Theorem 1 | read; sizes \(1.375m,\,1.266m\le2m=A_0m\) exact | |
| 388 | +| Initial cover at 1/32: \(s=62\), size \(\le(1+124/32)m=4.875m<5m\); fingerprint count \(M^{\lfloor2qm\rfloor+1}\) with \(q^3=324\log M/(r\tau m)\), \(r=10^{-4}\), which is the same \(p\) | `upper-large-deficit/NOTES.md`, table and §5 | read; arithmetic exact | |
| 389 | +| The five query rules | `upper-canonical-deletion/NOTES.md` §1 | paper, redone for general \(L\) below | |
| 390 | +| Deletion theorem (1): \(\Pr\{X_C\ge(1-2\delta)m+\delta n+(e_m+z)m\}\le\exp(P_m-z^2m)\) for \(n\le2m\) | `upper-canonical-deletion/NOTES.md` §§2–3 | read (its interval lemma, graph lemma and Hoeffding step were not re-derived by me) | |
| 391 | +| Phal–Gemini fingerprint (their Lemma 4.4) | reference paper | not opened by me; it enters only through the two initial covers above | |
| 392 | + |
| 393 | +## Independent pass: §1 Preparing a graph — paper |
| 394 | + |
| 395 | +- *Rules with \(L=\lceil m^{1/8}\rceil\) and \(n\le5m\).* I went through the cited proof with |
| 396 | + \(L\) and \(n\) as free parameters. Degrees stay below \(2L\) (below \(L\) before a batch; |
| 397 | + a rule-3 batch adds fewer than \(L\) at a vertex because rule 2 is not eligible; a rule-4 |
| 398 | + batch adds at most 3; needs \(L\ge3\)); at most \(2nL\) edges are ever inserted; a vertex is |
| 399 | + in at most \(2L^2\) stored triples and a pair in at most \(L+3\le2L\); at most |
| 400 | + \(2nL^2+2L\cdot2nL=6nL^2\) triples are ever inserted. Yes answers: at most |
| 401 | + \(n/L,\ n/L,\ 2nL/L^2,\ 2nL/L^2,\ 6nL^2/L^3\) in rules 1–5. Rules 2 and 4 record two vertices, |
| 402 | + so \(|F|\le(1+2+2+4+6)n/L=15n/L\le32n/L\). None of this uses \(n\le2m\) or \(L=m^{1/4}\). Checked. |
| 403 | +- *Final degree and edges.* At termination rule 1 is not eligible, so every degree is below |
| 404 | + \(L\) and \(e<nL/2\le(101/200)A_0m^{9/8}\), using \(L\le m^{1/8}+1\le1.01m^{1/8}\) for |
| 405 | + \(m^{1/8}\ge2^{30}\). Checked. |
| 406 | +- *\(Q_4\).* Active quadruples: each vertex is in fewer than \(L^3\), so fewer than \(nL^3/4\). |
| 407 | + An edge-free quadruple in \(U\) that is not active contains a stored triple; a triple has at |
| 408 | + most 3 completions and there are at most \(2nL^2/3\) stored triples. So |
| 409 | + \(Q_4\le n(L^3/4+2L^2)\le nL^3\) (needs \(L\ge8/3\)) \(\le A_0(1.01)^3m^{11/8}\). Checked. |
| 410 | +- *Replay from \(F\).* \(F\subseteq I\) because vertices are recorded only on a yes answer. A |
| 411 | + yes query has \(P\subseteq F\); a no query has \(P\not\subseteq I\), hence \(P\not\subseteq F\). |
| 412 | + So the answers, and with them \(U\) and \(G\), are a function of \((C,F)\). Checked. |
| 413 | +- *Count of \(F\).* \(\sum_{j\le\rho n}\binom nj\le\rho^{-\rho n}(1+\rho)^n\) for \(\rho<1\), so |
| 414 | + the logarithm is at most \(\rho n(1+\log(1/\rho))\); with \(\rho=32/L\), \(n\le A_0m\) and the |
| 415 | + decrease of \((1+\log(v/32))/v\) for \(v>32\) this is the displayed bound. Checked. |
| 416 | +- *Seed.* \(|I\cap U|\ge k-|F|\) since \(I\subseteq F\cup U\); \(S\subseteq I\) is Sidon and |
| 417 | + independent, \(|S|\le k\le m\). Checked. |
| 418 | + |
| 419 | +## Independent pass: §2 Incidence lemma — paper, plus test |
| 420 | + |
| 421 | +I re-derived every line; the points the task asked to press on: |
| 422 | + |
| 423 | +- *List.* \(\sum_tr(t)^2\le b_0|S|+b_0(b_0-1)\) for sums and for differences (a pair of |
| 424 | + representations with \(x\ne y\) fixes a nonzero difference in \(S\)). At most |
| 425 | + \(b_*(1+b_*)m^2/H_0^2\) values of \(t\) reach the threshold in each case; one reflection per |
| 426 | + sum and two translations per difference give at most \(Jm^2/H_0^2\) maps, \(J=3b_*(1+b_*)\). |
| 427 | + The list is closed under inverses. |
| 428 | +- *Set aside.* \(g(S)\cap g'(S)\) has at most one point for two translations or two |
| 429 | + reflections and at most two for a translation and a reflection. So at most |
| 430 | + \((Jm^2/H_0^2)^2=J^2m/h_0^4\) vertices lie in two images. For a remaining \(x\), two listed |
| 431 | + maps sending \(x\) into \(S\) would put \(x\) in the images of their (listed) inverses; so |
| 432 | + there is at most one. Thresholds computed on \(B_0\) remain valid on \(B\subseteq B_0\). |
| 433 | +- *First discards.* Edges: \(e\). \(|x-a|\in D\) with the seed pair through \(a\): then |
| 434 | + \(x=2a-u\), and \(\sum\) of squared representation counts of \(2\cdot S-S\) is at most |
| 435 | + \(2m^2\), so at most \(m\sqrt{2b}<2m^{3/2}\) incidences. Otherwise \(\{x,a,u,w\}\) is an |
| 436 | + additive quadruple with four distinct points: edge-free (\(\le24Q_4\)), or containing an |
| 437 | + edge, necessarily \(xa_0\) with \(a_0\in S\); given \(x,a_0\) there are at most two |
| 438 | + quadruples (sum or ordered difference of the other two seed points is prescribed) and three |
| 439 | + choices of \(a\): \(\le6e\). |
| 440 | +- *Comparisons.* \(x=y\): \(a+a'=2x\), \(\le2b\). \(a=a'\): \(x+y=2a\), |
| 441 | + \(\le b\sqrt{|S|+b}<4m^{3/2}\). Four distinct points: an additive quadruple whose pairs |
| 442 | + \(xa,\ ya'\) are not edges (discarded) and \(aa'\) is not an edge (independence). Edge-free: |
| 443 | + \(\le24Q_4\). Edge \(xy\): for an ordered \((x,y)\), three ordered \((a,a')\); \(\le6e\). |
| 444 | + Otherwise \(xa'\) or \(ya\) is an edge. I checked both cases of the unique isometry with |
| 445 | + \(g(x)=a',\ g(a)=y\): for \(x+y=a+a'\) it is the translation by \(a'-x\), for |
| 446 | + \(x+a'=y+a\) the reflection \(z\mapsto x+a'-z\). If \(g\) is unlisted, the completions |
| 447 | + \((y,a)\) of a fixed edge \(xa'\) number fewer than \(H_0\) of each type, because the |
| 448 | + representation count of \(a'-x\) as \(y-a\) (or of \(x+a'\) as \(y+a\)) is below the |
| 449 | + threshold; the edge \(ya\) is the same statement for the reversed comparison and \(g^{-1}\). |
| 450 | + Total \(<4H_0e\). |
| 451 | +- *Symmetry and conclusion.* Each of the five kinds of bad comparison is invariant under |
| 452 | + reversal (the last because the list is inverse-closed), so discarded incidences number at |
| 453 | + most the bad ordered comparisons. A surviving comparison has \(g\) listed and |
| 454 | + \(g(x)=a'\in S\), so \(g=g_x\) and the partner \((g_x(a),g_x(x))\) is forced; hence |
| 455 | + multiplicity at most two, and distinct \(a\) at one \(x\) have distinct partner outsiders. |
| 456 | +- *The sum.* Divided by \(m^{15/8}\) at \(m=2^{240}\): 48.4800 < 49 (\(R=100,135\)) and |
| 457 | + 181.8000 < 183 (\(R=32\)); the leading term is \(4H_0e\le2.02\,h_0A_0m^{15/8}\). Exact. |
| 458 | +- *Attempt to break it.* `second_incidence.py` runs the proof's procedure literally on 1,923 |
| 459 | + small random instances with translated and reflected copies of parts of the seed planted |
| 460 | + among the outsiders, three kinds of graph (empty, random, conflict edges of quadruples) and |
| 461 | + thresholds 2–4, asserting each claim above and the conclusions (1,586 instances had a |
| 462 | + nonempty list; 345 repeated distances survived). No assertion failed. Test only. |
| 463 | + |
| 464 | +## Independent pass: §3 Charging the second occurrence — paper |
| 465 | + |
| 466 | +- \(|B_0|=\lceil(s+\varepsilon)\tau m\rceil\le b_*m\); vertices set aside |
| 467 | + \(J^2m/h_0^4<\varepsilon\tau m\) (ratios 0.657, 0.886, 0.677 for \(R=100,135,32\)); so more |
| 468 | + than \(s\tau m\) remain and \(B\) of size \(\lceil s\tau m\rceil\) exists. Exact. |
| 469 | +- Mass of \(\nu\): \(|S|=k-|F|\ge(1-\tau)m-32A_0m^{7/8}\), so at least |
| 470 | + \(R-1-32A_0Rm^{-1/8}\ge R-1-10^{-5}\). Exact. |
| 471 | +- Scores: over surviving incidences, \(\sum z\le Q+\sum_{\text{repeated}}v\), since a single |
| 472 | + occurrence costs \(z\le W\) and a double one \(2z=W+2v\). For fixed \(x\) the partners |
| 473 | + \(y=g_x(a)\) are distinct points of \(B\), so |
| 474 | + \(\sum_a v(1-\psi(u_y))\le c\,(b-\sum_{y\in B}\psi(u_y))\) (this bound is per outsider \(x\); |
| 475 | + the note's sentence is to be read that way), and \(\sum_a v\,\psi(u_y)\le |
| 476 | + \sum_{a\in S}v(u_a-u_x)\psi(g_x(u_a))\) by nonnegativity. Discarded incidences cost at most |
| 477 | + \(W(0)\) each. |
| 478 | +- \(Q\): \(\sum_{d\ge1}W(Rd/M)\le M/(2R)\) (decreasing kernel, right endpoints), and |
| 479 | + \(\sum_{d\in D}W(Rd/M)=\tfrac12[(\tau m)^2\mathcal E_W(\nu)-|S|W(0)]\) by Sidon uniqueness. |
| 480 | + This is the displayed bound on \(2Q/(\tau^2M)\). |
| 481 | +- Multiplying the count by \(2/(\tau m)^2\) I get exactly (1) with \(s'\) and right side |
| 482 | + \(R+2c(s')^2+R^2W(0)(m^{-1}+2D_0m^{-1/8})\). The left side decreases when \(s'\) is |
| 483 | + replaced by \(s\le s'\) (the bracket is at least \(W/2\ge0\)); the right side grows by at |
| 484 | + most \(2c(R/m)(2s+R/m)\). Total error at \(m=2^{240}\): 0.007098, 0.012936, 0.002715 for |
| 485 | + \(R=100,135,32\), all at most 14/1000. Exact. The \(R=135\) row uses most of the allowance. |
| 486 | + |
| 487 | +## Independent pass: §4 Grid certificate — paper for the reduction, exact for the certificate |
| 488 | + |
| 489 | +- \(W\) is affine on every grid interval (breakpoints \(0,\pm1/q,\pm H\)); \(\psi\) has |
| 490 | + breakpoints at multiples of \(1/2=12/q\). \(G=\beta q\,\mathrm{Id}+\frac{1-\beta}{H}T\) with |
| 491 | + \(T_{jk}=(1-|j-k|/(Hq))_+\), which is \(1/(Hq)\) times the overlap of two windows of \(Hq\) |
| 492 | + consecutive integers, so \(T\succeq0\) and \(G\succeq\beta q\,\mathrm{Id}\). Checked. |
| 493 | +- Common rounding: index differences are the floor or ceiling of the scaled difference with |
| 494 | + the interpolation probabilities, so the expected grid energy is the energy (diagonal |
| 495 | + included); the expected grid score is at most the true one since \(z=\min(W,W/2+c)\) is |
| 496 | + concave in \(W\); \(\psi(t)\) is reproduced exactly. Checked. |
| 497 | +- Subtracted term: \(v(y-t)\le V_{ij}\) because \(q|y-t|>|j-i|-1\) and \(W\) decreases. In the |
| 498 | + window \(|y-t|<H\), where \(v\ne0\), only one endpoint piece of \(\psi\circ g_x\) can be |
| 499 | + nonzero since \(R-9>2H\). For a rightward piece with peak \(a\) and \(r=j-\lfloor qa\rfloor\): |
| 500 | + \(y\ge a\) gives \(r\ge0\), and \(q(y-a)>r-2\); for a leftward piece with |
| 501 | + \(r=\lceil qa\rceil-j\) the same two facts hold. So the envelope is right. Checked. |
| 502 | +- Completed square: \(u^TGu+2(Z-sh)^Tu=(u-a)^TG(u-a)-2sh^T(u-a)+2(Ga+Z)^Tu-a^TGa-2sh^Ta\); |
| 503 | + the first two terms are at least \(-s^2\|h\|^2/(\beta q)\), the third at least \(2Al\) when |
| 504 | + \(l>0\) and \(u\ge0\) has mass at least \(A\); \(h^Ta\le h^Ta^+\) is bounded by the largest |
| 505 | + correlation over all translations and both orientations, and \(\|h\|^2\le c^2\sum e_r^2\). |
| 506 | + Checked. |
| 507 | +- **Certificate (exact).** `second_grid.py` has its own floating-point proposer (an active-set |
| 508 | + solve of the nonnegative quadratic program, then a few best-response rounds against the |
| 509 | + envelope position), rounds the charges to multiples of \(2^{-40}\), and evaluates |
| 510 | + \(l\), \(a^TGa\), the worst correlation over every translation and both orientations, and |
| 511 | + the final strict inequality with Python integers and `Fraction`s. Its fast exact evaluation |
| 512 | + is compared with a direct \(O(n^2)\) evaluation on random data and on the real witness at the |
| 513 | + tightest center (\(R=32\), node 12; equal as fractions), and the exact test rejects |
| 514 | + uniform charges, zero charges and the good charges scaled by 1.1 at the tightest center |
| 515 | + (`selftest`). Results: |
| 516 | + |
| 517 | + | \(R\) | Centers | Failures | Least margin | At node | |
| 518 | + |---|---:|---:|---:|---:| |
| 519 | + | 100 | 1,201 | 0 | 0.005651 | 12 | |
| 520 | + | 135 | 1,621 | 0 | 0.005642 | 12 | |
| 521 | + | 32 | 385 | 0 | 0.005725 | 12 | |
| 522 | + |
| 523 | + The margin is the certified lower bound minus \(R+2cs^2+14/1000\). My witnesses differ from |
| 524 | + the note's, so the margins differ from its 5/1000 and 4/1000; they are positive at every |
| 525 | + center, with the least at node 12 as the note reports. |
| 526 | +- Size bound: \(|F\cup U|<k+(s+\varepsilon)\tau m\) and \(s+\varepsilon-1+R/m<35/4\) |
| 527 | + (\(8.7498+R/m\)). Exact. |
| 528 | + |
| 529 | +## Independent pass: §5 Deletion and scope — paper and exact |
| 530 | + |
| 531 | +- \((1-2\delta)+\delta(1+K\tau)=1-\tau-g\) identically for \(\delta=(\tau+g)/(1-K\tau)\); so |
| 532 | + with \(e_m+z_0<g\) the threshold of the deletion theorem is below \((1-\tau)m\le k\). The |
| 533 | + theorem is the original one and applies since \(|C|\le(1+K\tau)m<2m\) and \(0<\delta<1/2\). |
| 534 | +- \(4p\log m=2(3240000R)^{1/3}(2\log m)^{4/3}m^{-1/3}\), so \(B_m\) is the normalized logarithm |
| 535 | + of (initial containers) × (recorded sets). Monotonicity ranges hold from \(\log m\ge120\). |
| 536 | +- `second_constants.py` checks, for all six entries, \(0<\delta<1/2<u<1\), \(e_m+z_0<g\), |
| 537 | + \(B_m+P_m/m<z_0^2-10^{-14}\) with \(\log2<7/10\) (and it asserts \(2\cdot P\cdot7/10<1000\), |
| 538 | + the point the task says `check.py` leaves implicit), the Chebyshev and union-bound |
| 539 | + thresholds, and \((1-\tau)^2<(1-1/d)^2u\) for \(d=254,347,118\) (\(N\ge2^{480}\)) and |
| 540 | + \(221,290,103\) (\(N\ge2^{720}\)). With the note's \(g,z_0\) each \(d\) is the least integer |
| 541 | + that passes. Exact. |
| 542 | +- Survivors: mean \((1-\delta)M>N+\eta N-1\), variance \(\le\delta M\le N\), so fewer than |
| 543 | + \(N\) survive with probability at most \(4/(\eta^2N)<1/4\). Trimming keeps Sidon subsets |
| 544 | + at most \(k-1<(1-\tau)m\le(1-\tau)\sqrt{N/u}\), since \(uM\le N\). Checked. |
| 545 | +- Corollary: \(\delta\to\tau/(1-K\tau)=4/93\) at \(\tau=1/32\), and |
| 546 | + \((1-\tau)^2/(1-\delta)=(31/32)^2\cdot93/89\). Exact. |
| 547 | + |
| 548 | +## Independent pass: Why the endpoint obstruction of `upper-smaller-k` §5 does not apply — paper |
| 549 | + |
| 550 | +That proposition is about proofs of inequality (4) there, which comes from the counting |
| 551 | +lemma \(\sum_{x\in B}(F_x-\dots)\le|B|(|B|-1)+Q\): every ordered pair of exceptional points |
| 552 | +is charged one unit, which becomes \(s^2\) after scaling, and a distance may be covered any |
| 553 | +number of times at the cost \(g(w)\). The present inequality (1) is a different one. By the |
| 554 | +incidence lemma a surviving distance occurs at most twice and the second occurrences at one |
| 555 | +outsider go to distinct partners, so a pair of outsiders is charged at most \(v\le c=13/1000\) |
| 556 | +rather than 1; the pair term is \(2cs^2\), partly refunded by \(\psi\). The hypothesis of the |
| 557 | +proposition (the unit pair charge) fails, so its bound \(s>23/2\) says nothing here. The |
| 558 | +obstruction's test case, a uniform measure seen from the endpoint \(t=0\), is covered by the |
| 559 | +exact certificate at center 0, which holds for all nonnegative measures of mass at least |
| 560 | +\(A\) (margins 0.007432, 0.007078 and 0.010184 at center 0 for \(R=100,135,32\)). |
| 561 | + |
| 562 | +## Independent pass: Remarks (none is a gap) |
| 563 | + |
| 564 | +1. §1 states \(|F|\le32n/L\); the rules give \(15n/L\). |
| 565 | +2. §2: the two Cauchy–Schwarz terms are far below their allowances (\(m\sqrt{2b}\le0.82m^{3/2}\) |
| 566 | + and \(b\sqrt{|S|+b}\le0.39m^{3/2}\) at \(b_*=1/3\)); everything except \(4H_0e\) is of lower |
| 567 | + order. |
| 568 | +3. §3: "The first terms sum to at most \(c(b-\sum\psi)\)" is per outsider \(x\). |
| 569 | +4. Tightest side conditions: the error allowance in (1) at \(R=135\) (0.01294 of 0.014) and |
| 570 | + the set-aside count at \(R=135\) (0.886 of \(\varepsilon\tau m\)). |
| 571 | +5. What I did not do: re-derive the deletion theorem's §§2–3, the two initial covers, or read |
| 572 | + the Phal–Gemini paper; no Lean; no literature check beyond the repository (offline). |