Skip to content

1d: improved upper bound 1.454727664528751* (81920-cell step function) - #312

Closed
Julsgaard wants to merge 1 commit into
teorth:mainfrom
Julsgaard:c1d-upper-bound-81920
Closed

Julsgaard wants to merge 1 commit into
teorth:mainfrom
Julsgaard:c1d-upper-bound-81920

Conversation

@Julsgaard

Copy link
Copy Markdown
Contributor

What changed

Improves the upper bound on C_1d (signed third autocorrelation constant) from the merged 1.457854884921989* to 1.454727664528751*. Open PRs claim 1.455682936505816* (#269) and 1.4556234448* (#271); this is 8.96e-4 below the better of those. It appends a row and a reference ([J2026]) to constants/1d.md, updates the README cell, adds a "Recent progress" line and one contribution note. Markdown only.

Evidence

  • Witness: a signed step function with 81920 equal cells on [-1/4, 1/4], integer cell values, largest |v_i| = 10^12. The exact value of max_t |f*f| / (int f)^2 is
    9900630255081376929482866688 / 6805830738283663732311831361 = 1.4547276645287506488...
    The printed bound is rounded up.
  • Check: the page's knot formula, (f*f)(mh) = h * sum_{i+j=m-1} v_i v_j with h = 1/163840, in exact arithmetic. verify_exact.py computes the autoconvolution twice (one big-integer product, and int64 convolutions of 20-bit limbs), stops if they differ, and prints the fraction. About 2 minutes.
  • 352 of the 163839 knots are within a factor 1 - 1e-9 of the maximum.
  • Certificate, checker, optimiser, its settings and the start file of every step after the seed: https://github.com/Julsgaard/c1d-certificate/tree/cc455ca0989f40b2b2a8a5248f507e9c78e95383
    • SHA-256 certificate.json: 04c9c75909b70c215c312e85ef14679d90bc7f98257749c75f422d33048f7237
    • SHA-256 verify_exact.py: 5742d1c316b84d4fe1e3694eb8575d672367ca9c2f53aaa09013dcc45eb10b56
    • construction.json holds the same integers under values, for the page's [CERT2026] verify.py (O(n²) in Fractions). That checker has not been run on it.

Method

The seed is #269's 10240-cell certificate. Each cell is split in four, which leaves f unchanged, and then L-BFGS minimises 2n ||f*f||_p / (int f)^2 for p doubling from a small start up to 1e9 or 1e10. The first run starts at p = 64. The search then restarted that continuation from the best vector so far at p = 32 and p = 16, then split each cell in two and restarted twice at p = 4. The README gives the five commands and ships the start file of each step, because three of them began from a copy of a run still in progress.

Starting p matters, though not in a straight line. From the seed, the first step finished at 1.4554566 (p0 = 32), 1.4554026 (64), 1.4556101 (512) and 1.4556221 (1024); five more starts were stopped early, listed in the README.

If #269 or #271 is merged first, this row goes after theirs.

AI use: the optimiser, the exact checker and this text were prepared with Claude (Anthropic, Claude Opus 5.5). A separate Claude review checked the knot-formula reduction and recomputed the exact fraction of this certificate with its own modular method. No human expert has checked it line by line.

Co-authored by Claude Opus 5.5 (built).

🤖 Generated with Claude Code

@arhancanli

Copy link
Copy Markdown

Independent replay of the 81,920-cell certificate.

bound bytes replayed result
$C_{1d} \leq 1.454727664528751$ Julsgaard/c1d-certificate @ cc455ca0, cert/certificate.json, sha256 04c9c759…237 (the hash in this pull request) 9900630255081376929482866688/6805830738283663732311831361 = 1.4547276645287506488…, maximum only at i + j = 29124 (cell width $h = 1/163840$): the printed bound is a valid rounding up

How. Our own code, written from the definition on the constant page; it shares no code with the certificate's verifiers, which were neither read nor run. Every lag sum comes from one big-integer product (Kronecker substitution), the whole sequence is confirmed by a polynomial identity at four random points modulo $2^{61}-1$, and the deciding lag is summed again directly. Red controls, all as expected: one corrupted lag sum is rejected, one weight changed by 1 is caught, and scaling every value by 3 leaves the bound unchanged.

Re-derive from https://github.com/arhancanli/quantavane-replays/tree/ea6f8f5881d204fc8f540ca8ba2426bb2373416f: ./fetch.sh && ./run_all.sh (Python 3.9+, standard library only, under a minute). We have no connection with the authors of the certificate or of this pull request. Prepared with AI assistance (Claude, Anthropic).

@teorth

teorth commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Asking the C_1d authors to consolidate — please read before pushing another certificate.

There are currently eight open pull requests improving the same upper bound, each by a few parts in a million:

PR author bound
#286 huiihao 1.4591562211596491
#269 echul-seal 1.455682936505816
#312 Julsgaard 1.454727664528751
#371 intervalplace 1.4546733294
#372 murilo-lm 1.4540711000681049
#374 cweill 1.4513064006879361
#345 arhancanli 1.4513061918499
#271 Keremozdemirra exact step-function certificate

Every one of these edits the same README cell and the same table, so they conflict pairwise. Merging them one at a time means eight conflict resolutions to land eight rows, and each merge invalidates the next branch. That is the main reason this page has not moved in three weeks, and it is not a good use of anyone's effort — least of all yours, since the work itself is fine.

What I am asking for. One pull request for C_1d, carrying all of these rows in chronological order, with each author credited in the row that is theirs. The bound tables here are histories, not leaderboards — from CONTRIBUTING:

The bound tables are histories, not just leaderboards. Rows are listed in chronological order and superseded rows are kept, including bounds that are inferior to ones already recorded.

So consolidating costs nobody their row. Whoever is willing to assemble it, please say so in this thread and the others; I will merge that one and close the rest as superseded-by-consolidation, with credit recorded. If nobody volunteers within a week or so I will assemble it myself from these branches.

Two practical notes for whoever does it.

  • scripts/check_pages.py landed today. Run python3 scripts/check_pages.py before pushing: it is standard library only, and it now catches duplicated rows, duplicated reference keys, stale README cells, mangled escapes and broken inline math. This page in particular had a duplicated [CERT2026] row, a duplicated reference and a mangled \rvert until a few hours ago (fixed in 1d: remove a duplicated CERT2026 row, reference and bullets; restore one \rvert escape #362), all from my own conflict resolutions — the checker exists so that stops happening.
  • Please do not fold in #270 (a lower bound, C_1d ≥ 1.152), #326 or #357 (asterisk status). Those are complementary, not competing, and I will handle them separately.

@chessing234 chessing234 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed both complete diffs and the replay discussion. My own exact integer computation of all 163,839 signed coefficients of the freshly downloaded, hash-checked certificate reproduces 9900630255081376929482866688/6805830738283663732311831361, uniquely maximizing the absolute value at i+j=29124. Boundary/sample sums match directly. The count of 352 knots within a factor 1−10^-9 of the maximum also reproduces. Both 1.454727664528751 and the README's 1.4547277 round upward safely.

The equal-cell normalization and signed objective match the definition. Retain this dated row in the requested C_1d consolidation despite later improvements, preserving current main's newer verified baseline and reference fixes. AI-assisted review of the finite witness only; no optimizer, claimant checker or site build was run.

Prepared with AI assistance; validation scope and limitations are stated above.

teorth pushed a commit that referenced this pull request Nov 23, 2026
Carry all eight open C_1d certificates into one chronological history:
#269 (S2026), #271 (Oz2026), #286 (CLAUDE2026), #312 (J2026),
#371 (Swap2026), #372 (REV2026), #374 (WEILL2026), #345 (Can2026b).
Each row keeps its author's reference and contribution note; the README
cell now carries the best starred value 1.4513061918499*. The #345
certificate reference is recorded as [Can2026b] because [Can2026] is
already used on the page for Canli's replay of STEPS2026/AER2026.

Does not include #270 (lower bound), #326 or #357 (asterisk status).
scripts/check_pages.py: 0 errors, 0 warnings, 0 notes.
@teorth

teorth commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Superseded by #384, now merged — your row is on the page.

@huiihao assembled the eight open C_1d upper-bound certificates into a single chronological history, carrying each row, reference and contribution note over verbatim from its branch. Nothing was rewritten, and every author keeps their row and their asterisk.

Two things worth knowing about the result:

The README cell now reads 1.459989046905384 (1.4513061918499*) — the best independently replayed value, with the best asterisked one alongside.

Closing as superseded rather than declined. Thank you for the work and for the quick turnaround on the consolidation request; this is what unblocked a page that had not moved in three weeks.

@teorth teorth closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants