claimroutineinferred_dep
Signed floor shifts preserve residues
Floor shifts commute with residues, so bands need only -bit residues
lets the band recursion run with small storage
Claim·§10.3 Multiplication by minimum-index bands·inside lemMultiplication with linear clock-gap storage
Statement (paper)
For and signed integers with , one has . Consequently, Equation can be implemented using residues with modulus at band , processing only the diagonals (giving candidate pairs), and the residue is obtained, since a next-band residue modulo determines the floor-shifted tail modulo , even when the underlying integers are negative.
In plain English
If and signed integers satisfy , then . Hence the band recursion can be run with residues modulo at band , using only the diagonals (so candidate pairs), and still yields , even for negative integers.
Why it's here
This makes the exact integer recursion from the previous claim implementable with small storage. A residue modulo at the next band determines the floor-shifted tail modulo , so each band need only keep a bounded-width residue instead of the full integer, and signs cause no trouble. This bounds the work per band and feeds the gate-indexing and adder-tree construction in the next claim.
Classified routine:
Elementary arithmetic: for integers, with and . Combined with the band recursion from the previous claim, this is standard modular bookkeeping for carrying truncated residues in a multiplication circuit.
Uses
Used by
Sources
PaperOpen
- Section
- §10.3 Multiplication by minimum-index bands
- Page
- —
- Label
—- Line
sections/arithmetic.tex:329
Leannot aligned
Phase 2 aligns this node to a Lean declaration.
Friction
- infoinferred_depoutline: "Residue implementation with signed floor shifts" rests on claim-lem-arith-multiplication-2