%IR | ?- ['contract(3d).txt']. % consulting h:/contract(3d).txt... % Undefined predicates will just fail (fail) * [T2] - singleton variables in user:become_effective/2 * Approximate lines: 4-8, file: 'h:/contract(3d).txt' * [C,T1] - singleton variables in user:become_effective/2 * Approximate lines: 12-18, file: 'h:/contract(3d).txt' % consulted h:/contract(3d).txt in module user, 0 msec 2344 bytes yes | ?- | ?- | ?- listing. become_effective(offer(A,B,C), D) :- reach(offer(A,B,C), B, D), \+become_effective(withdrawl(A,B,offer(A,B,C)),_). become_effective(withdrawl(A,B,offer(A,B,C)), D) :- reach(withdrawl(A,B,offer(A,B,C)), B, D), \+ (reach(offer(A,B,C),B,E),before(E,D)). become_effective(acceptance(A,B,C), D) :- reach(acceptance(A,B,C), B, D), become_effective(offer(B,A,_), _). before(A, B) :- A@