How can I show, that the following definitions of a compact operator are equivalent?
Definition 1:
An operator $A$ on a Hilbert space $H$ is called compact if for every bounded sequence $(x_n)$ in $H$, the sequence $(Ax_n)$ contains a convergent subsequence.
Definition 2:
An operator $A$ on a Hilbert space $H$ is called compact if $x_n \rightharpoonup x$ and $y_n \rightharpoonup y$ implies $(Ax_n, y_n) \to (Ax, y)$.
I managed to prove, that Definition 1. is equivalent to ($x_n \rightharpoonup x$ implies $Ax_n \to Ax$). Can I apply this result somehow?