| | @@ -0,0 +1,250 @@ |
| 1 | +# Which hosts preserve large Sidon subsets after deletion? |
| 2 | + |
| 3 | +Write \(I_M=\{0,\ldots,M-1\}\) and \(s(A)\) for the largest size of a Sidon subset of \(A\). Unordered pair sums include doubles. A nonzero difference of two Sidon marks determines its ordered pair. Put \(N=|A|\), and use \(p\) for the mean **retention** probability across the entire host. Erdős's function \(\ell(N)\) is the minimum of \(s(A)\) over all \(N\)-point real sets. The deletion probability in the interval benchmark is \(\delta=1-p\). |
| 4 | + |
| 5 | +**An explicit half-density host reduces the best section of a near-maximal cyclic Sidon set from \(3/4\) to \(1/\sqrt2\), the smallest possible coefficient at that density.** A section may choose its representative in each template residue after the host is known. The table uses coefficients of \(\sqrt N\) at density \(1/2\). |
| 6 | + |
| 7 | +| Host | Result | Sidon subsets covered | |
| 8 | +|---|---:|---| |
| 9 | +| Rectangular box with uniform thinning | At least the interval maximum under a finite coupling | All subsets, §1 | |
| 10 | +| Independent row and column labels | At least \(3/4-o(1)\) | Constructed sections, §2 | |
| 11 | +| Explicit 22-block integer set | \(1/\sqrt2+o(1)\), sharp | All sections of near-maximal cyclic templates with \(v\le CM\), §4 | |
| 12 | +| Independent thinning in eight blocks | Upper bound \(0.743565+o(1)\) | All sections over any prescribed \(\exp(o(\sqrt M))\) templates of arbitrary sizes and periods, §4 | |
| 13 | +| One forbidden class modulo four, then thinning | \(7/9+o(1)\), sharp | Near-maximal cyclic templates at comparable periods, §5 | |
| 14 | +| Periodic thinning modulo 14 | \(14999/20000+o(1)\), sharp | Near-maximal templates at Singer, Bose–Chowla and Ruzsa periods, §5 | |
| 15 | + |
| 16 | +Here \(C\ge1\) is any fixed constant. The asymptotic random-host assertions hold with probability tending to one. The results are paper proofs with rational certificates. A bound below \(\sqrt N\) by a fixed factor for the largest unrestricted Sidon subset of the two hosts in §4 remains open. |
| 17 | + |
| 18 | +## 1. Finite comparison with an interval |
| 19 | + |
| 20 | +**Theorem 1.** Suppose \(B\) has \(M\) elements and there is a bijection \(\phi:B\to I_M\) taking equal pair sums in \(B\) to equal pair sums in \(I_M\). For every \(X\subseteq I_M\), |
| 21 | +\[ |
| 22 | + s(\phi^{-1}X)\ge s(X). |
| 23 | +\] |
| 24 | +This couples the Sidon maxima for independent thinning with the same retention probability. It also couples the uniform samples of exactly \(N\) points, for every \(N\le M\). In particular the interval minimizes the Sidon maximum in stochastic order among hosts admitting this map, including the interval itself. |
| 25 | + |
| 26 | +*Proof.* Pull back a largest Sidon subset of \(X\). An equality of sums between preimages gives an equality of image sums. The Sidon property identifies the image pair with multiplicities, and injectivity identifies the original pair. Using the same random set of labels gives both couplings. This is the injective Freiman 2-morphism pullback of Bailleul and Riblet applied to the whole host. [Bailleul and Riblet, §2.1](https://arxiv.org/abs/2605.03181) |
| 27 | + |
| 28 | +For \(B=\prod_i I_{n_i}\), take \(\phi(x)=\sum_i x_i\prod_{j<i}n_j\). The mixed radix expansion gives the bijection, and this linear form preserves every coordinatewise sum equality. The conclusion covers every aspect ratio in two or three dimensions and all finite ranks. It passes to an integer image of a box whenever equal two-term sums in the image force equal coordinate sums, for instance for a progression whose digit map is injective on \(\prod_i I_{2n_i-1}\). It also applies to \(\bigcup_i(b_i+I_w)\) when distinct unordered block pairs have starting sums separated by at least \(2w-1\). Their two-term sum intervals are then disjoint. An equality fixes the unordered pair of block indices and the sum of the inner digits, so \(b_i+j\mapsto iw+j\) works for any indexing from zero. The cyclic short-box map in the earlier experiments uses the same gap condition. [Earlier finite-fiber work, §1](../dense-structured/NOTES.md) |
| 29 | + |
| 30 | +For a full box of any fixed rank \(r\) and volume \(M\to\infty\), one also has the actual maximum \(s(B)=(1+o(1))\sqrt M\), uniformly in its side lengths. The lower bound follows from Theorem 1 and an interval Singer ruler of diameter less than \(M\). For the upper bound let \(k=s(B)\) and take |
| 31 | +\[ |
| 32 | + \epsilon=M^{-1/(4r)},\qquad X=\prod_i I_{\max(1,\lfloor\epsilon n_i\rfloor)} . |
| 33 | +\] |
| 34 | +Then \(|X|\ge2^{-r}\epsilon^r M\) and \(|B+X|\le(1+\epsilon)^r M\). Distinct nonzero differences give \(k(k-1)\le|B-B|-1<2^r M\). Two distinct translates of a Sidon set intersect in at most one point. For its translates by \(X\), the sum of squared multiplicities is therefore at most \(k|X|+|X|(|X|-1)\). Cauchy–Schwarz gives \(k^2\le|B+X|(1+(k-1)/|X|)=(1+o(1))M\). A two-sum-injective integer model of the box has exactly the same Sidon subsets under its coordinate bijection. |
| 35 | + |
| 36 | +**Proposition 2 (where a carry matters).** Let \(B=\{Di+j:0\le i<h,\ 0\le j<w\}\) with \(h,w\ge2\) and \(D\ge w\). It admits a bijective Freiman 2-morphism to \(I_{hw}\) exactly when \(D=w\) or \(D\ge2w-1\). |
| 37 | + |
| 38 | +*Proof.* At \(D=w\) the host is the interval. At \(D\ge2w-1\) the sum of two inner digits lies in \([0,2w-2]\), so a sum equality fixes the two coordinate sums. In the remaining range, write \(F(Di+j)=b_i+jz\) for an integer-valued Freiman 2-morphism. Indeed the internal three-term progressions make each row affine, and the parallelogram using columns 0 and 1 of any two rows makes their slopes equal. Choose \(j,k<w\) with \(j+k=D\). The equality \((Di+j)+(Di+k)=Di+D(i+1)\) gives \(b_{i+1}=b_i+Dz\). An injective \(F\) therefore has diameter at least \(D(h-1)+w-1>hw-1\). With \(w=3,D=4\), interval marks \(\{0,2,3\}\) are Sidon, while the same row labels give \(\{0,2,4\}\) of maximum two. The distinction also occurs for the full host. Two 43-site intervals separated by three holes have Sidon maximum 11, while the 86-site interval has maximum 12 by exhaustive ruler certificates. [Finite integer host survey](../small-sets/NOTES.md) |
| 39 | + |
| 40 | +### The interval benchmark |
| 41 | + |
| 42 | +A cyclic template is a Sidon set \(T\subset\mathbb Z/v\). A section chooses at most one site in each residue belonging to \(T\). Reduction modulo \(v\) and injectivity on the chosen sites prove that every section is Sidon. If \(H\) residues modulo \(v\) are occupied by a host, averaging the \(v\) translates of \(T\) yields a section of size at least \(|T|H/v\). This permits all lifts to be chosen after the host is known. [Bailleul and Riblet, Singer covering](https://arxiv.org/abs/2605.03181) · [Earlier lifted-section obstruction, §6](../upper-large-deficit/NOTES.md) |
| 43 | + |
| 44 | +**Proposition 3.** Fix \(0<p\le1\). Independent retention on \(I_M\), as \(M\to\infty\), gives with probability tending to one a Sidon subset of size at least \((F(p)-o(1))\sqrt N\), where |
| 45 | +\[ |
| 46 | + F(p)=\max_{L\in\mathbb N,\ L\ge1}\frac{1-(1-p)^L}{\sqrt{Lp}}. |
| 47 | +\] |
| 48 | +The same holds for a uniform sample of \(N\) sites with \(N/M\to p\). |
| 49 | + |
| 50 | +*Proof.* For fixed \(L\), the prime number theorem supplies a prime \(q\sim\sqrt{M/L}\). Singer gives \(v=q^2+q+1\) and \(|T|=q+1\). All but \(o(v)\) of the fibers have \(L\) sites. In the independent model, the fraction occupied converges in probability to \(1-(1-p)^L\) by independence of disjoint fibers and the variance bound \(v/4\) for their total. Also \(N/M\to p\) in probability. For the uniform sample the empty probability on \(L\) sites is \(\binom{M-L}{N}/\binom MN\to(1-p)^L\). Emptiness indicators for disjoint fibers have nonpositive covariance, since conditioning on avoidance of one leaves the same \(N\) draws from fewer sites. The same variance argument works. Apply the translate average. Since the squared coefficient at \(L=1\) is \(p\), lengths \(L>1/p^2\) can be discarded. Removing a further \(o(M)\) arbitrary sites loses at most \(o(M)\) occupied fibers, which preserves the coefficient from the translate average. |
| 51 | + |
| 52 | +| Retention \(p\) | Maximizing \(L\) | \(F(p)\), to six decimal places | |
| 53 | +|---:|---:|---:| |
| 54 | +| \(99/100\) | 1 | 0.994987 | |
| 55 | +| \(9/10\) | 1 | 0.948683 | |
| 56 | +| \(1/2\) | 2 | 0.750000 | |
| 57 | +| \(1/4\) | 4 | 0.683594 | |
| 58 | +| \(1/10\) | 12 | 0.655049 | |
| 59 | +| \(1/100\) | 125 | 0.639777 | |
| 60 | + |
| 61 | +For **every** deterministic \(A\subseteq I_M\) of density \(p+o(1)\), the same translate average for a Singer period \(v\ge M\) with \(v\sim M\) gives \((\sqrt p-o(1))\sqrt N\). Here every site has a distinct residue. For \(p\ge2-\sqrt2\), this already equals \(F(p)\). The \(L=2\) score is at most the \(L=1\) score exactly when \(2-p\le\sqrt2\). For \(L\ge3\), \(Lp^2\ge3(2-\sqrt2)^2>1\). Thus changing the deletion law within an interval at the densities closest to one cannot lower the benchmark itself. |
| 62 | + |
| 63 | +## 2. Two-scale and short-range deletion |
| 64 | + |
| 65 | +**Theorem 4.** Write \(M=hw\) and \(x=iw+j\) in \(I_M\). Give the rows independent identically distributed labels \(R_i\), the columns independent identically distributed labels \(C_j\), and the individual cells independent identically distributed labels \(Z_{ij}\), with the three collections independent. Retain a site when \(G(R_i,C_j,Z_{ij})=1\), for the same Boolean rule with probability \(p>0\). If \(h,w\to\infty\), the lower coefficient is at least \(F(p)\) with probability tending to one. This includes the Cartesian product of two independently thinned intervals, with optional additional cell thinning. The row labels can influence sites throughout a row and the column labels can influence sites throughout the entire interval. |
| 66 | + |
| 67 | +*Proof.* Fix the lift length \(L\), and take a prime \(q\sim\sqrt{M/L}\). Consider two available cyclic Sidon periods |
| 68 | +\[ |
| 69 | + v_1=q^2+q+1,\quad |T_1|=q+1,\qquad v_2=q(q-1),\quad |T_2|=q-1 . |
| 70 | +\] |
| 71 | +The second template is Ruzsa's, used in Park's paper. Their gcd is \(\gcd(q-1,3)\), since \(v_1\equiv1\bmod q\) and \(v_1\equiv3\bmod(q-1)\). At least one \(v\) has additive order at least \(L\) modulo \(w\) once \(w>3(L-1)^2\). Otherwise \(w\mid j_1v_1,j_2v_2\) for \(1\le j_1,j_2<L\), so \(w\mid\mathrm{lcm}(j_1,j_2)\gcd(v_1,v_2)\), a contradiction. For \(L=1\) either period works. [Park, prime-indexed cyclic template](https://doi.org/10.5281/zenodo.24528338) |
| 72 | + |
| 73 | +All but \(o(v)\) fibers have length \(L\). In such a fiber the sites \(a,a+v,\ldots,a+(L-1)v\) use distinct columns by this choice and distinct rows since \(v\sim hw/L>w\) eventually. Consequently their retention bits are independent, and the expected occupied fraction tends to \(1-(1-p)^L\). Changing a single row label, column label or cell label changes either the occupied count or \(N\) by at most \(w,h,1\), respectively. The independent-coordinate variance bound (successive conditional expectations, with each martingale difference bounded by its coordinate range) gives variance at most \(hw^2+wh^2+hw=o(M^2)\) for each count. Chebyshev and the translate average finish the proof. For example, at \(q=11,w=19\), two sites at distance 133 use one column, while two at distance 110 use two different columns. With independent fair row and column masks their respective hit probabilities are \(3/8\) and \(7/16\). Theorem 1 transports these conclusions to its integer models when the labels are transported with the sites. |
| 74 | + |
| 75 | +**Corollary 5.** The same lower coefficient holds for a mask on \(I_M\) with marginal \(p\) when groups of bits at mutual distance greater than \(r_M=o(M)\) are independent. This includes independent blocks of length at most \(r_M\) with a prescribed uniform retention fraction inside each block. Indeed the \(L\) bits in a typical fiber of period \(v\sim M/L\) are independent. Two fiber occupancies can be dependent only if their residues are at cyclic distance at most \(r_M\). The variance of their total is \(O(v(r_M+1))\), and the variance of \(N\) is \(O(M(r_M+1))\). Both are \(o(M^2)\). |
| 76 | + |
| 77 | +## 3. A bound uniform in the shape of a cyclic template |
| 78 | + |
| 79 | +**Lemma 6 (weighted window count).** Partition \(I_V\) into a bounded number of cells, each consisting of one residue class modulo a fixed \(d\) inside an interval. Write \(l_j\) for the number of sites in cell \(j\). For any integer Sidon set of size \(k\) let \(k_j\) be its cell counts. For every integer \(u\ge1\), |
| 80 | +\[ |
| 81 | + \sum_j\frac{k_j^2}{l_j+u}\ \le\ 1+\frac{k-1}{u}. \tag{1} |
| 82 | +\] |
| 83 | +In particular for cell weights \(0\le w_j\le1\), |
| 84 | +\[ |
| 85 | + \sum_j w_j k_j\le \sqrt{\sum_j l_jw_j^2}+o(\sqrt V). |
| 86 | + \tag{2} |
| 87 | +\] |
| 88 | +If \(k/\sqrt V\to1\), then \(\sum_j |k_j-k l_j/V|=o(\sqrt V)\). All errors are uniform in the cuts and the Sidon set for fixed cell count and, for the last statement, a given vanishing relative size error. |
| 89 | + |
| 90 | +*Proof.* Within each cell, number sites consecutively in steps of \(d\). Replace each mark by the \(u\) consecutive positions starting there, allowing positions beyond the cell in that cell's own count. The multiplicities \(m_{j,z}\) have sum \(uk_j\) on at most \(l_j+u\) positions. In \(\sum_{j,z}m_{j,z}(m_{j,z}-1)\), a positive difference \(ad\) with \(1\le a<u\) contributes at most \(2(u-a)\), since at most one ordered increasing pair of the original Sidon set has that difference. The total is at most \(u(u-1)\). Add the diagonal \(uk\) and apply Cauchy–Schwarz in each cell to get (1). Distinct positive differences imply \(\binom k2\le V-1\), so \(k=O(\sqrt V)\). Take \(u=\lceil V^{3/4}\rceil\) in (1) and apply weighted Cauchy–Schwarz to get (2). |
| 91 | + |
| 92 | +For the last claim let \(W=\sum_j(l_j+u)=V+o(V)\). Expanding the square gives |
| 93 | +\[ |
| 94 | + \sum_j\frac{(k_j-k(l_j+u)/W)^2}{l_j+u} |
| 95 | + \le 1+(k-1)/u-k^2/W=o(1). |
| 96 | +\] |
| 97 | +Cauchy–Schwarz and \(\sum_j|k(l_j+u)/W-k l_j/V|=o(\sqrt V)\) give the claimed absolute deviations. This is the sliding-window estimate used for interval Sidon bounds, with one count kept for each cell. [Phal and Gemini, interval bounds and near-extremal sets](https://github.com/shubhamphal/erdos-530/blob/42a01f6/paper/erdos_530.tex) |
| 98 | + |
| 99 | +**Lemma 7 (how many templates can be tested).** Given a cyclic Sidon set \(T\) and independent, site-dependent deletion probabilities, the largest section over \(T\) is the number of its occupied residues. This is a sum of independent indicators, one per nonempty host fiber indexed by \(T\). For any prescribed family of \(\exp(o(\sqrt M))\) templates and periods, simultaneously these counts are within \(o(\sqrt M)\) of their respective means with probability tending to one. |
| 100 | + |
| 101 | +*Proof.* For \(v\le M\), directed cyclic differences give \(|T|(|T|-1)\le v-1\). For \(v>M\), the representatives of \(T\) in \(I_M\) themselves form an integer Sidon set, of size \(O(\sqrt M)\). Thus there are uniformly \(O(\sqrt M)\) summands. Hoeffding's inequality at deviation \(\epsilon\sqrt M\) gives \(2\exp(-c\epsilon^2\sqrt M)\) for each fixed \(\epsilon>0\), enough for the union bound. The family is chosen before retention. Every choice of which surviving lift to take over a given template is included. |
| 102 | + |
| 103 | +For any fixed \(0<a<C<\infty\) and any \(\eta_M\to0\) with \(\eta_M\ge0\), the family of **all** cyclic Sidon sets \(|T|\ge(1-\eta_M)\sqrt v\) for \(aM\le v\le CM\) satisfies the count hypothesis. To see this, fix a sufficiently small \(\tau>0\) and take \(M\) large enough that \(\eta_M\le\tau\). Regard the residues as integer representatives. The accepted interval covering at relative deficit \(\tau\le1/100\) supplies \(\exp(o(\sqrt v))\) containers of size at most \((1+96\tau)\sqrt v\), uniformly here for each fixed \(\tau\). Inside any container a template at that threshold omits at most \(97\tau\sqrt v\) points. The sum of the corresponding binomial coefficients has logarithm \(O(\tau\log(1/\tau)\sqrt v)+O(\log v)\), by \(\binom{b}{j}\le(eb/j)^j\) for \(j>0\). The \(O(M)\) periods add \(O(\log M)\) to the logarithm. First let \(M\) grow and then \(\tau\) decrease to zero. [Covering theorem for every sufficiently small deficit](../upper-large-deficit/NOTES.md) |
| 104 | + |
| 105 | +## 4. Two half-density hosts with smaller section maxima |
| 106 | + |
| 107 | +Call a cyclic template *near-maximal* when \(|T|\ge(1-\eta_M)\sqrt v\) for a given \(\eta_M\ge0\) tending to zero. In the statements about the largest near-maximal section, allow **all moduli \(1\le v\le CM\)** for any fixed \(C\ge1\), and all such cyclic Sidon sets, translates and choices of representatives. A Singer template satisfies even the threshold \(|T|\ge\sqrt v\). |
| 108 | + |
| 109 | +**Theorem 8 (explicit deterministic host).** Divide \(I_M\) into 22 consecutive blocks by \(i=\lfloor22x/M\rfloor\). In physical order their deletion percentages are |
| 110 | +\[ |
| 111 | + (62,61,58,56,74,71,49,32,4,0,7,100,100,100,100,100,0,0,27,99,0,0). |
| 112 | +\] |
| 113 | +Write \(a_i\) for the indicated integer. Put \(b=200\), \(j=\lfloor4x/M\rfloor\), and include the integer \(x\) in \(A_M\) exactly when |
| 114 | +\[ |
| 115 | + \left\lfloor x/b^j\right\rfloor\bmod b < 2(100-a_i). \tag{3} |
| 116 | +\] |
| 117 | +Then \(N=|A_M|=M/2+O(1)\). Its largest near-maximal section has size |
| 118 | +\[ |
| 119 | + (1/\sqrt2+o(1))\sqrt N. |
| 120 | +\] |
| 121 | +Every half-density subset of an interval admits a section at least this large asymptotically. The coefficient \(1/\sqrt2\) is therefore optimal for this host comparison. For the full Sidon maximum of (3) the bounds proved here are \((1/\sqrt2-o(1))\sqrt N\le s(A_M)\le(1+o(1))\sqrt N\). Every Sidon subset of (3) contained in a single arithmetic progression of integer step at least two has size at most \((1/\sqrt2+o(1))\sqrt N\). |
| 122 | + |
| 123 | +**Theorem 9 (any prescribed family of cyclic templates).** Divide \(I_M\) into eight equal-length blocks up to integer rounding. Independently delete sites with probabilities |
| 124 | +\[ |
| 125 | + (55,62,30,53,62,64,28,46)/100 |
| 126 | +\] |
| 127 | +in their physical order. Again \(N/M\to1/2\), in probability. For any prescribed family of \(\exp(o(\sqrt M))\) cyclic templates of **arbitrary sizes and periods**, with probability tending to one every section has size at most |
| 128 | +\[ |
| 129 | + \left(\sqrt{13822219/25000000}+o(1)\right)\sqrt N < 0.744\sqrt N |
| 130 | +\] |
| 131 | +for sufficiently large \(M\) on the stated event. For the family of all near-maximal templates of bounded period ratio specified above, the maximum divided by \(\sqrt N\) converges in probability to \(\sqrt{135421579107/250000000000}=0.735993\ldots\). Under independent uniform retention at the same density, the near-maximal section maximum divided by \(\sqrt N\) converges to \(3/4\). |
| 132 | + |
| 133 | +### Computing all possible ratios of period to interval length |
| 134 | + |
| 135 | +Let \(d(z)\) be the deletion probability on the block containing \(z\in[0,1)\). For \(t=v/M\) and \(0\le u<t\), define |
| 136 | +\[ |
| 137 | + y_t(u)=1-\prod_{j\ge0,\ u+jt<1} d(u+jt),\qquad |
| 138 | + I(t)=\int_0^t y_t(u)\,du,\qquad J(t)=\int_0^t y_t(u)^2\,du . |
| 139 | +\] |
| 140 | +Use an empty product of one. We first treat independent deletions. The independent retention bits in a fiber give exactly the hit probability \(y_t(a/M)\) at residue \(0\le a<v\). For \(1/4\le t\le1\) there are at most four sites per fiber. The weight \(y_t\) is constant between the projected block boundaries, with a uniformly bounded number of intervals. Passing from a cell integral to the number of its integer sites times \(1/M\) costs \(O(1/M)\) per cell. |
| 141 | + |
| 142 | +Apply (2) of Lemma 6 to the representatives of \(T\) in \(I_v\), with the cell's hit probability as weight. Their expected section size divided by \(\sqrt{M/2}\) is at most \(\sqrt{2J(t)}+o(1)\), uniformly for all \(T\). For a near-maximal template, the last part of Lemma 6 instead gives the value |
| 143 | +\[ |
| 144 | + H(t)=\sqrt{2/t}\ I(t) \tag{4} |
| 145 | +\] |
| 146 | +up to \(o(1)\). For \(v<M/4\) the cardinality bound \(|T|\le\sqrt v+1\) already gives coefficient at most \(1/\sqrt2+o(1)\). For \(v\ge M\) the usable template sites in \(I_M\) form an integer Sidon set, so (2) with \(V=M\) bounds the normalized expected score by \(\sqrt{2J(1)}+o(1)\), even when \(v/M\) is unbounded. For near-maximal templates with \(1\le t\le C\), equidistribution on \(I_v\), including the zero-weight sites beyond \(I_M\), gives \(H(t)=1/\sqrt{2t}\). |
| 147 | + |
| 148 | +Both integrals are continuous and affine between a finite list of rational breakpoints. For \(m\) equal blocks the possible boundaries in \(u\) are \(0,t\) and \(i/m-jt\), with \(0\le i\le m\), \(0\le j\le3\). Their order can change only at |
| 149 | +\[ |
| 150 | + t=\frac{k}{m e},\qquad 1\le k\le m,\quad 1\le e\le4. |
| 151 | +\] |
| 152 | +Include the endpoints \(1/4,1\) and keep just ratios in this range. On each intervening interval the widths of the cells are affine in \(t\), with the same hit probability on each cell. At a crossing the cells that disappear have zero width. Thus the maximum of \(J(t)\) occurs at an endpoint. If the two endpoint values of \(I(t)\) are bounded by \(K\sqrt t\), linear interpolation and concavity of \(\sqrt t\) extend that bound throughout. Thus the maximum of \(I(t)/\sqrt t\) also occurs at an endpoint. |
| 153 | + |
| 154 | +At a breakpoint reduce \(mt=k/e\). In units of \(1/(me)\), the first period has \(k\) cells and the host has \(me\). For each \(0\le r<k\) put \(y_r=1-\prod_{x=r,r+k,\ldots<me} d_{\lfloor x/e\rfloor}\), with \(d_i\) the block deletion probabilities. The two integrals are exactly \(\sum_r y_r/(me)\) and \(\sum_r y_r^2/(me)\). A numerical search proposed the two block profiles. These finite rational sums certify the displayed percentages. |
| 155 | + |
| 156 | +| Profile | Number of breakpoints | Quantity | Maximum squared | Attaining \(v/M\) | |
| 157 | +|---|---:|---|---:|---:| |
| 158 | +| Eight blocks | 11 | Near-maximal sections, \(2I(t)^2/t\) | \(135421579107/250000000000\) | \(3/8\) | |
| 159 | +| Eight blocks | 11 | All template sizes, \(2J(t)\) | \(13822219/25000000\) | \(3/4\) | |
| 160 | +| 22 blocks | 27 | Near-maximal sections, \(2I(t)^2/t\) | \(1/2\) | \(1\) | |
| 161 | +| 22 blocks | 26 endpoints below 1 | Near-maximal sections, \(2I(t)^2/t\) | \(195504581281/391875000000\) | \(19/66\) | |
| 162 | +| Uniform deletion \(1/2\) | — | Both quantities | \(9/16\) | \(1/2\) | |
| 163 | + |
| 164 | +For the last row, between \(1/(L+1)\) and \(1/L\), both integrals are affine. At \(1/L\) every hit probability is \(1-2^{-L}\) up to endpoints of measure zero. Both squared scores there equal \(2(1-2^{-L})^2/L\). Proposition 3 gives the maximum. The same calculation with normalization by \(pM\) shows why \(F(p)\) is the sharp section benchmark for uniform thinning when the family contains a Singer template at the optimal scale. |
| 165 | + |
| 166 | +Lemma 7 now gives the upper estimates in Theorem 9, including the family containing every near-maximal template of bounded period ratio. To attain the near-maximal value, choose a prime \(q\) with \(q^2+q+1\sim3M/8\) and use its Singer template. Continuity of the integral, the near-maximal cell count, and concentration give (4). The same argument at \(v\sim M/2\) gives equality for the uniform profile. A prescribed family may include every unit dilation and translate of each template it lists whenever its total size still satisfies the count in Lemma 7. |
| 167 | + |
| 168 | +### Why the digit construction works without random deletion |
| 169 | + |
| 170 | +Let \(D=b^4\). If \(a\) is uniform modulo \(D\), then for distinct positions \(j_1,\ldots,j_r\in\{0,1,2,3\}\) and arbitrary integer shifts \(h_1,\ldots,h_r\), the digits at positions \(j_s\) of \(a+h_s\) are independent, each uniform modulo \(b\). To verify this, expose the four digits of \(a\) in increasing order. At any requested position the carry from its own shift is known from the lower digits. Adding that carry and the shift digit permutes the new uniform digit. This also proves the assertion when one of the shifts causes wraparound modulo \(D\). |
| 171 | + |
| 172 | +On each intersection of a physical block and a quarter, (3) has period \(D\) and the exact desired retention fraction per full period. Counting partial periods gives \(N=M/2+O(1)\), with \(D\) fixed throughout. If \(44D\mid M\), the density is exactly \(1/2\). For \(1/4\le t\le C\), different sites over the same residue lie in **different quarters**. Refine the cells of starts \(a\) by all projected block and quarter boundaries. In a cell the list of occupied physical blocks and digit positions to test is fixed. As \(a\) ranges over a full residue system modulo \(D\), the shifted-digit identity with shifts \(0,v,2v,\ldots\) makes the fraction of successful starts exactly \(y_t\). The count over a partial period costs \(O(D)\). Thus the set of hit residues in \(I_v\) is a union of a bounded number of cells of the form used in Lemma 6, with common difference \(D\), and its size is \(M I(t)+O(1)\). The constants are independent of \(M,v\) for fixed \(C\). |
| 173 | + |
| 174 | +Every near-maximal cyclic Sidon template on \(I_v\) has its proportionate intersection with these hit cells up to \(o(\sqrt M)\), uniformly by Lemma 6. This proves (4) for the deterministic host simultaneously for every such template. The rational 22-block row and the small-period bound prove the upper estimate of Theorem 8. For the lower estimate one can take a Singer period \(v\le M\) with \(v/M\to1\) and average its translates. Even if the host is arbitrary, passing from \(M\) sites to residues modulo this \(v\) merges at most \(M-v=o(M)\) sites. This proves optimality among all half-density hosts for the stated family. |
| 175 | + |
| 176 | +The near-maximal result also allows an arbitrary affine projection \(x\mapsto ux+c\bmod v\). Put \(g=\gcd(u,v)\), \(v'=v/g\). The usable labels on the domain modulo \(v'\) form a cyclic Sidon set, so \(v'<M/4\) is covered by the small-period bound. Otherwise \(g\le4C\). Translate the template, then apply the inverse of a unit modulo \(v\) congruent to \(u/g\bmod v'\). Such a unit exists by choosing its residue to be one at any prime dividing \(v\) but not \(v'\), using the Chinese remainder theorem. The eligible residues \(a\) modulo \(v'\) are now those with \(ga\) in the transformed template. Multiplying a hit cell by \(g\) gives a single residue class modulo \(gD\) in an interval of \(I_v\). Lemma 6 therefore gives the score in (4) at \(t=v'/M\) times \(1/\sqrt g\), up to \(o(1)\). The direct projection attains the stated maximum. |
| 177 | + |
| 178 | +For the upper bound on the actual \(s(A_M)\), apply (2) in \(I_M\) with weights zero and one on the cells that define (3). This gives \(\sqrt N+o(\sqrt M)\). For each parity, the count of retained sites is \(N/2+O(1)\). In quarter zero the digit threshold is even and selects equal numbers of even and odd digits. In every later quarter the tested digit is independent of the lowest digit on a full period. Each residue modulo three likewise contains \(N/3+O(1)\) retained sites since \(\gcd(3,D)=1\). Compress a single class modulo \(g=2\) or \(3\) by \(a+gz\mapsto z\). Its indicator still consists of fixed-period cells in intervals, so (2) on the compressed interval bounds the size by \(\sqrt{N/g}+o(\sqrt M)\). A progression of step \(g\ge4\) has at most \(\lceil M/4\rceil\) possible sites. Formula (1) with one cell gives the ordinary interval bound \(\sqrt V+O(V^{1/4}+1)\) for \(V\) sites, by the same choice of \(u\) and the difference estimate in its proof. This proves the assertion about all proper progressions. |
| 179 | + |
| 180 | +The deterministic host can be made to have each prescribed cardinality \(n\). Take a multiple \(M\) of \(44D\) just large enough that \(M/2\ge n\) and trim at most \(22D\) sites. All asymptotic coefficients persist. For the independent block construction one can take \(M=2n+\lceil n^{2/3}\rceil\). Its variance is \(O(M)\), so with probability tending to one it can be trimmed to \(n\) by removing \(o(M)\) sites. The upper bounds persist by inclusion, and the translated-template lower bound persists by the occupied-residue argument in §1. |
| 181 | + |
| 182 | +### A finite version for the deterministic host |
| 183 | + |
| 184 | +**Corollary.** For (3), every \(M\ge2^{362}\), every \(1\le v\le2M\), and every cyclic Sidon template of size \(k\ge(1-10^{-6})\sqrt v\), every section has size strictly less than \((71/100)\sqrt N\). |
| 185 | + |
| 186 | +*Proof.* Set \(\eta=10^{-6}\). At \(M/4\le v\le2M\) the segment decomposition of the starts has at most 128 intervals. Indeed there are at most 28 physical block and quarter boundaries for each of four possible lifts, plus the two ends. On each segment the discrepancy between the number of hit residues and its physical length times \(y_t\) is at most \(D+1\), since a run of \(D\) consecutive integer starts has exactly the period average and rounding the length costs less than one. Thus the hit count is at most \(M I(t)+2^{38}\), and the total number \(J_0\) of cells after splitting all segments modulo \(D\) is at most \(128D<2^{38}\). The same period count on the physical host gives \(|N-M/2|<2^{38}\). |
| 187 | + |
| 188 | +Put \(u=\lceil v^{3/4}\rceil\) and \(\alpha=J_0u/v\). Since \(v\ge2^{360}\), \(\alpha\le2^{-51}\) and \((k-1)/u\le2^{-90}\), using \(k\le\sqrt v+1\). In Lemma 6 the squared deviation is at most |
| 189 | +\[ |
| 190 | + 1+(k-1)/u-k^2/(v+J_0u)\le 2\eta+\alpha+2^{-90}. |
| 191 | +\] |
| 192 | +Here \((1-\eta)^2/(1+\alpha)\ge1-2\eta-\alpha\). Sum the deviations over the hit cells by Cauchy–Schwarz. If \(H\) is the number of hit residues, the section size is at most |
| 193 | +\[ |
| 194 | + \frac{H}{\sqrt v}+1+k\alpha+ |
| 195 | + \sqrt{v(1+\alpha)(2\eta+\alpha+2^{-90})}. |
| 196 | +\] |
| 197 | +Indeed the centering on the hit cells contributes at most \(kH/v+k\alpha\), and \(kH/v\le H/\sqrt v+1\). |
| 198 | + |
| 199 | +Normalize by \(\sqrt{M/2}\). The integral part of \(H/\sqrt v\) contributes at most \(1/\sqrt2\) by the 22-block row and the formula for \(t\ge1\). The hit-count discrepancy, the additive one and \(k\alpha\) together contribute at most \(2^{-322}+2^{-180}+3\cdot2^{-51}<\eta\). Since \((1+2^{-51})(2\eta+2^{-51}+2^{-90})<1/700^2\) and \(v\le2M\), the square root contributes at most \(1/350\). At \(v<M/4\), the single bound \(k\le\sqrt v+1\) is already sufficient. Finally \(N\ge(1-\eta)M/2\), \(1/\sqrt2<707107/10^6\), and |
| 200 | +\[ |
| 201 | + (707107/10^6+1/350+\eta)^2<(71/100)^2(1-\eta). |
| 202 | +\] |
| 203 | +These comparisons are rational and are included in the checker. |
| 204 | + |
| 205 | +## 5. Sifting residue classes |
| 206 | + |
| 207 | +**Proposition 10.** Fix a period \(d\) and independent deletion probabilities \(a_0,\ldots,a_{d-1}\) by residue, of mean \(1-p\). For a near-maximal template with \(v\equiv c\bmod d\) and \(\lambda=M/v\) bounded above and away from zero, put |
| 208 | +\[ |
| 209 | + A_{n,c}=1-\frac1d\sum_{r=0}^{d-1}\prod_{j=0}^{n-1}a_{(r+jc)\bmod d}, |
| 210 | + \qquad n=\lfloor\lambda\rfloor,\quad \theta=\lambda-n . |
| 211 | +\] |
| 212 | +Its normalized expected section size equals |
| 213 | +\[ |
| 214 | + \frac{(1-\theta)A_{n,c}+\theta A_{n+1,c}}{\sqrt{\lambda p}}+o(1). |
| 215 | + \tag{5} |
| 216 | +\] |
| 217 | +For a given step, the best value of this expression occurs at an integer \(\lambda\). Indeed the two consecutive segments of starts in \(I_v\) have respectively \(n+1\) and \(n\) lifts and length fractions \(\theta,1-\theta\). In each segment, counting the \(d\) starting residues and applying Lemma 6 gives (5). The numerator is affine and \(\sqrt\lambda\) is concave. Use \(A_{0,c}=0\) at the left endpoint. As in Lemma 7, the estimate gives a simultaneous bound with high probability for all near-maximal templates at comparable periods. |
| 218 | + |
| 219 | +For a balanced periodic sieve, let \(R\subset\mathbb Z/d\) have fraction \(\rho\), with every cyclically consecutive \(n\) positions meeting \(R\) in \(\lfloor n\rho\rfloor\) or \(\lceil n\rho\rceil\) sites. Such a pattern is given by the successive increments of \(\lfloor j\rho\rfloor\), for \(d\rho\) integral. Use two deletion probabilities \(a,b\), according to membership in \(R\). For step one the missed probability is the average of \(a^k b^{n-k}\) at the two neighboring counts. This function is convex in \(k\) for positive \(a,b\), and zero probabilities follow by continuity. The line through the two neighboring values lies below the function at every other integer, so the average is at most its binomial expectation \((\rho a+(1-\rho)b)^n\). For integral \(n\rho\) this is ordinary Jensen. Singer supplies periods of step one at the required scale by taking primes \(q\equiv-1\bmod d\) with \(q\sim\sqrt{M/n}\), using the prime number theorem in a fixed reduced residue class. Thus a balanced sieve always admits at least \(F(p)\). |
| 220 | + |
| 221 | +For example, forbid one class modulo four and retain each remaining site with probability \(2/3\). Then \(p=1/2\). The best comparable-period near-maximal section coefficient is \(7/9\), attained by step one at \(\lambda=2\). Two consecutive sites contain either one or two allowed sites with equal frequency, giving \(1-(1/3+1/9)/2=7/9\). The checker maximizes (5) over every step and integer length. This carried width-three sieve is also an instance of Proposition 2. |
| 222 | + |
| 223 | +**Proposition 11 (a sieve tuned to the classical periods).** In physical residue order modulo 14, take the deletion probabilities |
| 224 | +\[ |
| 225 | + (200,97,102,101,91,58,100,102,100,58,91,101,102,97)/200 . |
| 226 | +\] |
| 227 | +They have mean \(1/2\) and forbid the zero residue. For near-maximal templates of Singer, Bose–Chowla and Ruzsa periods, the best normalized section coefficient is **\(14999/20000\)**. This is smaller than the uniform half-density benchmark by exactly \(1/20000\). |
| 228 | + |
| 229 | +*Proof.* The three period formulas are \(q^2+q+1,\ q^2-1,\ q(q-1)\). Evaluating them at all integer residues \(q\bmod14\) gives the superset of possible steps |
| 230 | +\[ |
| 231 | + 0,1,2,3,6,7,8,10,12,13 . |
| 232 | +\] |
| 233 | +For \(n=1\) the coefficient is \(1/\sqrt2\), and \(n\ge4\) gives at most \(1/\sqrt2\). Across the displayed steps \(A_{3,c}\le7/8\), and the largest \(A_{2,c}\) is \(14999/20000\), attained only at \(c=7\). These rational sums use (5). At \(n=2\) the normalizing denominator equals one. Primes \(q\equiv11\bmod14\) give Singer periods of step seven with \(v\sim M/2\) by the prime number theorem in this fixed progression. Lemma 7 and the translate lower bound justify the maximum with high probability. The standard finite constructions are also exercised by the checker. [Finite-field constructors and descriptions](../../erdos30/b3_slack/NOTES.md) |
| 234 | + |
| 235 | +The same upper coefficient holds upon adding a prescribed family of \(\exp(o(\sqrt M))\) standard templates of periods larger than \(M\), even unbounded relative to \(M\). Each contributes a fixed integer Sidon set inside \(I_M\) with at most one possible lift per mark. Its normalized mean is at most \(\sqrt{76861/140000}+o(1)\) by (2), since the mean squared retention is \(76861/280000\). This is below \(14999/20000\). For comparison, step five would give \(A_{2,5}=213789/280000>3/4\). At such a period \(v\sim M/2\), the occupied fraction converges to \(A_{2,5}\) by independence of disjoint fibers. A cyclic Sidon set of size exceeding \((70000/71263+\epsilon)\sqrt v\) would therefore restore \(3/4\) by the translate average, independently of the distribution of its marks within a period. This identifies the specific modular restriction in Proposition 11. |
| 236 | + |
| 237 | +## What would be needed for an upper bound on Erdős #530? |
| 238 | + |
| 239 | +For boxes satisfying Theorem 1, any upper-tail improvement from equal-probability deletion would also hold on the interval by the finite coupling. For the row and column models and balanced periodic sieves the surviving sections already enforce \(F(p)\). The two hosts in §4 remove that obstruction at \(p=1/2\). Theorem 8 leaves room between \(1/\sqrt2\) and \(1\) for the true normalized maximum. Theorem 9 controls every choice of lifts over each prescribed template, even though there can be exponentially many such choices. A covering of large Sidon subsets by these sections, or a bound for the subsets outside such a covering, would be a further theorem. Indeed if arbitrary templates can be selected after deletion, every integer Sidon subset of \(I_M\) is a cyclic Sidon template at period \(2M\). |
| 240 | + |
| 241 | +At half density, a proposed bound \(c\sqrt N\) asks for control down to \(c\sqrt{M/2}+o(\sqrt M)\). Already at \(c=427/428\) this has deficit \(1-427/(428\sqrt2)>1-1/\sqrt2\) on the interval scale. The accepted one-step proof covers deficits through \(2/25\). At \(1-1/\sqrt2\) there are parity-supported seeds with containers of linear size for every sublinear-in-\(\sqrt M\) internal fingerprint. On the unthinned support of the 14-period sieve, take an odd Sidon seed of size \((1/\sqrt2+o(1))\sqrt M\) by dilating an interval Singer ruler by two and translating. Every odd site is allowed. Among the \(3M/7+O(1)\) allowed even sites, only a midpoint of two fingerprint marks can conflict with an all-odd fingerprint. A fingerprint of size \(o(\sqrt M)\) excludes only \(o(M)\) such midpoints. Thus a proof for unrestricted subsets at these parameters needs additional host information or a different cover. [Container range and parity obstruction, §6](../upper-large-deficit/NOTES.md) · [Finite \(427/428\) argument, §4](../upper-smaller-k/NOTES.md) |
| 242 | + |
| 243 | +## Reproduce |
| 244 | + |
| 245 | +From the repository root, run with Python 3.10 or later and NumPy for the existing finite-field constructors. |
| 246 | + |
| 247 | + python3 -B experiments/erdos530/upper-hosts/check.py |
| 248 | + scripts/check.sh |
| 249 | + |
| 250 | +The checker uses integer and rational arithmetic for the constants and rational enclosures for square roots. It checks every breakpoint by both a unit-grid sum and integration between projected boundaries, checks interpolation at intermediate ratios, tests the window inequality on finite Sidon sets, and exercises the digit rule and sections of actual cyclic sets. The mathematical claims above are on paper. The repository check covers the existing Lean development. The three offline papers consulted were Phal and Gemini on random interval deletion, Park on the \(2/(3\sqrt3)\) lower bound, and Bailleul and Riblet on Freiman morphisms and Singer covering. Broader literature and priority for the host comparisons could not be checked offline. [Phal and Gemini](https://github.com/shubhamphal/erdos-530/blob/42a01f6/paper/erdos_530.tex) · [Park](https://doi.org/10.5281/zenodo.24528338) · [Bailleul and Riblet](https://arxiv.org/abs/2605.03181) |