等式だけど
(aa+bb-1)^2 + (cc+dd-1)^2 + 2(ac+bd)^2
= (aa+cc-1)^2 + (bb+dd-1)^2 + 2(ab+cd)^2.

これって何か背景あるのかな?