please i dont understand this proof

We suppose that $u\rightarrow u$ on $W^{1,p}_0$ i dont understand why we must use the weak compactness and the uniform convexity of $W^{1,p}_0$ ?
Thank you
please i dont understand this proof

We suppose that $u\rightarrow u$ on $W^{1,p}_0$ i dont understand why we must use the weak compactness and the uniform convexity of $W^{1,p}_0$ ?
Thank you
Copyright © 2021 JogjaFile Inc.
Assuming that $u_n\to u$ in $W_0^{1,p}(\Omega)$, it should be proven that $|u_n|\to |u|$ in $W_0^{1,p}(\Omega)$. Weak compactness is used to obtain a subsequence $\left\{u_{n_k}\right\}$ such that $|u_{n_k}|$ converges weakly to some $z$. You see that this is "almost" what we want. The statement that $|u_n|\to z=|u|$ for the whole sequence can be proven as a exercise, if you're not sure about it (try doing it by contradiction). Since you have only weak convergence, uniform convexity, by means of the second property in Wikipedia, solves this problem and gives you strong convergence.
If you're still not sure about all this, here's an alternative proof for this theorem:
Just a quick observation: All this holds in $W^{1,p}(\Omega)$ as well.