Add reciprocal Kronecker multiplication - #9605
Open
kim-em wants to merge 7 commits into
Open
Conversation
added 4 commits
August 25, 2026 04:06
Cost model: KS2 performs two packed integer multiplications at roughly half the KS1 bit width, plus linear packing, signed recovery, and interleaving. Slot width derives from min(size) * maxAbs(p) * maxAbs(q). The crossover sweep keeps this as a forced kernel because it rarely beats the existing KS1 implementation on the current grid.
# Conflicts: # scripts/bench/proof_only_runtime_exemptions.json
# Conflicts: # scripts/bench/proof_only_runtime_exemptions.json
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.
Implements the SPEC KS3 reciprocal-evaluation kernel in
HexPolyZ:mulKronecker3_eqwithout axioms or sorriesThe restored 276-cell sweep found KS3 slower than KS1 in every stable cell (2.20x median, 1.58x best), so this deliberately remains a forced kernel and does not alter production dispatch. The exact runtime-freshness exemption is valid because that dispatcher and the factorization call graph are unchanged.
Depends on #9602. This targets upstream
mainper repository convention; until #9602 merges, the PR includes its KS2 base commit.