I am trying to solve problem $15.1$ from Numerical Linear Algebra by Trefethen and Bau, which reads
Determine whether the algorithm is backward stable, stable but not backward stable, or unstable.
Data: None. Solution: $e$, computed by summing $\sum_{j = 0}^{\infty} \frac {1}{j!}$ from left to right, and stopping when a summand is reached of magnitude < $\epsilon_{machine}.$
Now, the definition of backward stability given in the book is that for a problem $f$ with data space $X$, an algorithm $\tilde f$ is stable if for all $x$ there exists an $\tilde x$ such that $$||\tilde f(x) - f(\tilde x)|| = \mathcal O(\epsilon_m)$$ with $$||x - \tilde x|| / ||x|| = \mathcal O(\epsilon_m)$$
Since we have no "data", I am pretty confused on how to apply this definition. I am fairly certain that for a fixed $\epsilon_m$, $\tilde f(x)$ should be $\sum_{j = 0}^{n} \frac {1}{j!}$ where $n$ is the first summand less than $\epsilon_m$ (this has it's own problems, because the algorithm depends on $\epsilon_m$, which is weird). I am tempted to say $f(\tilde x)$ should be $e$ (even though it doesn't really match the definition) but that feels too much like forward-error analysis, which I know is distinct from stability. As far as interpreting $||x - \tilde x|| / ||x|| = \mathcal O(\epsilon_m)$, I am at a total loss.
I also thought of interpreting the problem space $X$ as all the set of all real number sequences, and $$f((a_k)_{k = 0}^{\infty}) = \sum_{j = 0}^{\infty}a_k.$$ since at least it would give a way to interpret $||x - \tilde x|| / ||x||$. But I don't think this is right either, because I don't think we should vary the sequence itself.
EDIT: In case it's relevant, here is the full exercise:
Axioms $(13.5)$ and $(13.5)$ are just standard axioms of floating point arithmetic. Namely, that for real $x$ in between the max and min value of the floating point system, $x$ can be rounded to some $\hat x = x(1 + \epsilon)$ with $|\epsilon| < \epsilon_{machine}$, and if $*$ is any of the $4$ arithmetic operations and $@$ is its floating point counterpart, then $x@y = x*y(1 + \epsilon)$ where $|\epsilon| < \epsilon_{machine}$.
The following are the definitions of stability and backward stability given in the book. I didn't see any definition for unstable, so I assume it just means "not stable".