theorem Th22:
  a,b '||' c,d implies a,b '||' d,c
proof
  assume a,b '||' c,d;
  then c,d '||' a,b by Th19;
  then d,c '||' a,b by Th21;
  hence thesis by Th19;
end;
