reserve p,q,r,s for boolean object;

theorem
  (p 'xor' q) 'xor' r = p 'xor' (q 'xor' r)
proof
  q = FALSE or q = TRUE by Def3;
  hence thesis;
end;
