Repository navigation
Implement linear aggregate padding on fixed bit tapes - #2636
Merged
Merged
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.
PR2457 explicitly assumes a linear charged scan for aggregate binary padding and restriction. This contribution implements that scan with17fixed bit tapes, one-cell read/write/move primitives, two countdown counters per coordinate, and unchanged canonical descriptors. A written amortized proof gives1024N+128sum(L_i)+128 steps per complete scan, including head rewinds and owned-counter cleanup.
The result closes this scan premise only. Fresh owned output/counter intervals and aggregate descriptors are explicit inputs; fast completed exchange, caller parking, descriptor construction, joined physical supplier and stock/kappa admission remain external. The indexed exchange used by tests is a semantic oracle.
Validation: registered optimized CPython3.12 replay;256shapes/49247padded rows;4096Boolean payloads;267counter cases including257-bit carry chains; translated confinement, immutability and cleanup;5semantic controls. Git-free empty-PATH public replay is read-only and rejects actual reset removal, typed receipt corruption and output overwrite. Independent agent machine/proof review found no issue. All9committed files match tested bytes.
Started from current canonical main0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, priority4; prescribed selected baseline passed. The stock/depth/later-stage candidates were already covered, so TASK explicitly records the changed uniform-transfer scan scope. Main and PR2457head03625347 refreshed unchanged;817openPRs16:31UTC and1239Discussionrecords15:22UTC searched, with bounded Discussion freshness.
Credit PR2457's aggregate reduction, commdata2338/PR2399, Jose Manuel/PR2234, Adam Gall/PR2087 and retained descriptor/parking/supplier lineage. Prepared for ywz65 with substantial OpenAI Codex assistance, Apache-2.0; no human or formal-kernel review. Claim: #2457 (comment)