Repository navigation
Remove odd divisions from a five-product Toom-3 boundary (no κ) - #6600
Merged
Mister-Meeseeks merged 1 commit intoNov 10, 2026
Merged
Conversation
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the odd divisor from the five-product Toom-3 interpolation in Gonzalo Mier's PR3974, with an explicit preserving/restoring boundary. Claim type: scoped algebraic proof and finite construction certificate. No new kappa or selected-frontier change.
The new matrix has determinant 2. Denominator height one in 1+i is optimal among integral point-evaluation schemes with Gaussian-dyadic linear interpolation. The literal word preserves six inputs and arbitrary dirty outputs, restoring two initially zero fields. It pays five PRODUCT calls, sixty coefficient ADDs and four SCALEs. The ADD coefficients are explicit charged macros; no total scalar or physical speedup is claimed. The two divisions by associates of 1+i are exact on every valid Gaussian-integer input. The usual bilinear lower bound of five products is attained.
The new source-relative module and proof were produced by Nick Petalas. Credit Gonzalo Mier for the screen and embedding question, Chris R / Clear1nsight for PR3992, Josie Elliston, Arham Tahir and the retained PR1094/Clifford lineage. Toom-Cook evaluation, Lagrange interpolation and tensor flattening are classical; global literature priority for complex Toom formulas is unclaimed. Predecessor scientific computations are cited, not replayed or audited.
Evidence
From the repository root, with the CPython 3.12 standard library:
Another CPython 3.12 path may be substituted. Expected markers are
PASS_GAUSSIAN_DYADIC_TOOM3,PASS_REGISTERED_RESEARCH_PACKAGEandPASS_RESEARCH_COMMIT_BYTES. The written proofs supply the universal quantifiers; hosted execution of these finite checks is not a full theorem proof.Limitations and unrun obligations
This module needs a genuine convolution consumer, compatible frames and two initially clean fields. Their allocation, coefficient access, native PRODUCT implementation, routing, precision, stock and complete signed recursive/outer invoice are unpriced. PR3992's same-width obstruction for the first historical nine-climb group remains: changing interpolation supplies no extra information channel. No actual selected-provider sub-tensor or supplier admission is claimed. All five selected assumptions retain their status.
The API admits at most 4096 bits per component; outputs may exceed that entrance cap. The proof has no bit cap. Arbitrary dirty evaluation scratch, non-evaluation interpolation optimality and arbitrary nonlinear product lower bounds are unproved. No selected/native cold replay, Lean, Docker, independent human acceptance or formal proof-kernel review is supplied.
Open next questions
Related open work
Completion refresh at 2026-11-03 11:27 UTC inspected this account's 12 open PRs created since the advance claim. None of the other 11 studies the five-point Toom-3 interpolation boundary, so no numerical comparison is applicable. PR3974 and PR3992 remain credited predecessors on main. The live Toom search before publication found no other open PR on this boundary. Arbitrary diffs and unpublished work remain overlap limits.
CI notes
Both hosted checks,
planandreplay (research/gaussian-dyadic-toom3), passed atc069c79e81dd97296e2cae07c7d627c26ab19947in run 41626433244. The completed checks were read once; run metadata confirms completed success and the matching head. Hosted execution certifies the registered bounded replay, not independent acceptance of the universal proof. All local checks listed above also passed. Advance claim.Merge Danger
Door: two-way. The change adds only
research/gaussian-dyadic-toom3/and its opt-in replay manifest.Blast Radius: isolated. Existing sources, credits, selected records and shared code are unchanged.