Liminf and limsup for sets will be used in the proof of Borel-Cantelli Lemma. There are two equivalent definitions on Wikipedia, and it seems weird at first. Namely: liminf (resp. limsup) is defined as union of intersections (intersection of unions), and is also said as occurring infinitely often (occurring for all but finite indices). Let us verify their equivalence.
Let a sequence of sets, be given. By definition,
… [1]
We claim
… [2]
By definition of union,
By definition of intersection,
… [3]
The meaning is completely the same as “infinitely often”, as claimed.
Alternatively, we may define
Similarly, suppose
We claim
By definition of intersection,
By definition of union,
The meaning is completely the same as “all but finitely many”, as claimed.
Alternatively, we may define