I'm trying to find the cardinality of the set of all polynomials with coefficients in ℝ. What's wrong with the following proof:
Let $f$ be a function: $$f: \mathbb R[x] \to P(\mathbb R)$$ $$f(a_{0}+a_{1}x^{1}+...+a_{k}x^{k}) = \left \{ a_{0}, a_{1}, ..., a_{k} \right \}$$
For example: $$f(4.3x+2.5) = \left \{ 4.3,2.5 \right \}$$
f is obviously not injective, but is onto. Meaning that $$|\mathbb R[x]]| \geq \left | P(R) \right | $$
What am I missing?