FOL Examples
FOL Examples
Homework 8
Inference in FOL
9.3
• b. Q(y,G(A,B)), Q(G(x,x),y)
– No unifier ({y/G(A,B),G(A,B)/G(x,x)}? x cannot bind to both A and
B).
Parent(Bluebeard, Charlie)
A. ¬Horse(x) V Animal(x)
B. Horse(G)
C. HeadOf(H,G)
D. ¬Animal(y) V ¬ HeadOf(H,y)
9.18 (c)
¬Horse(x) V Animal(x) Horse(G)
{x/G}
{y/G}
¬ HeadOf(H,G) HeadOf(H,G)
False
9.19 (a)
• ∀ x ∃ y (x ≥ y)
– For every natural number there is some other natural
number that is smaller than or equal to it
• ∃ y ∀ x (x ≥ y)
– There is a particular natural number that is smaller
than or equal to any natural number
9.19 (b, c)
A. For every natural number there is some other natural
number that is smaller than or equal to it
– Yes, (A) is true under this interpretation. You can always pick the
number itself for the “some other” number.