Zulip Chat Archive
Stream: new members
Topic: pullback with closed embedding
Vasilii Nesterov (Jun 11 2025 at 09:33):
I have three topological spaces (in fact, compact metric spaces) , , , with a closed embedding and a surjective continuous function . I want to take the pullback, obtaining a space with a continuous surjection and a closed embedding .
I've never worked with category theory in Mathlib, and I'm seeking advice on how such constructions are typically done. Should I use docs#TopCat ? Or docs#Function.Pullback ? I don't understand how to work with the former, and I don't see much topological API for the latter.
Kenny Lau (Jun 11 2025 at 10:12):
@Vasilii Nesterov https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/Category/TopCat/Limits/Pullbacks.html#TopCat.pullbackIsoProdSubtype
Andrew Yang (Jun 11 2025 at 11:45):
I would suggest you to use docs#Function.Pullback and add the missing API. The category theory library makes things much more opaque (both literally and figuratively) without much benefit. The benefit it adds is the access to a powerful category machinery which I don't think is useful to you.
Last updated: Dec 20 2025 at 21:32 UTC