Prove without using truth tables: $$(((p \vee r) ∧ q) \vee (p \vee r)) ∧ (\neg p \vee r) ⇔ r$$ I tried but I always get stuck when applying like 4 laws, and i don't even know if i using them correctly, i think is the ¬p that is given me problems here, please help
This its what i have so far
((q ∧ p) v (q ∧ r) v (p v r)) ∧ (¬p v r)
((q ∧ p) v ((q ∧ r) v r) v p) ∧ (¬p v r)
((q ∧ p) v r v p)) ∧ (¬p v r)
((q ∧ p) v p v r)) ∧ (¬p v r)
(p v r) ∧ (¬p v r)