Repository navigation
Conversation
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.
Result
Scoped construction for the repeated-chart question in Ali Romman's #7851. When each operand has at most two distinct low charts and each high selector is an affine-quadratic Boolean indicator, compute each low chart pair once. Reuse its carried product across all high addresses. The high contraction gives at most four signed power-of-two shifts per block, so the complete grouped branch takes O(n) time and O(n) space on fixed sequential tapes.
The two 6,561-bit fixtures, one sparse and one dense with opposite defect signs, use four low products versus 256 in the pinned caller. Both agree with direct integer multiplication. The replay also covers 256 small products, nonzero block carries, negative shifts and three rejection controls.
Reproduction
Run from the repository root with CPython 3.12.
Limitations
The tape bound uses the pinned #7851 admission, low contraction and dense assembly arguments. The Python replay checks exact arithmetic and call counts. Arbitrary high selectors and growing low catalogues remain outside this branch. This result carries zero new κ.
Open next questions
Related open work
The live overlap check found no open PR on this grouping. The merged predecessor is #7851 at
878218b6efa7ed1373171c26c3a5a67dc012db48.CI notes
The registered commands and source-history check pass locally on CPython 3.12.15 on Darwin arm64. The hosted planning and package replay jobs passed at
fc32428c09fdc663294a14d513061d7994e8a7e1. GitHub Actions run