Let the KB consist of the following sentences:
1. P ⇒ ( Q ∨ R)
2. S ⇒ ¬Q
3. P
4. S
Prove that R holds using inference rules.
Using Modus Ponens,
P, P => (Q v R) <=> Q v R
Again, using Modus Ponens, we have
S, S => ¬Q <=> ¬Q
Hence, we are left with sentences:
1. Q v R
2. ¬Q
Now, Q v R is equivalent to ¬Q => R.
Again using Modus Ponens, we ge
¬Q, ¬Q => R. <=> R (proved)
Get Answers For Free
Most questions answered within 1 hours.