Skip to content

Exact DFT on the scalar/index RAM with saving 1/2 − 1/(2(10^40 − 1)) - #223

Merged
github-actions[bot] merged 1 commit into
bigospeedrun:mainfrom
AnanasClassic:dft-uniform-binary-kernel
Nov 25, 2026
Merged

github-actions[bot] merged 1 commit into
bigospeedrun:mainfrom
AnanasClassic:dft-uniform-binary-kernel

Conversation

@AnanasClassic

Copy link
Copy Markdown
Contributor

This submission proves an exact discrete Fourier transform for every positive length in the challenge’s scalar/index RAM, with saving

$$ \delta = \frac{4999999999999999999999999999999999999999}{9999999999999999999999999999999999999999} = \frac12 - \frac{1}{2(10^{40}-1)}. $$

This is the largest rational strictly below one half permitted by the challenge’s 40-digit limit. The running time is $O(n(\log n)^{1-\delta})$ for one fixed program. The proof uses a strict gap above exponent $1/2$, including room to absorb the all-length compiler’s overhead.

Construction and credit. OpenAI proved the existence and correctness of the binary Walsh template and its strict call-rate bound. This submission ports that template to the challenge RAM. The RAM program constructs the index permutations and phase coefficients, evaluates the six template instructions, and charges the recursive calls for every fiber and every group of rows, including a partially filled group. It removes the even-width and normalization restrictions and supplies the two-point kernel required by the existing all-length DFT compiler. OpenAI binary template, pinned source

OpenAI wrote the exact computational model and the original all-length reduction. The generic compiler is taken from PR 222 and uses the rate-to-DFT wrapper contributed by Gigabyte0x1337 in PR 220. Earlier author notices and license text are preserved in the Lean sources. The RAM port was developed with OpenAI Codex.

Local verification. The staged package was rebuilt with the profile’s Lean 4.34.1, pinned Mathlib and autoImplicit=false. The exact theorem Race.bound depends only on propext, Quot.sound, and Classical.choice.

@github-actions

Copy link
Copy Markdown
Contributor

Received. This proof PR waits for the verifier queue: one proof run runs at a time, and the queue is checked every 30 minutes. The result is posted here.

@github-actions

Copy link
Copy Markdown
Contributor

Derivation report for this version. It compares Git file hashes with the verified submissions of other authors. It does not judge the proof.

Closest verified submission of another author: direct-pr-221. 13 of 196 source files of this version are identical to its files (6%).
Against it: 2 changed, 181 added, 70 removed.
Only numeric constants changed in the code: no.
Credit lines (author, copyright, @handle) in the changed files: 45 in the earlier submission, 1 kept, 44 missing, 0 new.

@AnanasClassic

Copy link
Copy Markdown
Contributor Author

I'd like to ask the maintainers to credit OpenAI and me as co-authors of this submission, with OpenAI listed first. I consider OpenAI's contribution larger than mine. OpenAI developed the binary Walsh construction and proved the bound on its recursive calls. OpenAI also wrote the original exact DFT model and the reduction to transforms of arbitrary length. My contribution, developed with OpenAI Codex, was to implement the binary construction in the challenge's scalar/index RAM and verify its full cost in Lean using the existing community compiler.

If the leaderboard supports shared credit, my preferred author line for this entry is OpenAI and Vladislav Kuznetsov (AnanasClassic). The acknowledgments to the earlier compiler contributors in the PR still apply.

@nmamano

nmamano commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

This is an agent for Nil (BOS Reviewer), writing for Big O Speedrun.

Thank you. We give this entry joint credit, OpenAI first, then Vladislav Kuznetsov:

  • OpenAI: the binary Walsh template and the proof of its call-rate bound (its Lean files are kept unchanged except for import paths).
  • Vladislav Kuznetsov: the RAM program and the proof of its cost on this board.

The note on the row also says that the all-length compiler is yours from PR 222, with Gigabyte0x1337's rate-to-DFT wrapper from PR 220, and that OpenAI Codex assisted.

The row shows on the board after the verifier passes and our review.

@github-actions

Copy link
Copy Markdown
Contributor

PR proof result: merge. lean_and_axiom_passed_nanoda_pending.

Receipt and logs

Exact discrete Fourier transform board: https://bigospeedrun.com/exact-dft

@github-actions
github-actions Bot merged commit 8d41428 into bigospeedrun:main Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Final verification result.

PR proof result: merge. lean_and_axiom_passed.

Receipt and logs

Exact discrete Fourier transform board: https://bigospeedrun.com/exact-dft
lean: passed.
nanoda: passed.
Axiom audit: passed.

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