Theorem (Glivenko-Cantelli, empirical distribution)

Suppose $X\in \R$, and let $F$ be the distribution functions of $X$. For iid samples $X_1, \ldots, X_n$ of $X$, let $\hat F_n$ be the distribution function of the empirical distribution.

Then $$ \begin{align*} \sup_{t\in \R} |\hat F_n(t) - F_n(t)| \xrightarrow{a.s.} 0. \end{align*} $$

Proof for a continuous $F$