CS152
Chris Pollett
May 11, 2009
Access chaining is used in activation records for which of the following?
a1 ∧ a2 ∧ ... an → b
b is called the head of the clause, and the rest of the clause is called the body. Each ai in the body is called a premiss.
loves(jane,X) :- flies(X). loves(X,bob) :- movieStarring(bob).
sky(blue). chase(dogs, cats).
A :- A1, ..., An
B :- B1, ..., Bn
where Bi = A, a resolution inference on these two clauses yields:
B :- B1, ... Bi-1, A1, ..., An, Bi+1, ... Bn.