I spent the past hour pondering on possible solutions for the following task, which is basically to prove the argument validity.
$$\forall x\forall y(P(x, y) \rightarrow Q(x)) \vdash \forall x \exists yP(x, y) \rightarrow \forall xQ(x)$$
Any ideas?
Thanks a bunch!
,
In natural deduction system, take the premiss and temporarily assume $\forall x\exists yP(x, y)$.
Instantiate the premiss and the temporary assumption with the parameter $a$, to get
With a view to using existential elimination, instantiate the existential with a new parameter. WE get
modus ponens gives us
Since this doesn't involve $b$ we can discharge the assumption at the beginning of the sub proof to get
We can universally quantify as $a$ occurs in no assumption this depends on to get
Discharge the initial temporary assumption by conditional proof and we are done.