(Up)
This is intended to be a recap of notation as covered in an introductory course on discrete mathematics or logic circuits.
We all know Venn diagrams. They support the operations of intersection
Name | Sets | Logic | Name | |
---|---|---|---|---|
intersection | and | |||
union | or | |||
complement | negation | |||
implication |
Implication can be defined as
The laws of what is called Boolean logic or classical propositional logic are exactly the same as the laws for Venn diagrams. Some useful ones are the following. You don't need to remember them (just draw some Venn diagrams in case you forget).[2]
[Remark: There is a pattern here, namely that the negation of any operation (not, or, and, implication) can be "pushed down towards the leaves".]
Another usful one is "contraposition"
For example, if
It is also common to extend the logical notation to "quantifiers"
Logic | Name |
---|---|
for all |
|
there is |
We have used this above to write