Translate the following inference to logic notation: For all x, x_5 is a carpenter if and only if x_5 will drink water. For all x, if x_5 drinks water, then x_5 is cooking. For all x, x_5 will not cook. Therefore for all x, x_5 is not a carpenter.
forall x: P(x) <-> Q(x). forall x: Q(x) -> R(x). forall x: ~R(x). Therefore forall x: ~P(x).