| | @@ -0,0 +1,105 @@ |
| 1 | +# A compact certificate for the 77/78 grid |
| 2 | + |
| 3 | +For the §2 grid of the $R=32$ cover, every nonnegative mass vector of mass at least $31-10^{-5}$, every host center and every admissible peak satisfy |
| 4 | + |
| 5 | +$$ |
| 6 | +u^TGu+2Z^Tu\ \ge\ |
| 7 | +\frac{1087742016903487319}{33973862400000000} |
| 8 | +>32.01702544>32+\frac{15}{1000}. |
| 9 | +$$ |
| 10 | + |
| 11 | +Here $Z_j=(7999/1000)\,\mathrm{nodeScore}(i,\mathrm{peak},j)$. The rational lower bound is the least of 2,791 **integer-checked interval bounds**. It occurs at centers $121$ through $132$, rightward orientation, inward peak distances $104$ through $113$. The data occupy 92,312 bytes. The Lean proof of `grid_lower` is a later brief. The endpoint score, grid kernel and mass in this computation are those of the accepted rounding proof and the plan. [Rounding.lean](../../../ErdosSwarm/Erdos530Gap78/Rounding.lean) · [Plan.lean](../../../ErdosSwarm/Erdos530Gap78/Plan.lean) · [Cover proof, §2](../upper-smaller-k2/NOTES.md) |
| 12 | + |
| 13 | +## One box witness for many peaks |
| 14 | + |
| 15 | +Write $j=0,\ldots,768$, and put $B_{vj}=1_{j\le v<j+120}$ for $0\le v<888$. Two length-120 boxes overlap in $(120-|j-k|)_+$ rows. Thus |
| 16 | + |
| 17 | +$$ |
| 18 | +G=\gamma B^TB+dI,\qquad \gamma=7/6000,\quad d=43200/6000. |
| 19 | +$$ |
| 20 | + |
| 21 | +Fix a real box vector $h$ and a positive level $\ell$. For $u\ge0$ of mass at least $A=31-10^{-5}$, |
| 22 | + |
| 23 | +$$ |
| 24 | +u^TGu+2Z^Tu\ \ge\ |
| 25 | +2A\ell-\gamma\|h\|^2-\frac1d\sum_j |
| 26 | + (\ell-\gamma(B^Th)_j-Z_j)_+^2. \tag{1} |
| 27 | +$$ |
| 28 | + |
| 29 | +Indeed, expand $\gamma\|Bu-h\|^2\ge0$. After taking out $2\ell\sum_j u_j$, the remaining term at $j$ has the form $d u_j^2-2v_j u_j$. For $v_j\le0$ this is nonnegative. For $v_j>0$ it is at least $-v_j^2/d$ by completing the square. This proves (1). The broad term $B^Th$ and its cost are computed once per witness. A peak changes only the positive parts at offsets with nonzero kernel weight. |
| 30 | + |
| 31 | +Formula (1) also gives an ordinary supporting plane in the sense of (3) of the cover proof. Let $F$ be the vertical concatenation of $\sqrt\gamma B$ and $\sqrt d I$, and put |
| 32 | + |
| 33 | +$$ |
| 34 | +w=\left(\sqrt\gamma h,\;(\ell\mathbf1-\gamma B^Th-Z)_+/\sqrt d\right). |
| 35 | +$$ |
| 36 | + |
| 37 | +Then $F^Tw+Z\ge\ell\mathbf1$. The matrix $G=F^TF$ is invertible since $d>0$. For $a=G^{-1}F^Tw$ we have $Ga+Z\ge\ell\mathbf1$ and $\|w\|^2-a^TGa=\|w-Fa\|^2\ge0$. These are precisely the level and energy inequalities needed in (3). A Lean bridge can apply (1) directly using the two squared-norm inequalities. [Original supporting plane and box factorization](../upper-smaller-k2/VERIFY.md) |
| 38 | + |
| 39 | +## Integer test |
| 40 | + |
| 41 | +The 111 stored integers $H_v$ define $h_k=H_{\lfloor k/8\rfloor}/C$, with $C=1024$. Put $T=6000C$ and $\ell=L/T$ for the stored positive integer $L$. Define |
| 42 | + |
| 43 | +$$ |
| 44 | +X_j=\left(L-7\sum_{k=j}^{j+119}H_{\lfloor k/8\rfloor}\right)_+,\qquad |
| 45 | +E=8\sum_{v=0}^{110} H_v^2. |
| 46 | +$$ |
| 47 | + |
| 48 | +All scores are nonnegative. Thus the positive part in (1) is $(X_j-TZ_j)_+/T$. For a center interval $[a,b]$ keep only the offsets |
| 49 | + |
| 50 | +$$ |
| 51 | +\mathcal T=[-119,119]\cap[-a,768-b]\cap\mathbb Z,\qquad |
| 52 | +Y_t=\min_{a\le i\le b}X_{i+t}. |
| 53 | +$$ |
| 54 | + |
| 55 | +Suppose a block of peaks gives a nonnegative lower bound $z_t\le T Z_{i+t}$ throughout the block. The saving $S(x,z)=x^2-(x-z)_+^2$ is increasing in both nonnegative arguments. For $x\le z$ it equals $x^2$, and for $x\ge z$ it equals $2xz-z^2$. For each center the nodes $i+t$ are distinct and in the host. At all other nodes the saving is nonnegative. Consequently |
| 56 | + |
| 57 | +$$ |
| 58 | +\sum_j(X_j-TZ_j)_+^2\ \le\ |
| 59 | +P=\sum_j X_j^2-\sum_{t\in\mathcal T}\bigl(Y_t^2-(Y_t-z_t)_+^2\bigr). \tag{2} |
| 60 | +$$ |
| 61 | + |
| 62 | +This accounts for the host boundary even when some centers in a group have additional offsets. With $A_n=3099999$, $A_d=100000$ and $D=A_d\,6000\cdot43200 C^2$, the certified lower bound in (1) is |
| 63 | + |
| 64 | +$$ |
| 65 | +\frac{2A_n L\cdot43200 C-A_d(7\cdot43200 E+P)}{D}. \tag{3} |
| 66 | +$$ |
| 67 | + |
| 68 | +In particular, the strict comparison with $32015/1000$ can use natural numbers by moving the subtracted term to the other side. |
| 69 | + |
| 70 | +### Peak intervals, far peaks and reflection |
| 71 | + |
| 72 | +Let $\sigma=1$ for a rightward peak and $-1$ for a leftward peak. For an admissible peak at $k$, write $p=\sigma(i-k)\ge0$. At $j=i+t$ the inward coordinate is $r=p+\sigma t$. Write $e(r)$ for 12000 times the left profile at $\max(0,r-2)/24$. Its values decrease from 12000 to zero, with $e(r)=0$ for $r\ge98$. Let $f$ be 12000 times the minimum of `fLow` over the center interval. |
| 73 | + |
| 74 | +For $p\in[l,h]$, if $h+\sigma t<0$, every image is exterior and we use $c_t=24000$. Otherwise we use $c_t=12000+f-e(\max(0,l+\sigma t))$. Monotonicity of the profile makes this a lower coefficient at every interior node, and $c_t\le24000$ also bounds any exterior choice. With $K_t=7(120-|t|)_++43200\,1_{t=0}$ the replay uses the exact floors |
| 75 | + |
| 76 | +$$ |
| 77 | +s_t=\left\lfloor\frac{2^{24}\,7999\,K_t\,c_t}{1000\cdot6000\cdot24000}\right\rfloor,\qquad |
| 78 | +z_t=\left\lfloor\frac{T s_t}{2^{24}}\right\rfloor . |
| 79 | +$$ |
| 80 | + |
| 81 | +They give $0\le z_t\le T Z_{i+t}$ as required in (2). Both orientations partition $p=0,\ldots,217$. For $p\ge217$, all nodes with positive weight have $|t|\le119$, hence $r\ge98$. This is exactly the zero-profile row, including `peak = none`. Finally $j\mapsto768-j$ sends $(i,k,\sigma)$ to $(768-i,768-k,-\sigma)$, preserving $p,r$, `fLow`, distances and mass. The 385 centers in the table therefore cover all 769. |
| 82 | + |
| 83 | +## Reproduction |
| 84 | + |
| 85 | +Run in this directory. Generation uses NumPy and the accepted projected-gradient solver. Near the left endpoint it usually fits a rightward peak based at zero. In the interior it can average the box sums for the two orientations. These choices only propose $H,L$. The generator tests (3) in integers, bisects a failing center interval and stores the furthest peak endpoint each witness can certify. Each `[end, witness]` in `row.json` closes the interval beginning just after the previous endpoint, starting at zero. Witness indices start at zero within each center group. [Generator](generate.py) · [Accepted solver](../upper-smaller-k2/verify.py) · [Certificate](row.json) |
| 86 | + |
| 87 | +~~~sh |
| 88 | +OPENBLAS_NUM_THREADS=1 python3 -IB generate.py /tmp/grid78-row.json |
| 89 | +cmp /tmp/grid78-row.json row.json |
| 90 | +python3 -IB verify.py /tmp/grid78-row.json |
| 91 | +OPENBLAS_NUM_THREADS=1 python3 -IB check_planes.py |
| 92 | +python3 -IB benchmark.py |
| 93 | +~~~ |
| 94 | + |
| 95 | +The independent standard-library replay reads only `row.json`. At $j=8k+r$, the length-120 sum is $(8-r)\sum_{v=k}^{k+14}H_v+r\sum_{v=k+1}^{k+15}H_v$, with the second term zero at $j=768$. The replay uses this interpolation, evaluates the rational score floors, and checks coverage and (3). There are 113 center intervals, 115 box witnesses, 167,860 represented half-grid placements and 553,882 scalar offset terms. Two generations here agreed byte for byte. [Integer replay](verify.py) · [Recorded run](run.log) |
| 96 | + |
| 97 | +As a separate check, `check_planes.py` expands the groups to individual centers. A banded floating-point solve proposes ordinary 769-node charges $a$ from $Ga=F^Tw$. After rounding to $2^{-24}$ it checks $2A\min_j((Ga)_j+Z_j)-a^TGa$ in integers, using the original center-specific floored scores and the accepted integer tent product. All 16,943 ordinary planes pass. Their least bound is $28165946368476449605749/879609302220800000000>32.02097374$. This check uses SciPy. [Ordinary-plane cross-check](check_planes.py) · [Underlying score and product](../upper-smaller-k2/verify.py) |
| 98 | + |
| 99 | +## Single-core estimate |
| 100 | + |
| 101 | +The benchmark times the complete integer replay against the 385 accepted 102/103 cells on the same Python interpreter. For those cells it expands the actual hex charges, computes the packed tent product, the four guard tests and the energy dot product in `gridCheck`. Inputs are loaded before timing. The five interleaved runs use process CPU time in one thread. With the plan's 2,400-second reference, the median ratio gives **7.21 minutes**. Pairing the slowest new replay with the fastest old replay gives **11.43 minutes rounded up**. These are estimates for the arithmetic in a future checker. [Timing code](benchmark.py) · [Reference predicate](../../../ErdosSwarm/Erdos530Gap103/GridCheck.lean) · [Plan and 60-minute criterion](../../../ErdosSwarm/Erdos530Gap78/PLAN.md) |
| 102 | + |
| 103 | +I also ran `lake env lean -j1` on each of the 13 accepted data shards in sequence. Their combined user and system CPU time was 193.52 seconds, including imports and process startup. Applying the same slowest/fastest ratio to this local calibration gives 0.93 minutes rounded up. The larger estimate above uses the plan's reference time. Both estimates assume that the Lean evaluator shares the box sums, squared norm and $Y_t$ across a witness's peak intervals, as the timed replay does. The log includes each shard and all Python timings. [Recorded measurements](run.log) |
| 104 | + |
| 105 | +This grid belongs to the unsigned-distance refinement of the Phal–Gemini one-step container argument. The computation concerns the finite input to that refinement. [Phal and Gemini, §4](https://github.com/shubhamphal/erdos-530/blob/42a01f6/paper/erdos_530.tex) · [Complementary endpoint weights, §§1–2](../upper-smaller-k2/NOTES.md) |