Sorry in advance if this is not sufficiently research-level, it is really more of a reference request since the proof is not difficult. Let $\mathcal{Y}$ be a compact set, let $\{X_n\}$ denote a sequence of random variables, and let $f(x,y)$ and $g(y)$ be "nice" functions. Suppose that for each fixed $y\in\mathcal{Y}$, we have $$\liminf_{n\to\infty} f(X_n,y)\geq g(y)$$ almost surely. What is the appropriate theorem to cite that says that (for sufficiently nice functions), we have $$\liminf_{n\to\infty} \min_{y\in\mathcal{Y}} f(X_n,y)\geq g(y)$$$$\liminf_{n\to\infty} \min_{y\in\mathcal{Y}} f(X_n,y)\geq \min_{y\in\mathcal{Y}} g(y)$$ almost surely?