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_2 or ~w. w_2 -> q. w.
w -> w_2 can be inferred via the rewriting rule.