Section 6.9 contains more detailed discussion on other techniques which can be used to optimise your programs.[eclipse 2]: nodbgcomp. yes. [eclipse 3]: [user]. father(abraham, isaac). father(isaac, jacob). father(jacob, joseph). ancestor(X, Y) :- father(X, Y). ancestor(X, Y) :- ancestor(X, Z), ancestor(Z, Y). user compiled optimized 396 bytes in 0.02 seconds yes. [eclipse 4]: