Mathematical Foundation of Computer Science
DHARM
PROPOSITIONAL LOGIC 123
Example 5.18.
- J ∨ (~ K ∨ J)
- K ∨ (~ J ∧ K) / ∴ (J ∧ K) ∨ (~ J ∧ ~ K)
(Apply rules of inference and rules of replacement
whenever necessary and obtain new premises
until we reach to conclusion)
- (J ∨ ~ K) ∨ J 1, Assoc
- J ∨ (~ K ∨ J) 3, Assoc
- J ∨ (J ∨ ~ K) 4, Comm
- (J ∨ J) ∨ ~ K 5, Assoc
- J ∨ ~ K 6, Taut
- (K ∨ ~ J) ∧ (K ∨ K) 2, Dist
- (K ∨ ~ J) ∧ K 8, Taut
- (K ∨ ~ J) 9, Simp
- ~ J ∨ K 10, Assoc
- J → K 11, Imp
- ~ K ∨ J 7, Comm
- K → J 13, Imp
- (J → K) ∧ (K → J) 12, & 14, Conj
- (J ∧ K) ∨ (~ J ∧ ~ K) 15, Equiv
Thus given premises derived the valid conclusion. Hence argument is valid.
III. Rule of Conditional Proof (CP)
We shall now introduce another rule of inference known as conditional proof, which is only
applicable if the conclusion is an implicative statement.
Assume the argument,
- X 1
- X 2
................
................
................
k. Xk
∴ A → B
So, we obtain the formula ( ......(X 1 ∧ X 2 ) ∧ .......∧ Xk) → (A → B)
Assume ( ......(X 1 ∧ X 2 ) ∧ .......∧ Xk):P
Thus, we have P → (A → B)
⇔ (P ∧ A) → B by rule Exp ...(A)
We observe that, if antecedent part of conclusion goes to the set of premises then we will
have the consequent part as conclusion.