As the title says, the given sentence is
If $x$ then $y$ unless $z$"
Now according to my learning "If $x$ then $y$" translates to: $x\rightarrow y$. Also according to Kenneth Rosen's book (second paragraph on this page) "$y$ unless $z$" translates to $z\rightarrow y$. Now we have to AND (conjunction) these two. According to 7th formula in table 7 here, this is done as follows:
$(x \rightarrow y)\land (z\rightarrow y) \equiv (x\lor z)\rightarrow y$
However the solution given in the book (not the Kenneth Rosen's book) is
$(x\land \lnot z)\rightarrow y$
Though above seems to be direct verbal translation of the statement "It $x$ then $y$ unless $z$", I am confused how following the rules as given in the book which also sounds correct yields different result.
According to Rosen (7th ed, page 6), “$q$ unless $¬p$” translates : “if $p$, then $q$”.
Thus, for :
assuming a comma : "if $x$ then $y$, unless $z$", we have :
Now for the symbols :
is equivalent to : $(\lnot z \land x) \to y$ by Exportation, i.e. the tautology :