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: If John sleeps, then Susan is a soldier. John is sleeping.
Susan is a soldier can be inferred via the modus ponens rule.