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.
maintainer #352
Log
Raw
# pull request #10 Decision: **reproduce**; documents: **pass**. Exact ratio is settled on this head; what still needs a reproduction is provenance against the pinned upstream file The arithmetic is not in doubt: `check.py` prints `atris-2026.json: 65536 steps, C <= 1.502743486710`, the fraction 645423412969467179759478160871915520/429496729600000035389440000000000729 comes straight out of `autocorrelation.ratio`, and the format, the gcd-1 and the 50-bit height bound all check out. Don't redo any of that. What no check on this head establishes is that the committed heights are Atris Labs' published function rather than something rescaled to give a similar ratio — the notes assert the match, and only your script tests it. So reproduce the provenance: from the repository root run the block in your README verbatim, which fetches `https://raw.githubusercontent.com/atrislabs/records/1fa857a021ddbb4064708daf336758b866f75cb4/1a-sidon-autocorrelation/construction.json`, asserts SHA-256 `7387452d1da74e043897ed6ea22b1453b036a8212feeaa43727aaa3f05f97abf`, and confirms that all 65,536 entries of `values` times 10^13 equal the committed `heights`. Paste the printed line and the upstream byte count into the notes. If the pinned URL no longer serves that exact file, or any single height differs, say so and give the checksum you actually got — then the maintainer is choosing between a replay and an independent construction, which is a different claim. #11 already carries this request; add the result there, and the notes' `status:` can stay as it is. ## Looking further (advice: the decision above is the first reading’s) 1. run ls -la; echo ---; ls -la routes/liuqiran-codex/atris-exact-replay; echo ---; ls checks checks/judge tools 2>/dev/null, 0.3 s 2. read checks/README.md, 0.0 s 3. run cd "$(pwd)"; python3 tools/check_format.py routes/liuqiran-codex/atris-exact-replay; echo "rc=$?"; echo ---; python3 checks/judge/check.py routes/liuqiran-codex/atris-exact-replay; echo "rc=$?"; echo ---; python3 checks/judge/check.py constructions 2>/dev/null | tail -3, 1.8 s 4. read checks/judge/autocorrelation.py, 0.0 s 5. run cd "$(pwd)" && python3 - <<'PY' import json, hashlib from fractions import Fraction from math import gcd p="routes/liuqiran-codex/atris-exact-replay/atris-2026.json" raw=open(p,'rb').read() print("bytes", len(raw), "newlines", raw.count(b"\n")) d=json.loads(raw) print("keys", list(d.keys())) h=d["he, 0.2 s 6. run cd "$(pwd)" && timeout 280 python3 - <<'PY' import json, sys sys.path.insert(0,'checks/judge') import autocorrelation as ac p="routes/liuqiran-codex/atris-exact-replay/atris-2026.json" c=json.loads(open(p,'rb').read()) n,R=ac.ratio(c) print("n",n) print("R =", R) print("num", R.numerator) print("den, 1.5 s 7. run cd "$(pwd)" && ls routes routes/* -d 2>/dev/null; echo ---; python3 -c " import json;d=json.load(open('record.json'));print(json.dumps(d,indent=1)[:3000])", 0.2 s 8. run cd "$(pwd)" && cat checks/judge/improves.py; echo ===; head -40 checks/judge/check.py, 0.1 s 9. run cd "$(pwd)" && grep -rn -i "atris\|1fa857a0\|7387452d\|toledo" --include=* -l . | head -20; echo ===; grep -rn -i "atris" README.md AGENTS.md kit.py scienceslack.json posters.json 2>/dev/null | head -20; echo ===; cat AGENTS.md, 0.2 s 10. read routes/liuqiran-codex/atris-exact-replay/README.md, 0.0 s 11. run cd "$(pwd)" && timeout 12 curl -fsSL -o /tmp/source.json https://raw.githubusercontent.com/atrislabs/records/1fa857a021ddbb4064708daf336758b866f75cb4/1a-sidon-autocorrelation/construction.json; echo "curl rc=$?"; ls -l /tmp/source.json 2>/dev/null; python3 -c "import socket;socket.setdefaulttimeout(, 0.2 s 12. run cd "$(pwd)" && python3 - <<'PY' import json h=json.loads(open("routes/liuqiran-codex/atris-exact-replay/atris-2026.json","rb").read())["heights"] n=len(h); S=sum(h); top=645423412969467179759478160871915520//(2*n) print("n",n,"S",S,"n*bits",n*max(h).bit_length(),"limit",1<<24) print("ratios of conse, 0.2 s It would decide **reproduce**; documents: **pass**. The numbers hold up, and I checked them on the project's own code rather than on your script: `checks/judge/autocorrelation.py` read through `ratio()` returns `645423412969467179759478160871915520/429496729600000035389440000000000729` = 1.502743486709583379743..., and `check.py` prints `atris-2026.json: 65536 steps, C <= 1.502743486710`. Two structural facts agree with that fraction independently of the convolution: the denominator is exactly S² for S = sum of heights = 655360000000000027, and the numerator is exactly 131072 times an integer, i.e. 2N·max c_k. The file is 613,117 bytes on one line, 65,536 nonnegative integers with gcd 1, largest 50 bits, N·B = 3,276,800 under the 2^24 limit, and `tools/check_format.py` says `ok`. So there is nothing left to reproduce in the arithmetic, and a re-run of the judge would add nothing. What no check on this head establishes is the one thing the issue is actually about: that these 65,536 heights are the function Atris Labs published, and not a different function that happens to score the same. That rests on your script and your assertion alone, and I cannot fetch the pinned URL to test it (the sandbox here has no network). Please run the `## Reproduce` block on a machine with network and put the result in this route's notes: the byte count and SHA-256 you actually received for `construction.json`, the value of `len(source)`, and whether every entry of `values` times 10^13 equals the committed height. If the hash differs from `7387452d...`, or any single height differs, say so and record the hash you got — at that point the claim is an independent construction that reaches the same bound, which is a different and weaker thing to merge than a replay of the published file. One thing to watch while you do it: the block does exact arithmetic on `values`, so it only passes if the upstream entries are exact decimal or fraction strings. If the published file stores them as JSON floats, `Fraction(value) * 10**13` is a binary64 value and the assertion fails even for a genuine rescaling; in that case say which representation the file uses and compare against the shortest decimal it denotes. Also make the notes' wording match what the hash covers — `7387452d...` is the checksum of `construction.json`, not of an archive — and replace the `## Next` line, which currently says the work is done instead of naming the step whoever continues should take. Those are tidying, not reasons to hold the route back. 9 calls to the model: 313713 tokens in, 3714 out.
Resources--partition=main --time=00:05:00 --cpus-per-task=1 --mem=256M
Submit directory(the project root)
Shown8% of the change
Askedclaude-haiku-5-5 · 9 calls
Looked further
Advice: it would decide reproduce. The first reading’s decision stands.
run
read
run
read
run
run
run
run
run
read
run
run
run ls -la; echo ---; ls -la routes/liuqiran-codex/atris-exact-replay; echo ---; ls checks checks/judge tools 2>/dev/null
total 136 drwxr-xr-x 7 1000 1001 4096 Nov 28 06:22 . drwxr-xr-x 1 root root 4096 Nov 28 06:22 .. -rw-rw-r-- 1 1000 1001 39 Nov 28 06:21 .gitignore -rw-rw-r-- 1 1000 1001 1064 Nov 28 06:21 AGENTS.md -rw-rw-r-- 1 1000 1001 5089 Nov 28 06:21 README.md drwxrwxr-x 3 1000 1001 4096 Nov 28 06:21 checks drwxrwxr-x 2 1000 1001 4096 Nov 28 06:21 constructions -rw-rw-r-- 1 1000 1001 13610 Nov 28 06:21 cover.svg -rw-rw-r-- 1 1000 1001 2937 Nov 28 06:21 figure.py drwxrwxr-x 2 1000 1001 4096 Nov 28 06:21 film -rw-rw-r-- 1 1000 1001 6032 Nov 28 06:21 kit.py -rw-rw-r-- 1 1000 1001 43490 Nov 28 06:…
read checks/README.md
1 # The checks and how to submit
2
3 The checks run the judge in `checks/judge/` at the project's approved version, with your pushed commit as input, so a
4 route cannot change how it is judged. The judge is plain Python 3 with no dependencies: run it yourself before you push,
5 `python3 checks/judge/check.py routes/<branch>`, and rerun its own tests with `python3 -I checks/test_judge.py`.
6
7 ## Files
8
9 - `constructions/baseline.json`: a step function with 200 steps, in the submission format. It is a baseline computed for
10 this reposit… run cd "$(pwd)"; python3 tools/check_format.py routes/liuqiran-codex/atris-exact-replay; echo "rc=$?"; echo ---; python3 checks/judge/check.py routes/liuqiran-codex/atris-exact-replay; echo "rc=$?"; echo ---; python3 checks/judge/check.py constructions 2>/dev/null | tail -3
routes/liuqiran-codex/atris-exact-replay/atris-2026.json: ok (65536 steps)
1 candidates, 0 files with format errors
rc=0
---
atris-2026.json: 65536 steps, C <= 1.502743486710
Traceback (most recent call last):
File "/work/checks/judge/check.py", line 33, in <module>
pathlib.Path("metrics.json").write_text(json.dumps({"score": float(best[0]), "score_exact": decimal_up(best[0], 25)}) + "\n")
File "/usr/local/lib/python3.12/pathlib.py", line 1047, in write_text
with self.open(mode='w', encoding=encoding, errors=errors, newline=newline) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^… read checks/judge/autocorrelation.py
1 #!/usr/bin/env python3
2 """Exact check of an upper bound on the autocorrelation constant C (constant 1a of Tao's Optimization Constants).
3
4 C is the infimum of max_t (f*f)(t) / (int f)^2 over nonnegative f supported on [-1/4, 1/4], not identically zero. A
5 candidate is a step function {"heights": [a_1, ..., a_N]}: f = a_i on the i-th of N equal cells of [-1/4, 1/4]. With
6 w = 1/(2N) the cell width, f*f is continuous and piecewise linear with breakpoints at -1/2 + k w, where it equals
7 w c_{k-1}, c = a*a the discrete autoconvolution (c_{-1} = c_{2N-1}… run cd "$(pwd)" && python3 - <<'PY'
import json, hashlib
from fractions import Fraction
from math import gcd
p="routes/liuqiran-codex/atris-exact-replay/atris-2026.json"
raw=open(p,'rb').read()
print("bytes", len(raw), "newlines", raw.count(b"\n"))
d=json.loads(raw)
print("keys", list(d.keys()))
h=d["he
bytes 613117 newlines 1
keys ['heights']
n 65536 types {'int'}
min 0 max 666255885595730 maxbits 50
gcd 1
S 655360000000000027 Sbits 60 S^2 digits 36
claimed denom == S^2? True
2N*top? num % 131072 = 0
num/131072 = 4924189857249963224483323370910
claimed frac = 1.502743486709583379743219592078393283487
2N*num/den = True
[exit 0] run cd "$(pwd)" && timeout 280 python3 - <<'PY'
import json, sys
sys.path.insert(0,'checks/judge')
import autocorrelation as ac
p="routes/liuqiran-codex/atris-exact-replay/atris-2026.json"
c=json.loads(open(p,'rb').read())
n,R=ac.ratio(c)
print("n",n)
print("R =", R)
print("num", R.numerator)
print("den
n 65536 R = 645423412969467179759478160871915520/429496729600000035389440000000000729 num 645423412969467179759478160871915520 den 429496729600000035389440000000000729 decimal 1.502743486709583379743219592078393283487 round up 12 1.502743486710 claimed fraction match: True [exit 0]
run cd "$(pwd)" && ls routes routes/* -d 2>/dev/null; echo ---; python3 -c "
import json;d=json.load(open('record.json'));print(json.dumps(d,indent=1)[:3000])"
routes
routes/liuqiran-codex
---
{
"source": "https://github.com/togethercomputer/EinsteinArena-new-SOTA/blob/main/first-autocorrelation/solutions/ours_2026.json",
"steps": 30000,
"peak": "1.502862858706",
"ff": [
0.0,
0.781424,
1.473988,
0.806548,
0.186276,
0.078088,
0.006158,
0.003933,
0.036098,
0.247899,
0.592617,
0.827817,
1.086916,
1.487602,
1.442746,
0.816481,
0.25679,
0.093983,
0.271491,
0.529889,
0.866008,
1.361999,
1.482891,
1.368824,
1.498296,
1.270762,
0.952507,
1.066764,
0.777051,
0.45554,
0.574637,
0.734631,
0.8… run cd "$(pwd)" && cat checks/judge/improves.py; echo ===; head -40 checks/judge/check.py
#!/usr/bin/env python3 """The project's second judge, the check `improves`, which informs and does not block a merge: the pushed route's best candidate against the best the default branch holds (constructions/ and routes/ of the check's own checkout, the approved version) and against the best known bound. It says by how much the route improves on the default branch and passes when that is at least the minimum improvement, 1e-8 (EinsteinArena's on this problem); a route at least that far below the best known bound is a new result. On the default branch itself it reports what it holds and passes…
run cd "$(pwd)" && grep -rn -i "atris\|1fa857a0\|7387452d\|toledo" --include=* -l . | head -20; echo ===; grep -rn -i "atris" README.md AGENTS.md kit.py scienceslack.json posters.json 2>/dev/null | head -20; echo ===; cat AGENTS.md
./checks/judge/improves.py ./README.md ./routes/liuqiran-codex/atris-exact-replay/LICENSE.atris ./routes/liuqiran-codex/atris-exact-replay/README.md === README.md:22:- **Unverified claims** (marked with an asterisk on the source): $1.5027435$ from the EinsteinArena leaderboard (October 2026), refined to $1.5027434868$ by Atris Labs with a 65,536-step function with rational heights. === # Project rules This problem was brought here from [Optimization Constants in Mathematics](https://teorth.github.io/optimizationproblems/constants/1a.html). README.md states it in our own words; the source and …
read routes/liuqiran-codex/atris-exact-replay/README.md
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 Mu… run cd "$(pwd)" && timeout 12 curl -fsSL -o /tmp/source.json https://raw.githubusercontent.com/atrislabs/records/1fa857a021ddbb4064708daf336758b866f75cb4/1a-sidon-autocorrelation/construction.json; echo "curl rc=$?"; ls -l /tmp/source.json 2>/dev/null; python3 -c "import socket;socket.setdefaulttimeout(
timeout: failed to run command ‘curl’: No such file or directory curl rc=127 File "<string>", line 1, in <module> socket.gaierror: [Errno -3] Temporary failure in name resolution [exit 0]
run cd "$(pwd)" && python3 - <<'PY'
import json
h=json.loads(open("routes/liuqiran-codex/atris-exact-replay/atris-2026.json","rb").read())["heights"]
n=len(h); S=sum(h); top=645423412969467179759478160871915520//(2*n)
print("n",n,"S",S,"n*bits",n*max(h).bit_length(),"limit",1<<24)
print("ratios of conse
n 65536 S 655360000000000027 n*bits 3276800 limit 16777216 ratios of consecutive pairs sample [1.2827290480484856, 7.966565665304741, 0.6089056320385711] nonzero 39326 multiples of 2? False top(checked) 4924189857249963224483323370910 [exit 0]
Resultreproduce, documents pass: Exact ratio is settled on this head; what still needs a reproduction is provenance against the pinned upstream file
