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