I'm reading a proof of the following statement:
Let $f: (a,b) \to \mathbb{R}$ be a midpoint convex (i.e. $f(1/2(x+y)) \leq 1/2f(x) + 1/2f(y)$) function that is bounded. Then $f$ is continuous.
Here is a proof that I found here: Proving continuity of $f$
To prove that a bounded midpoint convex is continuous, argue by contradiction. Supose $f$ is discontinuous at $x_0\in(a,b)$. Without loss of generality we may assume $x_0=0$, $f(x_0)=0$.
First step. There exists a sequence $\{x_n\}\subset(a,b)$, such that $\lim_{n\to\infty}x_n=0$ and $\lim_{n\to\infty}f(x_n)=m\ne0$. We may assume that $m>0$.
Second step. The sequence $\{2\,x_n\}$ also converges to $0$ and $$ f(x_n)=f\Bigl(\frac{0+2\,x_n}2\Bigr)\le\frac{f(0)+f(2\,x_n)}2\implies f(2\,x_n)\ge2\,f(x_n)\implies\liminf f(2\,x_n)\ge2\,m. $$ Iteration shows that $$ \liminf f(2^k\,x_n)\ge2^k\,m, $$ which is impossible since $f$ is bounded.
Question: Why can we assume $m > 0$?