In his first volume of Topology, Kuratowski mentions an example which shows that his fourth axiom, $\overline{\overline{A}} = \overline{A}$, is independent from the other three of the closure operator. Take $X$ the set of all functions $\mathbb{R} \rightarrow \mathbb{R}$ and for $A \subseteq X$ define $\overline{A}$ as all functions obtained as pointwise limits of sequences of functions in $A$. Then, if $A$ is the continous functions, he claims that the Dirichlet function $f$ with $1$ on rationals and $0$ on irrationals is in $\overline{\overline{A}}$ but not in $\overline{A}$.
To show that $f \in \overline{\overline{A}}$, I noted that for any finite set of rationals, we can find $(g_n)_n$ a sequence of continous functions which converges to $0$ outside that set and $1$ on those rationals, by patching together different pieces of graphs of $a_nx^n$ and $1/(b_nx^n)$; this shows that $\overline{A}$ contains a function which is $1$ on any given finite set of rationals and $0$ outside. So by using a bijection from $\mathbb{Q}$ to $\mathbb{N}$ (like the diagonal one), we can choose these finite sets of rationals to be in a sequence which is $\mathbb{Q}$ in the limit, hence we have a sequence of functions in $\overline{A}$ which converges to $f$. Is this correct?
For $f \not\in \overline{A}$, I'd have to show that the pointwise limit of a continous sequence of functions cannot be everywhere discontinous (my intuition says it can probably only be discontinous on a Lebesgue negligible set), as suggested by this question. I can't think of how to prove this; can anyone provide the proof/a sketch of it/a resource where it is found?
Thank you for your time.