I'm trying to prove the statement:
Show that a finite intersection of open subsets in a metric space is open.
If I'm able to enumerate the sets as $U_1, \ldots, U_n$ and consider $U := \bigcap\limits_{i=1}^n U_i$, I have no problem writing the proof. But "finite" can also mean empty, so by listing the sets out like this, I think I'm sacrificing generality. What I'm really doing is defining $U := \bigcap\limits_{i \in I_n} U_i$, where $I_n$ is an indexing set of size $n \geq 0$. If $n = 0$, $U = X$ by definition, which is open. But the notation $\bigcap\limits_{i=1}^n U_i$ doesn't make sense in the case where $n = 0$, unless $\bigcap\limits_{i=1}^0 U_i$ means "empty intersection."
Is there a way to get around this subtlety?
The empty set is an open set so that does not pose a problem. In fact you can begin by saying if the intersection is empty then we are done. Then let $x$ be a point in the intersection. Since $x$ is in each of the $U_i$ and each of the $U_i$ are open there exists $\epsilon_1, ..., \epsilon_n$ such that $B_{\epsilon_i}(x)\subset U_i$. Take the minimum of the $\epsilon_i$ to get that $B_{\text{min}(\epsilon_i)}(x)$ is a subset of the intersection.