Let $(x_n) \subset \mathbb{R}$ be a sequence of real numbers and $l \in \mathbb{R}$
Define $f:\mathbb{N} \rightarrow \mathbb{R}, n \mapsto f(n):=x_n$
Prove that $\displaystyle\lim_{y\to\infty}f(y)=l$ iff $\displaystyle\lim_{n\to\infty}x_n=l$
I have no idea where to begin; I'm not even sure why we can discuss $\displaystyle\lim_{y\to\infty}f(y)$
