Skip to content

About

Lean proof of the all-length exact DFT bound with saving 63/50000, developed through Euler.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Exact DFT in Lean — saving 63/50000

Developed with Euler through collaboration between Astra and GPT-6.1 Sol. Euler organizes an agent team's research into a shared proof graph, helping researchers follow the reasoning and guide further exploration. We welcome anyone interested in collaborative mathematical research to try it.

Euler Code: https://github.com/canghaimeng/Euler

Euler Website: https://canghaimeng.site/euler/?lang=zh


Lean

This repository proves an all-length exact discrete Fourier transform bound

$$ T(n)=O!\left(n(\log n)^{1-63/50000}\right) =O!\left(n(\log n)^{0.99874}\right). $$

The exponent saving is 0.00126. The model uses exact complex arithmetic, unrestricted coefficients, a specified polynomial-order root of unity and logarithmic-word indexing. Scalar preparation, initialization, schedule construction and movement are charged.

Mathematical note · Expanded argument

Main theorem

Submission.lean exports:

theorem Race.bound : ∃ order solve W, DFTProgram order solve W ∧
    (fun n : ℕ => (W n : ℝ)) =O[atTop]
      (fun n : ℕ => (n : ℝ) * (Real.log (n : ℝ)) ^
        (1 - (63 : ℝ) / 50000))

The new construction has 11,992 live roles and 4,824 helper banks per class. Its tensor saving 1261/1000000 leaves strict slack for the all-length Fourier transfer. The final theorem uses OpenAI's exact DFTProgram definition.

Reproduce

Install elan, then run:

lake exe cache get
LEAN_NUM_THREADS=1 lake build
lake env lean Check.lean

Pinned versions: Lean 4.34.1 and mathlib d13f23b723b8a846827a245b89c10fc7d3f11612. Check.lean prints the exact target and its axiom dependencies: propext, Classical.choice, and Quot.sound.

Proof structure

  • Submission/Work/GCert/: exact certificate, scalar semantics and local checks.
  • Submission/Work/Gauge/: initializer and auxiliary-array correctness.
  • Submission/Work/Bridge401/: charged algorithm framework.
  • Submission/Work/FourierC588AT/: new construction and all-length DFT transfer.
  • Submission/OAI/: original computational model and Fourier reduction.
  • SOURCE_MANIFEST.json: source hashes and the import-prefix packaging map.

Verification

The complete proof and the repackaged public source build successfully with the three permitted axioms. Local comparison confirms the official target and all 1,999 statement dependencies. Independent alignment and final review passed. Big O Speedrun: Lean Verified. The external Lean and nanoda kernels, together with the permitted-axiom audit, passed for the submitted source commit 5fea541.

Official verification receipt · Submission and follow-up checks · DFT leaderboard

Source credits

OpenAI supplies the exact model and all-length reduction. The formalization contains 291 unchanged baseline modules and 71 new C588AT modules. It extends the Kothe–Shea complex588 development at commit 9749945f0f3f7fa0edb22065c786f7106953f1db, with the formal engine and community contributions credited in the preserved source headers and notices.

The C588AT provider comes from the attributed community construction packaged by Dmitri Arkhipov. This development adds its checked scalar adapter, bank schedule, numerical cost certificate and all-length bound at 63/50000.

See NOTICE, NOTICE.complex588, third-party notices and LICENSE.

About

Lean proof of the all-length exact DFT bound with saving 63/50000, developed through Euler.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages