Laws of Logic Flashcards
A ___ is a named commonly used equivalent statement.
Law of Logic
Two “nots” cancel out
¬¬p ≡ p
Double Negation Law
☐
Q.E.D
For “or” and “and” the order of the two parts does not matter.
p∨q ≡ q∨p
p∧q ≡ q∧p
Commutative Law
p ∨ (¬q ∧ r) ≡ (r ∧ ¬q) ∨ p
p ∨ (¬q ∧ r) ≡ p ∨ (r ∧ ¬q)
≡ (r ∧ ¬q) ∨ p
Which law was used in this proof?
Commutative Law
For the “or” of 3 statements or the “and” of 3 statements the order in which the “or”s or the “and”s does not matter.
p ∨ (q ∨ r) ≡ (p ∨ q) ∨ r
p ∧ (q ∧ r) ≡ (p ∧ q) ∧ r
Associative Law
Associative cannot be used on a mixed symbols. ___ does that.
p ∧ (q ∨ r) ̸≡ (p ∧ q) ∨ r
Distributive Law
Associative cannot be used if a negation exists on the inner connective. ___ needs to be used first.
p ∨ ¬(q ∨ r) ̸≡ ¬(p ∨ q) ∨ r
DeMorgan’s
p ∨ (¬q ∨ r) ≡ (p ∨ ¬q) ∨ r
By which law is this statement true?
Associative Law
If we have an “and” on the outside of an “or”, then the “and” can be distributed into the “or”, and vice versa.
p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r)
p ∨ (q ∧ r) ≡ (p ∨ q) ∧ (p ∨ r)
Distributive Law
Distributive cannot be used if a negation exists on the inner connective. ___ needs to be used first.
p ∨ ¬(q ∧ r) ̸≡ (p ∨ ¬q) ∧ (p ∨ ¬r)
DeMorgan’s
A distribution rule for negations.
If we know that I did not “eat and swim”, then either “I did not eat” or “I did not swim”.
Negations, when distributed into a connective, invert the sign.
¬(p ∧ q) ≡ ¬p ∨ ¬q
¬(p ∨ q) ≡ ¬p ∧ ¬q
DeMorgan’s Law
When using DeMorgan’s, do not remove the parenthesis if…
combined with other connectives
p ∧ ¬(q ∧ r) ̸≡ p ∧ ¬q ∨ ¬r
instead
p ∧ ¬(q ∧ r) ≡ p ∧ (¬q ∨ ¬r)
Proof “¬(p ∧ (q ∨ r))” ≡ “¬p ∨ (¬q ∧ ¬r)”
¬(p ∧ (q ∨ r)) ≡ ¬p ∨ ¬(q ∨ r)
≡ ¬p ∨ (¬q ∧ ¬r)
Which law was used in this proof?
DeMorgan’s
If a statement is “or” with itself and something else, we can ignore the something else.
p ∨ (p ∧ q) ≡ p
p ∧ (p ∨ q) ≡ p
Absorption Law