| | @@ -0,0 +1,167 @@ |
| 1 | +# A random phase in the Sidon subset bound for Erdős #530 |
| 2 | + |
| 3 | +A set is Sidon if $a+b=c+d$ within the set forces the two unordered |
| 4 | +pairs, counted with multiplicity, to agree. Let $\ell(n)$ be the minimum, |
| 5 | +over all $n$-element subsets of $\mathbb R$, of the size of a largest |
| 6 | +Sidon subset. [Erdős #530](https://www.erdosproblems.com/530) asks whether |
| 7 | +$\ell(n)\sim\sqrt n$. The interval $\{1,\ldots,n\}$ gives the upper |
| 8 | +bound $(1+o(1))\sqrt n$ by the Erdős–Turán bound. |
| 9 | + |
| 10 | +Komlós, Sulyok and Szemerédi obtained a lower bound of the correct order |
| 11 | +in 1975, with constant about $0.0000305$. Abbott raised it to $0.0805$ |
| 12 | +in 1990. Bailleul and Riblet obtained $1/(3\sqrt3)\approx0.19245$ by |
| 13 | +compressing a subset into a cyclic group with a map that preserves |
| 14 | +two-term sum equalities, then using a cyclic Sidon set. This note follows |
| 15 | +their construction and sharpens the collision estimate in their |
| 16 | +compression argument by adding an independent random phase. |
| 17 | +[Komlós–Sulyok–Szemerédi (1975)](https://doi.org/10.1007/BF01895954), |
| 18 | +[Abbott (1990)](https://doi.org/10.4153/CMB-1990-056-6), |
| 19 | +[Bailleul–Riblet (arXiv:2605.03181, Eur. J. Combin. 139 (2027), 104443)](https://arxiv.org/html/2605.03181v1). |
| 20 | + |
| 21 | +**Theorem.** As $n\to\infty$, |
| 22 | +$$ |
| 23 | +\ell(n)\ge \left(\frac{2}{3\sqrt3}+o(1)\right)\sqrt n. |
| 24 | +$$ |
| 25 | + |
| 26 | +## Compression and the collision probability |
| 27 | + |
| 28 | +First take $A\subset\mathbb Z$ with $|A|=n$. For an integer $m\ge1$, |
| 29 | +choose $\theta,\eta$ independently and uniformly on $[0,1)$. Write |
| 30 | +$$ |
| 31 | +x_a=am\theta+\eta,\qquad |
| 32 | +B=\{a\in A:\{x_a\}<1/2\},\qquad |
| 33 | +\phi(a)=\lfloor x_a\rfloor\bmod m. |
| 34 | +$$ |
| 35 | +Here $\{x\}$ denotes fractional part. For each fixed $\theta$, the |
| 36 | +fractional part of $x_a$ is uniform because $\eta$ is uniform, so |
| 37 | +$\Pr(a\in B)=1/2$ for every $a$. |
| 38 | + |
| 39 | +If $a+b=c+d$ with all four terms in $B$, then $x_a+x_b=x_c+x_d$. |
| 40 | +The two sums of fractional parts each lie in $[0,1)$. Their difference |
| 41 | +is an integer, since it equals the difference of the corresponding sums |
| 42 | +of floors up to sign. It is therefore zero. Reducing the equal sums of |
| 43 | +floors modulo $m$ proves that $\phi$ is a Freiman $2$-morphism on $B$. |
| 44 | + |
| 45 | +**Collision lemma.** For every distinct $a,a'\in A$, |
| 46 | +$$ |
| 47 | +\Pr(a,a'\in B,\ \phi(a)=\phi(a'))=\frac1{4m}. |
| 48 | +$$ |
| 49 | + |
| 50 | +Set $v=\{x_{a'}\}$, which is uniform on $[0,1)$ conditional on |
| 51 | +$\theta$, hence independent of $\theta$. Write |
| 52 | +$x_a-x_{a'}=(a-a')m\theta=mk+e$ with $k\in\mathbb Z$ and |
| 53 | +$e\in[-m/2,m/2)$. The difference ranges over $|a-a'|$ whole periods |
| 54 | +of length $m$, so $e$ is uniform on this interval and independent |
| 55 | +of $v$. |
| 56 | + |
| 57 | +A collision means the floors differ by a multiple of $m$. |
| 58 | +When both points are retained, their fractional parts differ by a |
| 59 | +number in $(-1/2,1/2)$. Under a collision that number is congruent |
| 60 | +to $e$ modulo $m$ and lies in the centered representative interval |
| 61 | +$[-m/2,m/2)$. It must equal $e$. Consequently a collision occurs |
| 62 | +exactly when both $v$ and $v+e$ lie in $[0,1/2)$. Indeed, in this |
| 63 | +case the fractional part of $x_a$ is $v+e$ and the floors differ by |
| 64 | +$mk$. The allowed interval for $v$ has length |
| 65 | +$\max(1/2-|e|,0)$. Integrating gives |
| 66 | +$$ |
| 67 | +\Pr(\text{collision}) |
| 68 | +=\frac1m\int_{-1/2}^{1/2}(1/2-|e|)\,de |
| 69 | +=\frac1{4m}. |
| 70 | +$$ |
| 71 | + |
| 72 | +In Bailleul and Riblet's construction ($\eta=0$), a collision implies |
| 73 | +$\operatorname{dist}((a-a')\theta,\mathbb Z)<1/(2m)$. |
| 74 | +This necessary condition alone has probability $1/m$. Using it to |
| 75 | +bound collisions discards the requirement that both fractional parts |
| 76 | +lie in the retained half-interval. With only $\theta$ random, the |
| 77 | +exact collision probability varies by pair. For instance, with $m=5$ |
| 78 | +the exact arithmetic checker gives the following values. |
| 79 | + |
| 80 | +| Pair $(a,a')$ | Collision probability without the phase | |
| 81 | +| --- | ---: | |
| 82 | +| $(1,0)$ | $1/(2m)$ | |
| 83 | +| $(1,3)$ | $1/(3m)$ | |
| 84 | +| $(3,5)$ | $4/(15m)$ | |
| 85 | +| $(6,1)$ | $5/(12m)$ | |
| 86 | + |
| 87 | +The phase makes the overlap calculation uniform over all pairs. |
| 88 | +[Bailleul–Riblet, proof of Lemma 2.3](https://arxiv.org/html/2605.03181v1). |
| 89 | + |
| 90 | +## Extraction and optimization |
| 91 | + |
| 92 | +Let $S\subset\mathbb Z/m\mathbb Z$ be Sidon for sums modulo $m$. |
| 93 | +Choose an independent uniform translate $t+S$. For each residue |
| 94 | +$s\in t+S$ with $N_s=|B\cap\phi^{-1}(s)|>0$, keep one element |
| 95 | +from that fibre. The resulting set $K$ is Sidon. An equality of sums |
| 96 | +in $K$ maps to an equality in $t+S$ by the Freiman property. |
| 97 | +Subtract $2t$ and apply the Sidon property of $S$ to get equality |
| 98 | +of the unordered pairs of labels. The map is injective on $K$, so |
| 99 | +the original pairs agree. |
| 100 | + |
| 101 | +Since $\mathbf{1}_{N_s\ge1}\ge N_s-\binom{N_s}{2}$, we can count |
| 102 | +retained elements and subtract unordered collisions. Each label lies in |
| 103 | +$t+S$ with probability $|S|/m$. The expected number of retained |
| 104 | +elements is $n/2$, and the expected number of colliding pairs is |
| 105 | +$\binom n2/(4m)$. Thus some choice of $(\theta,\eta,t)$ gives |
| 106 | +$$ |
| 107 | +|K|\ge \frac{|S|}{m} |
| 108 | +\left(\frac n2-\frac{n(n-1)}{8m}\right). \tag{1} |
| 109 | +$$ |
| 110 | + |
| 111 | +Use Singer's cyclic difference set for a prime $q$, with |
| 112 | +$m=q^2+q+1$ and $|S|=q+1$. Each nonzero residue occurs exactly once |
| 113 | +as an ordered difference of distinct elements of $S$, which implies |
| 114 | +the modular Sidon property by rearranging a sum equality as a |
| 115 | +difference equality. [Bailleul–Riblet, Lemma 2.5 and its reference to Singer](https://arxiv.org/html/2605.03181v1). |
| 116 | + |
| 117 | +Since $|S|/\sqrt m\to1$, if $m/n\to c>0$ the right side of (1) divided |
| 118 | +by $\sqrt n$ tends to |
| 119 | +$$ |
| 120 | +g(c)=\frac1{2\sqrt c}-\frac1{8c^{3/2}}. |
| 121 | +$$ |
| 122 | +Its derivative is $(3-4c)/(16c^{5/2})$, so its maximum is attained at |
| 123 | +$c=3/4$, where $g(c)=2/(3\sqrt3)$. The prime number theorem gives |
| 124 | +primes $q\sim\sqrt{3n/4}$, allowing $m/n\to3/4$. For comparison, |
| 125 | +using the $1/m$ collision estimate in the same count gives |
| 126 | +$1/(2\sqrt c)-1/(2c^{3/2})$, maximized at $c=3$ with value |
| 127 | +$1/(3\sqrt3)$. |
| 128 | + |
| 129 | +## From integers to reals |
| 130 | + |
| 131 | +Here is the Dirichlet approximation argument of Bailleul and Riblet's |
| 132 | +Lemma 2.7. For a real $n$-point set $\{a_1,\ldots,a_n\}$ with |
| 133 | +$n\ge2$, let $\Delta=\min_{i\ne j}|a_i-a_j|>0$ and take an integer |
| 134 | +$M>\max(4,2/\Delta)$. The $M^n+1$ vectors |
| 135 | +$(\{ka_i\})_{i=1}^n$, $0\le k\le M^n$, occupy $M^n$ cubes of |
| 136 | +side $1/M$. Subtract two vectors in the same cube to find an integer |
| 137 | +$r\ge1$ and integers $z_i$ with $|ra_i-z_i|<1/M$. The $z_i$ |
| 138 | +are distinct, since $r\Delta>2/M$. Every equality $a_i+a_j=a_k+a_l$ |
| 139 | +makes the integer $z_i+z_j-z_k-z_l$ have absolute value less than |
| 140 | +$4/M<1$. The map $a_i\mapsto z_i$ is therefore an injective |
| 141 | +Freiman $2$-morphism, which suffices to pull a Sidon subset back with |
| 142 | +the same size. If a Freiman $2$-isomorphism is desired, also take |
| 143 | +$4/M$ smaller than the least nonzero absolute two-sum difference in |
| 144 | +the original set. The one-point case is immediate. For a finite set |
| 145 | +in higher-dimensional real space, Lemma 2.6 first projects injectively |
| 146 | +to a line by choosing a direction nonorthogonal to every pair |
| 147 | +difference. [Bailleul–Riblet, Lemmas 2.6–2.7](https://arxiv.org/html/2605.03181v1). |
| 148 | + |
| 149 | +## Scope and checks |
| 150 | + |
| 151 | +The constant $2/(3\sqrt3)$ is the maximum provided by (1). |
| 152 | +The collision probability is exact, and the fractional-part threshold |
| 153 | +$1/2$ guarantees that the sum of two retained fractional parts stays |
| 154 | +below one. A larger threshold loses that guarantee. A stronger count |
| 155 | +of occupied fibres would require information beyond the pair |
| 156 | +calculation used here. |
| 157 | + |
| 158 | +The argument above is a paper proof. The companion Python checker |
| 159 | +uses exact rational arithmetic to integrate collision probabilities |
| 160 | +for selected pairs with and without the phase, and tests the floor |
| 161 | +identity on sampled inputs. It also constructs finite Singer sets, |
| 162 | +tests the extraction on several families of inputs, and checks each |
| 163 | +sampled output for the Sidon property. The universal probability |
| 164 | +formula and asymptotic theorem are established by the proof above. |
| 165 | +The repo's Lean lemmas cover related finite label and extraction |
| 166 | +steps. A Lean formalization of the full theorem is pending. |
| 167 | +[Checker](check.py), [experiment log](check.log), [accepted proof draft](NOTES.md). |