First we recall the following result (see also this post):
Weissinger's fixed point theorem: Let $X$ be a complete metric space and assume that $f:X\longrightarrow X$ satisfies the following
$$ d(f^{i}(x),f^{i}(y))\leq \alpha_{i} d(x,y), \quad (*) $$ for all $i\geq 1$, where $f^{i}$ stands for the composition of $f$ with itself $i$-times, and $\alpha_{i}$ is a sequence of non-negative numbers such that $\sum_{i\geq 1}\alpha_{i}<\infty$.
I am looking for an example (if any) of a continuous and not compact mapping $f:X\longrightarrow X$, $X$ being the closed unit ball of an infinite dimensional (real) Banach space such that:
(1) $f$ does not satisfy (*)
(2) $f^{i}$ is compact (i.e., $f^{i}$ maps bounded subsets into precompact ones) for some $i\geq 2$.
Of course, above $X$ can be replaced for any other convex and closed subset.
Many thanks in advance for your comments.
Thanks!