I've been working on proving equivalent formulas using equivalences in predicate logic however I'm stuck trying to prove that these two formulas are equivalent:
$ \forall x (A(x) \Rightarrow \exists y B(x,y)) $
$ \forall x \exists y (A(x) \Rightarrow B(x,y)) $
The only step I've managed to get so far is by swapping the quantifies on the second formula:
$ \exists y \forall x (A(x) \Rightarrow B(x,y)) $
But I'm not sure how to proceed from here. I've checked what equivalences I can use but I don't see any that I can use here anymore.
Does anyone see a way to go further from here?