claimroutineinferred_dep
Base-m pieces via power-width interchanges
Base- pieces swap the remaining width in total
covers arbitrary width via power-width interchanges
Statement (paper)
With the common padded row length, write with and partition each remaining chunk into consecutive pieces of width . Applying Proposition to each corresponding pair of pieces, with the same row field of length divisible by every , interchanges the two remaining chunks, preserves row addresses (so padded rows stay zero and genuine rows are not mixed with padded ones), and costs in total . Moreover, computing the piece list and all new shapes costs in total, and each call leaves its work tapes clean.
In plain English
After the row field of length is formed, write in base and split each remaining chunk into pieces of width . Interchanging corresponding pieces with the power-width primitive swaps the two remaining chunks in total time, without altering row addresses.
Why it's here
The power-width interchange only handles chunk widths that are powers of , so this step covers the arbitrary remaining width by splitting it into base- pieces. Because is divisible by every , each piece swap is valid, and the costs sum to . Together with the high-digit exchange from the previous claim, this gives a full chunk swap, and the piece list and shapes cost only to compute.
Classified routine:
A base-m decomposition of the remaining width, followed by repeated application of the power-width interchange (prop-power-interchange) and a geometric-sum cost bound, is a standard reduction from arbitrary widths to power widths.
Uses
Used by
Sources
PaperOpen
- Section
- §4.3 Removing width and row restrictions
- Page
- —
- Label
—- Line
sections/04-swap.tex:346
Leannot aligned
Phase 2 aligns this node to a Lean declaration.
Friction
- infoinferred_depoutline: "Base-m pieces via power-width interchanges cost O(Ve^τ)" rests on claim-lem-chunk-swap-1