theorem
  a++A = a++B implies A = B
proof
  assume a++A = a++B;
  then A c= B & B c= A by Th144;
  hence thesis;
end;
