'If X then Y unless Z' is represented by which of the following formulas in propositional logic? ('-' is negation, '/\' is conjunction, '->' is implication) A. (X /\ ~Z) -> Y B. (X -> Y) /\ (~Z) C. X -> (Y /\ ~Z) D. (X /\ ~Z) -> ~Y

GATE 2002 · Discrete Mathematics · Propositional Logic · medium

Answer: A. (X /\ ~Z) -> Y

  1. Parse 'Y unless Z': 'Y unless Z' = ~Z -> Y.
  2. Apply outer 'If X then ...': 'If X then (Y unless Z)' = X -> (~Z -> Y) = X -> (Z \/ Y).
  3. Apply exportation law: X -> (~Z -> Y) = (X /\ ~Z) -> Y. This matches option A.