I'm currently trying to prove that $\exists n\forall m~P(m,n)\Rightarrow \forall m\exists n P(m,n)$ formally. This is important to me because my professor and various only sources have hinted that in the statement "$\forall m \exists n~P(m,n)$", the identity of $n$ might (or might not) depend on $m$. This is clear to me when I started to study limits but the underlying reason as to why this is so remains elusive. I want to understand what it is meant precisely when we say that "$n$ might (or might not) depend on $m$", but before that I need a precise understand what a $\forall x\exists y P(x,y)$ statement means. Likewise, I need to understand what a $\exists x \forall y P(x,y)$ means. I can't find any online elaboration on what those statements mean formally. Any help?
edit: please do not get distracted by my attempt to prove $\exists n\forall m~P(m,n)\Rightarrow \forall m\exists n P(m,n)$. That is just the motivation of my question, not the actual question itself. Please do not answer that instead of the original question as stipulated in the title.
The statement
$$\exists n\forall m: P(m,n)$$
reads
While the statement
$$\forall m\exists n: P(m,n)$$
reads
The difference between these statements can be best seen in an example. Let's say that $P(m, n) = m<n$ and that we are dealing with integers.
Then the first statement says:
In other words, this statement says "there exists an integer larger than all other integers", which is false.
The second statement says:
In other words, "for every integer, there exists some larger integer", which is true.
In your case, you want to prove that one statement (i.e.: $\exists n\forall m: P(m,n)$) implies the other. You can do this by assuming that the first statement is true and prove the second one.
You therefore need to prove that $\forall m\exists n P(m,n)$. You start by taking an arbitrary $m$. Then, you know that, since
$$\exists n_0\forall m P(m, n_0)$$
is true, you take the $n_0$ that satisfies the above equation. By assumption, you therefore know that $P(m, n_0)$ is true. You have, for this particular $m$, found a value of $n$ (i.e.: $n=n_0$) for which $P(m, n)$ is true, so you have, for this $m$, proven that $\exists n:P(m, n)$ is true.
Furthermore, because $m$ was arbitrary, you have proven the above statement for all values of $m$, so you have proven the statement
$$\forall m\exists n P(m,n).$$