Supplied a difficulty plus a set of premises, trouble-fixing cuts down to searching for the proof tree whose root node is labelled by an answer of the situation and whose leaf nodes are labelled by premises or axioms. In the situation of Horn clauses, dilemma-resolving search can be done by http://finance.yahoo.com/news/ventura-provides-cutting-edge-los-114000081.html