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 William plays tennis, then Barbara is listening to a song. William is playing tennis or James is not a carpenter. If Richard plays squash, then James is a carpenter.
If James were a carpenter, then William is playing tennis can be inferred via the rewriting rule.