Consider the following premises. p. p -> t. w or ~t. Can we infer w from them? If possible, name the inference rules being used at each step.
 From w or ~t we can infer t -> w via rewriting. From p -> t, p we can infer t via modus ponens. Finally, from t -> w, t we can infer w via modus ponens. Therefore, the answer is yes.