Consider the following sets:
$$
A =  \Big\{ x\in X: \Pr\bigg(\lim_{n \to \infty}d\big(p_n,  [\ell(x), u(x) ] \big)= 0\bigg)=1 \Big\},
$$
and
$$
A_n =  \Big\{ x\in X:  d\big(p_n,  [\ell(x), u(x) ] \big)= 0\Big\},
$$
where: 

- $\Pr$ denotes probability.
- $X\subseteq \mathbb{R}$.
- $(p_n)_n$   is a sequence of  random variables taking values in $[0,1]$.
- $\ell(\cdot)$ and $u(\cdot)$ are real  function taking values in $[0,1]$.
- $d\big(p_n,  [\ell(x), u(x) ] \big):= \inf \big\{|p_n - y| : y \in [\ell(x), u(x) ] \big\}$.


____________
Could you help me to show that
$$
 d_H(A, A_n)\rightarrow_{a.s.} 0,
$$
where 
$$
d_H(A, A_n)\equiv \max\{\sup_{x\in A_n}d(x,A), \sup_{x\in A}d(x, A_n)\},
$$
is the Hausdorff distance.