I'm learning the fine structure of hydrogen and feel a little confused about the spin-orbit coupling term in the hamiltonian. The corrected hamiltonian is:
$$H = \frac{\vec{P}^2}{2m}+ V(R)-\frac{\vec{P}^4}{8m^3 c^2} + \frac{1}{2m^2c^2}\frac{1}{R}\frac{dV(R)}{dR}\vec{L}\cdot\vec{S}$$
Where the last term is spin-orbit coupling.
Both in Griffiths and Cohen-Tannoudji's textbook, they say SOC is due to "In the electron frame, the proton is circling around it. This orbiting positive charge sets up a magnetic field $\vec{B}$ which exerts a torque on the spinning electron." Thus should add $H_{SOC} = -\vec{\mu_e}\cdot\vec{B}$ in the hamiltonian.
So this $H_{SOC}$ is derived in the electron frame, where electron can feel magnetic field of proton. But the kinetic energy terms in the original hamiltonian are definitely not in the electron frame, because in the electron frame we should have $p_e = 0$ and $\frac{\vec{P_e}^2}{2m} = 0$.
Why we can just combine the hamiltonian from two different frames together and say it is the correct hamiltonian?In different frames we should have different energy(i.e. different hamiltonian), isn't it?