Discrete, Indiscrete: Free, CoFree

This note is about the discrete topology XX^{\bullet} and indiscrete topology XX_{\circ} on a set XX.

Namely, -^{\bullet} and -_{\circ} are functors SetTop\bold{Set} \to \bold{Top} with the following adjunctions with the forgetful functor ?:Top:Set? : \bold{Top} : \bold{Set}

?\bullet \vdash ? \vdash \circ

As a reminder, the discrete topology contains all subsets of XX

T:={U  UX}\mathcal{T}^{\bullet} := \{U \ |\ U \subseteq X \}

The indiscrete topology contains only the empty set, and all of XX:

T:={,X}\mathcal{T}_{\circ} := \{\emptyset, X\}

[!note] Note: I like this notation, since the \bullet denotes that the discrete topology is nice and full of sets. The \circ denotes that the indiscrete topology is empty and devoid of any sets.

It's clear that T\mathcal{T}_{\circ} is the coarsest topology on XX, and T\mathcal{T}^{\bullet} is the finest topology on XX. Formally, for any other topology T\mathcal{T} on XX, we have:

TTT\mathcal{T}_{\circ} \subseteq \mathcal{T} \subseteq \mathcal{T}^{\bullet}

This is a very structural point of view, focusing on different topologies we can apply to XX. We can shift our view to an external point of view, focusing on what continuous maps exist on the spaces XX^{\bullet} and XX_{\circ}.

Discrete Topology

The discrete space XX^{\bullet} on a space XX can be characterized as follows. Any set function XYX \to Y is continuous, provided YY is a topological space.

Proof

Since every set of XX^{\bullet} is open, every pre-image f1(V)f^{-1}(V) of an open set VV is also open, so ff is open.

As a simple corollary, since we have 1:XX1 : X \to X, we can see that XX^{\bullet} is finer than all other topologies on the same set.

As a functor

Because of this property, we see that :SetTop-^{\bullet} : \bold{Set} \to \bold{Top} is a functor, sending a set XX to the discrete topological space XX^{\bullet}. Set functions f:XYf : X \to Y, are already continuous functions XYX^{\bullet} \to Y^{\bullet}, because of the characterization we went over. The composition laws clearly hold, since functions are left untouched.

With this in mind, we have an even more powerful characterization:

For any set XX, the space XX^{\bullet} is initial in the category X?X \downarrow ?, where ?? is a forgetful functor TopSet\bold{Top} \to \bold{Set}.

More concretely, we have this situation:

Given any set function f:X?Tf : X \to ?T, where TT is a topological space, there exists a unique continuous map φ!:XT\varphi! : X^{\bullet} \to T such that the following commutes:

/

Proof

XX^{\bullet} satisfies this property. For each point xXx \in X, we need f(x)=(φ!id)(x)=φ!(x)f(x) = (\varphi! \circ id)(x) = \varphi!(x), so we have no choice but ff. Since XX^{\bullet} is discrete, ff is necessarily continuous.

\square

Intuition

XX^{\bullet} is a way of creating a topological out of XX such that every set function out of XX becomes continuous.

Dual Property

Another property is that ?T?T is terminal in the slice category T-^{\bullet} \downarrow T:

Given any set AA and continuous map ϕ:AT\phi : A^{\bullet} \to T, there exists a unique set function f:A?Tf : A \to ?T such that this diagram commutes:

/

Proof

We need f(a)=ϕ(a)f(a) = \phi(a), so ff is uniquely determined as ϕ\phi.

\square

With these two diagrams in place, we have an adjunction:

?\bullet \vdash ?

Indiscrete Topology

Any function TXT \to X_{\circ} is continuous, since the only open sets are \emptyset and XX, whose preimages are \emptyset, and TT respectively.

XX_{\circ} is terminal in ?X? \downarrow X.

If TT is a topological space with a set function f:TXf : T \to X, then there exists a unique continuous map φ!:TX\varphi! : T \to X_{\circ} such that the following diagram commutes:

/

Proof

We have, once again, no choice but φ!=f\varphi! = f. This function is continuous, since any function to XX_{\circ} is continuous.

Intuition

This is really just a repetition of the fact that every set function X\to X becomes a continuous map X\to X_{\circ}.

Dual Property

We have a similar dual property as before.

?T?T is initial in TT \downarrow -_\circ.

Given some set AA with a continuous map ϕ:TA\phi : T \to A_\circ, there exists a unique set function f!:?TAf! : ?T \to A making the following commute:

/

Proof

We necessarily have f!(t)=ϕ(t)f!(t) = \phi(t).

These two properties form an adjunction:

?? \vdash \circ

Combining it all

Looking at both of these in unison, we have the following adjunction:

?\bullet \vdash ? \vdash \circ

So, \bullet is the typical left adjoint Free functor, and \circ is a right adjoint Co-Free functor. So these two constructions are naturally dual to eachother.

bulletbullet allows us to make a topological space so that mapping out of the space is always continuous, and \circ allows us to make a topological space so that mapping into the space is always continuous.

Furthermore, these defining properties are characteristic, so any space satisfying these properties must be homeomorphic.