[This is from "A Probability Path" by Resnick]
Supremum, infimum, limsup, liminf, limit of a sequence of sets can be defined via indicator functions.
Supremum and infimum of a seq of sets:
Consider sets ${ A _n \subseteq X . }$ We say ${ \sup \lbrace A _1, A _2, \ldots \rbrace = A }$ if and only if ${ \sup \lbrace 1 _{A _1} (x), 1 _{A _2} (x), \ldots \rbrace = 1 _A (x) }$ pointwise.
Note that
$${ \sup \lbrace 1 _{A _1} (x), 1 _{A _2} (x), \ldots \rbrace = {\begin{cases} 1 \quad \text{ if } x \text{ lies in some } A _n \\ 0 \quad \text{ otherwise} \end{cases}} = 1 _{\cup _{ n = 1} ^{\infty} A _n} (x) . }$$
Hence we have
$${ \sup \lbrace A _1, A _2, \ldots \rbrace = \cup _{ n = 1} ^{\infty} A _n . }$$
Similarly we have
$${ \inf \lbrace A _1, A _2, \ldots \rbrace = \cap _{ n = 1} ^{\infty} A _n . }$$
Note that this notion of supremum and infimum agrees with the usual notion of supremum and infimum with respect to the partial order ${ \subseteq . }$
The union is the smallest set containing all the sets in the sequence (least upper bound), and the intersection is the largest set contained in all the sets of the sequence (greatest lower bound).
Limsup and liminf of a seq of sets:
Consider sets ${ A _n \subseteq X . }$ We say ${ \limsup _{n \to \infty} A _n = A }$ if and only if ${ \limsup _{n \to \infty} 1 _{A _n} (x) = 1 _A (x) }$ pointwise.
Note that
$${ {\begin{align} &\, \limsup _{n \to \infty} 1 _{A _n} (x) \\ = &\, \lim _{j \to \infty} \left( \sup _{n \geq j} 1 _{A _n} (x) \right) \\ = &\, \lim _{j \to \infty} 1 _{ \cup _{n = j} ^{\infty} A _n } (x) \end{align}} }$$
and by monotone convergence
$${ {\begin{align} &\, \lim _{j \to \infty} 1 _{ \cup _{n = j} ^{\infty} A _n } (x) \\ = &\, \inf _{j \geq 1} 1 _{ \cup _{n = j} ^{\infty} A _n } (x) \\ = &\, 1 _{\cap _{j \geq 1} \cup _{n = j} ^{\infty} A _n } (x) . \end{align}} }$$
Hence we have
$${ \limsup _{n \to \infty} A _n = \cap _{j \geq 1} \cup _{n = j} ^{\infty} A _n = \lbrace x : x \in A _n \text{ for infinitely many } n \rbrace . }$$
Similarly we have
$${ \liminf _{n \to \infty} A _n = \cup _{j \geq 1} \cap _{n = j} ^{\infty} A _n = \lbrace x : x \in A _n \text{ for all but finitely many } n \rbrace . }$$
Limit of a seq of sets:
Consider sets ${ A _n \subseteq X . }$ We say ${ \lim _{n \to \infty} A _n = A }$ if and only if ${ \lim _{n \to \infty} 1 _{A _n} (x) = 1 _A (x) }$ pointwise.
Note that ${ \lim _{n \to \infty} A _n = A }$ if and only if
$${ \limsup _{n \to \infty} A _n = \liminf _{n \to \infty} A _n = A , }$$
as needed.