edited by
14,858 views
62 votes
62 votes

"If $X$ then $Y$ unless $Z$" is represented by which of the following formulas in propositional logic? ("$\neg$" is negation, "$\land$" is conjunction, and "$\rightarrow$" is implication)

  1. $(X\land \neg Z) \rightarrow Y$
  2. $(X \land Y) \rightarrow \neg Z$
  3. $X \rightarrow(Y\land \neg Z)$
  4. $(X \rightarrow Y)\land \neg Z$
edited by

10 Answers

3 votes
3 votes
The statement “If X then Y unless Z” means, if Z doesn’t occur, X implies Y i.e. ¬Z→(X→Y), which is equivalent to Z∨(X→Y) (since P→Q ≡ ¬P∨Q), which is then equivalent to Z∨(¬X∨Y). Now we can look into options which one matches with this.

So option (a) is (X∧¬Z)→Y = ¬((X∧¬Z))∨Y = (¬X∨Z)∨Y, which matches our expression. So option A is correct.
3 votes
3 votes

Option A is correct.

2nd interpretation....it is saying that if X happens then Y will happen otherwise Z will happen..So can we say that it means X and Z can not happen simultaneously because if X happens then output will be be Y not Z so can we also say that X happen and Z does not happen then output will be Y

( X ^ ~Z ) -> Y

edited by
1 votes
1 votes

The statement “If X then Y unless Z” means, if Z doesn’t occur, X implies Y i.e. ¬Z→(X→Y), which is equivalent to Z∨(X→Y) (since P→Q ≡ ¬P∨Q), which is then equivalent to Z∨(¬X∨Y). Now we can look into options which one matches with this.

So option (a) is (X∧¬Z)→Y = ¬((X∧¬Z))∨Y = (¬X∨Z)∨Y, which matches our expression. So option A is correct.

Answer:

Related questions

18 votes
18 votes
2 answers
1
57 votes
57 votes
4 answers
3
30 votes
30 votes
3 answers
4
Kathleen asked Sep 15, 2014
9,296 views
In $2's$ complement addition, overflowis flagged whenever there is carry from sign bit additioncannot occur when a positive value is added to a negative valueis flagged w...