Connected subsets of topological spaces #
In this file we define connected subsets of a topological spaces and various other properties and classes related to connectivity.
Main definitions #
We define the following properties for sets in a topological space:
is_connected
: a nonempty set that has no non-trivial open partition. See also the section below in the module doc.connected_component
is the connected component of an element in the space.is_totally_disconnected
: all of its connected components are singletons.is_totally_separated
: any two points can be separated by two disjoint opens that cover the set.
For each of these definitions, we also have a class stating that the whole space
satisfies that property:
connected_space
, totally_disconnected_space
, totally_separated_space
.
On the definition of connected sets/spaces #
In informal mathematics, connected spaces are assumed to be nonempty.
We formalise the predicate without that assumption as is_preconnected
.
In other words, the only difference is whether the empty space counts as connected.
There are good reasons to consider the empty space to be “too simple to be simple”
See also https://ncatlab.org/nlab/show/too+simple+to+be+simple,
and in particular
https://ncatlab.org/nlab/show/too+simple+to+be+simple#relationship_to_biased_definitions.
A connected set is one that is nonempty and where there is no non-trivial open partition.
Equations
- is_connected s = (s.nonempty ∧ is_preconnected s)
If any point of a set is joined to a fixed point by a preconnected subset, then the original set is preconnected as well.
If any two points of a set are contained in a preconnected subset, then the original set is preconnected as well.
A union of a family of preconnected sets with a common point is preconnected as well.
The directed sUnion of a set S of preconnected subsets is preconnected.
The bUnion of a family of preconnected sets is preconnected if the graph determined by whether two sets intersect is preconnected.
The bUnion of a family of preconnected sets is preconnected if the graph determined by whether two sets intersect is preconnected.
Preconnectedness of the Union of a family of preconnected sets indexed by the vertices of a preconnected graph, where two vertices are joined when the corresponding sets intersect.
The Union of connected sets indexed by a type with an archimedean successor (like ℕ
or ℤ
)
such that any two neighboring sets meet is preconnected.
The Union of connected sets indexed by a type with an archimedean successor (like ℕ
or ℤ
)
such that any two neighboring sets meet is connected.
The Union of preconnected sets indexed by a subset of a type with an archimedean successor
(like ℕ
or ℤ
) such that any two neighboring sets meet is preconnected.
The Union of connected sets indexed by a subset of a type with an archimedean successor
(like ℕ
or ℤ
) such that any two neighboring sets meet is preconnected.
Theorem of bark and tree : if a set is within a (pre)connected set and its closure, then it is (pre)connected as well.
The closure of a (pre)connected set is (pre)connected as well.
The image of a (pre)connected set is (pre)connected as well.
The connected component of a point is the maximal connected set that contains this point.
Equations
- connected_component x = ⋃₀{s : set α | is_preconnected s ∧ x ∈ s}
The connected component of a point inside a set.
Equations
- is_preconnected_univ : is_preconnected set.univ
A preconnected space is one where there is no non-trivial open partition.
- to_preconnected_space : preconnected_space α
- to_nonempty : nonempty α
A connected space is a nonempty one where there is no non-trivial open partition.
A set s
is preconnected if and only if
for every cover by two open sets that are disjoint on s
,
it is contained in one of the two covering sets.
A set s
is connected if and only if
for every cover by a finite collection of open sets that are pairwise disjoint on s
,
it is contained in one of the members of the collection.
Preconnected sets are either contained in or disjoint to any given clopen set.
Preconnected sets are either contained in or disjoint to any given clopen set.
A set s
is preconnected if and only if
for every cover by two closed sets that are disjoint on s
,
it is contained in one of the two covering sets.
A closed set s
is preconnected if and only if
for every cover by two closed sets that are disjoint,
it is contained in one of the two covering sets.
The connected component of a point is always a subset of the intersection of all its clopen neighbourhoods.
A clopen set is the union of its connected components.
The preimage of a connected component is preconnected if the function has connected fibers and a subset is closed iff the preimage is.
A set s
is called totally disconnected if every subset t ⊆ s
which is preconnected is
a subsingleton, ie either empty or a singleton.
Equations
- is_totally_disconnected s = ∀ (t : set α), t ⊆ s → is_preconnected t → t.subsingleton
- is_totally_disconnected_univ : is_totally_disconnected set.univ
A space is totally disconnected if all of its connected components are singletons.
Let X
be a topological space, and suppose that for all distinct x,y ∈ X
, there
is some clopen set U
such that x ∈ U
and y ∉ U
. Then X
is totally disconnected.
A space is totally disconnected iff its connected components are subsingletons.
A space is totally disconnected iff its connected components are singletons.
The image of a connected component in a totally disconnected space is a singleton.
A set s
is called totally separated if any two points of this set can be separated
by two disjoint open sets covering s
.
- is_totally_separated_univ : is_totally_separated set.univ
A space is totally separated if any two points can be separated by two disjoint open sets covering the whole space.
Instances
The setoid of connected components of a topological space
Equations
- connected_component_setoid α = {r := λ (x y : α), connected_component x = connected_component y, iseqv := _}
The quotient of a space by its connected components
Equations
Equations
The lift to connected_components α
of a continuous map from α
to a totally disconnected space
Equations
- h.connected_components_lift = λ (x : connected_components α), quotient.lift_on' x f _
The preimage of a singleton in connected_components
is the connected component
of an element in the equivalence class.
The preimage of the image of a set under the quotient map to connected_components α
is the union of the connected components of the elements in it.
Functoriality of connected_components