I have the following definition of a compact space
A topological space is a compact space if every filter $\mathcal B$ on $X$ has an accumulation point. That is there exists $x \in X$ such that
"for all $N \in \mathcal N(x)$, for all $A \in \mathcal B$, $N\cap A \neq \varnothing$"
I can't understand this definition. I am trying to show that using this definition of compact space
- $(a,b) \subset\mathbb R$ is not a compact space
- $[a,b] \subset\mathbb R$ is a compact space
By Heine-Borel theorem it is obvious that $[a,b]$ is a compact space as it is bounded and closed.
But how to proceed starting with the quoted definition?