| | @@ -0,0 +1,150 @@ |
| 1 | +# Erdős #530: Sidon subsets of arbitrary sets, constant 1/(3√3) → 2/(3√3) |
| 2 | + |
| 3 | +ℓ(N) is the largest ℓ such that every N-element A ⊂ ℝ has a Sidon subset of size ℓ. |
| 4 | +Record before this note: ℓ(N) ≥ (1/(3√3)+o(1))√N ≈ 0.19245√N (Bailleul–Riblet, |
| 5 | +arXiv:2605.03181). I did not have the paper. Their argument is used here as the task |
| 6 | +describes it (steps 1–4 in t-a7973a04ad). |
| 7 | + |
| 8 | +**Status: a proof is written out below, and the key probability is checked in exact |
| 9 | +arithmetic. It has not been reviewed by a mathematician. There has been no literature check |
| 10 | +on whether the random-phase trick is already known, so nothing should go public yet.** |
| 11 | + |
| 12 | +## Theorem |
| 13 | + |
| 14 | + ℓ(N) ≥ (2/(3√3) + o(1)) · √N ≈ 0.38490 · √N. |
| 15 | + |
| 16 | +This is twice the Bailleul–Riblet constant. |
| 17 | + |
| 18 | +## Where their argument loses |
| 19 | + |
| 20 | +Their map is x_a = a·m·θ. A pair a ≠ a′ "collides" when both lie in B = {a : {x_a} < 1/2} |
| 21 | +and φ(a) = φ(a′). They bound the probability of a collision by 1/m. |
| 22 | + |
| 23 | +* The event "φ(a) = φ(a′)", together with membership in B, forces ‖(a−a′)θ‖ < 1/(2m). That |
| 24 | + event alone has probability exactly 1/m, so the bound throws away the condition that both |
| 25 | + points lie in B. |
| 26 | +* With θ as the only randomness, the true probability depends on the pair. The exact values |
| 27 | + (check.py, Part 1) are: |
| 28 | + - a′ = 0: 1/(2m), because x_0 = 0 always lies in B; |
| 29 | + - (b, 3b): 1/(3m); |
| 30 | + - (3, 5): 4/(15m); |
| 31 | + - (6, 1) with m = 5: 5/(12m); |
| 32 | + - "generic" pairs: 1/(4m). |
| 33 | + So the bound has to be the worst case over pairs, and an adversarial A can use structured |
| 34 | + pairs. |
| 35 | + |
| 36 | +**Fix.** Add an independent uniform phase: x_a = a·m·θ + η, with η uniform on [0,1). The |
| 37 | +phase cancels in a+b = c+d, so the Freiman property survives. It also makes {x_{a′}} |
| 38 | +uniform and independent of x_a − x_{a′}. Then every pair collides with probability |
| 39 | +**exactly 1/(4m)**, and every a lies in B with probability exactly 1/2. |
| 40 | + |
| 41 | +## Proof |
| 42 | + |
| 43 | +Fix integers n and m ≥ 1. Let A ⊂ ℤ with |A| = n. Real sets reduce to this case by a |
| 44 | +Freiman 2-isomorphism, which preserves the Sidon property (B–R Lemmas 2.6–2.7; also |
| 45 | +Tao–Vu, Lemma 5.25). Take θ and η independent and uniform on [0,1), and define: |
| 46 | + |
| 47 | +* x_a = a·m·θ + η; |
| 48 | +* B = {a ∈ A : {x_a} < 1/2}; |
| 49 | +* φ(a) = ⌊x_a⌋ mod m. |
| 50 | + |
| 51 | +**Lemma 1 (Freiman).** If a, b, c, d ∈ B and a+b = c+d, then |
| 52 | +⌊x_a⌋+⌊x_b⌋ = ⌊x_c⌋+⌊x_d⌋, so φ(a)+φ(b) ≡ φ(c)+φ(d) (mod m). |
| 53 | +*Proof.* x_a + x_b = (a+b)mθ + 2η = x_c + x_d. So the integer |
| 54 | +⌊x_a⌋+⌊x_b⌋−⌊x_c⌋−⌊x_d⌋ equals ({x_c}+{x_d}) − ({x_a}+{x_b}). Both brackets lie in |
| 55 | +[0,1), so the difference lies in (−1,1), and an integer in (−1,1) is 0. ∎ |
| 56 | + |
| 57 | +**Lemma 2.** P(a ∈ B) = 1/2 for every a. |
| 58 | +*Proof.* For fixed θ, {amθ + η} is uniform on [0,1). ∎ |
| 59 | + |
| 60 | +**Lemma 3.** For integers a ≠ a′, P(a ∈ B, a′ ∈ B, φ(a) = φ(a′)) = 1/(4m). |
| 61 | +*Proof.* Let d = a − a′ ≠ 0 and D = x_a − x_{a′} = dmθ. Let v = {x_{a′}}. |
| 62 | +* For each fixed θ, v is uniform on [0,1). So v is independent of θ, and hence of D. |
| 63 | +* As θ runs over [0,1), D is uniform on an interval of length |d|·m, which is |d| whole |
| 64 | + periods of length m. So D mod m is uniform on [0,m). |
| 65 | +* Write D = mk + e with k ∈ ℤ and e ∈ [−m/2, m/2). Then e has density 1/m on that range |
| 66 | + and is independent of v. |
| 67 | + |
| 68 | +Since x_a = x_{a′} + D, we have {x_a} = {v + e} and |
| 69 | +⌊x_a⌋ − ⌊x_{a′}⌋ = mk + e − ({v+e} − v). |
| 70 | + |
| 71 | +*Case |e| < 1/2.* Suppose v < 1/2 and {v+e} < 1/2. If v + e < 0, then {v+e} = v+e+1 ≥ 1/2. |
| 72 | +If v + e ≥ 1/2, then {v+e} = v+e ≥ 1/2. Both are excluded, so v + e ∈ [0, 1/2), so |
| 73 | +{v+e} = v+e, and ⌊x_a⌋ − ⌊x_{a′}⌋ = mk ≡ 0. So the event is exactly |
| 74 | +v ∈ [0,1/2) ∩ [−e, 1/2−e), which has measure 1/2 − |e|. |
| 75 | + |
| 76 | +*Case |e| ≥ 1/2.* If both points lie in B, then e′ := {x_a} − v ∈ (−1/2, 1/2), and |
| 77 | +⌊x_a⌋ − ⌊x_{a′}⌋ = mk + (e − e′). A collision needs e − e′ ∈ mℤ. But |
| 78 | +0 < |e − e′| < m/2 + 1/2 ≤ m, so this is impossible. |
| 79 | + |
| 80 | +Hence P = ∫_{−1/2}^{1/2} (1/m)(1/2 − |e|) de = 1/(4m). ∎ |
| 81 | + |
| 82 | +**Lemma 4 (extraction).** Let S ⊂ ℤ_m be Sidon mod m (s1+s2 ≡ s3+s4 implies |
| 83 | +{s1,s2} = {s3,s4}) and let t ∈ ℤ_m. For each s ∈ t+S whose fibre B ∩ φ⁻¹(s) is nonempty, |
| 84 | +keep one element of that fibre, and call the kept set K. Then K is Sidon, and |
| 85 | +|K| ≥ Σ_{s∈t+S} (N_s − C(N_s,2)), where N_s = |B ∩ φ⁻¹(s)|. |
| 86 | +*Proof.* Suppose a, b, c, d ∈ K and a+b = c+d. |
| 87 | +* By Lemma 1, φ(a)+φ(b) ≡ φ(c)+φ(d). |
| 88 | +* Subtract 2t: the values φ(·) − t lie in S, so {φ(a),φ(b)} = {φ(c),φ(d)}. |
| 89 | +* φ is injective on K, so {a,b} = {c,d}. |
| 90 | + |
| 91 | +The size bound follows from 1{N ≥ 1} ≥ N − C(N,2) for N ∈ ℕ. ∎ |
| 92 | + |
| 93 | +**Averaging.** Take t uniform on ℤ_m, independent of θ and η. Each residue lies in t+S with |
| 94 | +probability |S|/m. By Lemmas 2 and 3: |
| 95 | +* E Σ_{s∈t+S} N_s = (|S|/m)·(n/2); |
| 96 | +* E Σ_{s∈t+S} C(N_s,2) = (|S|/m)·C(n,2)/(4m). |
| 97 | + |
| 98 | +So some choice of (θ, η, t) gives a Sidon K ⊂ A with |
| 99 | + |
| 100 | + |K| ≥ (|S|/m) · ( n/2 − n(n−1)/(8m) ). (★) |
| 101 | + |
| 102 | +**Choosing m.** Take a Singer set: q prime, m = q²+q+1, |S| = q+1. It is Sidon mod m, |
| 103 | +because every nonzero residue is a difference of S exactly once. |
| 104 | +* Put m = c·n. As n → ∞, (★) gives (1+o(1))·√n · g(c), with |
| 105 | + g(c) = c^{−1/2}(1/2 − 1/(8c)). |
| 106 | +* g′(c) = −(1/4)c^{−3/2} + (3/16)c^{−5/2}, which vanishes at c = 3/4. There |
| 107 | + g(3/4) = 1/√3 − 1/(3√3) = 2/(3√3). |
| 108 | +* Choose the prime q with q²+q+1 closest to 3n/4. Prime gaps are o(q) by the prime number |
| 109 | + theorem, so m/n → 3/4 and |S|/√m → 1. This proves the theorem. ∎ |
| 110 | + |
| 111 | +**Sanity check against B–R.** Replacing 1/(4m) by their 1/m gives |
| 112 | +g(c) = c^{−1/2}(1/2 − 1/(2c)). Its maximum is at c = 3, with value 1/(3√3), which is |
| 113 | +exactly their constant. So the improvement comes only from the collision probability. |
| 114 | + |
| 115 | +## What the checks show (check.py, log in check.log; `python3 check.py`, stdlib only, about 6 s) |
| 116 | + |
| 117 | +* **Part 1: exact rational computation of the collision probability.** |
| 118 | + - Without η, the indicator is constant between the breakpoints where amθ or a′mθ lies in |
| 119 | + ½ℤ. With η, the η-measure is computed exactly for each θ. As a function of θ it is |
| 120 | + piecewise linear with kinks only where (a−a′)mθ ∈ ½ℤ; linearity is asserted on every |
| 121 | + piece before integrating. |
| 122 | + - Results: m·P = 1/4 for all 216 pairs in [−4,4]² with m ∈ {2,3,5}, and for the |
| 123 | + structured pairs in the table with m ∈ {3,4,5,7}. Without η the values are 1/2 (a′=0), |
| 124 | + 1/3, 4/15, 5/12, 3/14 and so on. |
| 125 | +* **Part 2:** the Freiman identity of Lemma 1, on 3000 random exact-rational instances. |
| 126 | +* **Part 3: the full construction**, using Singer sets built from GF(q³) for |
| 127 | + q = 2…13 (each checked Sidon mod m). It was run on intervals, squares, random sets and a |
| 128 | + union of two APs, with n = 40, 120 and 300. Every output was checked Sidon, and the mean |
| 129 | + |K| exceeded the bound (★) in every case. At these sizes (★)/√n is 0.37–0.42; the |
| 130 | + asymptotic value is 0.3849. |
| 131 | + |
| 132 | +These checks confirm Lemmas 1 and 3 and the construction numerically. The proof itself is |
| 133 | +the argument above. |
| 134 | + |
| 135 | +## Not done, and possible next steps |
| 136 | + |
| 137 | +* **B₂[g] version (their Theorem 3.3).** If it runs the same steps 2–4 with ℤ_{g(q²+q+1)} |
| 138 | + and the same per-pair bound 1/m′, then the same substitution 1/m′ → 1/(4m′) gives the |
| 139 | + same optimization, so its constant should double too. I could not check this without the |
| 140 | + paper. |
| 141 | +* **Limits of the method.** |
| 142 | + - The threshold 1/2 for B cannot be raised: the Freiman property needs |
| 143 | + {x_a}+{x_b} < 1 on B. |
| 144 | + - The averaged collision probability 1/(4m) is exact. |
| 145 | + - So with the first-order Bonferroni count 1{N≥1} ≥ N − C(N,2), (★) is sharp, and |
| 146 | + 2/(3√3) is the limit of this exact method. |
| 147 | + - Counting nonempty fibres directly would give about √m·(1 − e^{−n/(2m)}) under a |
| 148 | + Poisson heuristic. That is maximized near m ≈ 0.4n, at ≈ 0.451√n. Proving it would need |
| 149 | + higher-order correlations of the fibre sizes for adversarial A, which I have not done. |
| 150 | +* The upper bound is still ℓ(N) ≤ (1+o(1))√N. |