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