I am trying to prove if the above propositional formulas is a tautology using the logic laws. However, I am really stuck, I don't know where else to go.
Here is what I've done for the former formula.
((p → q) ∧ ¬q) → ¬p
((¬p ∨ q) ∧ ¬q) → ¬p (implication law)
((q ∨ ¬p) ∧ ¬q) → ¬p (commutative law)
Here's what I've done for the latter formula:
((p ∨ q) ∧ ¬p) → q
((q ∧ p) ∧ ¬p) → q (commutative law)
(q ∧ (p ∧ q)) → q (associative law)
((q ∧ p) v (q ∧ q)) → q (distributive law)
((p v q) v (q ∧ q)) → q (commutative law)
((p v q) v q) → q (idempotent law)
((p v (q v q)) → q (associative law)
I am completely lost and I don't know what to do after the last steps.
Thanks