How do we construct the limsup and the liminf of a sequence of functions? I don't understand why should we consider a sequence of infima or suprema of the functions whose indices are greater or equal than a given number. My book says that this number is exactly the supremum or the infimum of the sequence. As an example, the liminf is defined as:
$$\liminf _{n\to \infty }x_{n}:=\lim _{n\to \infty }{\Big (}\inf _{m\geq n}x_{m}{\Big )} \liminf _{n\to \infty }x_{n}:=\sup _{n\geq 0}\,\inf _{m\geq n}x_{m}=\sup\{\,\inf\{\,x_{m}:m\geq n\,\}:n\geq 0\,\}.$$
Why is it like this? Could anyone explain me in a very simple way this notion, even through a basic example? Thanks you very much for your help.