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: p_3 -> p. q -> p_3. q or ~p.
q -> p can be inferred via the transitivity rule. p -> q can be inferred via the rewriting rule.