Translate the following inference to logic notation: If Patricia drinks water, then Karen is not sleeping. For all x, if x_2 cooks, then x_2 is sleeping. For all x, x_2 is not an electrician or x_2 is a scientist. For all x, if x_2 were a scientist, then x_2 is sleeping. For all x, x_2 is an electrician or x_2 will cook. Therefore Patricia is not drinking water.
p -> ~P(a). forall x: Q(x) -> P(x). forall x: ~R(x) or S(x). forall x: S(x) -> P(x). forall x: R(x) or Q(x). Therefore ~p.