backwardchained
Backward chaining, also known as goal-driven inference, is a reasoning procedure used in AI, logic programming, and rule-based expert systems. It starts with a desired conclusion or goal and works backward to determine whether there are facts or rules that support it. The process seeks a chain of premises whose satisfaction would lead to the goal being true.
In practice, backward chaining selects rules whose consequent matches the current goal. For each such rule,
Backward chaining is contrasted with forward chaining, which starts from known facts and applies rules to derive
Common applications include diagnostic systems, theorem proving, and certain knowledge-based expert systems. It is also a