In this paper, the authors derive the Gauss-Codazzi equations for a surface embedded in $\mathbb{R}^3$, but I cannot reproduce it. It's a classical result, but I want to make sure I'm not missing something. I'll reproduce everything that's needed (I think!) here.
For the embedding $X:\Sigma \to\mathbb{R}^3$, we can choose as basis vectors on the embedded surface $\{e_{(i)}\}=(X_z,X_{\bar{z}},N)$, where $X_z=\partial_z X$ and $N$ is the normal vector to the surface. These vectors satisfy $$X_z\cdot X_{\bar{z}}=\frac{f^2}{2}\tag{1}$$ $$X_z\cdot X_z=0\tag{2}$$ $$X_{\bar{z}}\cdot X_{\bar{z}}=0.\tag{3}$$ We also have definitions for the Hopf differential $Q$ $$X_{zz}\cdot N=Q,\tag{4}$$ $$X_{\bar{z}\bar{z}}\cdot N=Q^*\tag{5}$$ and the mean curvature $H$ $$X_{\bar{z}z}\cdot N=\frac{1}{2}f^2H.\tag{6}$$
Now the statement in the paper is "Using the condition for the commutivity of the derivatives $e_{(i),z\bar{z}}=e_{(i),\bar{z}z}$ we can derive the Gauss-Codazzi equations:"
$$ff_{z\bar{z}}-f_{z}f_{\bar{z}}+\frac{1}{4}f^4H^2=|Q|^2,\qquad Q_{\bar{z}}=\frac{1}{2}f^2H_z,\qquad Q^*_{z}=\frac{1}{2}f^2H_\bar{z}.$$
We don't have explicit forms for the second derivatives of the basis vectors, so the only idea I had was to take derivatives of those various inner products until we have the various derivatives of the unit vectors, set the ones equal to each other that should be, and that should be that. For instance,
$$\partial_{\bar{z}}(X_{zz}\cdot N)=X_{zz\bar{z}}\cdot N+X_{zz}\cdot N_\bar{z}=Q_{\bar{z}}\tag{7}$$ $$\partial_z(X_{z\bar{z}}\cdot N)=X_{z\bar{z}z} \cdot N+X_{z\bar{z}}\cdot N_z=ff_zH+\frac{1}{2}f^2H_z\tag{8}$$
If I subtract those, the first terms should cancel and I will get
$$X_{zz}\cdot N_\bar{z}-X_{z\bar{z}}\cdot N_z=Q_\bar{z}-ff_zH-\frac{1}{2}f^2H_z\tag{9}$$
Now if I want something like the first term, I can take two derivatives of the orthogonality condition: $$\partial_{\bar{z}z}(X_{z}\cdot N)=0=X_{zz\bar{z}}\cdot N+X_{zz}\cdot N_\bar{z}+X_{z\bar{z}}\cdot N_{z}+X_z\cdot N_{z\bar{z}}\tag{10}$$
But that gives me back another factor with three derivatives - in fact, the term I already got rid of. So now this is feeling like I'm going in a circle. Does anyone have any insight into the specific pattern of identities which might get me to the right answer? Or, if there is a simple fact I am missing?
(Notice that I've numbered these equations, so you can simply give instructions rather then typing them all out if you see the solution. Also, demonstrating how to get just one of the required equations will be sufficient, I'm sure I will see how to get the others based on your solution.)