I was reading Introductory functional analysis with applications by Kreyszig and I'm stuck trying to understand the proof that every inner product space can be completed.
I have many doubts when it comes to using equivalence classes because it is used in the proof. Also, it mentions 'By Lemma 3.2.2,' the lemma being that the inner product is continuous. The cited Theorem 2.3.2 is the one that guarantees every metric space can be completed.
In short, could someone help me by providing a more detailed explanation of this proof?
I believe the use of equivalence classes is because, when we want to complete a space, we want to add to this space only the points that are limits of some Cauchy sequence and are not in this space. So, in my understanding, the equivalence class plays the role of dealing only with the points that we need to add.

It is possible to provide an alternative proof. Let $X$ be the completion of the normed space $W.$ Then $W$ is dense in $X.$ Assume $x_n,y_n\in W$ and $x_n\to x,$ $y_n\to y.$ Then $\langle x_n,y_n\rangle$ is convergent. Indeed, we have $$ \langle x_n,y_n\rangle ={1\over 4}\sum_{k=1}^4i^k\|x_n+i^ky_n\|^2\quad (*)$$ The right hand side is convergent so the limit of $\langle x_n,y_n\rangle $ exists and does not depend on the sequences $x_n,y_n$ but on $x,y.$ Thus we can define the function on $X\times X$ by $$\langle x,y\rangle=\lim _n\langle x_n,y_n\rangle $$ This function clearly satisfies the properties of the inner product and corresponds to the norm on $X.$
Remark The equivalence classes of Cauchy sequences are used in constructing the norm completion of $W,$ but we do not need to discuss that taking for granted the completion exists.