Consider the following premises. w <-> p. w or ~p. Can we infer ~(w -> p) from them? If possible, name the inference rules being used at each step.
That contradicts the premises. Therefore the answer is no.