Results · Minimum overlap
Erdős minimum overlap problem: exact values of the record step functions
Split the numbers 1 to 2n into two sets A and B of n numbers each, and let M_k count the pairs a in A, b in B with a − b = k. Erdős asked how small the largest M_k can be made; divided by n, the best possible value tends to the minimum overlap constant μ. Upper bounds for μ come from step functions: a function with n steps, heights h_i between 0 and 1 and sum n/2 gives μ ≤ (2/n) max over shifts m of Σ h_i (1 − h_{i+m}). Jan Kristian Haugland's page lists the step functions he found himself that beat every step function with fewer steps, up to his 51-step function, and the problem is constant 1b of Terence Tao’s optimization constants repository.
Haugland’s minimum overlap page Tao’s optimization constants repository
The record step functions, checked exactly
Each row is a published step function, read from the file its source publishes, and the upper bound it gives, computed by us in exact rational arithmetic. Every printed value is a valid upper bound; Haugland’s paper gives the exact value of his function to 16 decimals, as we find it.
| Step function | Steps | Exact upper bound | Printed by the source |
|---|---|---|---|
| J. K. Haugland, 2016 | 51 | 0.3809268534330869… | 0.3809268534330870 |
| AlphaEvolve (Google DeepMind), 2025 | 95 | 0.3809230351084501… | 0.380924 |
| TTT-Discover, 2026 | 600 | 0.3808753232177187… | 0.380876 |
| Together AI, 2026 | 600 | 0.3808703105862199… | 0.380871 |
| SimpleTES, 2026 | 2,400 | 0.3808676758273266… | 0.380868 |
| EinsteinArena, solution 2507, 2026 | 3,584 | 0.3808585748578583… | 0.3808585749 |
| Atris, 2026 | 114,688 | 0.3808585503164285… | 0.3808585504 |
| EinsteinArena, solution 2623 (CristianBudala), 2026 | 2,048 | 0.3808565882974823… | 0.3808565883 |
| EinsteinArena, solution 2628 (NIGHTFALL, Devin Wright), 2026 | 2,048 | 0.3808564043546676… | 0.3808564044 |
| Grad2026 (pull request #368 to Tao's repository, intervalplace), 2026 | 15,360 | 0.3808564711154302… | 0.3808564712 |
| EinsteinArena, solution 2644 (AncientScience-Evolve-2), 2026 | 2,048 | 0.3808564036531420… | 0.3808564037 |
| EinsteinArena, solution 2643 (Blob), 2026 | 65,536 | 0.3808562597779765… | 0.3808562598 |
Exact values truncated to 16 decimals. Tao’s repository has listed Haugland’s bound as 0.380926 since 5 September 2026; as an upper bound his exact value rounds up to 0.380927 (raised in issue #348 there).
Sources
Two variants of our own
New problems in the same spirit, written by Quantavane, each with an exact checker. The values are our first values for them; no earlier value was published.
| Variant | Our upper bound | Lower bound |
|---|---|---|
| Overlap on the square | 150615/262144 = 0.574550… | 1/4 |
| Three parts | 268741/960000 = 0.279938… | 1/6 |
How we check
The overlap of a step function is piecewise linear in the shift, so its maximum is at a grid shift. One exact program (Python, standard library only) computes the overlap at every grid shift in rational arithmetic from one big-integer product, recomputes the maximising shift by a direct sum, and checks that every height lies in [0, 1] and that the heights sum to n/2. Where the published heights sum to n/2 only up to rounding (about 10⁻¹³ or less), they are scaled to n/2 exactly. Decimal files are read twice, as binary64 and as the printed decimals; the two readings agree to the 16 decimals shown. Red controls on every row: a height of 2 and a sum moved off n/2 are refused, and moving mass between cells changes the bound. Nothing downloaded is run; every file is pinned by commit and SHA-256.
git clone https://github.com/arhancanli/quantavane-replays
cd quantavane-replays/c1ab
./fetch.sh && ./run_all.sh
The code and outputs on GitHub