18 and 25 Feb 2004
CS 3243 - Logical Agents
51
Backward chaining
nIdea: work backwards from the query q:
nto prove q by BC,
ncheck if q is known already, or
nprove by BC all premises of some rule concluding q
n
nAvoid loops: check if new subgoal is already on the goal stack
n
nAvoid repeated work: check if new subgoal
1.has already been proved true, or
2.has already failed