20.3. Properties of Topological Spaces
Some properties have both a form for sets as well as the whole space. For example,
IsCompact is a predicate on Set X while CompactSpace states that
X itself is compact. Note that CompactSpace is a typeclass while IsCompact is not.
Some other common properties that follow this are:
-
IsConnectedandConnectedSpace; -
IsPathConnectedandPathConnectedSpace;
Unlike some textbook conventions, IsConnected includes nonemptiness. Use
IsPreconnected when the empty set should count.
Some common separation properties are:
-
Hausdorff and locally compact:
T2SpaceandLocallyCompactSpace; -
first/second countable:
FirstCountableTopologyandSecondCountableTopology; -
separable and discrete:
TopologicalSpace.SeparableSpaceandDiscreteTopology.
As an example using some of these properties, lets look at the proof that a continuous function from a compact space to a Hausdorff space is closed.
example {f : X → Y} (hf : Continuous f)
[CompactSpace X] [T2Space Y] :
IsClosedMap f := X:Type u_1Y:Type u_2inst✝³:TopologicalSpace Xinst✝²:TopologicalSpace Yf:X → Yhf:Continuous finst✝¹:CompactSpace Xinst✝:T2Space Y⊢ IsClosedMap f
X:Type u_1Y:Type u_2inst✝³:TopologicalSpace Xinst✝²:TopologicalSpace Yf:X → Yhf:Continuous finst✝¹:CompactSpace Xinst✝:T2Space Ys:Set Xhs:IsClosed s⊢ IsClosed (f '' s)
X:Type u_1Y:Type u_2inst✝³:TopologicalSpace Xinst✝²:TopologicalSpace Yf:X → Yhf:Continuous finst✝¹:CompactSpace Xinst✝:T2Space Ys:Set Xhs:IsClosed sthis:IsCompact s⊢ IsClosed (f '' s)
X:Type u_1Y:Type u_2inst✝³:TopologicalSpace Xinst✝²:TopologicalSpace Yf:X → Yhf:Continuous finst✝¹:CompactSpace Xinst✝:T2Space Ys:Set Xhs:IsClosed sthis✝:IsCompact sthis:IsCompact (f '' s)⊢ IsClosed (f '' s)
All goals completed! 🐙