Consider the following premises. forall y: ~Q(y). forall y: R(y) -> Q(y). p -> R(a_5). Can we infer ~p from them?
 From forall y: R(y) -> Q(y), forall y: ~Q(y) we can infer forall y: ~R(y). From forall y: ~R(y) we can infer ~R(a_5). Finally, from p -> R(a_5), ~R(a_5) we can infer ~p. Therefore, the answer is yes.