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
- instTopologicalSpaceSubtype = TopologicalSpace.induced Subtype.val t
Equations
- instTopologicalSpaceQuot = TopologicalSpace.coinduced (Quot.mk r) t
Equations
- instTopologicalSpaceQuotient = TopologicalSpace.coinduced Quotient.mk' t
Equations
- instTopologicalSpaceProd = TopologicalSpace.induced Prod.fst t₁ ⊓ TopologicalSpace.induced Prod.snd t₂
Equations
- instTopologicalSpaceSum = TopologicalSpace.coinduced Sum.inl t₁ ⊔ TopologicalSpace.coinduced Sum.inr t₂
Equations
- instTopologicalSpaceSigma = ⨆ (a : α), TopologicalSpace.coinduced (Sigma.mk a) (t₂ a)
Equations
- Pi.topologicalSpace = ⨅ (a : α), TopologicalSpace.induced (fun f => f a) (t₂ a)
Equations
- ULift.topologicalSpace = TopologicalSpace.induced ULift.down t
Additive
, Multiplicative
#
The topology on those type synonyms is inherited without change.
Equations
- instTopologicalSpaceAdditive = inst
Equations
- instTopologicalSpaceMultiplicative = inst
Equations
- (_ : DiscreteTopology (Additive α)) = inst
Equations
- (_ : DiscreteTopology (Multiplicative α)) = inst
Order dual #
The topology on this type synonym is inherited without change.
Equations
- instTopologicalSpaceOrderDual = inst
Equations
- (_ : DiscreteTopology αᵒᵈ) = inst
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 equipped with the topology whose open sets are the empty set and the sets with finite complements.
Equations
- CofiniteTopology α = α
Instances For
The identity equivalence between α
and CofiniteTopology α
.
Equations
- CofiniteTopology.of = Equiv.refl α
Instances For
Equations
- CofiniteTopology.instInhabitedCofiniteTopology = { default := ↑CofiniteTopology.of default }
Equations
- One or more equations did not get rendered due to their size.
Postcomposing f
with Prod.fst
is continuous
Precomposing f
with Prod.fst
is continuous
Postcomposing f
with Prod.fst
is continuous at x
Precomposing f
with Prod.fst
is continuous at (x, y)
Precomposing f
with Prod.fst
is continuous at x : α × β
Postcomposing f
with Prod.snd
is continuous
Precomposing f
with Prod.snd
is continuous
Postcomposing f
with Prod.snd
is continuous at x
Precomposing f
with Prod.snd
is continuous at (x, y)
Precomposing f
with Prod.snd
is continuous at x : α × β
A version of continuous_inf_dom_left
for binary functions
A version of continuous_inf_dom_right
for binary functions
A version of continuous_sInf_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.
Alias of the reverse direction of continuousAt_codRestrict_iff
.
Let s, t ⊆ X
be two subsets of a topological space X
. If t ⊆ s
and the topology induced
by X
on s
is discrete, then also the topology induces on t
is discrete.
Function.update f i x
is continuous in (f, x)
.
Pi.single i x
is continuous in x
.
Pi.mulSingle i x
is continuous in 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 iff its restriction to each summand is.
A map out of a sum type is continuous if its restriction to each summand is.
A map defined on a sigma type (a.k.a. the disjoint union of an indexed family of topological
spaces) is inducing iff its restriction to each component is inducing and each the image of each
component under f
can be separated from the images of all other components by an open set.