Artificial intelligent assistant

If the closure operator interchanges with tacking finite intersections, is this then true for a countable intersection? Let $(A_{i})_{i\in \mathbb{N}}$ be a family of subsets of $(X,\tau)$ satisfying $\overline{\bigcap_{i=1}^{n} A_{i}} = \bigcap_{i=1}^{n} \overline{A_{i}}$ for any $n \in \mathbb{N}$. Is it true (or under what assumptions on $X$) is it true that $\overline{\bigcap_{i\in \mathbb{N}} A_{i}}= \bigcap_{i\in \mathbb{N}} \overline{ A_{i}}$. Thanks for all replies!

In general it is not true; just take the real line with usual topology and consider the open intervals $A_n = (0,1/n)$. The condition for finite intersections clearly holds because the intersection of the first $n$ sets is just $A_n$, and the intersection of the first $n$ closures is the closure of $A_n$. But the infinite intersection is empty, so the closure of the infinite intersection is empty, but the intersection of the closures is the point 0. The real line is so "nice" that it may be hard to find general conditions on $X$ that make the statement hold.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy df6aa6a36576985ff0724f2b8923cd14