Let $A$ be a subset of $\ell^\infty(\mathbb R)$ defined by $$ A=\{(a_n)_{n\in\mathbb N}:|a_n|\leq 2^{-n}\}, $$ that is, each coordinate $a_n$ is bounded by $2^{-n}$. Is the set $A$ compact in $l^\infty?$
My attempt: Let $a^{(m)}$ be a sequence in $A$. Consider the set of all first coordinates $(a_1^{(m)})$, which has a subsequence converging to $c_1$. Next, consider the second coordinate, hence there is a further subsequence $a_2^{(m_k)}$ converging to $c_2$. Continuing in this process, and then use the diagonal argument to pick a convergence subsequence. But I am not sure which subsequence I can pick.
To continue the OP's approach: For the "diagonal subsequence" $(m_n)_{n\in\mathbb N}$ all coordinate sequences $a_k^{m_n}$ converge to $c_k$ and it is enough to show that then $a^{m_n} \to c=(c_1,c_2,c_3,\ldots)$ in $\ell^\infty$. Given $\varepsilon>0$ take $k_0\in \mathbb N$ with $2^{k_0-1}<\varepsilon$. For $k\ge k_0$ and all $n\in\mathbb N$ one has $|a_k^{m_n}-c_k|\le |a_k^{m_n}|+ |c_k| <\varepsilon$ and chosing $n_0$ such that $|a_k^{m_n}-c_k|\le \varepsilon$ for $n\ge n_0$ and $k\in\{1,\ldots,k_0-1\}$ one gets $\|a^{m_n}-c\|_\infty\le\varepsilon$ for $n\ge n_0$.