Skip to content

DFT: saving 3577409/2000000000 - #29

Merged
github-actions[bot] merged 1 commit into
bigospeedrun:mainfrom
jacobalansussman:dft-lever-2979-full-cut
Oct 21, 2026
Merged

github-actions[bot] merged 1 commit into
bigospeedrun:mainfrom
jacobalansussman:dft-lever-2979-full-cut

Conversation

@jacobalansussman

Copy link
Copy Markdown
Contributor

Exact DFT of every length, and convolution, in O(n (log n)^(1 − 3577409/2000000000)) operations in OpenAI's exact computational model. That is a saving of 1.7887045e-3 in the exponent of log n, against 1.2654e-3 for the current Lean Verified record. It is also above every complex-side construction claimed by others on CrocSwap/integer-mult-bounds, proved or not; some research notes there print higher ceilings or targets, which are not constructions. The proof is built on the community's circuit #2979 (Marius-Paul Dumitrean's, 1.7290340e-3 as the community prices it).

What is new. Every entry on this board before my lever submissions gives each array of its circuit a job of the same size. This proof uses a new recursion that feeds the circuit jobs of two sizes in a fixed ratio, and a step I call the lever. The circuit's words, the order of its runs and its dispatch are #2979's; the table of where helper storage goes is new. I solved it for this proof with the allocation model and the placement program of the community's #3815 (Erwan Secousses / ChaloupeMusic), made tolerant: nine roles with no planned slot left went to free places that obey the same rules. #2979's own owner engine accepts the new table, and so do the other checks of #2979's line except those that ask for a higher figure without the lever. In it, 16,576 blocks of rank 48 per round are the first operation on their own array, and no other idle block has rank 48. Each of them is removed entirely (the full cut), so its array takes a job of 25 axes instead of 73, and nothing has to be split. The recursion stays correct because every paid block is smaller than every job (23 < 25). Without the lever the new table is worse than #2979's own (1.6897030e-3); it pays off only with the full cut. The Lean proofs of the recursion (in OpenAI's machine model), of the head lemma behind the cut, and of the port of #2979's circuit (74 copies, 666 runs, helper storage hosted across copies, borrowed helpers with free linear changes of coordinates) are new, and so are my earlier extensions underneath (exit frames and hosting); all of them are in the sixth revision of my repository. The new files were written by the agents (Claude) working with me. They are machine-checked; a line-by-line human review has not been done yet, and I would welcome one.

Whose work this is. This result stands on the work of many people:

  • Marius-Paul Dumitrean (with Anthropic Claude): the #2979 circuit, on Jeremy Kothe's rewrites, preload supplier and frame accounting, Mason Hale's paired extractions and T74 chronology, Jeremy Diviney's paired extraction, Dugongue's composition and owner engine, Yiyang Lu's flow model, Ross Richardson, Tekalign, icekylinx, themilkman216 and Gareth Davidson.
  • Erwan Secousses / ChaloupeMusic (#3815): the allocation model and the placement program with which the new table was made.
  • Cinna Davis: the borrowed helpers and their warps; Jeremy Kothe (#2312): the width exchange.
  • Rohan Arun and the authors of the T74 line underneath.
  • Ryan Shea: the conversion pipeline, the generators and the Lean tree this proof is laid over.
  • Nil Mamano: the gauged Lean extension, the nine-stage network files and the Fourier chain templates.
  • Dugongue, Zhihao Chen / jacklightChen, lydakis, DaysSky: the network's gauges, layout and banks, and the idea of hosting in idle arrays.
  • OpenAI: the exact model, the statement and the reduction to every length.
  • My part: the Lean engine the earlier entries run on and its extensions, the mixed-target recursion, the lever with its full cut, the new table and the port.

The full credits, the upstream notice and the licence are at the top of Submission.lean; every pull request is listed in the NOTICE of the programs repository.

Packaging. The same as submissions/dft/nmamano-shea-c588: the 577-module import closure is copied under Submission/, with only local import paths changed (the same packaging script, run on Shea's tree, reproduces that earlier folder byte for byte). Then, for this verifier's limit of 500 files, 153 small modules (generated data, and chains of modules each importing the one before) are merged into 23, leaving 447 modules and 449 files. Each merged module starts with a comment that lists its members with the sha256 of each original file and copies each member verbatim after its import lines, inside its own section; every other file changes only in its import lines. Submission.lean exports Race.bound from OAI.PowerSaving.transform_mainL2979Fc.

Checks done before this PR. The proof builds. Its theorems use only propext, Classical.choice and Quot.sound. The comparator, with the Lean kernel and nanoda, accepts it against OpenAI's statement at this exponent, and a control one unit stronger is rejected. An offline re-creation of this verifier's own run (the Lean check, the axiom audit and nanoda) on the merged files of this pull request (the same bytes, apart from the leading comment of Submission.lean) passed, and the same run one grid step higher was rejected. The unmerged form passed the same offline run, and a separate check compared the merged form, constant by constant, with the proof built from the package's files: the 21,665 constants not generated by Lean itself have the same statement and definition, and all 9,601 theorems the same proof. In that offline run the Lean check took 63 minutes on a Colab machine with 8 processors, and nanoda 37 minutes; this verifier builds one chain at a time with four threads, so its run will take longer. nanoda peaked at about 14.6 GiB in the offline runs, above this verifier's 14 GiB, so it may need the swap. Those runs were on a Colab machine without the bubblewrap sandbox this verifier uses, so they used a stand-in for it. The same full cut on the larger circuit #3945 (1.7806935e-3) is proved too, in the same repository.

Sources. CrocSwap/integer-mult-bounds pull requests #2979 (merged as research; its files at main 20ecf289), #2957, #2948, #2966, #2917, #2908, #2969, #2863, #2839, #2857, #2848, #2918, #2894, #2833, #1995, #2013, #3815, #2226 and #2312, the T74 line #1297, #1319, #1625, #1672 and #1839, and #401, #377, #425, #275 and #363 for the network; every one is in the NOTICE. Base: shea256/fourier-transform-below-nlogn at 5239484, directory lean/complex588, with no file changed. Programs, notes and checks: https://github.com/jacobalansussman/wht-power-saving-lean (package/leverAFc, the sixth revision).

🤖 Generated with Claude Code

Exact DFT of every length, and convolution, at saving 17887045/10^10 in OpenAI's exact model: the
mixed-target recursion and the full cut on the community's #2979 words, with a table of hosts
solved for the full cut. Adds only submissions/dft/jacobalansussman-lever-2979-full-cut (449 files:
manifest.json, Submission.lean and the merged import closure under Submission/). Programs, notes and
checks: https://github.com/jacobalansussman/wht-power-saving-lean (package/leverAFc, sixth revision).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

PR proof result: keep_open. axiom_audit_incomplete.

Receipt and logs

@github-actions github-actions Bot added the verification-needs-review Proof check needs maintainer review label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@nmamano This submission stays open because verification or publication needs review.

2 similar comments
@github-actions

Copy link
Copy Markdown
Contributor

@nmamano This submission stays open because verification or publication needs review.

@github-actions

Copy link
Copy Markdown
Contributor

@nmamano This submission stays open because verification or publication needs review.

@github-actions

Copy link
Copy Markdown
Contributor

PR proof result: keep_open. axiom_audit_incomplete.

Receipt and logs

@github-actions

Copy link
Copy Markdown
Contributor

@nmamano This submission stays open because verification or publication needs review.

@nmamano

nmamano commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Agent for Nil (BOS Reviewer):

Reply to the maintainer ping above, from BOS Reviewer, the agent that maintains this verifier for @nmamano.

The cause is on our side, not in your proof. Lean stopped while it built Submission/Work/XHostT/Data/H2979Fc/Merged2.lean with failed to create thread: Resource temporarily unavailable. Our sandbox allowed at most 512 tasks. Lean starts one more thread each time an elaboration task waits on another, and this 1.8 MB module with 694 theorems went past that limit. The axiom audit then failed only because Submission.olean did not exist.

We are raising the limit, and then we run this commit (607121a) again. You do not need to change or push anything. We post the new result here.

nmamano added a commit that referenced this pull request Oct 21, 2026
Lean starts one more worker thread each time a pool task waits on another task,
with no upper bound. PR #29 has one 1.8 MB module with 694 decide theorems. Its
Lean build stopped with "failed to create thread: Resource temporarily
unavailable" at TasksMax=512 (run 39515983587, 2026-10-21), and the audit then
found no Submission.olean. MemoryMax=14G still bounds the memory. The receipt
now records sampled_peak_tasks and tasks_limit for each kernel.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nmamano

nmamano commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Agent for Nil (BOS Reviewer):

Maintainer note from BOS Reviewer: verifier commit 80d2058 now allows 4096 tasks in the sandbox. As a one-time maintainer action, we removed only the admission record of this PR head (607121a) from the queue state, so that the next scheduled scan (every 30 minutes) runs this commit again. No action is needed from you.

@github-actions

Copy link
Copy Markdown
Contributor

PR proof result: close. PR workflow/controller differs from the trusted publisher revision.

Receipt and logs

@github-actions github-actions Bot closed this Oct 21, 2026
@nmamano

nmamano commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Agent for Nil (BOS Reviewer):

Correction from BOS Reviewer: the two "close" results above are our error, not a rejection of your proof. In this run (607121a), Lean, nanoda and the axiom audit all passed (axioms: propext, Classical.choice, Quot.sound). The publisher then refused the result only because this PR's copy of the verifier scripts was older than the current verifier. We changed those scripts after you opened the PR.

We fixed the publisher (verifier 0fe1f05): a PR built on any trusted verifier version now passes this check. We reopened this PR, and we queue 607121a for one more run, which can publish the result. You do not need to do anything, and you do not need to click "Update branch".

@nmamano nmamano reopened this Oct 21, 2026
nmamano added a commit that referenced this pull request Oct 21, 2026
label_review posted the "@nmamano ... stays open" comment on every call, and
every publisher watcher of a run can call it: PR #29 got the ping three times
at 2026-10-21 00:37Z. The ping now carries a hidden marker with the PR number,
run id and attempt, and comment_once skips it when a bot comment already has
that marker. The label is still set on every call (idempotent).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

PR proof result: close. PR workflow/controller differs from the trusted publisher revision.

Receipt and logs

@github-actions github-actions Bot closed this Oct 21, 2026
@nmamano nmamano reopened this Oct 21, 2026
nmamano added a commit that referenced this pull request Oct 21, 2026
…d check them at selection

The publisher required the PR head and the run controller to hold exactly the
protected files (.github/workflows, scripts, profiles, challenges, patches) of
the publisher's own revision. So each verifier push made every open PR
submission fail its publication: on 2026-10-21 the publisher closed PR #29
after its Lean check passed, because 80d2058 changed scripts/verifier.py after
the PR branched from c1893bc.

Now each of these commits must hold exactly the protected files of one trusted
revision: this checkout, or a revision in the site's data/direct-trust.json at
the site's current main commit (controller_blobs and previous_controller_blobs).
The site adds a trust entry before each verifier push. A PR still cannot change a
protected file to anything untrusted (a changed, added, removed or mode-changed
protected file, or a protected directory that is a file or symlink, matches no
revision). If the trust list cannot be read (any network or parse error), the PR
stays open for review and is not closed. The trust read uses the API opener that
drops the token on a redirect outside api.github.com.

The selector now runs the same check on the PR head before admission. On a
mismatch it spends no run, does not admit the head, and posts one comment per
head that asks the author to click "Update branch".

Reviewed by Data Pipeline (2026-10-21): SHIP; its LOW 1-3 are folded in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nmamano

nmamano commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Agent for Nil (BOS Reviewer):

Maintainer note from BOS Reviewer: we removed the admission record of 607121a once more (a one-time maintainer action), so the first scan after the current verifier run ends checks this commit on verifier 0fe1f05 and can publish the result. No action is needed from you.

@github-actions

Copy link
Copy Markdown
Contributor

PR proof result: merge. lean_and_axiom_passed_nanoda_pending.

Receipt and logs

@github-actions
github-actions Bot merged commit 7bd2ac1 into bigospeedrun:main Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@nmamano This submission stays open because verification or publication needs review.

@nmamano nmamano removed the verification-needs-review Proof check needs maintainer review label Oct 21, 2026
@nmamano

nmamano commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Agent for Nil (BOS Reviewer):

Correction from BOS Reviewer: please ignore the ping above. This PR is merged and its Lean check passed. Two copies of our publisher handled the same result at the same time: one merged the PR, and the other then could not merge it and asked for review by mistake. We fixed that. The nanoda check is still running, and its result will be posted here.

@github-actions

Copy link
Copy Markdown
Contributor

Final verification result.

PR proof result: merge. lean_and_axiom_passed.

Receipt and logs
lean: passed.
nanoda: passed.
Axiom audit: passed.

nmamano added a commit that referenced this pull request Oct 21, 2026
…ith no review ping

Two publisher watchers can handle one Lean checkpoint at the same time. On
2026-10-21 08:22Z one watcher merged PR #29; the merge call of the other one was
declined, so it set keep_open, labelled the merged PR for review and posted the
"stays open" ping. Now, when a merge call fails or is declined and the PR is
merged at the verified head (with a 40-hex merge_commit_sha), the envelope stays
the merge it is: disposition merge, importable, merge_commit from the PR. This
also covers a merge that succeeded but whose reply was lost (5xx), which before
left no importable envelope. The site binds merge_commit to the PR and keeps one
row per PR, so two equivalent envelopes are harmless. A PR merged at a newer
head keeps the "newer commit" reason; a declined merge at the same head that is
not merged still labels and pings.

Reviewed by Data Pipeline (2026-10-21): its MEDIUM and LOW tests are folded in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

2 participants