The Pauli matrices obey and , and operators on different tensor factors commute. Hence
Adding gives . Each commutes separately with both and , so . Every interaction on sites also commutes with all for . Therefore equal and coefficients make their contributions cancel pair by pair, and . This is Excitation-number conservation in XXZ spin chains: is the total spin magnetization in Pauli normalization.