Let $(X_n)_{n \in \mathbb{N}}$ be a martingale. Prove $\sum_n E((X_n-X_{n-1})^2)$ is finite iff $X_n$ converge to $X$ in $L^2$.
It is not hard at first glance, but I cannot figure it out after many hours .
Add: I assume it is not almost surely converge but can't get a contradiction. Also, I have shown $E(X_{n-1}(X_n−X_{n−1}))=0$, it does not help
First of all, recall that $L^2(\mathbb{P})$ is a complete space; that is $(X_n)_{n \in \mathbb{N}}$ converges in $L^2$ iff it is a Cauchy sequence in $L^2$.
"$\Rightarrow$":
"$\Leftarrow$":