[guided]The point of the GNS construction is to turn the positive functional $\mu$ into an inner product. Before using Cauchy-Schwarz, we must verify that positivity makes the form Hermitian. Let $B \in \mathcal{A}:=\mathbb{C}\langle X_1,\dots,X_d\rangle$. For every $\lambda \in \mathbb{C}$, positivity gives
\begin{align*}
0 \leq \mu((1+\lambda B)^*(1+\lambda B)) = 1+\lambda\mu(B^*)+\overline{\lambda}\mu(B)+|\lambda|^2\mu(B^*B).
\end{align*}
This number is real for every $\lambda$. Taking imaginary parts with $\lambda=t \in \mathbb{R}$ gives
\begin{align*}
\operatorname{Im}(\mu(B^*)+\mu(B))=0,
\end{align*}
and taking imaginary parts with $\lambda=it$ gives
\begin{align*}
\operatorname{Re}(\mu(B^*)-\mu(B))=0.
\end{align*}
Together these identities say
\begin{align*}
\mu(B^*)=\overline{\mu(B)}.
\end{align*}
Now define
\begin{align*}
(P,Q)_\mu := \mu(Q^*P)
\end{align*}
for $P,Q \in \mathcal{A}$. The order $Q^*P$ is chosen because Androma uses Hilbert inner products linear in the first variable, and with this convention the final identity will be
\begin{align*}
(P(A_1,\dots,A_d)\Omega,\Omega)_H = \mu(P).
\end{align*}
The identity $\mu(B^*)=\overline{\mu(B)}$, applied to $B=Q^*P$, gives
\begin{align*}
(Q,P)_\mu = \mu(P^*Q)=\overline{\mu(Q^*P)}=\overline{(P,Q)_\mu}.
\end{align*}
So $(\cdot,\cdot)_\mu$ is a positive Hermitian sesquilinear form. It may be degenerate, so we remove the zero-length vectors. Define
\begin{align*}
\mathcal{N} := \{P \in \mathcal{A} : \mu(P^*P)=0\}.
\end{align*}
To quotient by $\mathcal{N}$, we must know that $\mathcal{N}$ is a linear subspace and that changing representatives does not change inner products. Both facts come from Cauchy-Schwarz for the positive form $(\cdot,\cdot)_\mu$.
For $P,Q \in \mathcal{A}$, positivity gives
\begin{align*}
0 \leq (P+\lambda Q,P+\lambda Q)_\mu
\end{align*}
for every $\lambda \in \mathbb{C}$. If $(Q,Q)_\mu > 0$, choosing
\begin{align*}
\lambda := -\frac{(P,Q)_\mu}{(Q,Q)_\mu}
\end{align*}
yields
\begin{align*}
|(P,Q)_\mu|^2 \leq (P,P)_\mu (Q,Q)_\mu.
\end{align*}
If $(Q,Q)_\mu=0$, the same inequality forces $(P,Q)_\mu=0$ by applying positivity to $P+\lambda Q$ and varying $\lambda$. Therefore every null vector is orthogonal to every vector.
Now if $P_1,P_2 \in \mathcal{N}$ and $\alpha_1,\alpha_2 \in \mathbb{C}$, then each $P_j$ is orthogonal to every element of $\mathcal{A}$. In particular, it is orthogonal to $\alpha_1P_1+\alpha_2P_2$, so
\begin{align*}
(\alpha_1P_1+\alpha_2P_2,\alpha_1P_1+\alpha_2P_2)_\mu = 0.
\end{align*}
Hence $\mathcal{N}$ is a complex linear subspace.
We may therefore form the quotient [vector space](/page/Vector%20Space) $\mathcal{D}:=\mathcal{A}/\mathcal{N}$ and define
\begin{align*}
([P],[Q])_{\mathcal{D}} := \mu(Q^*P).
\end{align*}
This is independent of the chosen representatives because adding an element of $\mathcal{N}$ changes the expression only by inner products with null vectors, and those inner products vanish. The quotient is a pre-Hilbert space, and its completion is the Hilbert space $H$.
Finally, define the distinguished vector
\begin{align*}
\Omega := [1].
\end{align*}
The unital condition $\mu(1)=1$ gives
\begin{align*}
\|\Omega\|_H^2 = ([1],[1])_{\mathcal{D}} = \mu(1)=1,
\end{align*}
so $\Omega$ is a unit vector.[/guided]