Propositional Logic
Propositional Logic
Proposition : The elementary or fundamental statement which may either true or false
in known as proposition. The combination of proposition and connective
is known as proposition logic.
Proposition are two types Simple Proposition and Compound Proposition.
Simple Proposition = Proposition does not contain any other proposition as its parts.
Compound Proposition = The Proposition which consists of two or more proposition as
its parts.
Wff (Well – Formed Formula) : The language that allows to define propositions whose
truth can be determined from the truth of other propositions is known as Well-Formed-
Formula(wff).
Syllogism : The logical process producing conclusion (or result) from any given
proposition is known as syllogism.
a) The Propositions that have some combination of 1’s and 0’s in their truth table
result column are called CONTINGENCIES
b) The Proposition having nothing but 1’s in their truth table result column are
called TAUTOLOGIES
c) The Proposition having nothing but 0’s in their truth table result column are
called CONTRADICTIONS
PROPOSITIONAL LOGIC :-
A = It is raining
B = Sky is not clear
A -> B = If it is raining then sky in not clear
b) p^q => ~p ^ ~q
e) (p=>q) ^ (q=>r)
p q r p=>q q=>r (p=>q) ^ (q=>r)
0 0 0 1 1 1
0 0 1 1 1 1
0 1 0 1 0 0
0 1 1 1 1 1
1 0 0 0 1 0
1 0 1 0 1 0
1 1 0 1 0 0
1 1 1 1 1 1
CONTINGENCIES
f) (p=>r)^(q=>r) = (pvq)=>r
p q r p=>r q=>r pvq (p=>r)^(q=>r) (pvq)=>r
0 0 0 1 1 0 1 1
0 0 1 1 1 0 1 1
0 1 0 1 0 1 0 0
0 1 1 1 1 1 1 1
1 0 0 0 1 1 0 1
1 0 1 1 1 1 1 1
1 1 0 0 0 1 0 0
1 1 1 1 1 1 1 1
Identical
1) Modus Ponens:-
p
p => q (p^(p=>q))=>q (p.(p’+q))’+ q
q p q p=>q p^(p=>q) (p^(p=>q))=>q
p q p=>q p^(p=>q) p^(p=>q)=>q
0 0 1 0 1
0 1 1 0 1
1 0 0 0 1
1 1 1 1 1
TAUTOLOGIES
KUNNAL SARKAR 9830242162/9007905275/8583935246/ (9874462286) [email protected]/[email protected]
PROPOSITIONAL LOGIC
(p.(p’+q))’+q
= p’ + (p’+q)’ + q
= p’ + pq’ + q
= (p’+p)(p’+q’)+q
= p’ + q’ + q
= p’ + 1
= 1
2) Chain Rules:-
p=>q
q=>r ((p=>q)^(q=>r))=>(p=>r)
p=>r ((p’+q)(q’+r))’+(p’+r)
p q r p=>q q=>r p=>r (p=>q)^(q=>r)) ((p=>q)^(q=>r))=>(p=>r)
0 0 0 1 1 1 1 1
0 0 1 1 1 1 1 1
0 1 0 1 0 1 0 1
0 1 1 1 1 1 1 1
1 0 0 0 1 0 0 1
1 0 1 0 1 1 0 1
1 1 0 1 0 0 0 1
1 1 1 1 1 1 1 1
TAUTOLOGIES
((p’+q)(q’+r))’+(p’+r)
= (p’+q)’ + (q’+r)’ + p’+r
= pq’ + qr’ + p’+ r
= p’+pq’ + r+qr’
= (p’ + p)(p’+q’) +(r+r’)(r+q)
= p’ + q’ + r + q
= p’ + 1 + r
= 1
Home Work:-
1) A v B 2) A => B 3) X <=> ~y
~A => B B => C Y => Z
~B A Z
C
1) (p ^ q) v ~(p ^ q)
2) (p v q) ^ (p v ~q) v p
3) (a=>b) => ~a
4) (a=>b)^(b=>a) = a <=> b
Satisfiable = Tautologies
valid = Contingencies
invalid = Contradiction
WORD Replacement
AND Conjunction (^)
OR Disjunction (v)
BUT AND
Whenever IF
When IF
Either P or Q P or Q
Neither P nor Q NOT P AND NOT Q
P unless Q ~Q->P
P is necessary but not Sufficient for Q (Q=>P) AND ~(P=>Q)