=/2
+-Term1 = +-Term2
=
unifies Term1 and Term2.
This is defined as if by the clause Z = Z..
Z = Z.
If =/2 is not able to unify Term1 and Term2, it will simply fail.