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: forall x_8: P(x_8) or S_8(x_8). S_8(d_4) -> q. q or ~P(d_4).
P(d_4) -> q can be inferred via the rewriting rule.