Logic Programming and Automated Reasoning by H. Ganzinger & D. McAllester