What can be inferred from the following premises in a single inference step (ignoring inferences that add new predicates or constants)? Name the inference rule being used: w_4 or q_4. p_7 or ~q_4. q_1 -> p_7. w_4 -> q_1.
w_4 -> p_7 can be inferred via the transitivity rule. q_4 -> p_7 can be inferred via the rewriting rule.