| | @@ -0,0 +1,120 @@ |
| 1 | +# Mean occupancy of plane projections of dense digit boxes |
| 2 | + |
| 3 | +**Theorem 1.** Let $D=\{0,\ldots,7\}$, let $X\subseteq D^r$ have size $n\ge 8^r/(49r+1)$, and put $q=p^2$ for a prime $p$. Reduce the coordinates modulo $p$ and choose a linear map $L:\mathbb F_p^r\to\mathbb F_p^2$ uniformly from all $q^r$ maps. Write $J=|L(X)|$. For every fixed $0<a\le b<\infty$, |
| 4 | +$$ |
| 5 | + \frac{\mathbb E J}{q}=1-\exp(-n/q)+o(1) |
| 6 | + \qquad(r\to\infty), |
| 7 | +$$ |
| 8 | +uniformly over $X$ and $p$ with $a\le n/q\le b$. In particular, if $n/p^2\to\lambda\in(0,\infty)$ then the mean occupied fraction tends to $1-e^{-\lambda}$. |
| 9 | + |
| 10 | +**Theorem 2.** In all sufficiently large dimensions $r$, every largest squared-norm level of $D^r$, encoded in base 16, contains a Sidon subset $S$ with |
| 11 | +$$ |
| 12 | + |S|>\frac{63}{100}\sqrt{N}. |
| 13 | +$$ |
| 14 | +Here $N$ counts the union of the encoded level and the two progressions $\{0,\ldots,H\}$ and $H\{0,\ldots,H\}$ for $H=4^r$. The dimension threshold applies to every tie. Both theorems are proved on paper below. The existing Lean theorem for these same augmented levels gives the strict coefficient $11/20$. [Lean augmented-level theorem](../../../../ErdosSwarm/Erdos530AugmentedDigitLevel.lean) |
| 15 | + |
| 16 | +## 1. Counting tuples whose affine span contains an extra point |
| 17 | + |
| 18 | +Write $\rho=n/q$. Throughout the range $a\le\rho\le b$, both $n$ and $p\ge\sqrt{n/b}$ tend to infinity uniformly. Fix a tuple length $k\ge1$ and take $p>\max(49,k)$. Coordinate reduction is then injective on $D^r$. |
| 19 | + |
| 20 | +Call an ordered $k$-tuple of rows **good** if, for every $i$, its $r$ columns include both $e_i$ and $7e_i$ in $D^k$. Evaluation at the $e_i$ columns reads off the coefficients of any linear combination of the rows. This gives linear independence, hence affine independence. If the combination belongs to the reduced box, the least residue $h_i$ of its $i$th coefficient lies in $D$. Evaluation at the $7e_i$ column gives $7h_i\bmod p\in D$. Since $7h_i\le49<p$, we have $7h_i\le7$, so $h_i\in\{0,1\}$. For an affine combination the number of ones is congruent to $1$ modulo $p$ and lies between $0$ and $k<p$. Exactly one coefficient is $1$. Thus the affine span of a good tuple meets the full box precisely in its rows. |
| 21 | + |
| 22 | +Call a tuple exceptional if it omits at least one required column. After transposing the matrix of rows, each of the $r$ columns has $8^k-1$ choices when a prescribed column is forbidden. The union bound over the $2k$ required columns gives at most $2k(8^k-1)^r$ exceptional tuples in the full box, including repeated rows. In $X^k$ the count is therefore at most $n^k\eta_k(r)$, where |
| 23 | +$$ |
| 24 | + \eta_k(r)=2k(49r+1)^k(1-8^{-k})^r. |
| 25 | +$$ |
| 26 | +Indeed $8^r/n\le49r+1$, and $\eta_k(r)\to0$ for fixed $k$. The companion Lean results in task `t-334ec5d806` include `Erdos530DigitTuple.affineSpan_inter_box_eq` and `exceptional_fraction_le`. |
| 27 | + |
| 28 | +For $j\ge1$ let $A_{j,d}$ count the ordered $j$-tuples of **distinct** points of $X$ whose affine span over $\mathbb F_p$ has dimension $d$. Take $p>\max(49,j)$. If $d<j-1$, choose $d+1$ basis positions, in increasing order. At least one other row lies in their span and differs from every basis row. The ordered basis is therefore exceptional. A $d$-dimensional affine space $P$ meets the box in at most $8^d$ points. Indeed, the coordinate map on its direction space has rank $d$, so some $d$ coordinates give an injective projection on $P$. Each of the remaining $j-d-1$ positions has at most $8^d$ choices, even allowing repetitions for this upper bound. Summing over choices of positions gives |
| 29 | +$$ |
| 30 | + A_{j,d}\le \binom{j}{d+1}8^{d(j-d-1)}n^{d+1}\eta_{d+1}(r) |
| 31 | + =o(n^{d+1}). \tag{1} |
| 32 | +$$ |
| 33 | +This includes collinear tuples ($d=1$). For $j>1$ there are no distinct tuples of rank $0$. The affine-space cap is the accepted `card_filter_affineSubspace_le` of task `t-ec692fff25`. [Lean affine box bound](../../../../ErdosSwarm/Erdos530BoxSpan.lean) |
| 34 | + |
| 35 | +## 2. Collision moments and mean occupancy |
| 36 | + |
| 37 | +Let $C_j(L)$ count the unordered $j$-element subsets of $X$ on which $L$ is constant. A tuple of affine rank $d$ collides exactly when $L$ vanishes on the span of its differences from its first point. Complete a basis of this direction space to a basis of $\mathbb F_p^r$. The images of the first $d$ basis vectors must be zero, and the other $r-d$ images are arbitrary. Thus exactly $q^{r-d}$ maps give a collision, with probability $q^{-d}$. In particular the zero map and every rank-deficient map have their full weight. By (1) a dependent rank stratum contributes $A_{j,d}q^{-d}=o(n)$ ordered collisions in expectation, since $n^{d+1}q^{-d}=n\rho^d$. |
| 38 | + |
| 39 | +Write $(n)_j$ for the number of ordered distinct $j$-tuples. Giving them all the rank-$j-1$ probability first and correcting the lower ranks yields the exact identity |
| 40 | +$$ |
| 41 | + \frac{\mathbb E C_j}{q} |
| 42 | + =\frac{(n)_j}{j!\,q^j} |
| 43 | + +\frac1{j!}\sum_{d=0}^{j-2} A_{j,d}\bigl(q^{-d-1}-q^{-j}\bigr). \tag{2} |
| 44 | +$$ |
| 45 | +The sum is empty for $j=1$. The factor $j!$ counts the orderings of each subset. At most $\binom j2 n^{j-1}$ tuples in $X^j$ have a repeated pair of positions. Using this bound, (1), and $1/n\le(49r+1)/8^r$ gives |
| 46 | +$$ |
| 47 | + \left|\frac{\mathbb E C_j}{q}-\frac{\rho^j}{j!}\right| |
| 48 | + \le R_j(r,b):=\frac1{j!}\left[ |
| 49 | + \binom j2 b^j\frac{49r+1}{8^r}+ |
| 50 | + \sum_{d=0}^{j-2}\binom{j}{d+1}8^{d(j-d-1)}b^{d+1}\eta_{d+1}(r) |
| 51 | + \right]. \tag{3} |
| 52 | +$$ |
| 53 | +Every fixed-order error tends to zero uniformly. The collision probability increases by a factor $q$ each time the affine rank drops by one, which is why (1) counts each rank separately. |
| 54 | + |
| 55 | +Let $P_h(z)=\sum_{j=1}^h(-1)^{j+1}z^j/j!$. A fibre of size $s$ contributes $\binom{s}{j}$ to $C_j$. For $s\ge1$ the alternating sum through order $h$ is $1-(-1)^h\binom{s-1}{h}$, with binomial coefficients zero above the top index. Empty fibres contribute zero. Summing these even lower and odd upper bounds for the occupied-cell indicator, taking expectations and using (3) gives, for every fixed $m\ge1$ and all sufficiently large $r$, |
| 56 | +$$ |
| 57 | + P_{2m}(\rho)-\sum_{j=1}^{2m}R_j(r,b) |
| 58 | + \ \le\ \frac{\mathbb E J}{q}\ \le\ |
| 59 | + P_{2m+1}(\rho)+\sum_{j=1}^{2m+1}R_j(r,b). \tag{4} |
| 60 | +$$ |
| 61 | +Taylor's remainder gives $|P_h(\rho)-(1-e^{-\rho})|\le b^{h+1}/(h+1)!$ on $[a,b]$. Choose $m$ to make both Taylor remainders small, then $r$ to control the finitely many errors in (4). This proves Theorem 1. |
| 62 | + |
| 63 | +## 3. A Sidon subset inside every largest level |
| 64 | + |
| 65 | +Write $B$ for the integers $\sum_{i=0}^{r-1}v_i16^i$ with $v\in D^r$ and $\sum_i v_i^2=t$, where $t$ maximizes the level size. The encoding is injective. There are $8^r$ vectors and at most $49r+1$ levels, so every maximizing $t$ gives $n=|B|\ge8^r/(49r+1)$. In an integer pair sum each coordinate sum is at most $14$. Uniqueness of base-16 expansion shows that equal pair sums in $B$ give equal coordinate sums. Decoding and reducing modulo $p>7$ therefore gives an injective map onto a digit set $X$ preserving all source pair-sum equalities. These are the digit model and largest-level estimates of task `t-d5df2636e5`. [Lean digit-level results](../../../../ErdosSwarm/Erdos530DigitLevel.lean) |
| 66 | + |
| 67 | +Let $s(B)$ be the largest Sidon subset size in $B$, allowing repeated summands in the Sidon condition. For each $L$ and odd $p$, partition the plane into the $p$ curves $y=u^2+c$ with horizontal coordinate $u$. One curve contains at least $J/p$ image points. On each curve a pair sum determines the sum of its horizontal coordinates and the sum of their squares, hence their product since $2$ is invertible. The sum and product determine the unordered pair with multiplicity, so the curve is Sidon. Choose one preimage in $B$ of each selected point. Equal sums in $B$ give equal image sums, and the chosen representatives are unique, so these preimages are Sidon. Averaging $p\,s(B)\ge J$ gives $s(B)/\sqrt n\ge x\,\mathbb E J/q$ for $x=p/\sqrt n$. This is the extraction used in the October sidon-palomar report, where the pair count gives the box coefficient $\sqrt{8/27}$. [October report, Proposition 7.2 and its box corollary](https://github.com/xinjiegit/sidon-palomar/blob/7a3e0ae77/docs/research-report.tex#L763-L820) · [Lean plane-map extraction](../../../../ErdosSwarm/Erdos530PrimeField.lean) |
| 68 | + |
| 69 | +For every sufficiently large real $y$, `Erdos30.eventually_exists_prime_457_div_500` supplies a prime with $(457/500)y<p\le y$. Take $y=(15/16)\sqrt n$. Since |
| 70 | +$$ |
| 71 | + (457/500)(15/16)-17/20=11/1600>0, |
| 72 | +$$ |
| 73 | +we can take $17/20\le x\le15/16$, with $p>49$ eventually, uniformly in the level. [Lean prime interval theorem](../../../../ErdosSwarm/Erdos30FactorialPrimeInterval.lean) |
| 74 | + |
| 75 | +Now $\rho=x^{-2}\in[(16/15)^2,(20/17)^2]$. The sixth-order lower bound in (4) gives |
| 76 | +$$ |
| 77 | + \frac{s(B)}{\sqrt n}\ge F_6(x)-x\sum_{j=1}^6 R_j\bigl(r,(20/17)^2\bigr), |
| 78 | + \qquad F_6(x)=xP_6(x^{-2})=\sum_{j=1}^6\frac{(-1)^{j+1}x^{1-2j}}{j!}. \tag{5} |
| 79 | +$$ |
| 80 | + |
| 81 | +**Closed-interval certificate.** Set $u=x^{-2}$ and $E_4(u)=1-u+u^2/2-u^3/6+u^4/24$. Differentiation and completion of squares give |
| 82 | +$$ |
| 83 | + F_6''(x)=\frac{2}{x^3}\left((1-2u)E_4(u)-\frac{u^5}{120}\right), |
| 84 | + \qquad E_4(u)=(1-u/2)^2+\frac{u^2((u-2)^2+2)}{24}. |
| 85 | +$$ |
| 86 | +Here $u>1$, so $F_6''(x)<0$ throughout the interval. A concave function is bounded below by the smaller endpoint value. The exact endpoint margins are |
| 87 | + |
| 88 | +| $x$ | $F_6(x)-127/200$ | |
| 89 | +|---|---:| |
| 90 | +| $17/20$ | $39119601339481/61689413353739400$ | |
| 91 | +| $15/16$ | $4986599921467/3113912109375000$ | |
| 92 | + |
| 93 | +Both are positive, giving $F_6(x)>127/200=63/100+1/200$ on the full closed interval. Take $r$ large enough that the error in (5) is at most $1/400$. This is uniform since $x\le15/16$. It follows that $s(B)/\sqrt n>253/400$. |
| 94 | + |
| 95 | +The two progressions meet exactly at $0$ and $H$, so together they add at most $2H$ points to $B$. The accepted `card_ratio_augmentedDigitLevel_of_max` (task `t-02aeb34582`) gives |
| 96 | +$$ |
| 97 | + 1\le N/n\le1+2(49r+1)2^{-r}. |
| 98 | +$$ |
| 99 | +Take $r$ also large enough that $N/n\le257/256$. Then |
| 100 | +$$ |
| 101 | + \left(\frac{253}{400}\right)^2 |
| 102 | + -\left(\frac{63}{100}\right)^2\frac{257}{256} |
| 103 | + =\frac{4111}{2560000}>0. |
| 104 | +$$ |
| 105 | +Consequently $s(B)>(63/100)\sqrt N$. The chosen representatives all lie in $B$, and every estimate used the same lower bound on $n$ for every maximizing $t$. This proves Theorem 2. [Lean augmentation estimate and Sidon theorem](../../../../ErdosSwarm/Erdos530AugmentedDigitLevel.lean) |
| 106 | + |
| 107 | +## 4. Exact finite checks and scope |
| 108 | + |
| 109 | +From the repository root, run the Python standard-library checker and the repository audit. |
| 110 | + |
| 111 | +~~~sh |
| 112 | +python3 -ISB experiments/erdos530/lower-middle-energy2/box-occupancy/check_poisson.py |
| 113 | +./scripts/check.sh |
| 114 | +~~~ |
| 115 | + |
| 116 | +Take the six points $(u,v)$ with nonnegative representatives $u+v\le2$ in $\mathbb F_3^2$. The checker applies every one of the 81 matrices to the points and tests each of the 63 nonempty subsets for equal images. A separate determinant computation gives the affine dimension of each subset and verifies its predicted number of collisions. Of the 20 triples, three are collinear. The totals at orders one through six are $486,135,44,15,6,1$. Direct image counts give one map occupying one cell, 32 occupying three and 48 occupying six. Their mean is $385/81$, also the alternating sum of the six totals divided by 81. The checker verifies both Bonferroni inequalities for each individual map. [Exact checker](check_poisson.py) |
| 117 | + |
| 118 | +As an independent check on the closed interval, put $x=(1-t)(17/20)+t(15/16)$ for $0\le t\le1$. The checker expands $x^{11}(F_6(x)-127/200)$ in the basis $\binom{11}{k}t^k(1-t)^{11-k}$. These weights are nonnegative and sum to one. The least of the twelve rational coefficients is $39119601339481/368640000000000000>0$. The same run checks the prime-window slack and the squared margin after augmentation. [Exact interval calculation](check_poisson.py) |
| 119 | + |
| 120 | +For arbitrary integer sets, Bailleul–Riblet proved the lower coefficient $1/(3\sqrt3)$. The earliest proof of $2/(3\sqrt3)$ in the available offline sources is the 3 October 2026 sidon-palomar report. Park independently obtained that coefficient. Phal–Gemini give an upper bound on the size guaranteed for arbitrary sets. The $63/100$ lower bound here uses the density of the digit level in the full box. [Bailleul–Riblet](https://arxiv.org/abs/2605.03181) · [October report, Theorem 1.1](https://github.com/xinjiegit/sidon-palomar/blob/7a3e0ae77/docs/research-report.tex#L73-L89) · [Park](https://doi.org/10.5281/zenodo.24528338) · [Phal–Gemini](https://github.com/shubhamphal/erdos-530/blob/42a01f6/paper/erdos_530.tex) |