ARTIFICIAL INTELLIGENCE
Russell & Norvig Chapter 9. Inference in First-Order Logic
ARTIFICIAL INTELLIGENCE Russell & Norvig Chapter 9. Inference - - PowerPoint PPT Presentation
ARTIFICIAL INTELLIGENCE Russell & Norvig Chapter 9. Inference in First-Order Logic Inference with Quantifiers Universal Instantiation: Given x, person(x) likes(x, McDonalds) Infer person(John) likes(John, McDonalds)
Russell & Norvig Chapter 9. Inference in First-Order Logic
else in the KB and refers to (one of) the indviduals that likes McDonalds.
entailed by it:
not appear in the KB:
constant
March 14, 2006 AI: Chapter 9: Inference in First-Order Logic
5
new sentences
existential sentence
KB was satisfiable
in the KB, then use propositional reasoning
that make logical expressions look identical
unifier θ for them, if one exists
SUBST (θ, pi’) = SUBST (θ, pi) for all 1<= i <= n
ground (variable-free) propositional logic to FOL.
same variable bindings into the right side of the rule
Parent(Harry, James)
Richard)
variables as possible.
building up a unifier along the way, but failing if two corresponding points in the structures do not match.
throughout the computation
the forward direction, adding new atomic sentences, until no further inferences can be made.
weapons to hostile nations. The country Nono, an enemy America, has some missiles, and all of its missiles were sold to it by Col. West, who is an American.
nations
American(x) ∧Weapon(y) ∧Sells(x,y,z) ∧Hostile(z) ⇒ Criminal(x)
∃x Owns(Nono, x) ∧ Missiles(x) Owns(Nono, M1) and Missle(M1)
∀x Missle(x) ∧ Owns(Nono, x) ⇒ Sells( West, x, Nono)
Missle(x) ⇒ Weapon(x)
Enemy( x, America ) ⇒ Hostile(x)
American( Col. West )
Enemy(Nono, America)
March 14, 2006 AI: Chapter 9: Inference in First-Order Logic
19
stack