I'm trying to prove: $(r\leftrightarrow\neg\ p) \wedge p \equiv \neg\ r \wedge p$
I didn't suceed without truth table.
I'm trying to prove: $(r\leftrightarrow\neg\ p) \wedge p \equiv \neg\ r \wedge p$
I didn't suceed without truth table.
We can replace $(r\leftrightarrow\neg\ p)$ by the disjunction $(r \wedge \lnot p) \lor (\lnot r \wedge p).$ Then distribute the $p$ over these two terms. The first one, $(r \wedge \lnot p) \land p,$ is contradictory and so may be dropped, while the remaining one is $(\lnot r \land p) \land p,$ equivalent to $\lnot r \land p.$
The right side proposition is true only when $r$ is false and $p$ is true. The left side proposition is also true only when $p$ is true and $r$ is false. Hence they are equivalent.