[step:Test against $T^* g$ for $g \in \operatorname{Dom}(T^*)$ to conclude $u \in \operatorname{Dom}(T)$ and $Tu = f$]Fix $g \in \operatorname{Dom}(T^*)$ and let $g_1 \in \operatorname{Dom}(T^*) \cap \ker S$ be its component as in Step 5, so that $T^* g_1 = T^* g$ and $(f, g_1)_{\mathcal{H}_2} = (f, g)_{\mathcal{H}_2}$. Then $T^* g_1 \in V$, and using $\tilde\ell\big|_V = \ell$:
\begin{align*}
(T^* g, u)_{\mathcal{H}_1} = (T^* g_1, u)_{\mathcal{H}_1} = \tilde\ell(T^* g_1) = \ell(T^* g_1) = (f, g_1)_{\mathcal{H}_2} = (f, g)_{\mathcal{H}_2}.
\end{align*}
Thus, for every $g \in \operatorname{Dom}(T^*)$,
\begin{align*}
(u, T^* g)_{\mathcal{H}_1} = \overline{(T^* g, u)_{\mathcal{H}_1}} = \overline{(f, g)_{\mathcal{H}_2}} = (g, f)_{\mathcal{H}_2}.
\end{align*}
In particular,
\begin{align*}
|(u, T^* g)_{\mathcal{H}_1}| = |(f, g)_{\mathcal{H}_2}| \le \|f\|_{\mathcal{H}_2}\, \|g\|_{\mathcal{H}_2},
\end{align*}
so the map $g \mapsto (u, T^* g)_{\mathcal{H}_1}$ is bounded on $\operatorname{Dom}(T^*)$ in the $\mathcal{H}_2$-norm.
By definition of the adjoint of $T^*$, this is exactly the condition $u \in \operatorname{Dom}((T^*)^*) = \operatorname{Dom}(T^{**})$, with
\begin{align*}
(T^{**} u, g)_{\mathcal{H}_2} = (u, T^* g)_{\mathcal{H}_1} = (g, f)_{\mathcal{H}_2}^{*}
\end{align*}
for all $g \in \operatorname{Dom}(T^*)$, equivalently $(T^{**} u - f, g)_{\mathcal{H}_2} = 0$ for all $g$ in the dense subspace $\operatorname{Dom}(T^*) \subseteq \mathcal{H}_2$ (densely defined because $T$ is densely defined and closed). Hence $T^{**} u = f$.
Since $T$ is densely defined and closed, $T^{**} = T$, so $u \in \operatorname{Dom}(T)$ and $Tu = f$. Combined with the bound $\|u\|_{\mathcal{H}_1} \le C\|f\|_{\mathcal{H}_2}$ from Step 4, this is the conclusion of the theorem. $\blacksquare$[/step]