theorem proving by resolution refutation