cronokirby

Discrete, Indiscrete: Free, CoFree

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

Namely, −∙-^{\bullet} and −∘-_{\circ} are functors Set→Top\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 ∣ U⊆X}\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: 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:

T∘⊆T⊆T∙\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 X∙X^{\bullet} and X∘X_{\circ}.

Discrete Topology

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

Proof

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

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

As a functor

Because of this property, we see that −∙:Set→Top-^{\bullet} : \bold{Set} \to \bold{Top} is a functor, sending a set XX to the discrete topological space X∙X^{\bullet}. Set functions f:X→Yf : X \to Y, are already continuous functions X∙→Y∙X^{\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 X∙X^{\bullet} is initial in the category X↓?X \downarrow ?, where ?? is a forgetful functor Top→Set\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 φ!:X∙→T\varphi! : X^{\bullet} \to T such that the following commutes:

/

Proof

X∙X^{\bullet} satisfies this property. For each point x∈Xx \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 X∙X^{\bullet} is discrete, ff is necessarily continuous.

□\square

Intuition

X∙X^{\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 ϕ:A∙→T\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 T→X∘T \to X_{\circ} is continuous, since the only open sets are ∅\emptyset and XX, whose preimages are ∅\emptyset, and TT respectively.

X∘X_{\circ} is terminal in ?↓X? \downarrow X.

If TT is a topological space with a set function f:T→Xf : T \to X, then there exists a unique continuous map φ!:T→X∘\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 X∘X_{\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 T↓−∘T \downarrow -_\circ.

Given some set AA with a continuous map ϕ:T→A∘\phi : T \to A_\circ, there exists a unique set function f!:?T→Af! : ?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.