What is the risk of backward chaining with recursive rules?
Answer: C
A rule stating that ancestor of follows from ancestor of will regenerate the same goal indefinitely unless loop detection or a tabling mechanism is present. Prolog programmers learn to order clauses to avoid it. Rule order is fixed, unbounded derivation is a forward chaining hazard, and proof length is secondary. A failure mode arising from the interaction of a search strategy with a natural way of writing rules is one that a language's users must be taught rather than protected from.
Please log in or register to report this question.