4

In my book about Logic, which is called 'Language, Proof and Logic', by the way, there is explained that the conditional $ P \rightarrow Q $ is equivalent with $\neg P \lor Q$.

There is another answer on math.stackexchange that gives as answer: 'just compare the truth tables and you can see that they are equivalent'. However, I would like to know how to prove this using formal propositional logic. This should be possible, right?

Git Gud
  • 31,706
Qqwy
  • 348

4 Answers4

7

Layout:

To prove that $\neg P\lor Q$ is a formal consequence of $P\to Q$, start by assuming $P\to Q$ and further suppose that $\neg (\neg P\lor Q)$ holds. At this point you should prove $P\lor \neg P$ and perform $\lor$-$\text{Elim}$ on this disjunction. It's easy to find contradictions on both cases yielding $\neg \neg (\neg P\lor Q)$.

For the other direction, naturally start by assuming that $\neg P\lor Q$ holds and then assume $P$. Now start yet another subproof (within the assumption that $P$ holds) assuming that $\neg Q$ holds. At this point perform $\lor$-$\text{Elim}$ on the assumption $\neg P\lor Q$. It's easy to find a contradiction in this last subproof.

Git Gud
  • 31,706
4
  1. $P → Q$ (given)
  2. $Q \lor \neg Q$ (tautology)
  3. $\neg Q → \neg P$ (contrapositive of (1) )
  4. from (2) and (3): $Q \lor \neg P$ (modus ponens)
statcks
  • 15
0

You may translate the two expressions using sheffer's stroke, symbol : |

  • X | Y means , by definition ~ ( X & Y)

  • X --> Y means ~ ( X & ~ Y) and, hence : X | ~Y

  • X v Y means ~ ( ~X & ~Y) , hence : ~X | ~Y

Now, let ~P play the role of X and Q play the role of Y.

  • ~P v Q means (~ ~ P | ~Q), that is : ( P | ~Q) , using double negation.

Let P play the role of X and Q play the role of Y.

  • ( P --> Q) means ( P | ~Q).

The sheffer's stroke translation shows that the two formulas mean exactly the same thing; hence they are equivalent.

0

Alternatively, one would show both implications.

Showing that $(P \implies Q) \implies (\neg P \vee Q)$: So we assume $(P \implies Q)$ is true. Then if $(\neg P \vee Q)$ is false, we get a contradiction. If $(P \implies Q)$ is true, we can't have $P$ true and $Q$ false, which is the only alternative rendering $\neg P \vee Q$ false. So $\neg P \vee Q$ must be true in that case. Thus, the one-way implication holds.

For the other direction, assume $\neg P \vee Q$ is true. $P \implies Q$ is only false in the case $P = \top$ and $Q = \bot$, which makes $\neg P \vee Q$ false, a contradiction.