Constructions of new topological spaces from old ones #
This file constructs products, sums, subtypes and quotients of topological spaces and sets up their basic theory, such as criteria for maps into or out of these constructions to be continuous; descriptions of the open sets, neighborhood filters, and generators of these constructions; and their behavior with respect to embeddings and other specific classes of maps.
Implementation note #
The constructed topologies are defined using induced and coinduced topologies
along with the complete lattice structure on topologies. Their universal properties
(for example, a map X → Y × Z
is continuous if and only if both projections
X → Y
, X → Z
are) follow easily using order-theoretic descriptions of
continuity. With more work we can also extract descriptions of the open sets,
neighborhood filters and so on.
Tags #
product, sum, disjoint union, subspace, quotient space
Equations
Equations
- quot.topological_space = topological_space.coinduced (quot.mk r) t
Equations
- sigma.topological_space = ⨆ (a : α), topological_space.coinduced (sigma.mk a) (t₂ a)
Equations
- Pi.topological_space = ⨅ (a : α), topological_space.induced (λ (f : Π (a : α), β a), f a) (t₂ a)
Equations
The image of a dense set under quotient.mk
is a dense set.
The composition of quotient.mk
and a function with dense range has dense range.
A type synonym equiped with the topology whose open sets are the empty set and the sets with finite complements.
Equations
- cofinite_topology α = α
The identity equivalence between α
and cofinite_topology α
.
Equations
Equations
Equations
- cofinite_topology.topological_space = {is_open := λ (s : set (cofinite_topology α)), s.nonempty → sᶜ.finite, is_open_univ := _, is_open_inter := _, is_open_sUnion := _}
A version of continuous_inf_dom_left
for binary functions
A version of continuous_inf_dom_right
for binary functions
A version of continuous_Inf_dom
for binary functions
If a function f x y
is such that y ↦ f x y
is continuous for all x
, and x
lives in a
discrete space, then f
is continuous.
A product of induced topologies is induced by the product map
prod.fst
maps neighborhood of x : α × β
within the section prod.snd ⁻¹' {x.2}
to 𝓝 x.1
.
The first projection in a product of topological spaces sends open sets to open sets.
prod.snd
maps neighborhood of x : α × β
within the section prod.fst ⁻¹' {x.1}
to 𝓝 x.2
.
The second projection in a product of topological spaces sends open sets to open sets.
The product of two dense sets is a dense set.
If f
and g
are maps with dense range, then prod.map f g
has dense range.
function.update f i x
is continuous in (f, x)
.
Suppose π i
is a family of topological spaces indexed by i : ι
, and X
is a type
endowed with a family of maps f i : X → π i
for every i : ι
, hence inducing a
map g : X → Π i, π i
. This lemma shows that infimum of the topologies on X
induced by
the f i
as i : ι
varies is simply the topology on X
induced by g : X → Π i, π i
where Π i, π i
is endowed with the usual product topology.
A finite product of discrete spaces is discrete.
A map out of a sum type is continuous if its restriction to each summand is.
The sum of embeddings is an embedding.