Recall
Example 1.1.6.7, where we translated “You cannot ride the roller coaster if you are under 4 feet tall unless you are older than 16 years old.” Let
-
\(r \) be “You can ride the roller coaster,”
-
\(f \) be “You are under 4 feet tall,”
-
\(s \) be “You are older than 16 years old.”
Then we had two seemingly correct translations
\begin{equation*}
\lnot s \implies (f \implies\lnot r)
\end{equation*}
and
\begin{equation*}
(f\land\lnot s) \implies\lnot r.
\end{equation*}
Let’s see that these statements are logically equivalent by simplifying each one. We change each conditional to a disjunction and simplify.
\begin{align*}
\lnot s \implies (f \implies\lnot r) \amp \equiv s\lor (f \implies\lnot r) \\
\amp \equiv s\lor (\lnot f\lor\lnot r)
\end{align*}
\begin{align*}
(f\land\lnot s) \implies\lnot r \amp \equiv \lnot (f\land\lnot s) \lor\lnot r \\
\amp \equiv (\lnot f\lor s) \lor\lnot r \\
\amp \equiv (s\lor \lnot f) \lor\lnot r \\
\amp \equiv s\lor (\lnot f \lor\lnot r)
\end{align*}
Since both statements are equivalent to \(s\lor (\lnot f \lor\lnot r)\) , the statements are equivalent to each other.