Prove the following a tautology : (P ∧ ¬Q) ↔ ¬(P → Q)
I started with trying to seek a contradiction for (P ∧ ¬Q), but honestly I'm lost and don't know how to proceed. Any help would be appreciated.
Prove the following a tautology : (P ∧ ¬Q) ↔ ¬(P → Q)
I started with trying to seek a contradiction for (P ∧ ¬Q), but honestly I'm lost and don't know how to proceed. Any help would be appreciated.
For left to right :
1) (P & ~ Q) --- premise
2) P --- by &-elim
3) ~ Q --- by &-elim
4) P → Q --- assumed [a]
5) Q --- by →-elim
6) Q & ~ Q --- contradiction !
7) ~ (P → Q) --- by ~-intro, discharging [a].
Thus far, we have proved :
(P & ~ Q) ⊢ ~ (P → Q).
Then by →-intro :
⊢ (P & ~ Q) → ~ (P → Q)
From right to left we need Double Negation :
1) ~ (P → Q) --- premise
2) ~ Q --- assumed [a]
3) P --- assumed [b]
4) ~ (P & ~ Q) --- assumed [c]
5) (P & ~ Q) --- from 2) and 3) by &-intro
6) contradiction from 4) and 5)
7) Q --- from 2) and 6) by Double Negation, discharging [a]
8) (P → Q) --- from 3) and 7) by →-intro, discharging [b]
9) contradiction from 1) and 8)
10) (P & ~ Q) --- from 4) and 9) by Double Negation, discharging [c].
Thus : ~ (P → Q) ⊢ (P & ~ Q) and then, by →-intro :
⊢ ~ (P → Q) → (P & ~ Q)