DeMorgan’s laws of Distribution and Their Proofs

DeMorgan’s laws of Distribution and Their Proofs

Laws of DeMorgan, Distribution, and Their Proofs

SUMMARY
In this class, we review the proofs of DeMorgan’s laws of Distribution for conjunction and disjunction, which are frequently used in propositional logic and areas such as set theory, probability, topology, electronics, and programming. The equivalences that formalize the distribution of negations with conjunction and disjunction are presented, as well as the rules of distributivity between conjunction and disjunction. The deduction techniques used to obtain these proofs are explained, and students are encouraged to complete the proposed proofs to reinforce their knowledge. The exercise of asking oneself, “Can I construct these proofs in a different order following this same methodology?” is also suggested to improve skills in logic.


LEARNING OBJECTIVES:
At the end of this class, the student will be able to

  1. Prove DeMorgan’s laws and the rules of distributivity between conjunction and disjunction.
  2. Apply the learned deduction techniques to the proof of DeMorgan’s laws and distributivity.
  3. Compare the proofs of DeMorgan’s laws and distributivity to find similarities and differences.
  4. Analyze the proofs of DeMorgan’s laws and distributivity to improve understanding of propositional logic.

INDEX
DEMORGAN’S LAWS
DISTRIBUTIVITY RULES BETWEEN CONJUNCTION AND DISJUNCTION
FINAL CONSIDERATIONS

Now it’s time to review another frequently used property in propositional logic, namely the proofs of DeMorgan’s laws of Distribution for conjunction and disjunction. The use of these laws is common in set theory and, by extension, permeates all of mathematics: from probability theory, topology, and even has a presence in electronics and programming. As usual, we will break down the proofs of these laws using the deduction techniques we have obtained so far.




DeMorgan’s Laws

DeMorgan’s laws are a set of equivalences that formalize the distribution of negations with conjunction and disjunction. Formally, they are expressed through the equivalences:

\neg(\alpha \wedge \beta) \dashv \vdash (\neg\alpha \vee \neg \beta)

\neg(\alpha \vee \beta) \dashv \vdash (\neg\alpha \wedge \neg \beta)

These proven equivalences can be obtained without the need to make a proof like we have done so far, since we can rely on the definitions that relate conjunctions with disjunctions and a bit of play with the double negation equivalence and substitutions. From the definition of conjunction, it follows that:

(A \wedge B):= \neg(\neg A \vee \neg B)

Applying a negation to both sides of this expression, we have

\neg(A \wedge B):= \neg\neg(\neg A \vee \neg B)

Then, by the double negation equivalence, we get

\neg(A \wedge B)\dashv \vdash (\neg A \vee \neg B)

Finally, replacing A=\alpha and B=\beta, we obtain DeMorgan’s first equivalence

\boxed{\neg(\alpha \wedge \beta) \dashv \vdash (\neg\alpha \vee \neg \beta)}

To obtain the second, we can continue playing with the expression we had before making the replacement by adding a negation to both sides again, obtaining

\neg\neg(A \wedge B)\dashv \vdash \neg(\neg A \vee \neg B)

And then, by double negation, we get

\neg(\neg A \vee \neg B) \dashv \vdash (A \wedge B)

If in this last expression we replace A=\neg\alpha and B=\neg\beta, we will get

\neg(\neg \neg\alpha \vee \neg \neg\beta) \dashv \vdash (\neg\alpha \wedge \neg\beta)

Which, due to the double negation equivalence, will lead to DeMorgan’s second equivalence

\boxed{\neg( \alpha \vee \beta) \dashv \vdash (\neg\alpha \wedge \neg\beta)}

In addition, in a completely analogous way, we can obtain some additional forms, which are just variations of the ones we just reviewed

\neg(\neg\alpha \wedge \beta) \dashv \vdash (\alpha \vee \neg \beta)

\neg(\neg\alpha \vee \beta) \dashv \vdash (\alpha \wedge \neg \beta)

\neg(\alpha \wedge \neg\beta) \dashv \vdash (\neg\alpha \vee \beta)

\neg(\alpha \vee \neg\beta) \dashv \vdash (\neg\alpha \wedge \beta)




Distributivity Rules Between Conjunction and Disjunction

As the name suggests, these rules allow us to distribute the sets and disjunctions within an expression. These laws are summarized in the following two equivalences:

∧ – Distributivity(\alpha \wedge(\beta \vee \gamma)) \dashv \vdash ((\alpha \wedge \beta)\vee(\alpha \wedge \gamma))
∨ – Distributivity(\alpha \vee(\beta \wedge \gamma)) \dashv \vdash ((\alpha \vee \beta)\wedge(\alpha \vee \gamma))

As we have seen so far, although this is a known result, its proof is not trivial at all. Although, to complete this proof, it must be reasoned in both directions, this time I will only give the proof in one direction; the proof in the reverse direction will be left as an exercise for the reader.

∧ – Distributivity

To prove that \{(\alpha \wedge(\beta \vee\gamma))\}\vdash((\alpha \wedge \beta)\vee(\alpha \wedge \gamma)) occurs, we have the following reasoning.

(1)\{(\alpha \wedge(\beta \vee\gamma)), \beta \}\vdash (\alpha \wedge(\beta \vee\gamma)) ; Pre
(2)\{(\alpha \wedge(\beta \vee\gamma)), \beta \}\vdash \alpha ; ∧-elimination(1)
(3)\{(\alpha \wedge(\beta \vee\gamma)), \beta \}\vdash \beta ; Pre
(4)\{(\alpha \wedge(\beta \vee\gamma)), \beta \}\vdash (\alpha\wedge \beta) ; ∧-Introduction(2,3)
(5)\{(\alpha \wedge(\beta \vee\gamma)), \beta \}\vdash ((\alpha\wedge \beta)\vee(\alpha \wedge \gamma) ); ∨-Introduction(4)
(6)\{(\alpha \wedge(\beta \vee\gamma)), \neg\beta \}\vdash (\alpha \wedge(\beta \vee\gamma)) ; Pre
(7)\{(\alpha \wedge(\beta \vee\gamma)), \neg\beta \}\vdash (\beta \vee\gamma) ; ∧-Elimination(6)
(8)\{(\alpha \wedge(\beta \vee\gamma)), \neg\beta \}\vdash\neg\beta ; Pre
(9)\{(\alpha \wedge(\beta \vee\gamma)), \neg\beta \}\vdash\gamma ; ∨-Elimination(7,8)
(10)\{(\alpha \wedge(\beta \vee\gamma)), \neg\beta \}\vdash\alpha ; ∧-Elimination(6)
(11)\{(\alpha \wedge(\beta \vee\gamma)), \neg\beta \}\vdash (\alpha\wedge\gamma) ; ∧-Introduction(9,10)
(12)\{(\alpha \wedge(\beta \vee\gamma)), \neg\beta \}\vdash ((\alpha\wedge\beta)\vee(\alpha\wedge\gamma)) ; ∨-Introduction(11)
(13)\boxed{\{(\alpha \wedge(\beta \vee\gamma))\}\vdash ((\alpha\wedge\beta)\vee(\alpha\wedge\gamma))} ; Cases(5,12)

With this, it is proven that \{(\alpha \wedge(\beta \vee\gamma))\}\vdash((\alpha \wedge \beta)\vee(\alpha \wedge \gamma)). Now it’s your turn to test what you’ve learned and venture to prove on your own that \{((\alpha \wedge \beta)\vee(\alpha \wedge \gamma))\}\vdash (\alpha \wedge(\beta \vee\gamma)).

∨ – Distributivity

The proof of \{(\alpha \vee(\beta \wedge\gamma))\}\vdash((\alpha \vee \beta)\wedge(\alpha \vee \gamma)) is obtained from the following reasoning:

(1)\{(\alpha \vee(\beta \wedge\gamma)), \neg\alpha\}\vdash (\alpha \vee(\beta \wedge\gamma)); Pre
(2)\{(\alpha \vee(\beta \wedge\gamma)), \neg\alpha\}\vdash \neg\alpha; Pre
(3)\{(\alpha \vee(\beta \wedge\gamma)), \neg\alpha\}\vdash (\beta \wedge\gamma); ∨-Elimination(1,2)
(4)\{(\alpha \vee(\beta \wedge\gamma)), \neg\alpha\}\vdash \beta; ∧-Elimination(3)
(5)\{(\alpha \vee(\beta \wedge\gamma)), \neg\alpha\}\vdash \gamma; ∧-Elimination(3)
(6)\{(\alpha \vee(\beta \wedge\gamma))\}\vdash (\neg\alpha\rightarrow \beta); TD(4)
(7)\{(\alpha \vee(\beta \wedge\gamma))\}\vdash (\alpha\vee \beta); \rightarrow-Definition(6)
(8)\{(\alpha \vee(\beta \wedge\gamma))\}\vdash (\neg\alpha \rightarrow \gamma); TD(5)
(9)\{(\alpha \vee(\beta \wedge\gamma))\}\vdash (\alpha \vee \gamma); \rightarrow-Definition(8)
(9)\boxed{\{(\alpha \vee(\beta \wedge\gamma))\}\vdash ((\alpha\vee \beta) \wedge (\alpha \vee \gamma))}; ∧-Introduction(7,9)

This is half of the proof; now, the reverse proof is missing, but that is left as an exercise for the reader :3




Final Considerations

With this review of the proofs of De Morgan’s laws of distribution for conjunction and disjunction, we can conclude our study of deduction techniques in propositional logic and how they converge in the proof of classical logic laws, or at least the most important ones.

It is important to complete all the proposed proofs to reinforce knowledge of these techniques. To make it a little less complicated, it is very convenient to compare the proofs to find similarities, as it is possible that the strategy that worked in one proof will work with some variations to achieve another.

One last thing worth noting is the order I chose to develop these proofs. You should notice that each proof used the results of some of the previous proofs. I chose this order because I personally found it easier this way. A good exercise to improve your skills in these things is to ask yourself, “Can I construct these proofs in a different order following this same methodology?” I highly recommend that you try to obtain these proofs in a different order and use each proof to obtain the next ones because, even if you don’t manage to do it, the practice that arises from the attempt will give you a better understanding of the proofs and the methods used in logic.

Views: 1

Leave a Reply

Your email address will not be published. Required fields are marked *