If $(f_n)$ is a sequence of real functions on $[0, 1]$ converging uniformly to a function $f$ on $[0, 1]$, and if $f_n$ is continuous at $x_n ∈ [0, 1]$ for each $n$ with $x_n\stackrel{n\to\infty}\longrightarrow x$, must $f$ be continuous at $x$?
I believe that this statement is true but I am having trouble proving it. Could someone please help out?
Consider the function $f(x) = 1$ for $x>0$ and $f(x)=0$ for $x \le 0$. Let $f_n = f$ for all $f$. Certainly $f_n$ converges uniformly to $f$. Now let $x_n = 1/n$. Then for every $n$ we have $f_n$ is continuous at $x_n$. Also $x_n$ converges to $0$, but $f$ is not continuous at $0$.