Let $P$ be the set of all polynomials with integer coefficients, one variable, and deg $n \ge 1$. A number is said to be algebraic, $\mathbb{A}$, if it is real and the solution to an element of $P$. For a given $a \in \mathbb{A}$, let $f_a(x) = c_1 + c_2 x + c_3 x^2 + \dots$ be the (not necessarily unique) integer coefficient polynomial such that $f_a(a) = 0$ and let $n \in \mathbb{N}$ be the degree of $f_a$.
I am interested in defining an injective map from $\mathbb{A}$ to $P$. My initial thought was to do this with the mapping, $\phi: \mathbb{A} \rightarrow P$ given by, \begin{equation} \phi(a) = f_a \end{equation} I realized this is not an injective map because a given $a \in \mathbb{A}$ likely has more than one $f_a$, so the function is not one-to-one. My idea now is to define a mapping $\psi: \mathbb{A} \rightarrow P$ given by, \begin{equation} \psi(a) = g_a \end{equation} Where $g_a$ is the minimum degree polynomial for which $a$ is a solution. Does this make the map injective?