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 Thomas were a writer, then it is cloudy. Thomas is a writer. If Charles were rich, then William is cooking. If James listens to a song, then William is cooking. If it is cloudy, then Charles is rich.
It is cloudy can be inferred via the modus ponens rule. If Thomas were a writer, then Charles is rich can be inferred via the transitivity rule. If it is cloudy, then William is cooking can be inferred via the transitivity rule.