AI - Module IV - Propositionallogic
AI - Module IV - Propositionallogic
Intelligence
Knowledge Representation and
Reasoning
MODULE 4
Higher Order
Probabilistic
Logic First Order
Entailment is like the needle being in the haystack Inference is like finding it
• We write this as p ≡ q.
The unit resolution rule can be generalized to the full resolution rules
This says that resolution takes two clauses and produces a new clause
containing all the literals of the two original clauses except the two
complementary literals.
To prove the inference we want to (B1,1 ⇔ (P1,2 ∨ P2,1)) ∧ ¬ B1,1 ∧ ¬ ( ¬ P1,2) is unsatisfiable(ie, all false)
For that , first we have to convert it to CNF .
Then we get
( ¬ B1,1 ∨ P1,2 ∨ P2,1) ∧ ( ¬ P1,2 ∨ B1,1) ∧ ( ¬ P2,1 ∨ B1,1) ∧ ¬ B1,1 ∧ P1,2
4 ¬ B1,1 Given
5 P1,2 Given