Somewhere I saw a brief comment, without proof, that the underlying set functor from compact Hausdorff topological spaces to sets is monadic. So, I found myself wondering if the former category could be expressed as a sort of pseudo variety of algebras.
A possible candidate for a pseudo-algebraic operation would be the operation of taking limits of ultrafilters. From this operation, the topology can be recovered: $\mathrm{cl}(S)$ is the set of limits of ultrafilters containing $S$. So, given an arbitrary function $\lim$ from ultrafilters on $X$ to $X$, define $\mathrm{cl}(S) := \{ \lim \mathcal{F} : \mathcal{F}~\mathrm{ultrafilter~on~}X,~ S \in \mathcal{F} \}$, and let us check Kuratowski's closure axioms:
- $\mathrm{cl}(\emptyset) = \emptyset$: vacuously true since no ultrafilter contains $\emptyset$.
- $S \subseteq \mathrm{cl}(S)$: easy to prove with the reasonable assumption that the limit of the principal ultrafilter on $x$ is $x$.
- $\mathrm{cl}(S \cup T) = \mathrm{cl}(S) \cup \mathrm{cl}(T)$: for $\subseteq$, if $S \cup T \in \mathcal{F}$ where $\mathcal{F}$ is an ultrafilter, then either $S \in \mathcal{F}$ so $\lim \mathcal{F} \in \mathrm{cl}(S)$, or $T \in \mathcal{F}$ so $\lim \mathcal{F} \in \mathrm{cl}(T)$. For $\supseteq$, it suffices to show $\mathrm{cl}$ is increasing: but if $S \subseteq S'$, then every ultrafilter containing $S$ also contains $S'$.
- $\mathrm{cl}(\mathrm{cl}(S)) = \mathrm{cl}(S)$: this is the one that trips me up, and I can't think of any "natural" pseudo-algebraic relation in terms of $\lim$ that would imply this.
Aside from this, it would also be reasonable to require an ultrafilter $\mathcal{F}$ to have limit $x$ based on the induced topology if and only if $\lim \mathcal{F} = x$. Once you have that, the compactness and Hausdorff property of the induced topology would be immediate. Again here, though, I haven't quite been able to see if this is automatic or if there's some "natural" pseudo-algebraic relation in terms of $\lim$ that would imply this. (The "if" direction is easy to prove in general if the Kuratowski closure axioms hold so the topology's closure agrees with $\mathrm{cl}$ as defined; it's the "only if" direction I'm not sure is automatic.)
Furthermore, in order to get the original category, we would want to know that $f : X \to Y$ is continuous if and only if $f$ "commutes" with the limit operations, i.e. for each ultrafilter $\mathcal{F}$ on $X$, $f(\lim_X \mathcal{F}) = \lim_Y (f_* \mathcal{F})$ where $f_* \mathcal{F} = \{ S \subseteq Y : f^{-1}(S) \in \mathcal{F} \}$. However, as I recall this just reduces to an already known general topological theorem, given the previous paragraph's condition.
So, my question is whether there's a known set of pseudo-algebraic relations which cause a "limit of ultrafilter" operator to induce a compact Hausdorff topology. Or if not, if there's some known formulation of the category of compact Hausdorff topological spaces as a pseudo variety of algebras along these lines.