Repository navigation
research: consume encoded twiddle headers on signed packet tapes - #3611
Merged
Mister-Meeseeks merged 1 commit intoOct 20, 2026
Merged
Conversation
This was referenced Oct 20, 2026
Price one typed actual-width physical H and its toward-zero return
unpaidmoon/integer-mult-bounds#17
Draft
This was referenced Nov 1, 2026
Draft
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.
PR3593 emits an encoded twiddle header, while the preceding signed-packet adapter takes host exponent tuples. This package closes that single-header interface: a new sequential consumer directly borrows the producer's actual header and descriptor tapes and applies the exact signed polynomial rotation to a complete Gaussian packet.
Initialization follows encoded extents; marked-top countdowns avoid a full counter-width scan per coefficient. The source-bound proof gives a consumer tariff at most
256*(2*r*w+ell+w+1), six owned tapes and a 34-role producer/consumer join with shared header/descriptor storage counted once. Borrowed data and heads are restored, and private work is erased on success and signed-minimum rejection. Producer correctness remains an explicit retained premise.Validation: both registered CPython 3.12.15 commands, including isolation, optimization and warnings-as-errors; 56 all-residue packets, eight signed-word cases, 83 countdown cases, four actual producer joins with opposite round trips, eight controls, and independent operation-counter reconciliation. The joined examples with ell=8, K=4, h=5, r=256 and w=10 emit residues 264/248 and 424/88, use 21,537 cells each and retain exact tariffs. Three frozen producer files match original Git bytes; metadata and committed-byte/source-history checks pass.
Review replaced host-sized initialization loops with encoded scans and added borrowed/private alias rejection. No host-decoded header controls consumer execution. Constructor allocation/admission, executable ell limits, signed representability and valid-framing premises are explicit.
Scope: one independent borrowed address and one complete signed packet. No address enumeration, reusable consumer object, arbitrary malformed-input recovery, complete synthetic round, normalized root/layer, supplier admission or selected-frontier change. The full caller invoice remains open.
Package:
research/encoded-twiddle-packet-consumer. Canonical claim: #2612 (comment)Credit Nick Petalas's PR3593 and packet/header lineage, Philipp, Jose Manuel, Douglas Colkitt and retained synthetic-transform sources. Prepared by Sagar Thakrar with substantial OpenAI Codex assistance and separate same-session implementation/proof/verification agents; not independent human acceptance or formal kernel verification.