reserve a,b,c,d,e,f,g,h for set;

theorem
  NAND4(a,b,c,d) is non empty iff not (a is non empty & b is non empty &
  c is non empty & d is non empty) by Def16;
