How do we show that for any $\{x_n\}$ sequence $$\lim \sup_{n \rightarrow \infty}x_n = \inf\{ a: \text{the set} \{ n: x_n >a\}\text{ is finite} \}$$
There is a variant of this question available but I did not get the answer. Would you please explain?
Say
$$\lim \sup_{n \rightarrow \infty}x_n = L$$
Then, for $\varepsilon>0$ we eventually have $x_n \le L+\varepsilon$, i.e the set $\{n:x_n>L+\varepsilon\}$ is finite.
Also, we have an infinite subsequence $(x_{n_k})$ which converges to $L$, so for $\varepsilon>0$, the set $\{n:x_n>L-\varepsilon\}$ will also be infinite, as it contains a tail of this subsequence.
Thus:
$$(L,\infty)\subset\{a:\text{the set }\{n:x_n>a\}\text{ is finite}\}$$
$$(-\infty,L)\subset \{a:\text{the set }\{n:x_n>a\}\text{ is finite}\}^c$$
So, $L$ is equal to the desired infimum.