I need to prove that the following is a tautology:
[(P -> Q) ∧ ¬ Q ] -> ¬P
so my solution was:
[(¬P V Q) ∧ ¬Q] -> ¬P]
[¬((¬P V Q) ∧ ¬Q)] V ¬P]
[(¬¬P ∧ ¬Q V ¬¬ Q) V ¬P]
[(P ∧ ¬Q V Q) V ¬P]
The way i see the final line is that: ¬Q V Q will always hold true and if P is not true, then (P ∧ ¬Q V Q) is not true. But if P is not satisfied, then ¬P is satisfied so it's always true. Is my logic correct?