Translate the following inference to logic notation: For all x, x_11 will sleep if and only if x_11 is a soldier. For all x, if x_11 plays squash, then x_11 is a carpenter. For all x, x_11 will sleep if and only if x_11 will play squash. Therefore for all x, if x_11 were a soldier, then x_11 is a carpenter.
forall x: P(x) <-> Q(x). forall x: R(x) -> S(x). forall x: P(x) <-> R(x). Therefore forall x: Q(x) -> S(x).