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

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