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

theorem
  p 'nand' (q <=> r) = 'not' (p '&' ('not' q 'or' r) '&' ('not' r 'or' q ));
