My question is less concerned with the physical aspects of the nonlinear Schrödinger equation and more with the mathematical mechanics of using a Lax pair.
I am considering how to recover the defocusing nonlinear Schrödinger equation $iq_t + q_{xx} - 2|q|^2 q = 0$ from its Lax pair. As I understand the equation arises from the requirement that the mixed second partials of the wave function must be equivalent which generates the requirement discussed in Lemma 1. $\Psi(x,t,k)$ is a 2x2 matrix.
$$\Psi_x + ik\sigma_3 \Psi = Q \Psi \text{ for } k \in \mathbb{C}$$ $$\Psi_t + 2ik^2 \sigma_3 \Psi = (2k Q - iQ_x \sigma_3 - i|q|^2 \sigma_3)\Psi$$
$$ \sigma_3= \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix} $$
$$ Q = \begin{pmatrix} 0 & q(x,t) \\ \overline{q}(x,t) & 0 \end{pmatrix} $$
The operators $U$ and $V$ are defined by the following equations. $${\Psi}_{{{x}}}={U}{\Psi}={\left({Q}-{i}{k}{\sigma}_{{{3}}}\right)}{\Psi}$$ $${\Psi}_{{{t}}}={V}{\Psi}={\left({2}{k}{Q}-{i}{Q}_{{{x}}}{\sigma}_{{{3}}}-{i}{\left|{q}\right|}^{{2}}{\sigma}_{{{3}}}-{2}{i}{k}^{{2}}{\sigma}_{{{3}}}\right)}\Psi$$
Lemma 1(Compatibility of the Lax Pair): Imposing the requirement on mixed partials yields the following relationship, ${\Psi}_{{{x}{t}}}={\Psi}_{{{t}{x}}}\Leftrightarrow{U}_{{{t}}}-{V}_{{{x}}}+{\left[{U},{V}\right]}={0}$.
$${\Psi}_{{{x}{t}}}={U}_{{{t}}}{\Psi}+{U}{\Psi}_{{{t}}}$$
$${\Psi}_{{{t}{x}}}={V}_{{{x}}}{\Psi}+{V}{\Psi}_{{{x}}}$$
$$ \begin{align} &{\Psi}_{{{x}{t}}}-{\Psi}_{{{t}{x}}}=\\ &{\left({U}_{{{t}}}-{V}_{{{x}}}\right)}{\Psi}+{U}{\Psi}_{{{t}}}-{V}{\Psi}_{{{x}}}= \\ &{\left({U}_{{{t}}}-{V}_{{{x}}}\right)}{\Psi}+{\left({U}{V}-{V}{U}\right)}{\Psi}= \\ &{\left({U}_{{{t}}}-{V}_{{{x}}}+{\left[{U},{V}\right]}\right)}{\Psi}= {0} \end{align}$$
The proof is concluded as biconditionality follows from algebraic equivalency.
Point of Difficulty: Substituting the original Lax pair into the condition ${U}_{{{t}}}-{V}_{{{x}}}+{\left[{U},{V}\right]}={0}$ should yield the original nonlinear Schrödinger equation.
$$ \begin{align} &{Q}_{{{t}}}-{2}{k}{Q}_{{{x}}}+{i}{Q}_{{{x}{x}}}{\sigma}_{{{3}}}+{i}{\sigma}_{{{3}}}{\left({\left|{q}\right|}^{{2}}\right)}_{{{x}}}+ {\left({Q}-{i}{k}{\sigma}_{{{3}}}\right)}{\left({2}{k}{Q}-{i}{Q}_{{{x}}}{\sigma}_{{{3}}}-{i}{\left|{q}\right|}^{{2}}{\sigma}_{{{3}}}-{2}{i}{k}^{{2}}{\sigma}_{{{3}}}\right)}- {\left({2}{k}{Q}-{i}{Q}_{{{x}}}{\sigma}_{{{3}}}-{i}{\left|{q}\right|}^{{2}}{}{\sigma}_{{{3}}}-{2}{i}{k}^{{2}}{\sigma}_{{{3}}}\right)}(Q -ik\sigma_3)= \\ &{Q}_{{{t}}}-{2}{k}{Q}_{{{x}}}+{i}{Q}_{{{x}{x}}}{\sigma}_{{{3}}}+{i}{\sigma}_{{{3}}}{\left({\left|{q}\right|}^{{2}}\right)}_{{{x}}}+{2}{k}{Q}^{{2}}- {i}QQ_{{{x}}}{\sigma}_{{{3}}}-{i}{\left|{q}\right|}^{{2}}{Q}{\sigma}_{{{3}}}-{2}{i}{k}^{{2}}{Q}{\sigma}_{{{3}}}-{2}{i}{k}^{{2}}{\sigma}_{{{3}}}{Q}-{k}{\sigma}_{{{3}}}{Q}{\sigma}_{{{3}}}-{k}{\left|{q}\right|}^{{2}}{{\sigma}_{{{3}}}^{{2}}}-{2}{k}^{{3}}{{\sigma}_{{{3}}}^{{2}}}-{2}{k}{Q}^{{2}}+{i}{Q}_{{{x}}}{\sigma}_{{{3}}}{Q}+{i}{\left|{q}\right|}^{{2}}{\sigma}_{{{3}}}{Q}+{2}{i}{k}^{{2}}{\sigma}_{{{3}}}{Q}+{2}{i}{k}^{{2}}{Q}{\sigma}_{{{3}}}+{k}{Q}{{\sigma}_{{{3}}}^{{2}}}+{k}{\left|{q}\right|}^{{2}}{{\sigma}_{{{3}}}^{{2}}}+{2}{k}^{{3}}{{\sigma}_{{{3}}}^{{2}}}= \\ & {Q}_{{{t}}}-{2}{k}{Q}_{{{x}}}+{i}{Q}_{{{x}{x}}}{\sigma}_{{{3}}}+{i}{\sigma}_{{{3}}}{\left({\left|{q}\right|}^{{2}}\right)}_{{{x}}}+{i}{\left[{Q}_{{{x}}}{\sigma}_{{{3}}},{Q}\right]}+{i}{\left|{q}\right|}^{{2}}{\left[{\sigma}_{{{3}}},{Q}\right]}+{2}{i}{k}^{{2}}{\left[{\sigma}_{{{3}}},{Q}\right]}+{2}{i}{k}^{{2}}{\left[{Q},{\sigma}_{{{3}}}\right]}+{k}{\left[{Q}{\sigma}_{{{3}}},{\sigma}_{{{3}}}\right]}= \\ & {Q}_{{{t}}}-{2}{k}{Q}_{{{x}}}+{i}{\left\lbrace{Q}_{{{x}{x}}}{\sigma}_{{{3}}}+{\sigma}_{{{3}}}{\left({\left|{q}\right|}^{{2}}\right)}_{{{x}}}+{\left[{Q}_{{{x}{x}}}{\sigma}_{{{3}}},{Q}\right]}+{\left({\left|{q}\right|}^{{2}}\right)}{\left[{\sigma}_{{{3}}},{Q}\right]}+{k}{\left[{Q}{\sigma}_{{{3}}},{\sigma}_{{{3}}}\right]}\right\rbrace}=\\ &\dots \text{ I do not understand how to proceed.} \end{align} $$