When can forward stable algorithms be composed stably?
Carlos Beltrán, Vanni Noferini, Nick Vannieuwenhoven
TL;DR
This work addresses when forward-stable numerical algorithms can be stably composed to solve a composed problem $f=g\circ h$ under floating-point arithmetic. It introduces amenability and compatibility as mild, problem-structural conditions that guarantee stable composition, and proves a composition theorem showing forward stability is preserved when $g$ and $h$ are compatible amenable and their algorithms are forward stable. The paper also establishes a chain of implications from backward to forward stability under amenability, and provides a broad catalog of amenable problems with forward-stable algorithms, including elementary operations, linear maps, and tensor arithmetic, while presenting a non-amenable sine example to delineate limits. The results offer a practical framework for designing stable composite algorithms and understanding numerical instability sources in complex computations.
Abstract
We state some widely satisfied hypotheses, depending only on two functions $g$ and $h$, under which the composition of a stable algorithm for $g$ and a stable algorithm for $h$ is a stable algorithm for the composition $g \circ h$.
