Let $f$ be a function. Let $a, L \in \mathbb R$. Assume that $f$ is defined on some open interval around $a$, except maybe at $a$.
There exists $ > 0$ such that for every $ε > 0$, $$0 < |x - a| < \implies |f(x) - L| < ε$$
Could someone explain the meaning of this statement and how it results in the function being a horizontal line?
I claim that whenver $0<|x-a|<\delta$, $f(x)=f(a)$.
For if not, let $\varepsilon = \dfrac12|f(x)-f(a)|$. Then, according to the premise, $|f(x)-f(a)| < \varepsilon$, contradiction.
Now, I claim that $f(x)=f(y)$ for all $x$ and $y$.
Let $N = \dfrac1\delta|x-y|$, and form a sequence $x,x+0.5\delta,x+\delta+,x+1.5\delta,x+2\delta,\cdots,x+N\delta$. Each consecutive term is the same when $f$ is applied, by the above section, i.e. $f(x)=f(x+0.5\delta)$, $f(x+0.5\delta)=f(x+\delta)$, etc.
Therefore, $f(x)=f(x+N\delta)$. Since $x+N\delta$ and $y$ differ by an amount less than $\delta$, by the above section, $f(x+N\delta)=f(y)$.
Therefore, $f(x)=f(y)$.