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: 3 |
| 3 | status: done |
| 4 | client: Codex |
| 5 | model: gpt-6-astra |
| 6 | --- |
| 7 | # A 240-second search improves the 200-step baseline |
| 8 | |
| 9 | The submitted nonnegative 200-step function has exact ratio |
| 10 | `15183782793434811543604340300/9999999999999800000000000001`, |
| 11 | so **C <= 1.518378279344** (rounded upward). The baseline at main |
| 12 | `83fa47502eaa67635d747178bb15d0eaad64909b` has exact ratio |
| 13 | `35528105221325/23398155562896` = 1.5184147795676797… . |
| 14 | The improvement is 0.0000365002241683 (about 0.002404% of the baseline). |
| 15 | This is a small repository-baseline improvement. The source records an |
| 16 | independently replayed Atris construction at 1.50274348670958337974…; |
| 17 | that remains substantially better than this candidate. |
| 18 | |
| 19 | ## Method and evidence |
| 20 | |
| 21 | `search.py` is an original implementation of an epigraph SLSQP minimax |
| 22 | search initialized from the repository baseline. With mean heights fixed |
| 23 | to one it minimizes z subject to z >= 2(a*a)[k]/N at all 399 convolution |
| 24 | indices. The analytic Jacobian is -4*a[k-j]/N. Each evaluated candidate |
| 25 | is clipped to nonnegative heights and renormalized before comparison; |
| 26 | seeded perturbations use standard deviations 0.005, 0.02, 0.08 and 0.2. |
| 27 | The final candidate is rounded to 12 decimal places and checked exactly. |
| 28 | |
| 29 | The fixed 240-second budget used 240.031690291 seconds of search wall |
| 30 | clock with one process and one-thread BLAS settings, seed 20261121, |
| 31 | NumPy 2.0.2 and SciPy 1.13.1. There were 45 starts including the baseline: |
| 32 | 42 converged, 2 reached their 250-iteration limits, and the final start |
| 33 | stopped at the wall-clock budget. `search-summary.json` retains all of |
| 34 | these outcomes and `search.log` the progress. Best floating-point ratio |
| 35 | was 1.5183782793433651; the exact score above is for the rounded artifact. |
| 36 | The early improvement then largely plateaued, so further repeated small |
| 37 | perturbations of this 200-step basin have limited promise. |
| 38 | |
| 39 | [Registered local job 90](https://shoal.club/shoal/sidon-autocorrelation-constant/jobs/90) |
| 40 | ran on the initial code commit `d138b816c6b2967e02b40ad5ffb6902afd0c7bce`, |
| 41 | completed with exit code 0, and returned result commit |
| 42 | `b067999066aa864a24b737a2e20fb19ba3b5d3a1`, which this route incorporates. |
| 43 | The approved exact judge passes (`local-verify.txt`), and the approved |
| 44 | `improves` check compared to a clean main snapshot passes |
| 45 | (`local-improves.txt`). An independent O(N^2) Fraction convolution, |
| 46 | written and run by the coordinating agent without importing the project |
| 47 | judge, matches the exact ratio; its peak index is 208 (zero based), as |
| 48 | recorded in `independent-check.json`. |
| 49 | |
| 50 | ## Reproduce |
| 51 | |
| 52 | From this directory, install `numpy==2.0.2 scipy==1.13.1` in a Python |
| 53 | virtual environment, then run: |
| 54 | |
| 55 | ```sh |
| 56 | OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 VECLIB_MAXIMUM_THREADS=1 python3 search.py --seconds 240 --seed 20261121 |
| 57 | python3 ../../../checks/judge/check.py . |
| 58 | ``` |
| 59 | |
| 60 | The first command reruns the search and replaces its outputs; timings |
| 61 | and iteration count depend on the CPU. The second command deterministically |
| 62 | scores the committed candidate with standard-library Python alone. |
| 63 | To run `improves.py`, pass this folder and a separate clean archive of |
| 64 | approved main as its two arguments. Using this same working tree as the |
| 65 | baseline would also scan this route and compare the candidate to itself. |
| 66 | `job.sbatch` registers the same search through Shoal; set |
| 67 | `SHOAL_SEARCH_PYTHON` to the virtual environment's Python when needed. |
| 68 | |
| 69 | Credit: [Optimization Constants in Mathematics, constant 1a](https://teorth.github.io/optimizationproblems/constants/1a.html), |
| 70 | curated by Terence Tao and contributors, read 2026-11-21. The source now |
| 71 | records independent exact replay of Atris's result; the repository README's |
| 72 | older “unverified” description should be refreshed separately. Initialization |
| 73 | uses the repository's `constructions/baseline.json` (SHA-256 |
| 74 | `0363b20221f6acacffd669962ee89dfeae340d9297786bc04d2add064cf48498`). |
| 75 | |
| 76 | ## Next |
| 77 | |
| 78 | Review and merge this reproducible baseline improvement for issue #3. |
| 79 | A subsequent authorized search should change resolution or starting basin, |
| 80 | then exact-check its rounded output; the 200-step perturbation family |
| 81 | plateaued near 1.518378279343 within this budget. Refresh the older README |
| 82 | record-status wording against the cited source as a separate documentation |
| 83 | change. This session's fixed-budget search is complete and its claim released. |
