The category of open sets in a topological space. #
We define toTopCat : Opens X โฅค TopCat
and
map (f : X โถ Y) : Opens Y โฅค Opens X
, given by taking preimages of open sets.
Unfortunately Opens
isn't (usefully) a functor TopCat โฅค Cat
.
(One can in fact define such a functor,
but using it results in unresolvable Eq.rec
terms in goals.)
Really it's a 2-functor from (spaces, continuous functions, equalities)
to (categories, functors, natural isomorphisms).
We don't attempt to set up the full theory here, but do provide the natural isomorphisms
mapId : map (๐ X) โ
๐ญ (opens X)
and
mapComp : map (f โซ g) โ
map g โ map f
.
Beyond that, there's a collection of simp lemmas for working with these constructions.
Since Opens X
has a partial order, it automatically receives a Category
instance.
Unfortunately, because we do not allow morphisms in Prop
,
the morphisms U โถ V
are not just proofs U โค V
, but rather
ULift (PLift (U โค V))
.
We now construct as morphisms various inclusions of open sets.
The inclusion U โ V โถ U
as a morphism in the category of open sets.
Equations
- TopologicalSpace.Opens.infLELeft U V = LE.le.hom (_ : U โ V โค U)
Instances For
The inclusion U โ V โถ V
as a morphism in the category of open sets.
Equations
- TopologicalSpace.Opens.infLERight U V = LE.le.hom (_ : U โ V โค V)
Instances For
The inclusion U i โถ supr U
as a morphism in the category of open sets.
Equations
- TopologicalSpace.Opens.leSupr U i = LE.le.hom (_ : U i โค iSup U)
Instances For
The inclusion โฅ โถ U
as a morphism in the category of open sets.
Equations
- TopologicalSpace.Opens.botLE U = LE.le.hom (_ : โฅ โค U)
Instances For
The inclusion U โถ โค
as a morphism in the category of open sets.
Equations
- TopologicalSpace.Opens.leTop U = LE.le.hom (_ : U โค โค)
Instances For
The functor from open sets in X
to Top
,
realising each open set as a topological space itself.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The inclusion map from an open subset to the whole space, as a morphism in TopCat
.
Equations
- TopologicalSpace.Opens.inclusion U = ContinuousMap.mk Subtype.val
Instances For
The inclusion of the top open subset (i.e. the whole space) is an isomorphism.
Equations
- TopologicalSpace.Opens.inclusionTopIso X = CategoryTheory.Iso.mk (TopologicalSpace.Opens.inclusion โค) (ContinuousMap.mk fun (x : โX) => { val := x, property := trivial })
Instances For
Opens.map f
gives the functor from open sets in Y to open set in X,
given by taking preimages under f.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The inclusion U โถ (map f).obj โค
as a morphism in the category of open sets.
Equations
Instances For
The functor Opens X โฅค Opens X
given by taking preimages under the identity function
is naturally isomorphic to the identity functor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The natural isomorphism between taking preimages under f โซ g
, and the composite
of taking preimages under g
, then preimages under f
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A homeomorphism of spaces gives an equivalence of categories of open sets.
TODO: define OrderIso.equivalence
, use it.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An open map f : X โถ Y
induces a functor Opens X โฅค Opens Y
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An open map f : X โถ Y
induces an adjunction between Opens X
and Opens Y
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- (_ : CategoryTheory.Faithful (IsOpenMap.functor hf)) = (_ : CategoryTheory.Faithful (IsOpenMap.functor hf))