Propositional Logic
Propositional Logic
Propositional Logic is concerned with statements to which the truth values, “true” and
“false”, can be assigned. The purpose is to analyze these statements either individually or in
a composite manner.
Connectives
In propositional logic generally we use five connectives which are −
OR (∨)
AND (∧)
Negation/ NOT (¬)
Implication / if-then (→)
If and only if (⇔).
OR (∨) − The OR operation of two propositions A and B (written as A∨B) is true if at least
any of the propositional variable A or B is true.
The truth table is as follows −
A B A∨B
A B A∧B
Negation (¬) − The negation of a proposition A (written as ¬A) is false when A is true and
is true when A is false.
The truth table is as follows −
A ¬A
True False
False True
Implication / if-then (→) − An implication A→B is the proposition “if A, then B”. It is
false if A is true and B is false. The rest cases are true.
The truth table is as follows −
A B A→B
A B A⇔B
Tautologies
A Tautology is a formula which is always true for every value of its propositional variables.
Example − Prove [(A→B)∧A]→B is a tautology
The truth table is as follows −
A B A→B (A → B) ∧ A [( A → B ) ∧ A] → B
A B A∨B ¬A ¬B (¬ A) ∧ ( ¬ B) (A ∨ B) ∧ [( ¬ A) ∧ (¬ B)]
A B A∨B ¬A (A ∨ B) ∧ (¬ A)
As we can see every value of (A∨B)∧(¬A) has both “True” and “False”, it is a contingency.
Propositional Equivalences
Two statements X and Y are logically equivalent if any of the following two conditions hold
−
The truth tables of each statement have the same truth values.
The bi-conditional statement X⇔Y is a tautology.
Example − Prove ¬(A∨B)and[(¬A)∧(¬B)] are equivalent
Testing by 1st method (Matching truth table)
A B A∨B ¬ (A ∨ B) ¬A ¬B [(¬ A) ∧ (¬ B)]
Here, we can see the truth values of ¬(A∨B)and[(¬A)∧(¬B)] are same, hence the
statements are equivalent.
Testing by 2nd method (Bi-conditionality)
A B ¬ (A ∨ B ) [(¬ A) ∧ (¬ B)] [¬ (A ∨ B)] ⇔ [(¬ A ) ∧ (¬ B)]
Duality Principle
Duality principle states that for any true statement, the dual statement obtained by
interchanging unions into intersections (and vice versa) and interchanging Universal set into
Null set (and vice versa) is also true. If dual of any statement is the statement itself, it is
said self-dual statement.
Example − The dual of (A∩B)∪C is (A∪B)∩C
Normal Forms
We can convert any proposition in two normal forms −