Let $(X, \tau)$ be a topological space. Given a subset $A$ and a collection of open sets $U_i$, $i \in I$ for some index set, s.t. $A \subseteq U_i$ for all $i \in I$. How can I build smallest open set that contains $A$?
Intersection of infinite number of open sets in not necessarily open, so we can't assume that $U = \cap_{i \in I}U_i$ is open. But $U = Int(\cap_{i \in I}\overline{U_i})$. Intersection of closed sets is closed and interior is open. I think that interior is not empty in this case, but can't prove it. Since $A \subseteq U_i$, then $A \subseteq U$ ?