theorem Th18:
  not p,q // p,r1 & p,r1 // p,r2 & q,r1 // q,r2 implies r1=r2
proof
  assume that
A1: ( not p,q // p,r1)& p,r1 // p,r2 and
A2: q,r1 // q,r2;
A3: r1,r2 // r1,q by A2,Th14;
  ( not r1,p // r1,q)& r1,r2 // r1,p by A1,Th14;
  hence thesis by A3,Def1;
end;
