Discrete Math Formulas
Discrete Math Formulas
Name Rule
Double Negation ¬¬p ≡ p
Definition of f alse f alse ≡ ¬true
Negation of f alse ¬f alse ≡ true
Table 2: Equivalences of ∨ y of ∧
Rule Name
p → q ≡ ¬p ∨ q Definition of →
p → q ≡ ¬q → ¬p Contrapositive
true → p ≡ p Left Identity of →
p → f alse ≡ ¬p Right Negation of →
f alse → p ≡ true Left False of →
p → true ≡ true Right Zero of →
p → p ≡ true Reflexivity →
p ∨ q ≡ ¬p → q Definition of ∨ with →
p ∧ q ≡ ¬(p → ¬q) Definition of ∧ with →
¬(p → q) ≡ p ∧ ¬q Negation of →
(p → q) ∧ (p → r) ≡ (p → (q ∧ r)) Left Distributivity → /∧
(p → q) ∨ (p → r) ≡ (p → (q ∨ r)) Left Distributivity → /∨
(p → r) ∧ (q → r) ≡ (p ∨ q) → r Right Distributivity → /∧
(p → r) ∨ (q → r) ≡ (p ∧ q) → r Right Distributivity → /∧
p → (q → r) ≡ (p ∧ q) → r Left Associativity of →
Table 3: → Equivalences
Rule Name
p ↔ q ≡ (p → q) ∧ (q → p) Definition1 of ≡
p ⊕ q ≡ ¬(p ↔ q) Definition1 ⊕
p ↔ q ≡ (p ∧ q) ∨ (¬q ∧ ¬p) Definition2 of ≡
(p ↔ q) ≡ (q ↔ p) Commutativity of ↔
((p ↔ q) ↔ r) ≡ (p ↔ (q ↔ r)) Associativity of ↔
p ↔ p ≡ true Identity
p ↔ ¬p ≡ f alse Definition2 of false
¬(p ↔ q) ≡ ¬p ↔ q Negation1 ↔
¬(p ↔ q) ≡ p ↔ ¬q Negation2 ↔
p ⊕ q ≡ (p ∧ ¬q) ∨ (¬p ∧ q) Definition2 ⊕
p ⊕ q ≡ (p ∨ q) ∧ ¬(p ∧ q) Definition3 ⊕
(p ⊕ q) ≡ (q ⊕ p) Commutativity of ⊕
((p ⊕ q) ⊕ r) ≡ (p ⊕ (q ⊕ r)) Associativity of ⊕
r ∨ (p ↔ q) ≡ (r ∨ p) ↔ (r ∨ q) Distrib ∨/ ↔
r ∧ (p ↔ q) ≡ (r ∧ p) ↔ (r ∧ q) ↔ r Distrib ∧/ ↔