Let $X,Y,Z$ be topological spaces. Let $f:X\rightarrow Y$ be a contionuous map. I also have two local homeomorphisms $p:X\rightarrow Z$ and $q:Y\rightarrow Z$. Such that these functions form a commutative diagram.
I need help to show that $f$ is also a local homeomorphism...
I tried to show it by taking an elemet $y\in Y$ and an open neighbourhood of $y$ named $U$ such that $U$ is homeomorphic to $q(U)$ and taking the inverse image of $U$ by $f$..... I have no idea what to do with this...