I wanted to share this definition of an open set, which made me uncomfortable. It comes from Rudin's Real and Complex Analysis and begins with the definition of a topology:
A collection $\tau$ of subsets of a set $X$ is called a topology in $X$ if $\tau$ has the following three properties:
$\emptyset \in \tau$ and $X \in \tau$.
If $V_i \in \tau$ for $i=1,\ldots,n$, then $V_1 \cap V_2 \cap \cdots \cap V_n \in \tau$ (closure under finite intersections).
If $\{V_{\alpha}\}$ is an arbitrary collection of members of $\tau$ (countable or uncountable), then $\bigcup\limits_{a} V_{\alpha} \in \tau$ (closure under infinite unions).
If $\tau$ is a topology in $X$, then the ordered pair $(X,\tau)$ is called a topological space, and the elements of $\tau$ are called the open sets in $X$.
My question is -- doesn't this general definition disagree with the definition of open and closed sets from metric spaces? For example, what if we take $X=[0,5]$, which we would all agree is a closed set. By definition of the topological space $(X, \tau)$, we will have $[0,5] \in \tau$. So, then, according to the definition of an open set, since $[0,5]$ is a member of the topology we would call $[0,5]$ an open set. This seems wrong!
Or worse: What if we take one of the $V_i \in \tau$ to be the set $\{3\}$. Then $\tau = \{\emptyset, \{3\}, [0,5]\}$, which meets the three criteria above. Then since $\{3\} \in \tau$, then by this definition we would call $\{3\}$ an open set! We would never call a singleton an open set.
Or for a third example, let's put in one more set in the topology. What if we took a set we know to be open, say the interval $(1,3)$. Then our topology becomes \begin{equation} \tau=\{\emptyset, (1,3), \{3\}, (1,3], [0,5]\} \end{equation} since $(1,3) \cup \{3\}=(1,3]$. Now our topology has both open, closed, and clopen members!
Hopefully you guys can see why I'm bothered with this definition of an "open set".
Thanks for your thoughts!
Started to write a comment, turned out too long.
$[0,5]\notin\tau$ in the Euclidean topology; $[0,5]^c=(−∞,0)\cup(5,∞)\in\tau$. $\tau$ denotes the collection of open sets; closed sets are not included in $\tau$. This axiomatic characterization of topological spaces should be thought of as the definition of a topology. In metric spaces, we're dealing with a special topology, the metric topology. According to this, a set $U$ is defined to be open if $\forall x\in U$ $\exists\varepsilon_x>0$ such that $B(\varepsilon_x,x)\subseteq U$. You can check that this construction of a metric topology satisfies the topology axioms. But, once again, this is merely a special case.
You say you would never call a singleton an open set. You're right if you are working with the standard Euclidean metric topology on $\mathbb R$. But, then again, this is only a special case of a topology, albeit a very natural and appealing one. In fact, you can define, on any non-empty set, a topology according to which every subset is open (and also closed). This is called the discrete topology. There are many possible ways to endow a set with topologies.
Also, when you define topologies on $\mathbb R$ other than the Euclidean metric topology, you should immediately forget about thinking in terms of the latter when talking about open sets in the new topology. Trying to compare which sets are open in different topologies can be very confusing if you're accustomed to the Euclidean definition of openness.