Consider the following premises. r -> w. r or ~w. Can we infer r -> w from them? If possible, name the inference rules being used at each step.
That is one of the premises. Therefore, the answer is yes.