reserve u,v,x,x1,x2,y,y1,y2,z,p,a for object,
        A,B,X,X1,X2,X3,X4,Y,Y1,Y2,Z,N,M for set;

theorem
  x <> y implies { x } \+\ { y } = { x,y }
proof
  assume
A1: x <> y;
  for z holds z in { x } \+\ { y } iff z=x or z=y
  proof
    let z;
A2: z in {y} iff z=y by TARSKI:def 1;
    z in {x} iff z=x by TARSKI:def 1;
    hence thesis by A1,A2,XBOOLE_0:1;
  end;
  hence thesis by TARSKI:def 2;
end;
