I'm having some trouble following someone's proof of the following result:
Assume that $\{X_n\}$ are uniformly integrable and that $X_n\to X$ a.s.; then $EX_n\to EX$.
First, the author shows that $X$ is integrable, and I'm fine with that. But I don't understand how exactly she concludes that $$ \limsup_{n\to\infty}E|X_n-X|=0. $$
Fix $\epsilon>0$. By the integrability of $X$ and the uniform integrability of $\{X_n\}$, the author can choose an $M$ such that $$ \sup_n E\ (1_{\{|X_n|\ge M\}}|X_n|)\le\epsilon\quad\text{and}\quad E\ (1_{\{|X|\ge M\}}|X|)\le\epsilon. $$ I'm also fine with the identity \begin{align} |x-y| & \le 1_{\{|x-y|\le 2M\}}|x-y|+1_{\{|x-y|\ge 2M\}}|x-y|\\ & \le 1_{\{|x-y|\le 2M\}}|x-y|+(1_{\{|x|\ge M\}}+1_{\{|y|\ge M\}})(|x|+|y|). \tag{1} \end{align}
My question is, how exactly does this identity imply that \begin{align} \limsup_{n\to\infty}E|X_n-X| \le & \limsup_{n\to\infty}E(1_{\{|X_n-X|\le 2M\}}|X_n-X|)\\ &\ +2 \limsup_{n\to\infty}E(1_{\{|X_n|\ge M\}}|X_n|) + 2E(1_{\{|X|\ge M\}}|X|)? \tag{2} \end{align}
Specifically, how do the four terms in $$(1_{\{|x|\ge M\}}+1_{\{|y|\ge M\}})(|x|+|y|)$$ become $$2 \limsup_{n\to\infty}E(1_{\{|X_n|\ge M\}}|X_n|) + 2E(1_{\{|X|\ge M\}}|X|)?$$
EDIT: d.k.o. explains below why $$|x-y| \le 1_{\{|x-y|\le 2M\}}|x-y|+2|x|1_{\{|x|\ge M\}}+2|y|1_{\{|y|\ge M\}}, \tag{3}$$ from which $(2)$ is immediate. So, if the author claimed that $(2)$ follows from $(3)$, I'd have no question. Her claim in the proof, however, is that $(2)$ is a consequence of $(1)$. I'd still like to ask if this is actually true?
The inequality follows from the fact that $|x-y|\le |x|+|y|\le 2\{|x|\vee|y|\}\le 2\{|x|+|y|\}$. Namely,
$$|X_n-X|=|X_n-X|\cdot 1\{|X_n-X|\le 2M\}+|X_n-X|\cdot 1\{|X_n-X|> 2M\}$$ $$\le |X_n-X|\cdot 1\{|X_n-X|\le 2M\}+2[|X_n|\vee |X|]\cdot 1\{2[|X_n|\vee |X|]>2M\}$$ $$\le |X_n-X|\cdot 1\{|X_n-X|\le 2M\}+2|X_n|\cdot 1\{|X_n|>M\}+2|X|\cdot 1\{|X|>M\}$$