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 -> q_1. p_12 -> w. q_1 -> r_1. p_12 or ~q.
w -> r_1 can be inferred via the transitivity rule. p_12 -> q_1 can be inferred via the transitivity rule. q -> p_12 can be inferred via the rewriting rule.