i'm wondering - how can i use the deduction property to show those two:
1)$\vdash \forall x (p(x) \to q(x)) \to (\exists x p(x) \to \exists x q(x))$
2)$\vdash \forall x (p(x) \to q(x)) \to (\forall x p(x) \to \forall x q(x))$
if there's a better way to prove it (formal proof), i would be interested in learning how to do so.
it seems quite trivial to understand that if $\vdash \forall x (p(x) \to q(x)$ then must exists an x that follows it ($(∃xp(x)→∃xq(x))$ or to put the $\forall$ inside the brackets.
however, i don't know how to prove it and would really appreciate learning how to do so correctly, even though it might seem trivial.
thank you very much for your help
my attempt with 1) after the given answer for 2):
1) $∀x(p(x)→q(x))$ --- assumed
2) $\exists p(x)$ --- assumed
3)$p(c)$
3) $⊢∀x(p(x)→q(x))$ ---
4) $⊢∀x(p(x)→q(x))→(p(c)→q(c))$ --- quantifier axiom, assumption
5) $p(C)→q(C)$ --- assignment
6) q(c) --- from 2) and 5) by Modus Ponens
7) $\exists x p(c)$ ---
8) $\exists x q(c)$ ---
9) $\exists xp(x)→\exists xq(x)$ --- from 2) and 8) by Deduction Theorem
10) $⊢∀x(p(x)→q(x))→(\exists xp(x)→\exists xq(x))$ --- from 1) and 9) by Deduction Theorem