Papers for

software developers for numerical libraries

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Shortest addition chains stabilize effectively under repeated doubling

Effective Stabilization of Shortest Addition Chains under Repeated Doubling

Abstract: Squaring extends an exponentiation plan for $n$ to one for $2n$, but a different plan may avoid the additional multiplication. We give a computable stopping rule for the sequence $\ell(2^tn)-t$, where $\ell$ is the shortest addition-chain length. The proof examines a shortest chain at the first shift meeting a prescribed excess budget. A sufficiently wide gap between run endpoints would allow the same budget to be met one shift earlier. Bounding the width and number of these gaps gives an explicit horizon. Two paths sharing no doubling gate sharpen it to $\lfloor\log_2 n\rfloor+O_a(1)$ for a single target at fixed excess budget $a$. We also give a fixed-parameter algorithm that constructs a compressed chain from the positions of the set bits. Assuming completeness of the published classifications through four small steps, we prove the sharp bound $k\le\lfloor\log_2 m\rfloor-8$ for a drop from more than four to four small steps at shift $k\ge1$ from an odd base $m$, and characterize both equality families. For a fixed set of distinct targets, paths ending at different outputs yield a refined carry bound and an effective joint stabilization horizon. Transposition then extends stabilization to every prescribed positive symbol-count vector and gives an eventually linear penalty for ordering the symbols in separate blocks. The dyadic-ladder case retains a scalar formula.

Fri 27 NovData Structures and AlgorithmsInformation Theory
The gist
Calculating powers of numbers efficiently is important in computing, and 'addition chains' are a way to do this using the fewest steps. The authors studied how these chains behave when repeatedly doubling the exponent, discovering rules about when the simplest way to double stops getting shorter and becomes stable. They provide methods to find this point effectively and analyze patterns in these chains to improve computations involving multiple targets. Their work helps better understand and optimize sequences of multiplications in algorithms.
Open → 2611.37265v1