Packing bounds for native multiplication #
For every universe of size at least 257, eight words hold the carries at block boundaries, and sixteen words hold the carries of one block. The terminal column covers both input widths. Every bound applies to arbitrary universe sizes, including sizes between powers of two.
Main results #
Cslib.Logic.FO.Ordered.Multiplication.exists_parameters: uniform packing witnesses.
References #
- N. Immerman, Descriptive Complexity, Theorem 1.17(1). These bounds support the carry-table variant of the source's packed short sums.
Powers of two give a block size and terminal column whose packed carries fit in a fixed
number of words. The first pair characterizes the actual highest bit of n-1.