(a^2 + 1)·(b^2 + 1)·(c^2 + 1) + (a·b)·(b·c)·(a·c) + (a·c)·(a·b)·(b·c) - (a·c)·(b^2 + 1)·(a·c) - (b·c)·(b·c)·(a^2 + 1) - (c^2 + 1)·(a·b)·(a·b)
= (a^2·b^2·c^2 + a^2·b^2 + a^2·c^2 + a^2 + b^2·c^2 + b^2 + c^2 + 1) + (a^2·b^2·c^2) + (a^2·b^2·c^2) - (a^2·b^2·c^2 + a^2·c^2) - (a^2·b^2·c^2 + b^2·c^2) - (a^2·b^2·c^2 + a^2·b^2)
= a^2 + b^2 + c^2 + 1