Skip to content

Direct Fourier multiplication on composite axes via accretive circulant roots - #7849

Open
aliromman wants to merge 1 commit into
CrocSwap:mainfrom
aliromman:codex/direct-circulant-transform
Open

aliromman wants to merge 1 commit into
CrocSwap:mainfrom
aliromman:codex/direct-circulant-transform

Conversation

@aliromman

@aliromman aliromman commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This construction replaces Gaussian expansion, the middle polynomial convolution and Gaussian recovery with a Fourier circuit on the original cyclic coordinates. Each forward or opposite transform takes two passes through a generated circulant root. The resulting complete multiplier admits a growing family made entirely of pairwise coprime odd squares with different padded widths. Under the complete native Hadamard and ordinary BIT realizations of PR #7846, it preserves κ = 0.00387992803556 from PR #7830 and O(n) historical tape space. The exponent itself does not increase. Theorem · Transform and precision proof · Complete resource ledger

New result Evidence
Rotate any nonzero cyclic spectrum so its square root has a controlled positive real part. Padding by identity has shift-commutator rank at most two. Every leading section of the rounded root can enter the physical compiler. General root theorem · Padded matrix rank · Gate generation
Apply the true Fourier mean for arbitrary cyclic order and either sign, then recover an exact integer product on the original CRT coordinates. All-moduli Fourier identity · From the fused trace to carry · Product implementation
Apply a streamed joint frequency mask, including singular and nonseparable masks, and return arbitrarily dirty padding bit-for-bit. Filter proof, costs and implementation

The controller uses Θ(p/(log p)³) axes and Θ((log p)³) distinct widths, where p = 6 ceil(log₂ n). The padded volume is at most 4/3 of the true volume. Scanning the complete field once per axis on this family costs Ω(Vd). The new complete cost is o(Vd), including coefficient generation, CRT, Hadamard stock, conversions and cleanup. It uses O(p)-bit external records and permits wider sublinear private setup. The new outer construction uses elementary square selection and short Karatsuba products. Controller · Predecessor geometry

On orders 9 and 25 in a 16 by 32 array, the program generated its coefficients and executed 423488 Hadamard calls per transform. It recovered 11811, 10996, 4152, 868, 77 and 220 zeros before carrying to 345550037539. A second application retained eight of fifteen joint frequencies on two independent input fields and restored all seventeen padded words exactly. The checks also detect a missing branch correction, a singular leading section, an incorrect public character weight and convolution wrap. Replay instructions and formal boundaries · Evidence receipt

With CPython 3.12, from the repository root, run

python3.12 -B scripts/research_package.py --package research/direct-circulant-fourier
python3.12 -IBO research/direct-circulant-fourier/check_product.py --odd-squares

The commands finish respectively with

PASS_REGISTERED_RESEARCH_PACKAGE research/direct-circulant-fourier outcome=completed
PASS_DIRECT_CIRCULANT_PRODUCT

The registered checks also passed in a read-only Git-free export. Lean 4.34.1 checked the spectral, matrix and product composition theorems. The kernel replay covers the new modules and four pinned decoder modules. Their printed axioms are subsets of propext, Classical.choice and Quot.sound. The circuit’s local error bounds, elementary square sieve and physical tape bill are written proofs. The interpreter expands small Hadamard calls into signed additions. The asymptotic running time uses the cited native realizations. Independent scientific review and a practical crossover estimate remain open. Formal project · Source bindings

Hosted CI stopped in the repository-wide onboarding suite. Its sole failing test expects make frontier7000-verify in the CI guide, which still lists make frontier6030-verify. The package replay job was consequently skipped. I reproduced the identical assertion using the test and documents from the canonical base. The committed package passed its separate immutable-export replay. Hosted failure · Navigation test · Base CI guide

Canonical base is e54523517d0f03e58352e647c403a5af3e525a57. The mixed price is pinned at 87fbf4f7b35b0f18ab12b5767775a9a424cf0b15 and the native service at 343f7b1817e26ad3f89d2ddad313b12741d53602. @jmbarrancoml supplied the rational full gate compiler in PR #4205. Vlado Vojdanovski supplied its displacement recursion and tensor routing. Chafik Boukhalfa supplied the certified phase routine. Cinna Davis supplied the balanced CRT, with the two-width controls and predecessors credited in their source record. @Clear1nsight supplied the mixed-rank price. @aliromman prepared this construction with substantial OpenAI Codex assistance. Full credit · Coordination

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.

1 participant