I'm trying to prove the following result:
Let $h: [a,b] \rightarrow [a,b]$ be a monotonic decreasing function and given $x \in [a,b]$ we define the sequence $$\begin{align*} y_{0,x} & = x\newline y_{n+1,x} & = h(y_{n,x}), \forall n>1 \end{align*}$$ Then, $\{y_{n,x}\}_{n=0}^\infty$ is convergent for every $x \in [a,b]$ iff every point of period $2$ of $h$ is, in fact, a fixed point.
I've managed to prove that if every sequence of that type is convergent, then every point of period $2$ is a fixed point (in fact, you don't even need to assume that $h$ is decreasing). My problem is with the reciprocal.
I've proven that for any $x \in [a,b]$ the subsequences $x_n=y_{2n,x}$ and $z_n=y_{2n+1,x}$ are always increasing and decreasing respectively (or vice versa). As they are bounded, because they are contained in the interval $[a,b]$, this proves that both of them are convergent.
Now, if $h$ was continuous, then it is easy to see (using now that every point of period $2$ of $h$ is fixed) that both limits are equal, and so, that the sequence $y_{n,x}$ converges.
My doubt is then if this result is still true without the condition that $h$ is continuous. I cannot prove without this condition, but I also cannot give any counterexample, so any help would be appreciated.