FALLSEM2022-2. - Equivalence - and - Normal - Forms - 7
FALLSEM2022-2. - Equivalence - and - Normal - Forms - 7
Example: ~~ 𝐏 ⇔ P, P ∨ P, etc.
Remarks:
1. ⇔ is not a connective.
2. Two statement formulas A and B are equivalent iff A ↔ B is a tautology.
Example : Prove that
(a) P → Q ⇔ ~ P ∨ Q,
(b) P ↔ Q ⇔ (P → Q ) ∧ (Q → P)
(c) ~ (P ∧ Q) ⇔ ~P ∨ ~ Q
(d) ~ (P ∨ Q) ⇔ ~P ∧~ Q
Equivalent formulae:
Remark:
1. ‘⟹’ is not a connective.
2. A ⟹ B is not a statement formula.
3. ‘⟹’ is transitive.
4. If 𝑯𝟏 , 𝑯𝟐 , … 𝑯𝒏 ⟹ Q, then (𝑯𝟏 ∧ 𝑯𝟐 ∧ ⋯ ∧ 𝑯𝒏 ⟹ Q)
Example:
1. Prove that P ∧ (P → Q) ⟹ Q using truth table and without using truth table.
2. (P ∧ Q) ⟹ (P → Q)
3. ~(P ↔ Q) ⇔ (P ∨ Q) ∧ ~(P ∧ Q)
Normal Forms:
Let A (𝑃1 , 𝑃2 , 𝑃3 , … 𝑃𝑛 ) be a statement formula, where 𝑃1 , 𝑃2 , 𝑃3 , … 𝑃𝑛 are the atomic
variables. If we consider all possible assignments of the truth values to 𝑃1 , 𝑃2 , 𝑃3 , … 𝑃𝑛 and
obtain the resulting truth values of the formula A, then we get the truth table for A.
Construction of truth tables may not be practical , we consider other procedure known as
reduction to normal forms.
Elementary Product:
A product of the variables and their negations in a formula is called an elementary
product.
Example: If P and Q are two atomic variables then 𝐏, ~𝐏 ∧ 𝐐, ~𝐐 ∧ 𝐏 ∧ ~𝐏, 𝐐 ∧ ~𝐏 etc.
are sum examples of elementary products.
Elementary Sum:
A sum of the variables and their negations in a formula is called an elementary sum.
Example: If P and Q are two atomic variables then 𝐏, ~𝐏 ∨ 𝐐, ~𝐐 ∨ 𝐏 ∨ ~𝐏, 𝐐 ∨ ~𝐏 etc.
are sum examples of elementary products
Remark:
1. A necessary and sufficient condition for an elementary product to be identically false
is that it contains atleast one pair of factors in which one is the negation of the other.
2. A necessary and sufficient condition for an elementary sum to be identically true is
that it contains atleast one pair of factors in which one is the negation of the other.
⇔ 𝑃∨𝑄 ∨ 𝑃∧𝑄 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑃 ∧ ~𝑄
⇔ 𝑃∨𝑄∨𝑃 ∧ 𝑃∨𝑄∨𝑄 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑃 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑄
⇔ 𝑃∨𝑄 ∧ 𝑃∨𝑄 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑃 ∨ ~𝑄
⇔ 𝑃 ∨ 𝑄 ∧ ~𝑃 ∨ ~𝑄
⇔ 𝑃 ∧ ~𝑃 ∨ 𝑃 ∧ ~𝑄 ∨ 𝑄 ∧ ~𝑃 ∨ (𝑄 ∧ ~𝑄)
Example 2. Obtain the disjunctive normal form (DNF) of the following
𝐏 → 𝑷 → 𝑸 ∧ ~(~𝑸 ∨ ~𝑷)
Solution:
𝐏→ 𝑷 → 𝑸 ∧ ~(~𝑸 ∨ ~𝑷) ⇔ ~𝑷 ∨ 𝑷 → 𝑸 ∧ ~(~𝑸 ∨ ~𝑷) [𝑷 → 𝑸 ⇔ ~𝑷 ∨ 𝑸]
⇔ ~𝑷 ∨ ~𝑷 ∨ 𝑸 ∧ (𝑸 ∧ 𝑷) [𝑷 → 𝑸 ⇔ ~𝑷 ∨ 𝑸]
⇔ ~𝑷 ∨ ~𝑷 ∧ (𝑸 ∧ 𝑷) ∨ (𝑸 ∧ 𝑸 ∧ 𝑷 ) [Distributive law]
⇔ ~𝑷 ∨ ~𝑷 ∧ 𝐏 ∧ 𝑸 ∨ (𝑸 ∧ 𝑸 ∧ 𝑷) [Commutative law]
is the required disjunctive normal form.
Solution:
~ 𝑃∨𝑄 ↔ 𝑃∧𝑄 ⇔ ~ 𝑃∨𝑄 ⟶ 𝑃∧𝑄 ∧ 𝑃∧𝑄 ⟶~ 𝑃∨𝑄
⇔ 𝑃∨𝑄 ∨ 𝑃∧𝑄 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑃 ∧ ~𝑄
⇔ 𝑃∨𝑄∨𝑃 ∧ 𝑃∨𝑄∨𝑄 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑃 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑄
⇔ 𝑃∨𝑄 ∧ 𝑃∨𝑄 ∧ ~𝑃 ∨ ~𝑄 ∨ ~𝑃 ∨ ~𝑄
⇔ 𝑃 ∨ 𝑄 ∧ ~𝑃 ∨ ~𝑄
⇔ 𝑃 ∧ ~𝑃 ∨ 𝑃 ∧ ~𝑄 ∨ 𝑄 ∧ ~𝑃 ∨ (𝑄 ∧ ~𝑄)