Lemma (uniqueness of lifts)

Let $p: \tilde X \to X$ be a covering space or a Hausdorff local homeomorphism, $f: Y\to X$ be a map, and $\tilde f_0, \tilde f_1: Y\to \tilde X$ be two lifts of $f$. Then $$ \begin{align*} S = \sb{y\in Y}{\tilde f_0(y) = \tilde f_1(y)} \end{align*} $$ is both open and closed.

Proof