L2 Logic Concepts
L2 Logic Concepts
Lecture - 2
Propositional Logic Concepts
P Q ~P PΛQ PVQ P→ Q P ↔ Q
T T F T T T T
T F F F T F F
F T T F T T F
F F T F F T T
Prof saroj Kaushik, CSE, IITD 5
Equivalence Laws
Commutation
1. PΛQ ≅ Q ΛP
2. P V Q ≅ Q V P
Association
1. P Λ (Q Λ R) ≅ (P Λ Q) Λ R
2. P V (Q V R) ≅ (P V Q) V R
Double Negation
~ (~ P) ≅ P
Distributive Laws
1. P Λ ( Q V R) ≅ (P Λ Q) V (P Λ R)
2. P V ( Q Λ R) ≅ (P V Q) Λ (P V R)
De Morgan’s Laws
1. ~ (P Λ Q) ≅ ~P V~Q
2. ~ (P V Q) ≅ ~P Λ~Q
Law of Excluded Middle
P V ~P ≅ T (true)
Law of Contradiction
P Λ ~P ≅ F (false)
A B A →B=X XΛA= Y →B
Y→
T T T T T
T F F F T
F T T F T
F F T F T
Conventions:
− E for Elimination, I for Introducing.
− P, Pk , (1 ≤ k ≤ n) are atoms.
− αk, (1 ≤ k ≤ n) and β are formulae.
Rule 5: I- → (Introducing → )
I- → : If from α1, …, αn infer β is proved then
α1 Λ … Λαn → β is proved
Interpretation: If given α1, α2, …and αn to be proved and
from these we deduce β then α1 Λ α2 Λ… Λαn → β is also
proved.
Rule 6: E- → (Eliminating → ) - Modus Ponen
E- → : If P1 → P, P1 then P
from Q infer PΛ R