I have the following expression
$(P\rightarrow Q) \wedge (Q\rightarrow R) \wedge (R \rightarrow P)$
and I want to create a DNF. I've gotten as far as getting rid of the implication, but I'm not sure how to get to the nice answer Wolfram Alpha gives me:
$(P \wedge Q \wedge R) \vee (¬P \wedge ¬Q \wedge ¬R) $
When I try to expand things out I just get complicated expressions that I'm not sure how to simplify, and I want to avoid using the truth tables if possible.