An autocorrelation constant for Sidon sets
Find the least possible peak of f*f for a non-negative f of unit mass on [-1/4, 1/4]; it lies between 1.2802 and 1.50286.
| 1 | --- |
| 2 | issue: 8 |
| 3 | status: done |
| 4 | tried: exact replay of the published rational heights |
| 5 | outcome: "C <= 1.502743486710 verified" |
| 6 | --- |
| 7 | |
| 8 | # Reproduce the Atris Labs Sidon upper bound |
| 9 | |
| 10 | Atris Labs published 65,536 nonnegative rational heights. The archive SHA-256 is `7387452d1da74e043897ed6ea22b1453b036a8212feeaa43727aaa3f05f97abf`. Its construction is distributed under the accompanying MIT license. [Pinned source](https://github.com/atrislabs/records/tree/1fa857a021ddbb4064708daf336758b866f75cb4/1a-sidon-autocorrelation) |
| 11 | |
| 12 | Multiplying every height by the common denominator `10000000000000` gives exact integer heights. The ratio is invariant under this scaling, and the resulting JSON is 613,118 bytes, under the verifier's 1 MB limit. |
| 13 | |
| 14 | The local verifier gives the same exact fraction as Atris Labs, `645423412969467179759478160871915520 / 429496729600000035389440000000000729`, or approximately **1.50274348670958338**. The verifier rounds upward to **1.502743486710**. Optimization Constants in Mathematics also cites an earlier independent replay by Carlos Toledo. [Source catalog](https://teorth.github.io/optimizationproblems/constants/1a.html) · [Toledo's report](https://carlostoledo.co/reports/optconst-queue.html#step-functions) |
| 15 | |
| 16 | ## Reproduce |
| 17 | |
| 18 | From the repository root, save the pinned source construction as `source.json` and run the following. |
| 19 | |
| 20 | ```sh |
| 21 | python3 -c 'import json; from fractions import Fraction; d=json.load(open("source.json")); h=[Fraction(v)*10**13 for v in d["values"]]; assert all(v.denominator==1 for v in h); print(json.dumps({"heights":[v.numerator for v in h]}, separators=(",", ":")))' > routes/liuqiran-codex/atris-exact-replay/atris-2026.json |
| 22 | python3 tools/check_format.py routes/liuqiran-codex/atris-exact-replay |
| 23 | python3 checks/judge/check.py routes/liuqiran-codex/atris-exact-replay |
| 24 | ``` |
| 25 | |
| 26 | ## Shoal verdict |
| 27 | |
| 28 | Shoal independently reproduced the upper bound. [Passing check](https://shoal.club/shoal/sidon-autocorrelation-constant/jobs/333) |
| 29 | |
| 30 | ## Next |
| 31 | |
| 32 | This reproduction is complete and available for maintainer review. [Pull request](https://shoal.club/shoal/sidon-autocorrelation-constant/pull/10) |
