Topology (Munkres)

§22 The Quotient Topology

Definition 217
quotient_map

$p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ iff $p$ is a surjection from $X$ to $Y$ and $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and for all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ if $\preimg{p}{U}$ is open in $X$ with respect to $T_X$ then $U$ is open in $Y$ with respect to $T_Y$.

LaTeX source
\begin{definition}
\label{quotient_map}
    $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ iff
        $p$ is a surjection from $X$ to $Y$ and
        $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and
        for all $U$ such that $U\subseteq Y$ if $\preimg{p}{U}$ is open in $X$ with respect to $T_X$ then
            $U$ is open in $Y$ with respect to $T_Y$.
\end{definition}
Lemma 284
quotient_map_closed_iff

Suppose $p$ is a surjection from $X$ to $Y$.
Suppose $T_X$ is a topology on $X$.
Suppose $T_Y$ is a topology on $Y$.
Then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ iff for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $A$ is closed in $Y$ with respect to $T_Y$ iff $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$.

LaTeX source
\begin{lemma}
\label{quotient_map_closed_iff}
    Suppose $p$ is a surjection from $X$ to $Y$.
    Suppose $T_X$ is a topology on $X$.
    Suppose $T_Y$ is a topology on $Y$.
    Then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ iff
        for all $A$ such that $A\subseteq Y$ we have
            $A$ is closed in $Y$ with respect to $T_Y$ iff
            $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$.
\end{lemma}
Proof

$p$ is a function from $X$ to $Y$ by Definition 55, Definition 57.

Claim: If $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $A$ is closed in $Y$ with respect to $T_Y$ iff $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$.
Claim: If for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $A$ is closed in $Y$ with respect to $T_Y$ iff $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$ then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.

Assume that for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $A$ is closed in $Y$ with respect to $T_Y$ iff $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$.
For all $B$ such that $B$ is closed in $Y$ with respect to $T_Y$ we have $\preimg{p}{B}$ is closed in $X$ with respect to $T_X$.
$p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by Lemma 160.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $U$ is open in $Y$ with respect to $T_Y$ iff $\preimg{p}{U}$ is open in $X$ with respect to $T_X$.

$p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by Definition 217.

LaTeX source
\begin{proof}
    $p$ is a function from $X$ to $Y$ by \cref{surj,funs}.
    Show that if $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then
        for all $A$ such that $A\subseteq Y$ we have
            $A$ is closed in $Y$ with respect to $T_Y$ iff
            $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$.
    \begin{subproof}
        Follows by \cref{closed_in,setminus_subseteq,quotient_map,continuous,preimg_setminus_function,preimg_subseteq_dom,funs,subseteq}.
    \end{subproof}
    Show that if for all $A$ such that $A\subseteq Y$ we have
            $A$ is closed in $Y$ with respect to $T_Y$ iff
            $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$
        then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    \begin{subproof}
        Assume that for all $A$ such that $A\subseteq Y$ we have
            $A$ is closed in $Y$ with respect to $T_Y$ iff
            $\preimg{p}{A}$ is closed in $X$ with respect to $T_X$.
        For all $B$ such that $B$ is closed in $Y$ with respect to $T_Y$ we have
            $\preimg{p}{B}$ is closed in $X$ with respect to $T_X$.
        $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$
            by \cref{preimg_closed_implies_continuous}.
        Show that for all $U$ such that $U\subseteq Y$ we have
            $U$ is open in $Y$ with respect to $T_Y$ iff
            $\preimg{p}{U}$ is open in $X$ with respect to $T_X$.
        \begin{subproof}
            Follows by
                \cref{continuous,preimg_subseteq_dom,funs,subseteq,setminus_subseteq,double_relative_complement,open_in,closed_in,preimg_setminus_function}.
        \end{subproof}
        $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by \cref{quotient_map}.
    \end{subproof}
\end{proof}
Definition 218
saturated

$C$ is saturated with respect to $p$ iff $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{p}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\ran{p}$ if $C$ intersects $\preimg{p}{\{y\}}$ then $\preimg{p}{\{y\}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.

LaTeX source
\begin{definition}
\label{saturated}
    $C$ is saturated with respect to $p$ iff
        $C\subseteq\dom{p}$ and
        for all $y\in\ran{p}$ if $C$ intersects $\preimg{p}{\{y\}}$ then
            $\preimg{p}{\{y\}}\subseteq C$.
\end{definition}
Lemma 285
saturated_iff_preimg

Suppose $p$ is a function.
Then $C$ is saturated with respect to $p$ iff there exists $B$ such that $C = \preimg{p}{B}$.

LaTeX source
\begin{lemma}
\label{saturated_iff_preimg}
    Suppose $p$ is a function.
    Then $C$ is saturated with respect to $p$ iff there exists $B$ such that
        $C = \preimg{p}{B}$.
\end{lemma}
Proof
Claim: If $C$ is saturated with respect to $p$ then there exists $B$ such that $C = \preimg{p}{B}$.

Assume $C$ is saturated with respect to $p$.
Let $B = \img{p}{C}$.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{B}$.

$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{p}{B}$ by Definition 1.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{B}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.

$\preimg{p}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.
$C = \preimg{p}{B}$ by Proposition 3.

Claim: If there exists $B$ such that $C = \preimg{p}{B}$ then $C$ is saturated with respect to $p$.

Assume that there exists $B$ such that $C = \preimg{p}{B}$.
Take $B$ such that $C = \preimg{p}{B}$.

Claim: $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{p}$.

For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\ran{p}$ if $C$ intersects $\preimg{p}{\{y\}}$ then there exists $c$ such that $c\class{latex-symbol-tip latex-symbol-id-in}{\in} C\inter \preimg{p}{\{y\}}$ by Definition 152, Proposition 10.

Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\ran{p}$ if $C$ intersects $\preimg{p}{\{y\}}$ then $\preimg{p}{\{y\}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.

$C$ is saturated with respect to $p$ by Definition 218.

LaTeX source
\begin{proof}
    Show that if $C$ is saturated with respect to $p$ then there exists $B$ such that
        $C = \preimg{p}{B}$.
    \begin{subproof}
        Assume $C$ is saturated with respect to $p$.
        Let $B = \img{p}{C}$.
        Show that for all $x$ such that $x\in C$ we have $x\in\preimg{p}{B}$.
        \begin{subproof}
            Follows by \cref{saturated,subseteq,img_of_function_intro,inter_intro,function_apply_elim,preimg_iff}.
        \end{subproof}
        $C\subseteq \preimg{p}{B}$ by \cref{subseteq}.
        Show that for all $x$ such that $x\in\preimg{p}{B}$ we have $x\in C$.
        \begin{subproof}
            Follows by
                \cref{preimg_iff,img_of_function_elim,inter_elim_right,inter_elim_left,function_apply_iff,singleton_iff,inter_intro,emptyset,intersects,ran_iff,saturated,subseteq}.
        \end{subproof}
        $\preimg{p}{B}\subseteq C$ by \cref{subseteq}.
        $C = \preimg{p}{B}$ by \cref{subseteq_antisymmetric}.
    \end{subproof}
    Show that if there exists $B$ such that $C = \preimg{p}{B}$ then
        $C$ is saturated with respect to $p$.
    \begin{subproof}
        Assume that there exists $B$ such that $C = \preimg{p}{B}$.
        Take $B$ such that $C = \preimg{p}{B}$.
        Show that $C\subseteq\dom{p}$.
        \begin{subproof}
            Follows by \cref{preimg_subseteq_dom,subseteq}.
        \end{subproof}
        For all $y\in\ran{p}$ if $C$ intersects $\preimg{p}{\{y\}}$ then
            there exists $c$ such that $c\in C\inter \preimg{p}{\{y\}}$
            by \cref{intersects,nonempty_inhabited}.
        Show that for all $y\in\ran{p}$ if $C$ intersects $\preimg{p}{\{y\}}$ then
            $\preimg{p}{\{y\}}\subseteq C$.
        \begin{subproof}
            Follows by
                \cref{preimg_iff,subseteq,inter_elim_left,inter_elim_right,singleton_iff,function_rightunique,rightunique}.
        \end{subproof}
        $C$ is saturated with respect to $p$ by \cref{saturated}.
    \end{subproof}
\end{proof}
Lemma 286
img_preimg_surjection

Suppose $p$ is a surjection from $X$ to $Y$.
Suppose $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Then $\img{p}{\preimg{p}{B}} = B$.

LaTeX source
\begin{lemma}
\label{img_preimg_surjection}
    Suppose $p$ is a surjection from $X$ to $Y$.
    Suppose $B\subseteq Y$.
    Then $\img{p}{\preimg{p}{B}} = B$.
\end{lemma}
Proof

$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{Y}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $p$ is a function by Definition 57, Proposition 356.

Claim: $\img{p}{\preimg{p}{B}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$.

Follows by Lemma 156.

Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{\preimg{p}{B}}$.

Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $p(x) = y$ by Definition 57.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{p}$ by Definition 55.
$(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} p$ by Proposition 349.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{B}$ by Proposition 246.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{\preimg{p}{B}}$ by Proposition 235.

$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\img{p}{\preimg{p}{B}}$ by Definition 1.
$\img{p}{\preimg{p}{B}} = B$ by Proposition 3.

LaTeX source
\begin{proof}
    $p\in\surj{X}{Y}$ and $p\in\funs{X}{Y}$ and $p$ is a function
        by \cref{surj,funs_is_function}.
    Show that $\img{p}{\preimg{p}{B}}\subseteq B$.
    \begin{subproof}
        Follows by \cref{img_preimg_subseteq}.
    \end{subproof}
    Show that for all $y\in B$ we have $y\in\img{p}{\preimg{p}{B}}$.
    \begin{subproof}
        Fix $y\in B$.
        $y\in Y$ by \cref{subseteq}.
        Take $x\in X$ such that $p(x) = y$ by \cref{surj}.
        $x\in\dom{p}$ by \cref{funs}.
        $(x,y)\in p$ by \cref{function_apply_iff}.
        $x\in\preimg{p}{B}$ by \cref{preimg_iff}.
        $y\in\img{p}{\preimg{p}{B}}$ by \cref{img_iff}.
    \end{subproof}
    $B\subseteq\img{p}{\preimg{p}{B}}$ by \cref{subseteq}.
    $\img{p}{\preimg{p}{B}} = B$ by \cref{subseteq_antisymmetric}.
\end{proof}
Theorem 37
quotient_map_saturated_open_iff

Suppose $p$ is a surjection from $X$ to $Y$.
Suppose $T_X$ is a topology on $X$.
Suppose $T_Y$ is a topology on $Y$.
Then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ iff $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and for all $C$ such that $C$ is saturated with respect to $p$ and $C$ is open in $X$ with respect to $T_X$ we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.

LaTeX source
\begin{theorem}
\label{quotient_map_saturated_open_iff}
    Suppose $p$ is a surjection from $X$ to $Y$.
    Suppose $T_X$ is a topology on $X$.
    Suppose $T_Y$ is a topology on $Y$.
    Then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ iff
        $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and
        for all $C$ such that
            $C$ is saturated with respect to $p$ and
            $C$ is open in $X$ with respect to $T_X$
        we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.
\end{theorem}
Proof
Claim: If $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and for all $C$ such that $C$ is saturated with respect to $p$ and $C$ is open in $X$ with respect to $T_X$ we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.

Assume $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.

Claim: $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$.

Follows by Definition 217.

Claim: For all $C$ such that $C$ is saturated with respect to $p$ and $C$ is open in $X$ with respect to $T_X$ we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.

Fix $C$ such that $C$ is saturated with respect to $p$ and $C$ is open in $X$ with respect to $T_X$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $p$ is a function by Definition 57, Proposition 356.
Take $B$ such that $C = \preimg{p}{B}$ by Lemma 285.
Let $B_1 = B\inter Y$.
$\preimg{p}{B_1} = \preimg{p}{B}$ by Definition 1, Definition 57, Proposition 3, Proposition 61, Proposition 73, Proposition 208, Proposition 246, Proposition 248, Proposition 363.
$\img{p}{C}$ is open in $Y$ with respect to $T_Y$ by Definition 1, Definition 103, Definition 217, Lemma 286, Proposition 74.

Claim: If $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and for all $C$ such that $C$ is saturated with respect to $p$ and $C$ is open in $X$ with respect to $T_X$ we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$ then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.

Assume $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Assume that for all $C$ such that $C$ is saturated with respect to $p$ and $C$ is open in $X$ with respect to $T_X$ we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.
$p$ is a function by Definition 57, Proposition 356.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ if $U$ is open in $Y$ with respect to $T_Y$ then $\preimg{p}{U}$ is open in $X$ with respect to $T_X$.

Follows by Definition 160.

For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $\preimg{p}{U}$ is saturated with respect to $p$ by Lemma 285.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ if $\preimg{p}{U}$ is open in $X$ with respect to $T_X$ then $U$ is open in $Y$ with respect to $T_Y$.

For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ if $\preimg{p}{U}$ is open in $X$ with respect to $T_X$ then $\img{p}{\preimg{p}{U}}$ is open in $Y$ with respect to $T_Y$.
Follows by Lemma 286.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $U$ is open in $Y$ with respect to $T_Y$ iff $\preimg{p}{U}$ is open in $X$ with respect to $T_X$.

Trivial.

$p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by Definition 217.

LaTeX source
\begin{proof}
    Show that if $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then
        $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and
        for all $C$ such that
            $C$ is saturated with respect to $p$ and
            $C$ is open in $X$ with respect to $T_X$
        we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.
    \begin{subproof}
        Assume $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
        Show that $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
        \begin{subproof}
            Follows by \cref{quotient_map}.
        \end{subproof}
        Show that for all $C$ such that
            $C$ is saturated with respect to $p$ and
            $C$ is open in $X$ with respect to $T_X$
        we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.
        \begin{subproof}
            Fix $C$ such that
                $C$ is saturated with respect to $p$ and
                $C$ is open in $X$ with respect to $T_X$.
            $p\in\funs{X}{Y}$ and $p$ is a function by \cref{surj,funs_is_function}.
            Take $B$ such that $C = \preimg{p}{B}$ by \cref{saturated_iff_preimg}.
            Let $B_1 = B\inter Y$.
            $\preimg{p}{B_1} = \preimg{p}{B}$ by
                \cref{inter_lower_left,preimg_subseteq,preimg_iff,ran_iff,surj,funs_ran,subseteq,inter_intro,subseteq_antisymmetric}.
            $\img{p}{C}$ is open in $Y$ with respect to $T_Y$
                by \cref{subseteq,quotient_map,inter_lower_right,img_preimg_surjection,open_in}.
        \end{subproof}
    \end{subproof}
    Show that if
        $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ and
        for all $C$ such that
            $C$ is saturated with respect to $p$ and
            $C$ is open in $X$ with respect to $T_X$
        we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$
    then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    \begin{subproof}
        Assume $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
        Assume that for all $C$ such that
            $C$ is saturated with respect to $p$ and
            $C$ is open in $X$ with respect to $T_X$
        we have $\img{p}{C}$ is open in $Y$ with respect to $T_Y$.
        $p$ is a function by \cref{surj,funs_is_function}.
        Show that for all $U$ such that $U\subseteq Y$ if $U$ is open in $Y$ with respect to $T_Y$ then
            $\preimg{p}{U}$ is open in $X$ with respect to $T_X$.
        \begin{subproof}
            Follows by \cref{continuous}.
        \end{subproof}
        For all $U$ such that $U\subseteq Y$ we have
            $\preimg{p}{U}$ is saturated with respect to $p$ by \cref{saturated_iff_preimg}.
        Show that for all $U$ such that $U\subseteq Y$ if $\preimg{p}{U}$ is open in $X$ with respect to $T_X$ then
            $U$ is open in $Y$ with respect to $T_Y$.
        \begin{subproof}
            For all $U$ such that $U\subseteq Y$ if $\preimg{p}{U}$ is open in $X$ with respect to $T_X$ then
                $\img{p}{\preimg{p}{U}}$ is open in $Y$ with respect to $T_Y$.
            Follows by \cref{img_preimg_surjection}.
        \end{subproof}
        Show that for all $U$ such that $U\subseteq Y$ we have
            $U$ is open in $Y$ with respect to $T_Y$ iff
            $\preimg{p}{U}$ is open in $X$ with respect to $T_X$.
        \begin{subproof}
            Trivial.
        \end{subproof}
        $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by \cref{quotient_map}.
    \end{subproof}
\end{proof}
Definition 219
open_map

$f$ is an open map from $X$ to $Y$ with respect to $T$ and $T_1$ iff $f$ is a function from $X$ to $Y$ and for all $U$ such that $U$ is open in $X$ with respect to $T$ we have $\img{f}{U}$ is open in $Y$ with respect to $T_1$.

LaTeX source
\begin{definition}
\label{open_map}
    $f$ is an open map from $X$ to $Y$ with respect to $T$ and $T_1$ iff
        $f$ is a function from $X$ to $Y$ and
        for all $U$ such that $U$ is open in $X$ with respect to $T$ we have
            $\img{f}{U}$ is open in $Y$ with respect to $T_1$.
\end{definition}
Definition 220
closed_map

$f$ is a closed map from $X$ to $Y$ with respect to $T$ and $T_1$ iff $f$ is a function from $X$ to $Y$ and for all $A$ such that $A$ is closed in $X$ with respect to $T$ we have $\img{f}{A}$ is closed in $Y$ with respect to $T_1$.

LaTeX source
\begin{definition}
\label{closed_map}
    $f$ is a closed map from $X$ to $Y$ with respect to $T$ and $T_1$ iff
        $f$ is a function from $X$ to $Y$ and
        for all $A$ such that $A$ is closed in $X$ with respect to $T$ we have
            $\img{f}{A}$ is closed in $Y$ with respect to $T_1$.
\end{definition}
Lemma 287
open_or_closed_surjection_quotient

Suppose $p$ is a surjection from $X$ to $Y$.
Suppose $T_X$ is a topology on $X$.
Suppose $T_Y$ is a topology on $Y$.
Suppose $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Suppose $p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ or $p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.

LaTeX source
\begin{lemma}
\label{open_or_closed_surjection_quotient}
    Suppose $p$ is a surjection from $X$ to $Y$.
    Suppose $T_X$ is a topology on $X$.
    Suppose $T_Y$ is a topology on $Y$.
    Suppose $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Suppose $p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$
        or $p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
\end{lemma}
Proof
Claim: If $p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Claim: If $p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.

$p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.

LaTeX source
\begin{proof}
    Show that if $p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then
        $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    \begin{subproof}
        Follows by \cref{continuous,open_map,img_preimg_surjection,quotient_map}.
    \end{subproof}
    Show that if $p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ then
        $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    \begin{subproof}
        Follows by \cref{closed_in,continuous,preimg_setminus_function,preimg_subseteq_dom,funs,subseteq,closed_map,img_preimg_surjection,quotient_map_closed_iff}.
    \end{subproof}
    $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
\end{proof}
Definition 221
quotient_topology

$\quotientTopology{p}{T}{X}{A} = \{U\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{A} \mid \text{$\preimg{p}{U}$ is open in $X$ with respect to $T$}\}$.

LaTeX source
\begin{definition}
\label{quotient_topology}
    $\quotientTopology{p}{T}{X}{A}
        = \{U\in\pow{A} \mid \text{$\preimg{p}{U}$ is open in $X$ with respect to $T$}\}$.
\end{definition}
Lemma 288
quotient_topology_is_topology

Assume $p$ is a function from $X$ to $A$.
Assume $T$ is a topology on $X$.
Then $\quotientTopology{p}{T}{X}{A}$ is a topology on $A$.

LaTeX source
\begin{lemma}
\label{quotient_topology_is_topology}
    Assume $p$ is a function from $X$ to $A$.
    Assume $T$ is a topology on $X$.
    Then $\quotientTopology{p}{T}{X}{A}$ is a topology on $A$.
\end{lemma}
Proof

Let $T_Q = \quotientTopology{p}{T}{X}{A}$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{A}$ and $\dom{p} = X$ and $p$ is a function by Definition 55, Proposition 356.

Claim: $T_Q\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{A}$.

$\preimg{p}{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Definition 1, Proposition 246.

Claim: $\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$.

$\preimg{p}{A} = X$ by Definition 1, Definition 55, Proposition 3, Proposition 199, Proposition 208, Proposition 246, Proposition 249, Proposition 363.

Claim: $A\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$.
Claim: For all $M$ such that $M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_Q$ we have $\unions{M}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$.

Fix $M$ such that $M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_Q$.
Let $N = \{V\class{latex-symbol-tip latex-symbol-id-in}{\in} T \mid \text{there exists $U\in M$ such that $V = \preimg{p}{U}$}\}$.
$\unions{N}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 1, Definition 101.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\unions{M}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\unions{M}}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} p$ by Proposition 246.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 4.
$U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$ by Definition 1.
Hence $\preimg{p}{U}$ is open in $X$ with respect to $T$ by Definition 221.
$\preimg{p}{U}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103.
$\preimg{p}{U}\class{latex-symbol-tip latex-symbol-id-in}{\in} N$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{U}$ by Proposition 246.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$ by Axiom 4.

Hence $\preimg{p}{\unions{M}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \unions{N}$ by Definition 1.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\unions{M}}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in} N$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Axiom 4.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $V = \preimg{p}{U}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} p$ by Proposition 246.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$ by Axiom 4.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\unions{M}}$ by Proposition 246.

Therefore $\unions{N}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{p}{\unions{M}}$ by Definition 1.
Hence $\preimg{p}{\unions{M}} = \unions{N}$ by Definition 1, Proposition 3.
Therefore $\unions{M}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$ by Axiom 12, Definition 1, Definition 103, Definition 221, Proposition 159.

Claim: For all $U,V$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$ and $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$ we have $U\inter V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Q$.
Claim: $T_Q$ is closed under arbitrary unions.

Trivial.

Claim: $T_Q$ is closed under binary intersections.

Trivial.

Therefore $\quotientTopology{p}{T}{X}{A}$ is a topology on $A$ by Definition 101.

LaTeX source
\begin{proof}
    Let $T_Q = \quotientTopology{p}{T}{X}{A}$.
    $p\in\funs{X}{A}$ and $\dom{p} = X$ and $p$ is a function by \cref{funs,funs_is_function}.
    Show that $T_Q\subseteq\pow{A}$.
    \begin{subproof}
        Follows by \cref{quotient_topology,subseteq}.
    \end{subproof}
    $\preimg{p}{\emptyset}\subseteq\emptyset$ by \cref{preimg_iff,emptyset,subseteq}.
    Show that $\emptyset\in T_Q$.
    \begin{subproof}
        Follows by \cref{emptyset_subseteq,subseteq_antisymmetric,topology_on,open_in,pow_iff,quotient_topology}.
    \end{subproof}
    $\preimg{p}{A} = X$ by
        \cref{preimg_subseteq_dom,funs,subseteq,dom_iff,ran_iff,funs_ran,subseteq_antisymmetric,preimg_iff}.
    Show that $A\in T_Q$.
    \begin{subproof}
        Follows by \cref{topology_on,open_in,subseteq_refl,pow_iff,quotient_topology}.
    \end{subproof}
    Show that for all $M$ such that $M\subseteq T_Q$ we have $\unions{M}\in T_Q$.
    \begin{subproof}
        Fix $M$ such that $M\subseteq T_Q$.
        Let $N = \{V\in T \mid \text{there exists $U\in M$ such that $V = \preimg{p}{U}$}\}$.
        $\unions{N}\in T$ by \cref{subseteq,topology_on}.
        Show that for all $x$ such that $x\in\preimg{p}{\unions{M}}$ we have $x\in\unions{N}$.
        \begin{subproof}
            Fix $x$ such that $x\in\preimg{p}{\unions{M}}$.
            Take $y\in\unions{M}$ such that $(x,y)\in p$ by \cref{preimg_iff}.
            Take $U\in M$ such that $y\in U$ by \cref{unions_iff}.
            $U\in T_Q$ by \cref{subseteq}.
            Hence $\preimg{p}{U}$ is open in $X$ with respect to $T$ by \cref{quotient_topology}.
            $\preimg{p}{U}\in T$ by \cref{open_in}.
            $\preimg{p}{U}\in N$.
            $x\in\preimg{p}{U}$ by \cref{preimg_iff}.
            Therefore $x\in\unions{N}$ by \cref{unions_iff}.
        \end{subproof}
        Hence $\preimg{p}{\unions{M}}\subseteq \unions{N}$ by \cref{subseteq}.
        Show that for all $x$ such that $x\in\unions{N}$ we have $x\in\preimg{p}{\unions{M}}$.
        \begin{subproof}
            Fix $x$ such that $x\in\unions{N}$.
            Take $V\in N$ such that $x\in V$ by \cref{unions_iff}.
            Take $U\in M$ such that $V = \preimg{p}{U}$.
            Take $y\in U$ such that $(x,y)\in p$ by \cref{preimg_iff}.
            $y\in\unions{M}$ by \cref{unions_iff}.
            Therefore $x\in\preimg{p}{\unions{M}}$ by \cref{preimg_iff}.
        \end{subproof}
        Therefore $\unions{N}\subseteq \preimg{p}{\unions{M}}$ by \cref{subseteq}.
        Hence $\preimg{p}{\unions{M}} = \unions{N}$ by \cref{subseteq,subseteq_antisymmetric}.
        Therefore $\unions{M}\in T_Q$ by \cref{open_in,subseteq,quotient_topology,unions_subseteq_of_powerset_is_subseteq,pow_iff}.
    \end{subproof}
    Show that for all $U,V$ such that $U\in T_Q$ and $V\in T_Q$ we have $U\inter V\in T_Q$.
    \begin{subproof}
        Follows by \cref{quotient_topology,open_in,topology_on,preimg_inter_function,pow_iff,inter_subseteq}.
    \end{subproof}
    Show that $T_Q$ is closed under arbitrary unions.
    \begin{subproof}
        Trivial.
    \end{subproof}
    Show that $T_Q$ is closed under binary intersections.
    \begin{subproof}
        Trivial.
    \end{subproof}
    Therefore $\quotientTopology{p}{T}{X}{A}$ is a topology on $A$ by \cref{topology_on}.
\end{proof}
Lemma 289
quotient_topology_quotient_map

Suppose $p$ is a surjection from $X$ to $A$.
Suppose $T$ is a topology on $X$.
Let $T_Q = \quotientTopology{p}{T}{X}{A}$.
Then $p$ is a quotient map from $X$ to $A$ with respect to $T$ and $T_Q$.

LaTeX source
\begin{lemma}
\label{quotient_topology_quotient_map}
    Suppose $p$ is a surjection from $X$ to $A$.
    Suppose $T$ is a topology on $X$.
    Let $T_Q = \quotientTopology{p}{T}{X}{A}$.
    Then $p$ is a quotient map from $X$ to $A$ with respect to $T$ and $T_Q$.
\end{lemma}
Proof

$p$ is a function from $X$ to $A$ and $T_Q$ is a topology on $A$ by Definition 55, Definition 57, Lemma 288.

Claim: For all $V$ such that $V$ is open in $A$ with respect to $T_Q$ we have $\preimg{p}{V}$ is open in $X$ with respect to $T$.

$p$ is continuous from $X$ to $A$ with respect to $T$ and $T_Q$ by Definition 160.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ if $\preimg{p}{U}$ is open in $X$ with respect to $T$ then $U$ is open in $A$ with respect to $T_Q$.

Therefore $p$ is a quotient map from $X$ to $A$ with respect to $T$ and $T_Q$ by Definition 217.

LaTeX source
\begin{proof}
    $p$ is a function from $X$ to $A$ and $T_Q$ is a topology on $A$
        by \cref{surj,funs,quotient_topology_is_topology}.
    Show that for all $V$ such that $V$ is open in $A$ with respect to $T_Q$
        we have $\preimg{p}{V}$ is open in $X$ with respect to $T$.
    \begin{subproof}
        Follows by \cref{open_in,quotient_topology}.
    \end{subproof}
    $p$ is continuous from $X$ to $A$ with respect to $T$ and $T_Q$ by \cref{continuous}.
    Show that for all $U$ such that $U\subseteq A$ if $\preimg{p}{U}$ is open in $X$ with respect to $T$
        then $U$ is open in $A$ with respect to $T_Q$.
    \begin{subproof}
        Follows by \cref{pow_iff,quotient_topology,open_in}.
    \end{subproof}
    Therefore $p$ is a quotient map from $X$ to $A$ with respect to $T$ and $T_Q$
        by \cref{quotient_map}.
\end{proof}
Lemma 290
quotient_topology_unique

Suppose $p$ is a surjection from $X$ to $A$.
Suppose $T$ is a topology on $X$.
Suppose $T_A$ is a topology on $A$.
Suppose $p$ is a quotient map from $X$ to $A$ with respect to $T$ and $T_A$.
Then $T_A = \quotientTopology{p}{T}{X}{A}$.

LaTeX source
\begin{lemma}
\label{quotient_topology_unique}
    Suppose $p$ is a surjection from $X$ to $A$.
    Suppose $T$ is a topology on $X$.
    Suppose $T_A$ is a topology on $A$.
    Suppose $p$ is a quotient map from $X$ to $A$ with respect to $T$ and $T_A$.
    Then $T_A = \quotientTopology{p}{T}{X}{A}$.
\end{lemma}
Proof

Let $T_Q = \quotientTopology{p}{T}{X}{A}$.

Claim: $T_A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_Q$.
Claim: $T_Q\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_A$.

Therefore $T_A = T_Q$ by Proposition 3.

LaTeX source
\begin{proof}
    Let $T_Q = \quotientTopology{p}{T}{X}{A}$.
    Show that $T_A\subseteq T_Q$.
    \begin{subproof}
        Follows by \cref{open_in,topology_on,subseteq,continuous,quotient_map,quotient_topology}.
    \end{subproof}
    Show that $T_Q\subseteq T_A$.
    \begin{subproof}
        Follows by \cref{quotient_topology,pow_iff,quotient_map,open_in,subseteq}.
    \end{subproof}
    Therefore $T_A = T_Q$ by \cref{subseteq_antisymmetric}.
\end{proof}
Definition 222
partition_map

$\partitionMap{P}{X} = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} P \mid \fst{w}\class{latex-symbol-tip latex-symbol-id-in}{\in} \snd{w}\}$.

LaTeX source
\begin{definition}
\label{partition_map}
    $\partitionMap{P}{X} = \{w\in X\times P \mid \fst{w}\in \snd{w}\}$.
\end{definition}
Definition 223
quotient_space

$P$ is a quotient space of $X$ with respect to $T$ and $T_P$ iff $P$ is a partition of $X$ and $T$ is a topology on $X$ and $T_P = \quotientTopology{\partitionMap{P}{X}}{T}{X}{P}$.

LaTeX source
\begin{definition}
\label{quotient_space}
    $P$ is a quotient space of $X$ with respect to $T$ and $T_P$ iff
        $P$ is a partition of $X$ and
        $T$ is a topology on $X$ and
        $T_P = \quotientTopology{\partitionMap{P}{X}}{T}{X}{P}$.
\end{definition}
Lemma 291
preimg_restrl_saturated

Suppose $p$ is a surjection from $X$ to $Y$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Suppose $A$ is saturated with respect to $p$.
Let $q = \restrl{p}{A}$.
Suppose $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{A}$.
Then $\preimg{q}{V} = \preimg{p}{V}$.

LaTeX source
\begin{lemma}
\label{preimg_restrl_saturated}
    Suppose $p$ is a surjection from $X$ to $Y$.
    Suppose $A\subseteq X$.
    Suppose $A$ is saturated with respect to $p$.
    Let $q = \restrl{p}{A}$.
    Suppose $V\subseteq \img{p}{A}$.
    Then $\preimg{q}{V} = \preimg{p}{V}$.
\end{lemma}
Proof
Claim: $\preimg{q}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{p}{V}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{V}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{q}{V}$.

Hence $\preimg{p}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{q}{V}$ by Definition 1.
Therefore $\preimg{q}{V} = \preimg{p}{V}$ by Definition 1, Proposition 3.

LaTeX source
\begin{proof}
    Show that $\preimg{q}{V}\subseteq \preimg{p}{V}$.
    \begin{subproof}
        Follows by \cref{preimg_iff,restrl_iff,subseteq}.
    \end{subproof}
    Show that for all $x$ such that $x\in\preimg{p}{V}$ we have $x\in\preimg{q}{V}$.
    \begin{subproof}
        Follows by \cref{preimg_iff,img_iff,subseteq,intersects,emptyset,inter_intro,ran_iff,saturated,singleton_iff,restrl_iff}.
    \end{subproof}
    Hence $\preimg{p}{V}\subseteq \preimg{q}{V}$ by \cref{subseteq}.
    Therefore $\preimg{q}{V} = \preimg{p}{V}$ by \cref{subseteq,subseteq_antisymmetric}.
\end{proof}
Lemma 292
img_inter_saturated

Suppose $p$ is a function.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{p}$.
Suppose $A$ is saturated with respect to $p$.
Suppose $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{p}$.
Then $\img{p}{U\inter A} = \img{p}{U}\inter \img{p}{A}$.

LaTeX source
\begin{lemma}
\label{img_inter_saturated}
    Suppose $p$ is a function.
    Suppose $A\subseteq \dom{p}$.
    Suppose $A$ is saturated with respect to $p$.
    Suppose $U\subseteq \dom{p}$.
    Then $\img{p}{U\inter A} = \img{p}{U}\inter \img{p}{A}$.
\end{lemma}
Proof
Claim: $\img{p}{U\inter A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{U}\inter \img{p}{A}$.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{U}\inter \img{p}{A}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{U\inter A}$.

Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{U}\inter \img{p}{A}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{U}$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{A}$ by Definition 5.
Take $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} p$ by Proposition 235.
Take $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $(a,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} p$ by Proposition 235.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\ran{p}$ by Proposition 208.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ by Proposition 22, Proposition 246.
Hence $A$ intersects $\preimg{p}{\{y\}}$ by Axiom 2, Definition 152, Proposition 61.
$\preimg{p}{\{y\}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 218.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ by Proposition 22, Proposition 246.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter A$ by Proposition 61.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{p}{U\inter A}$ by Proposition 235.

Hence $\img{p}{U}\inter \img{p}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{U\inter A}$ by Definition 1.
Therefore $\img{p}{U\inter A} = \img{p}{U}\inter \img{p}{A}$ by Definition 1, Proposition 3.

LaTeX source
\begin{proof}
    Show that $\img{p}{U\inter A}\subseteq \img{p}{U}\inter \img{p}{A}$.
    \begin{subproof}
        Follows by \cref{img_iff,inter,inter_intro,subseteq}.
    \end{subproof}
    Show that for all $y$ such that $y\in\img{p}{U}\inter \img{p}{A}$ we have $y\in\img{p}{U\inter A}$.
    \begin{subproof}
        Fix $y$ such that $y\in\img{p}{U}\inter \img{p}{A}$.
        $y\in\img{p}{U}$ and $y\in\img{p}{A}$ by \cref{inter}.
        Take $x$ such that $x\in U$ and $(x,y)\in p$ by \cref{img_iff}.
        Take $a$ such that $a\in A$ and $(a,y)\in p$ by \cref{img_iff}.
        $y\in\ran{p}$ by \cref{ran_iff}.
        $a\in\preimg{p}{\{y\}}$ by \cref{preimg_iff,singleton_iff}.
        Hence $A$ intersects $\preimg{p}{\{y\}}$ by \cref{inter_intro,emptyset,intersects}.
        $\preimg{p}{\{y\}}\subseteq A$ by \cref{saturated}.
        $x\in\preimg{p}{\{y\}}$ by \cref{preimg_iff,singleton_iff}.
        $x\in A$ by \cref{subseteq}.
        $x\in U\inter A$ by \cref{inter_intro}.
        Therefore $y\in\img{p}{U\inter A}$ by \cref{img_iff}.
    \end{subproof}
    Hence $\img{p}{U}\inter \img{p}{A}\subseteq \img{p}{U\inter A}$ by \cref{subseteq}.
    Therefore $\img{p}{U\inter A} = \img{p}{U}\inter \img{p}{A}$ by \cref{subseteq,subseteq_antisymmetric}.
\end{proof}
Lemma 293
preimg_img_saturated

Suppose $p$ is a function.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{p}$.
Suppose $A$ is saturated with respect to $p$.
Then $\preimg{p}{\img{p}{A}} = A$.

LaTeX source
\begin{lemma}
\label{preimg_img_saturated}
    Suppose $p$ is a function.
    Suppose $A\subseteq \dom{p}$.
    Suppose $A$ is saturated with respect to $p$.
    Then $\preimg{p}{\img{p}{A}} = A$.
\end{lemma}
Proof
Claim: $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{p}{\img{p}{A}}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\img{p}{A}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Hence $\preimg{p}{\img{p}{A}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 1.
Therefore $\preimg{p}{\img{p}{A}} = A$ by Definition 1, Proposition 3.

LaTeX source
\begin{proof}
    Show that $A\subseteq \preimg{p}{\img{p}{A}}$.
    \begin{subproof}
        Follows by \cref{subseteq,function_apply_elim,img_iff,preimg_iff}.
    \end{subproof}
    Show that for all $x$ such that $x\in\preimg{p}{\img{p}{A}}$ we have $x\in A$.
    \begin{subproof}
        Follows by \cref{preimg_iff,img_iff,singleton_iff,inter_intro,emptyset,intersects,ran_iff,saturated,subseteq}.
    \end{subproof}
    Hence $\preimg{p}{\img{p}{A}}\subseteq A$ by \cref{subseteq}.
    Therefore $\preimg{p}{\img{p}{A}} = A$ by \cref{subseteq,subseteq_antisymmetric}.
\end{proof}
Theorem 38
quotient_map_restriction_open_or_closed

Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Suppose $A$ is a subspace of $X$ with respect to $T_X$.
Suppose $A$ is saturated with respect to $p$.
Let $q = \restrl{p}{A}$.
Let $T_A = \subspaceTopology{T_X}{A}$.
Let $T_B = \subspaceTopology{T_Y}{\img{p}{A}}$.
Suppose $A$ is open in $X$ with respect to $T_X$ or $A$ is closed in $X$ with respect to $T_X$.
Then $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$.

LaTeX source
\begin{theorem}
\label{quotient_map_restriction_open_or_closed}
    Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Suppose $A$ is a subspace of $X$ with respect to $T_X$.
    Suppose $A$ is saturated with respect to $p$.
    Let $q = \restrl{p}{A}$.
    Let $T_A = \subspaceTopology{T_X}{A}$.
    Let $T_B = \subspaceTopology{T_Y}{\img{p}{A}}$.
    Suppose $A$ is open in $X$ with respect to $T_X$
        or $A$ is closed in $X$ with respect to $T_X$.
    Then $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$.
\end{theorem}
Proof

$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{Y}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $p$ is a function by Definition 57, Definition 217, Proposition 356.
$p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by Definition 217.
Therefore $T_X$ is a topology on $X$ and $T_Y$ is a topology on $Y$ by Definition 160.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is a subspace of $X$ with respect to $T_X$ by Definition 147.
We have $\img{p}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ and $\img{p}{A}$ is a subspace of $Y$ with respect to $T_Y$ by Definition 147, Proposition 6, Proposition 237, Proposition 363.
Therefore $T_A$ is a topology on $A$ and $T_B$ is a topology on $\img{p}{A}$ by Definition 147, Lemma 131.
We have $q$ is a function by Proposition 383.
$q$ is right-unique and $q$ is a relation.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{p}$ by Definition 55, Definition 147, Proposition 6.
$\dom{q} = A$ and $\ran{q} = \img{p}{A}$ by Definition 55, Definition 147, Proposition 70, Proposition 272, Corollary 3.
We have $\dom{q}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ and $\ran{q}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{A}$ by Proposition 2.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{A}{\img{p}{A}}$ by Proposition 281.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\img{p}{A}}$ by Definition 55.
Therefore $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{A}{\img{p}{A}}$ by Proposition 272, Corollary 8.
We have $q$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_Y$ by Lemma 166.
Therefore $q$ is continuous from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Definition 1, Lemma 167, Proposition 2, Proposition 70, Proposition 273.

Case. $A$ is open in $X$ with respect to $T_X$.
Claim: For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{A}$ if $\preimg{q}{V}$ is open in $A$ with respect to $T_A$ then $V$ is open in $\img{p}{A}$ with respect to $T_B$.

Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Definition 217.

Case. $A$ is closed in $X$ with respect to $T_X$.
Claim: For all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{A}$ we have $B$ is closed in $\img{p}{A}$ with respect to $T_B$ iff $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.

Fix $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{A}$.

Claim: If $B$ is closed in $\img{p}{A}$ with respect to $T_B$ then $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.

Assume $B$ is closed in $\img{p}{A}$ with respect to $T_B$.
Take $C$ such that $C$ is closed in $Y$ with respect to $T_Y$ and $B = C\inter \img{p}{A}$ by Definition 147, Theorem 8.
Hence $\preimg{q}{B} = \preimg{p}{C}\inter A$ and $\preimg{p}{C}$ is closed in $X$ with respect to $T_X$ by Definition 1, Definition 55, Definition 147, Definition 149, Definition 160, Lemma 155, Lemma 157, Lemma 291, Lemma 293, Proposition 6, Proposition 249.
Therefore $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$ by Definition 147, Theorem 8.

Claim: If $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$ then $B$ is closed in $\img{p}{A}$ with respect to $T_B$.

Assume $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
Take $C$ such that $C$ is closed in $X$ with respect to $T_X$ and $\preimg{q}{B} = C\inter A$ by Definition 147, Theorem 8.
$\preimg{q}{B} = \preimg{p}{B}$ by Lemma 291.
Let $M = \{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} C, X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A\}$.
For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_X$ by Definition 103, Definition 149, Proposition 18.
$(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} C)\union (X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A)$ is open in $X$ with respect to $T_X$ by Definition 1, Definition 101, Definition 103, Proposition 40.
$X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} (C\inter A)$ is open in $X$ with respect to $T_X$ by Definition 103, Proposition 93.
Hence $C\inter A$ is closed in $X$ with respect to $T_X$ by Definition 149, Proposition 6, Proposition 73.
Therefore $\preimg{p}{B}$ is closed in $X$ with respect to $T_X$ by Definition 1.
$B$ is closed in $Y$ with respect to $T_Y$ by Definition 217, Lemma 284, Proposition 6.
Hence $B$ is closed in $\img{p}{A}$ with respect to $T_B$ by Definition 147, Proposition 65 [Commutativity of intersection], Proposition 70, Theorem 8.

Therefore $B$ is closed in $\img{p}{A}$ with respect to $T_B$ iff $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.

Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Lemma 284.

LaTeX source
\begin{byCase}
    \caseOf{$A$ is open in $X$ with respect to $T_X$.}
        Show that for all $V$ such that $V\subseteq \img{p}{A}$ if $\preimg{q}{V}$ is open in $A$ with respect to $T_A$ then
            $V$ is open in $\img{p}{A}$ with respect to $T_B$.
        \begin{subproof}
            Follows by \cref{open_in_subspace_open_in_space,subspace_of,preimg_restrl_saturated,open_in,subseteq_transitive,quotient_map,subspace_topology,inter_absorb_supseteq_left}.
        \end{subproof}
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by \cref{quotient_map}.
    \caseOf{$A$ is closed in $X$ with respect to $T_X$.}
        Show that for all $B$ such that $B\subseteq \img{p}{A}$ we have
            $B$ is closed in $\img{p}{A}$ with respect to $T_B$ iff
            $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
        \begin{subproof}
            Fix $B$ such that $B\subseteq \img{p}{A}$.
            Show that if $B$ is closed in $\img{p}{A}$ with respect to $T_B$ then
                $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
            \begin{subproof}
                Assume $B$ is closed in $\img{p}{A}$ with respect to $T_B$.
                Take $C$ such that $C$ is closed in $Y$ with respect to $T_Y$ and
                    $B = C\inter \img{p}{A}$ by \cref{closed_in_subspace_iff,subspace_of}.
                Hence $\preimg{q}{B} = \preimg{p}{C}\inter A$ and
                    $\preimg{p}{C}$ is closed in $X$ with respect to $T_X$
                    by \cref{closed_in,continuous,preimg_setminus_function,preimg_subseteq_dom,funs,subseteq,preimg_restrl_saturated,preimg_inter_function,subseteq_transitive,subspace_of,preimg_img_saturated}.
                Therefore $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$ by \cref{closed_in_subspace_iff,subspace_of}.
            \end{subproof}
            Show that if $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$ then
                $B$ is closed in $\img{p}{A}$ with respect to $T_B$.
            \begin{subproof}
                Assume $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
                Take $C$ such that $C$ is closed in $X$ with respect to $T_X$ and
                    $\preimg{q}{B} = C\inter A$ by \cref{closed_in_subspace_iff,subspace_of}.
                $\preimg{q}{B} = \preimg{p}{B}$ by \cref{preimg_restrl_saturated}.
                Let $M = \{X\setminus C, X\setminus A\}$.
                For all $U$ such that $U\in M$ we have $U\in T_X$ by \cref{upair_elim,closed_in,open_in}.
                $(X\setminus C)\union (X\setminus A)$ is open in $X$ with respect to $T_X$
                    by \cref{union_as_unions,subseteq,topology_on,open_in}.
                $X\setminus (C\inter A)$ is open in $X$ with respect to $T_X$
                    by \cref{setminus_inter,open_in}.
                Hence $C\inter A$ is closed in $X$ with respect to $T_X$
                    by \cref{closed_in,inter_lower_left,subseteq_transitive}.
                Therefore $\preimg{p}{B}$ is closed in $X$ with respect to $T_X$ by \cref{subseteq}.
                $B$ is closed in $Y$ with respect to $T_Y$
                    by \cref{subseteq_transitive,quotient_map_closed_iff,quotient_map}.
                Hence $B$ is closed in $\img{p}{A}$ with respect to $T_B$
                    by \cref{inter_absorb_supseteq_left,inter_comm,closed_in_subspace_iff,subspace_of}.
            \end{subproof}
            Therefore $B$ is closed in $\img{p}{A}$ with respect to $T_B$ iff
                $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
        \end{subproof}
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{quotient_map_closed_iff}.
    
\end{byCase}
LaTeX source
\begin{proof}
        $p\in\surj{X}{Y}$ and $p\in\funs{X}{Y}$ and $p$ is a function
            by \cref{quotient_map,surj,funs_is_function}.
    $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by \cref{quotient_map}.
    Therefore $T_X$ is a topology on $X$ and $T_Y$ is a topology on $Y$ by \cref{continuous}.
    $A\subseteq X$ and $A$ is a subspace of $X$ with respect to $T_X$ by \cref{subspace_of}.
    We have $\img{p}{A}\subseteq Y$ and $\img{p}{A}$ is a subspace of $Y$ with respect to $T_Y$
        by \cref{img_subseteq_ran,funs_ran,subseteq_transitive,subspace_of}.
    Therefore $T_A$ is a topology on $A$ and $T_B$ is a topology on $\img{p}{A}$
        by \cref{subspace_topology_is_topology,subspace_of}.
    We have $q$ is a function by \cref{restrl_of_function_is_function}.
    $q$ is right-unique and $q$ is a relation.
        $A\subseteq \dom{p}$ by \cref{funs,subseteq_transitive,subspace_of}.
        $\dom{q} = A$ and $\ran{q} = \img{p}{A}$
            by \cref{dom_of_restrl_eq_inter,funs,inter_absorb_supseteq_left,subspace_of,restrl_ran}.
        We have $\dom{q}\subseteq A$ and $\ran{q}\subseteq \img{p}{A}$ by \cref{subseteq_refl}.
        $q\in\rels{A}{\img{p}{A}}$ by \cref{rels_intro_dom_and_ran}.
        $q\in\funs{A}{\img{p}{A}}$ by \cref{funs}.
        Therefore $q\in\surj{A}{\img{p}{A}}$ by \cref{funs_surj_iff,restrl_ran}.
        We have $q$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_Y$
            by \cref{continuous_restrict_domain}.
    Therefore $q$ is continuous from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
        by \cref{restrl_img,inter_absorb_supseteq_left,subseteq,subseteq_refl,continuous_restrict_range}.
    \begin{byCase}
    \caseOf{$A$ is open in $X$ with respect to $T_X$.}
        Show that for all $V$ such that $V\subseteq \img{p}{A}$ if $\preimg{q}{V}$ is open in $A$ with respect to $T_A$ then
            $V$ is open in $\img{p}{A}$ with respect to $T_B$.
        \begin{subproof}
            Follows by \cref{open_in_subspace_open_in_space,subspace_of,preimg_restrl_saturated,open_in,subseteq_transitive,quotient_map,subspace_topology,inter_absorb_supseteq_left}.
        \end{subproof}
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by \cref{quotient_map}.
    \caseOf{$A$ is closed in $X$ with respect to $T_X$.}
        Show that for all $B$ such that $B\subseteq \img{p}{A}$ we have
            $B$ is closed in $\img{p}{A}$ with respect to $T_B$ iff
            $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
        \begin{subproof}
            Fix $B$ such that $B\subseteq \img{p}{A}$.
            Show that if $B$ is closed in $\img{p}{A}$ with respect to $T_B$ then
                $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
            \begin{subproof}
                Assume $B$ is closed in $\img{p}{A}$ with respect to $T_B$.
                Take $C$ such that $C$ is closed in $Y$ with respect to $T_Y$ and
                    $B = C\inter \img{p}{A}$ by \cref{closed_in_subspace_iff,subspace_of}.
                Hence $\preimg{q}{B} = \preimg{p}{C}\inter A$ and
                    $\preimg{p}{C}$ is closed in $X$ with respect to $T_X$
                    by \cref{closed_in,continuous,preimg_setminus_function,preimg_subseteq_dom,funs,subseteq,preimg_restrl_saturated,preimg_inter_function,subseteq_transitive,subspace_of,preimg_img_saturated}.
                Therefore $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$ by \cref{closed_in_subspace_iff,subspace_of}.
            \end{subproof}
            Show that if $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$ then
                $B$ is closed in $\img{p}{A}$ with respect to $T_B$.
            \begin{subproof}
                Assume $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
                Take $C$ such that $C$ is closed in $X$ with respect to $T_X$ and
                    $\preimg{q}{B} = C\inter A$ by \cref{closed_in_subspace_iff,subspace_of}.
                $\preimg{q}{B} = \preimg{p}{B}$ by \cref{preimg_restrl_saturated}.
                Let $M = \{X\setminus C, X\setminus A\}$.
                For all $U$ such that $U\in M$ we have $U\in T_X$ by \cref{upair_elim,closed_in,open_in}.
                $(X\setminus C)\union (X\setminus A)$ is open in $X$ with respect to $T_X$
                    by \cref{union_as_unions,subseteq,topology_on,open_in}.
                $X\setminus (C\inter A)$ is open in $X$ with respect to $T_X$
                    by \cref{setminus_inter,open_in}.
                Hence $C\inter A$ is closed in $X$ with respect to $T_X$
                    by \cref{closed_in,inter_lower_left,subseteq_transitive}.
                Therefore $\preimg{p}{B}$ is closed in $X$ with respect to $T_X$ by \cref{subseteq}.
                $B$ is closed in $Y$ with respect to $T_Y$
                    by \cref{subseteq_transitive,quotient_map_closed_iff,quotient_map}.
                Hence $B$ is closed in $\img{p}{A}$ with respect to $T_B$
                    by \cref{inter_absorb_supseteq_left,inter_comm,closed_in_subspace_iff,subspace_of}.
            \end{subproof}
            Therefore $B$ is closed in $\img{p}{A}$ with respect to $T_B$ iff
                $\preimg{q}{B}$ is closed in $A$ with respect to $T_A$.
        \end{subproof}
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{quotient_map_closed_iff}.
    \end{byCase}
\end{proof}
Theorem 39
quotient_map_restriction_open_or_closed_map

Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Suppose $A$ is a subspace of $X$ with respect to $T_X$.
Suppose $A$ is saturated with respect to $p$.
Let $q = \restrl{p}{A}$.
Let $T_A = \subspaceTopology{T_X}{A}$.
Let $T_B = \subspaceTopology{T_Y}{\img{p}{A}}$.
Suppose $p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$ or $p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Then $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$.

LaTeX source
\begin{theorem}
\label{quotient_map_restriction_open_or_closed_map}
    Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Suppose $A$ is a subspace of $X$ with respect to $T_X$.
    Suppose $A$ is saturated with respect to $p$.
    Let $q = \restrl{p}{A}$.
    Let $T_A = \subspaceTopology{T_X}{A}$.
    Let $T_B = \subspaceTopology{T_Y}{\img{p}{A}}$.
    Suppose $p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$
        or $p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Then $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$.
\end{theorem}
Proof

$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{Y}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $p$ is a function by Definition 57, Definition 217, Proposition 356.
$p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by Definition 217.
Therefore $T_X$ is a topology on $X$ and $T_Y$ is a topology on $Y$ by Definition 160.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is a subspace of $X$ with respect to $T_X$ by Definition 147.
We have $\img{p}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ and $\img{p}{A}$ is a subspace of $Y$ with respect to $T_Y$ by Definition 147, Proposition 6, Proposition 237, Proposition 363.
Therefore $T_A$ is a topology on $A$ and $T_B$ is a topology on $\img{p}{A}$ by Definition 147, Lemma 131.
We have $q$ is a function by Proposition 383.
$q$ is right-unique and $q$ is a relation.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{p}$ by Definition 55, Definition 147, Proposition 6.
$\dom{q} = A$ and $\ran{q} = \img{p}{A}$ by Definition 55, Definition 147, Proposition 70, Proposition 272, Corollary 3.
We have $\dom{q}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ and $\ran{q}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{p}{A}$ by Proposition 2.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{A}{\img{p}{A}}$ by Proposition 281.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\img{p}{A}}$ by Definition 55.
Therefore $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{A}{\img{p}{A}}$ by Proposition 272, Corollary 8.
We have $q$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_Y$ by Lemma 166.
Therefore $q$ is continuous from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Definition 1, Lemma 167, Proposition 2, Proposition 70, Proposition 273.

Case. $p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Claim: For all $U$ such that $U$ is open in $A$ with respect to $T_A$ we have $\img{q}{U}$ is open in $\img{p}{A}$ with respect to $T_B$.

Fix $U$ such that $U$ is open in $A$ with respect to $T_A$.
$U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ and $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Axiom 12, Definition 1, Definition 101, Definition 103.
Take $W\class{latex-symbol-tip latex-symbol-id-in}{\in} T_X$ such that $U = A\inter W$ by Definition 146.
$\img{q}{U} = \img{p}{A\inter U}$ by Definition 55, Definition 147, Proposition 6, Proposition 273.
$\img{q}{U} = \img{p}{A\inter W}$ by Definition 1, Proposition 70.
Hence $\img{q}{U} = \img{p}{W}\inter \img{p}{A}$ by Axiom 12, Definition 1, Definition 55, Definition 101, Lemma 292, Proposition 6, Proposition 65 [Commutativity of intersection].
Therefore $\img{q}{U}$ is open in $\img{p}{A}$ with respect to $T_B$ by Definition 103, Definition 146, Definition 219, Proposition 65 [Commutativity of intersection].

Hence $q$ is an open map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Definition 55, Definition 219, Lemma 5.
Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Lemma 287.

Case. $p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Claim: For all $U$ such that $U$ is closed in $A$ with respect to $T_A$ we have $\img{q}{U}$ is closed in $\img{p}{A}$ with respect to $T_B$.

Hence $q$ is a closed map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Definition 55, Definition 220, Lemma 5.
Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$ by Lemma 287.

LaTeX source
\begin{byCase}
    \caseOf{$p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.}
        Show that for all $U$ such that $U$ is open in $A$ with respect to $T_A$ we have
            $\img{q}{U}$ is open in $\img{p}{A}$ with respect to $T_B$.
        \begin{subproof}
            Fix $U$ such that $U$ is open in $A$ with respect to $T_A$.
            $U\in T_A$ and $U\subseteq A$ by \cref{open_in,topology_on,subseteq,pow_iff}.
            Take $W\in T_X$ such that $U = A\inter W$ by \cref{subspace_topology}.
            $\img{q}{U} = \img{p}{A\inter U}$ by \cref{funs,subseteq_transitive,subspace_of,restrl_img}.
            $\img{q}{U} = \img{p}{A\inter W}$ by \cref{inter_absorb_supseteq_left,subseteq}.
            Hence $\img{q}{U} = \img{p}{W}\inter \img{p}{A}$
                by \cref{inter_comm,topology_on,subseteq,pow_iff,funs,subseteq_transitive,img_inter_saturated}.
            Therefore $\img{q}{U}$ is open in $\img{p}{A}$ with respect to $T_B$
                by \cref{inter_comm,open_in,open_map,subspace_topology}.
        \end{subproof}
        Hence $q$ is an open map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{surj_to_fun,funs,open_map}.
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{open_or_closed_surjection_quotient}.
    \caseOf{$p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.}
        Show that for all $U$ such that $U$ is closed in $A$ with respect to $T_A$ we have
            $\img{q}{U}$ is closed in $\img{p}{A}$ with respect to $T_B$.
        \begin{subproof}
            Follows by \cref{closed_in_subspace_iff,subspace_of,closed_in,funs,subseteq_transitive,restrl_img,inter_absorb_supseteq_left,subseteq,img_inter_saturated,closed_map}.
        \end{subproof}
        Hence $q$ is a closed map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{surj_to_fun,funs,closed_map}.
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{open_or_closed_surjection_quotient}.
    
\end{byCase}
LaTeX source
\begin{proof}
        $p\in\surj{X}{Y}$ and $p\in\funs{X}{Y}$ and $p$ is a function
            by \cref{quotient_map,surj,funs_is_function}.
    $p$ is continuous from $X$ to $Y$ with respect to $T_X$ and $T_Y$ by \cref{quotient_map}.
    Therefore $T_X$ is a topology on $X$ and $T_Y$ is a topology on $Y$ by \cref{continuous}.
    $A\subseteq X$ and $A$ is a subspace of $X$ with respect to $T_X$ by \cref{subspace_of}.
    We have $\img{p}{A}\subseteq Y$ and $\img{p}{A}$ is a subspace of $Y$ with respect to $T_Y$
        by \cref{img_subseteq_ran,funs_ran,subseteq_transitive,subspace_of}.
    Therefore $T_A$ is a topology on $A$ and $T_B$ is a topology on $\img{p}{A}$
        by \cref{subspace_topology_is_topology,subspace_of}.
    We have $q$ is a function by \cref{restrl_of_function_is_function}.
    $q$ is right-unique and $q$ is a relation.
        $A\subseteq \dom{p}$ by \cref{funs,subseteq_transitive,subspace_of}.
        $\dom{q} = A$ and $\ran{q} = \img{p}{A}$
            by \cref{dom_of_restrl_eq_inter,funs,inter_absorb_supseteq_left,subspace_of,restrl_ran}.
        We have $\dom{q}\subseteq A$ and $\ran{q}\subseteq \img{p}{A}$ by \cref{subseteq_refl}.
        $q\in\rels{A}{\img{p}{A}}$ by \cref{rels_intro_dom_and_ran}.
        $q\in\funs{A}{\img{p}{A}}$ by \cref{funs}.
        Therefore $q\in\surj{A}{\img{p}{A}}$ by \cref{funs_surj_iff,restrl_ran}.
        We have $q$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_Y$
            by \cref{continuous_restrict_domain}.
    Therefore $q$ is continuous from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
        by \cref{restrl_img,inter_absorb_supseteq_left,subseteq,subseteq_refl,continuous_restrict_range}.
    \begin{byCase}
    \caseOf{$p$ is an open map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.}
        Show that for all $U$ such that $U$ is open in $A$ with respect to $T_A$ we have
            $\img{q}{U}$ is open in $\img{p}{A}$ with respect to $T_B$.
        \begin{subproof}
            Fix $U$ such that $U$ is open in $A$ with respect to $T_A$.
            $U\in T_A$ and $U\subseteq A$ by \cref{open_in,topology_on,subseteq,pow_iff}.
            Take $W\in T_X$ such that $U = A\inter W$ by \cref{subspace_topology}.
            $\img{q}{U} = \img{p}{A\inter U}$ by \cref{funs,subseteq_transitive,subspace_of,restrl_img}.
            $\img{q}{U} = \img{p}{A\inter W}$ by \cref{inter_absorb_supseteq_left,subseteq}.
            Hence $\img{q}{U} = \img{p}{W}\inter \img{p}{A}$
                by \cref{inter_comm,topology_on,subseteq,pow_iff,funs,subseteq_transitive,img_inter_saturated}.
            Therefore $\img{q}{U}$ is open in $\img{p}{A}$ with respect to $T_B$
                by \cref{inter_comm,open_in,open_map,subspace_topology}.
        \end{subproof}
        Hence $q$ is an open map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{surj_to_fun,funs,open_map}.
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{open_or_closed_surjection_quotient}.
    \caseOf{$p$ is a closed map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.}
        Show that for all $U$ such that $U$ is closed in $A$ with respect to $T_A$ we have
            $\img{q}{U}$ is closed in $\img{p}{A}$ with respect to $T_B$.
        \begin{subproof}
            Follows by \cref{closed_in_subspace_iff,subspace_of,closed_in,funs,subseteq_transitive,restrl_img,inter_absorb_supseteq_left,subseteq,img_inter_saturated,closed_map}.
        \end{subproof}
        Hence $q$ is a closed map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{surj_to_fun,funs,closed_map}.
        Therefore $q$ is a quotient map from $A$ to $\img{p}{A}$ with respect to $T_A$ and $T_B$
            by \cref{open_or_closed_surjection_quotient}.
    \end{byCase}
\end{proof}
Lemma 294
quotient_map_composite

Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Suppose $q$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$.
Then $q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.

LaTeX source
\begin{lemma}
\label{quotient_map_composite}
    Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Suppose $q$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$.
    Then $q\circ p$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
\end{lemma}
Proof

$q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{Z}$ and $q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$ by Definition 217, Lemma 165, Proposition 388.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ we have $\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U} = \preimg{p}{\preimg{q}{U}}$.

Fix $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$.

Claim: $\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{p}{\preimg{q}{U}}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\preimg{q}{U}}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}$.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ such that $x\mathrel{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)} z$ by Proposition 246.
Take $y$ such that $x\mathrel{p} y\mathrel{q} z$ by Proposition 257.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{q}{U}$ by Proposition 246.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\preimg{q}{U}}$ by Proposition 246.

Follows by Definition 1.

Claim: $\preimg{p}{\preimg{q}{U}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\preimg{q}{U}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\preimg{q}{U}}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{q}{U}$ such that $x\mathrel{p} y$ by Proposition 246.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ such that $y\mathrel{q} z$ by Proposition 246.
Hence $x\mathrel{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)} z$ by Proposition 257.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}$ by Proposition 246.

Follows by Definition 1.

Therefore $\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U} = \preimg{p}{\preimg{q}{U}}$ by Proposition 3.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ if $\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}$ is open in $X$ with respect to $T_X$ then $\preimg{p}{\preimg{q}{U}}$ is open in $X$ with respect to $T_X$.

Follows by Definition 103.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ if $\preimg{(q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)}{U}$ is open in $X$ with respect to $T_X$ then $U$ is open in $Z$ with respect to $T_Z$.

Therefore $q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$ by Definition 217.

LaTeX source
\begin{proof}
    $q\circ p\in\surj{X}{Z}$ and $q\circ p$ is continuous from $X$ to $Z$
        with respect to $T_X$ and $T_Z$ by \cref{quotient_map,surjections_circ,continuous_composite}.
    Show that for all $U$ such that $U\subseteq Z$ we have
        $\preimg{(q\circ p)}{U} = \preimg{p}{\preimg{q}{U}}$.
    \begin{subproof}
        Fix $U$ such that $U\subseteq Z$.
        Show that $\preimg{(q\circ p)}{U}\subseteq \preimg{p}{\preimg{q}{U}}$.
        \begin{subproof}
            Show that for all $x$ such that $x\in\preimg{(q\circ p)}{U}$ we have $x\in\preimg{p}{\preimg{q}{U}}$.
            \begin{subproof}
                Fix $x$ such that $x\in\preimg{(q\circ p)}{U}$.
                Take $z\in U$ such that $x\mathrel{(q\circ p)} z$ by \cref{preimg_iff}.
                Take $y$ such that $x\mathrel{p} y\mathrel{q} z$ by \cref{circ_iff}.
                Hence $y\in\preimg{q}{U}$ by \cref{preimg_iff}.
                $x\in\preimg{p}{\preimg{q}{U}}$ by \cref{preimg_iff}.
            \end{subproof}
            Follows by \cref{subseteq}.
        \end{subproof}
        Show that $\preimg{p}{\preimg{q}{U}}\subseteq \preimg{(q\circ p)}{U}$.
        \begin{subproof}
            Show that for all $x$ such that $x\in\preimg{p}{\preimg{q}{U}}$ we have $x\in\preimg{(q\circ p)}{U}$.
            \begin{subproof}
                Fix $x$ such that $x\in\preimg{p}{\preimg{q}{U}}$.
                Take $y\in\preimg{q}{U}$ such that $x\mathrel{p} y$ by \cref{preimg_iff}.
                Take $z\in U$ such that $y\mathrel{q} z$ by \cref{preimg_iff}.
                Hence $x\mathrel{(q\circ p)} z$ by \cref{circ_iff}.
                $x\in\preimg{(q\circ p)}{U}$ by \cref{preimg_iff}.
            \end{subproof}
            Follows by \cref{subseteq}.
        \end{subproof}
        Therefore $\preimg{(q\circ p)}{U} = \preimg{p}{\preimg{q}{U}}$ by \cref{subseteq_antisymmetric}.
    \end{subproof}
    Show that for all $U$ such that $U\subseteq Z$ if $\preimg{(q\circ p)}{U}$ is open in $X$ with respect to $T_X$ then
        $\preimg{p}{\preimg{q}{U}}$ is open in $X$ with respect to $T_X$.
    \begin{subproof}
        Follows by \cref{open_in}.
    \end{subproof}
    Show that for all $U$ such that $U\subseteq Z$ if $\preimg{(q\circ p)}{U}$ is open in $X$ with respect to $T_X$ then
        $U$ is open in $Z$ with respect to $T_Z$.
    \begin{subproof}
        Follows by \cref{preimg_subseteq_dom,quotient_map,surj_to_fun,funs,subseteq}.
    \end{subproof}
    Therefore $q\circ p$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$ by \cref{quotient_map}.
\end{proof}
Definition 224
induced_map

$\inducedMap{p}{g}{X}{Y}{Z} = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Z \mid \snd{w}\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{g}{\preimg{p}{\{\fst{w}\}}}\}$.

LaTeX source
\begin{definition}
\label{induced_map}
    $\inducedMap{p}{g}{X}{Y}{Z} =
        \{w\in Y\times Z \mid \snd{w}\in \img{g}{\preimg{p}{\{\fst{w}\}}}\}$.
\end{definition}
Lemma 295
quotient_map_induced_map

Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Suppose $g$ is a function from $X$ to $Z$.
Suppose for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ there exists $z$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ we have $g(x) = z$.
Then there exists $f$ such that $f$ is a function from $Y$ to $Z$ and $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$.

LaTeX source
\begin{lemma}
\label{quotient_map_induced_map}
    Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Suppose $g$ is a function from $X$ to $Z$.
    Suppose for all $y\in Y$ there exists $z$ such that for all $x\in\preimg{p}{\{y\}}$ we have $g(x) = z$.
    Then there exists $f$ such that
        $f$ is a function from $Y$ to $Z$ and
        $f\circ p = g$.
\end{lemma}
Proof

$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{Y}$ by Definition 217.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $p$ is a function by Definition 57, Proposition 356.
Let $f = \inducedMap{p}{g}{X}{Y}{Z}$.
For all $y,z_1,z_2$ such that $y\mathrel{f} z_1$ and $y\mathrel{f} z_2$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $z_1\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{g}{\preimg{p}{\{y\}}}$ and $z_2\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{g}{\preimg{p}{\{y\}}}$ by Axiom 6, Axiom 10, Axiom 11, Definition 224, Proposition 121.
For all $y,z_1,z_2$ such that $y\mathrel{f} z_1$ and $y\mathrel{f} z_2$ there exist $x_1, x_2$ such that $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} \preimg{p}{\{y\}}$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} \preimg{p}{\{y\}}$ and $x_1\mathrel{g} z_1$ and $x_2\mathrel{g} z_2$ by Proposition 235.
For all $y,z_1,z_2$ such that $y\mathrel{f} z_1$ and $y\mathrel{f} z_2$ we have $z_1 = z_2$ by Definition 55, Proposition 346, Proposition 356.
Therefore $f$ is right-unique.
$\dom{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 6, Definition 1, Definition 15, Definition 224, Proposition 121.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $p(x) = y$ by Definition 57.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Axiom 10, Axiom 11, Definition 1, Definition 15, Definition 55, Definition 224, Proposition 20, Proposition 115, Proposition 235, Proposition 246, Proposition 348, Proposition 359.
Hence $\dom{f} = Y$ by Definition 1, Proposition 3.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Z$ by Definition 224.
Therefore $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{Z}$ and $f$ is a function from $Y$ to $Z$ by Definition 1, Definition 55, Proposition 280.

Claim: For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$.

Fix $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} g$.
Take $x,z$ such that $w = (x,z)$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ by Definition 1, Definition 55, Proposition 121, Proposition 282.
$(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$.
$z = g(x)$ by Definition 55, Proposition 346, Proposition 356.
Take $y$ such that $x\mathrel{p} y$ by Definition 1, Definition 55, Proposition 199.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Proposition 208, Proposition 363.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ by Proposition 20, Proposition 246.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{g}{\preimg{p}{\{y\}}}$ by Proposition 235.
$(y,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Axiom 10, Axiom 11, Definition 224, Proposition 115.
Therefore $w\class{latex-symbol-tip latex-symbol-id-in}{\in} f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$ by Proposition 257.

Hence $g\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$ by Definition 1.

Claim: For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} g$.

Fix $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$.
Take $x,z$ such that $w = (x,z)$ by Definition 12, Proposition 254.
$(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$.
Take $y$ such that $x\mathrel{p} y$ and $y\mathrel{f} z$ by Proposition 257.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{g}{\preimg{p}{\{y\}}}$ by Axiom 10, Axiom 11, Definition 224.
$g$ is a function by Definition 55, Proposition 356.
Take $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} \preimg{p}{\{y\}}$ such that $x_1\mathrel{g} z$ by Proposition 235.
$g(x_1) = z$ by Definition 55, Proposition 346, Proposition 356.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ by Proposition 20, Proposition 246.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Proposition 208, Proposition 363.
Take $z_0$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ we have $g(x) = z_0$.
$g(x) = z_0$ and $g(x_1) = z_0$.
Hence $g(x) = z$.
Therefore $w\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Definition 1, Definition 55, Proposition 249, Proposition 348.

Hence $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g$ by Definition 1.
Therefore $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$ by Proposition 3.

LaTeX source
\begin{proof}
    $p\in\surj{X}{Y}$ by \cref{quotient_map}.
    Hence $p\in\funs{X}{Y}$ and $p$ is a function by \cref{surj,funs_is_function}.
    Let $f = \inducedMap{p}{g}{X}{Y}{Z}$.
    For all $y,z_1,z_2$ such that $y\mathrel{f} z_1$ and $y\mathrel{f} z_2$ we have
        $y\in Y$ and $z_1\in \img{g}{\preimg{p}{\{y\}}}$ and $z_2\in \img{g}{\preimg{p}{\{y\}}}$
        by \cref{induced_map,times_elem_is_tuple,pair_eq_iff,fst_eq,snd_eq}.
    For all $y,z_1,z_2$ such that $y\mathrel{f} z_1$ and $y\mathrel{f} z_2$ there exist $x_1, x_2$ such that
        $x_1\in \preimg{p}{\{y\}}$ and $x_2\in \preimg{p}{\{y\}}$ and $x_1\mathrel{g} z_1$ and $x_2\mathrel{g} z_2$
        by \cref{img_iff}.
    For all $y,z_1,z_2$ such that $y\mathrel{f} z_1$ and $y\mathrel{f} z_2$ we have $z_1 = z_2$ by
        \cref{funs,funs_is_function,function_apply_intro}.
    Therefore $f$ is right-unique.
    $\dom{f}\subseteq Y$ by
        \cref{dom,induced_map,times_elem_is_tuple,pair_eq_iff,subseteq}.
    For all $y$ such that $y\in Y$ there exists $x\in X$ such that $p(x) = y$ by \cref{surj}.
    For all $y$ such that $y\in Y$ we have $y\in\dom{f}$ by
        \cref{funs,function_apply_elim,funs_elim,subseteq,times_tuple_intro,singleton_intro,preimg_iff,img_iff,fst_eq,snd_eq,induced_map,dom}.
    Hence $\dom{f} = Y$ by \cref{subseteq,subseteq_antisymmetric}.
    For all $w$ such that $w\in f$ we have $w\in Y\times Z$ by \cref{induced_map}.
    Therefore $f\in\funs{Y}{Z}$ and $f$ is a function from $Y$ to $Z$
        by \cref{subseteq,rels_intro,funs}.
    Show that for all $w$ such that $w\in g$ we have $w\in f\circ p$.
    \begin{subproof}
        Fix $w$ such that $w\in g$.
        Take $x,z$ such that $w = (x,z)$ and $x\in X$ and $z\in Z$
            by \cref{funs,rels_elim,subseteq,times_elem_is_tuple}.
        $(x,z)\in g$.
        $z = g(x)$ by \cref{funs,funs_is_function,function_apply_intro}.
        Take $y$ such that $x\mathrel{p} y$ by \cref{funs,subseteq,dom_iff}.
        $y\in Y$ by \cref{ran_iff,funs_ran,subseteq}.
        $x\in\preimg{p}{\{y\}}$ by \cref{singleton_intro,preimg_iff}.
        $z\in \img{g}{\preimg{p}{\{y\}}}$ by \cref{img_iff}.
        $(y,z)\in f$ by \cref{times_tuple_intro,fst_eq,snd_eq,induced_map}.
        Therefore $w\in f\circ p$ by \cref{circ_iff}.
    \end{subproof}
    Hence $g\subseteq f\circ p$ by \cref{subseteq}.
    Show that for all $w$ such that $w\in f\circ p$ we have $w\in g$.
    \begin{subproof}
        Fix $w$ such that $w\in f\circ p$.
        Take $x,z$ such that $w = (x,z)$ by \cref{circ_is_relation,relation}.
        $(x,z)\in f\circ p$.
        Take $y$ such that $x\mathrel{p} y$ and $y\mathrel{f} z$ by \cref{circ_iff}.
        $z\in \img{g}{\preimg{p}{\{y\}}}$ by \cref{induced_map,fst_eq,snd_eq}.
        $g$ is a function by \cref{funs,funs_is_function}.
        Take $x_1\in \preimg{p}{\{y\}}$ such that $x_1\mathrel{g} z$ by \cref{img_iff}.
        $g(x_1) = z$ by \cref{funs,funs_is_function,function_apply_intro}.
        $x\in\preimg{p}{\{y\}}$ by \cref{singleton_intro,preimg_iff}.
        $y\in Y$ by \cref{funs_ran,ran_iff,subseteq}.
        Take $z_0$ such that for all $x\in\preimg{p}{\{y\}}$ we have $g(x) = z_0$.
        $g(x) = z_0$ and $g(x_1) = z_0$.
        Hence $g(x) = z$.
        Therefore $w\in g$ by \cref{preimg_subseteq_dom,funs,subseteq,function_apply_elim}.
    \end{subproof}
    Hence $f\circ p\subseteq g$ by \cref{subseteq}.
    Therefore $f\circ p = g$ by \cref{subseteq_antisymmetric}.
\end{proof}
Lemma 296
quotient_map_induced_map_continuous

Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Suppose $g$ is a function from $X$ to $Z$.
Suppose for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ there exists $z$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ we have $g(x) = z$.
Suppose $f$ is a function from $Y$ to $Z$.
Suppose $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$.
Then $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ iff $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.

LaTeX source
\begin{lemma}
\label{quotient_map_induced_map_continuous}
    Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Suppose $g$ is a function from $X$ to $Z$.
    Suppose for all $y\in Y$ there exists $z$ such that for all $x\in\preimg{p}{\{y\}}$ we have $g(x) = z$.
    Suppose $f$ is a function from $Y$ to $Z$.
    Suppose $f\circ p = g$.
    Then $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$
        iff $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
\end{lemma}
Proof
Claim: If $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ then $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
Claim: If $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$ then for all $V$ such that $V$ is open in $Z$ with respect to $T_Z$ we have $\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$.

Assume $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
Fix $V$ such that $V$ is open in $Z$ with respect to $T_Z$.
$\preimg{f}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1, Definition 55, Proposition 249.

Claim: $\preimg{p}{\preimg{f}{V}} = \preimg{g}{V}$.
Claim: $\preimg{p}{\preimg{f}{V}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{g}{V}$.

For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\preimg{f}{V}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g}{V}$ by Definition 1, Proposition 246, Proposition 257.

Claim: $\preimg{g}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{p}{\preimg{f}{V}}$.

For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g}{V}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\preimg{f}{V}}$ by Definition 1, Proposition 246, Proposition 257.

Follows by Proposition 3.

Hence $\preimg{g}{V}$ is open in $X$ with respect to $T_X$ by Definition 160.
$\preimg{p}{\preimg{f}{V}}$ is open in $X$ with respect to $T_X$.
$\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$ by Definition 217.

Claim: If $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$ then $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$.
LaTeX source
\begin{proof}
    Show that if $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ then
        $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
    \begin{subproof}
        Follows by \cref{quotient_map,continuous_composite}.
    \end{subproof}
    Show that if $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$ then
        for all $V$ such that $V$ is open in $Z$ with respect to $T_Z$
        we have $\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$.
    \begin{subproof}
        Assume $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
        Fix $V$ such that $V$ is open in $Z$ with respect to $T_Z$.
        $\preimg{f}{V}\subseteq Y$ by \cref{preimg_subseteq_dom,funs,subseteq}.
        Show that $\preimg{p}{\preimg{f}{V}} = \preimg{g}{V}$.
        \begin{subproof}
            Show that $\preimg{p}{\preimg{f}{V}}\subseteq \preimg{g}{V}$.
            \begin{subproof}
                For all $x$ such that $x\in\preimg{p}{\preimg{f}{V}}$ we have $x\in\preimg{g}{V}$
                    by \cref{preimg_iff,circ_iff,subseteq}.
            \end{subproof}
            Show that $\preimg{g}{V}\subseteq \preimg{p}{\preimg{f}{V}}$.
            \begin{subproof}
                For all $x$ such that $x\in\preimg{g}{V}$ we have $x\in\preimg{p}{\preimg{f}{V}}$
                    by \cref{preimg_iff,circ_iff,subseteq}.
            \end{subproof}
            Follows by \cref{subseteq_antisymmetric}.
        \end{subproof}
        Hence $\preimg{g}{V}$ is open in $X$ with respect to $T_X$ by \cref{continuous}.
        $\preimg{p}{\preimg{f}{V}}$ is open in $X$ with respect to $T_X$.
        $\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$ by \cref{quotient_map}.
    \end{subproof}
    Show that if $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$ then
        $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$.
    \begin{subproof}
        Follows by \cref{continuous,quotient_map}.
    \end{subproof}
\end{proof}
Lemma 297
surj_factor_of_surj_composite

Suppose $p$ is a surjection from $X$ to $Y$.
Suppose $g$ is a surjection from $X$ to $Z$.
Suppose $f$ is a function from $Y$ to $Z$.
Suppose $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$.
Then $f$ is a surjection from $Y$ to $Z$.

LaTeX source
\begin{lemma}
\label{surj_factor_of_surj_composite}
    Suppose $p$ is a surjection from $X$ to $Y$.
    Suppose $g$ is a surjection from $X$ to $Z$.
    Suppose $f$ is a function from $Y$ to $Z$.
    Suppose $f\circ p = g$.
    Then $f$ is a surjection from $Y$ to $Z$.
\end{lemma}
Proof

$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ and $p$ is a function and $g$ is a function and $f$ is a function by Definition 57, Proposition 356.
For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $g(x) = z$ by Definition 57.
Hence for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ there exists $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ such that $f(y) = z$ by Definition 55, Proposition 257, Proposition 345, Proposition 348, Proposition 349, Proposition 361.
Therefore $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{Y}{Z}$ by Definition 57.

LaTeX source
\begin{proof}
    $p\in\funs{X}{Y}$ and $g\in\funs{X}{Z}$ and $p$ is a function and
        $g$ is a function and $f$ is a function by \cref{surj,funs_is_function}.
    For all $z\in Z$ there exists $x\in X$ such that $g(x) = z$ by \cref{surj}.
    Hence for all $z\in Z$ there exists $y\in Y$ such that $f(y) = z$ by
        \cref{funs_type_apply,funs,function_apply_elim,function_apply_iff,circ_iff,function_rightunique}.
    Therefore $f\in\surj{Y}{Z}$ by \cref{surj}.
\end{proof}
Lemma 298
quotient_map_induced_map_quotient

Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
Suppose $g$ is a function from $X$ to $Z$.
Suppose for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ there exists $z$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ we have $g(x) = z$.
Suppose $f$ is a function from $Y$ to $Z$.
Suppose $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$.
Then $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ iff $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.

LaTeX source
\begin{lemma}
\label{quotient_map_induced_map_quotient}
    Suppose $p$ is a quotient map from $X$ to $Y$ with respect to $T_X$ and $T_Y$.
    Suppose $g$ is a function from $X$ to $Z$.
    Suppose for all $y\in Y$ there exists $z$ such that for all $x\in\preimg{p}{\{y\}}$ we have $g(x) = z$.
    Suppose $f$ is a function from $Y$ to $Z$.
    Suppose $f\circ p = g$.
    Then $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$
        iff $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
\end{lemma}
Proof
Claim: If $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ then $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.

Follows by Lemma 294.

Claim: If $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$ then $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$.

Assume $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
Hence $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{Y}{Z}$ by Definition 217, Lemma 297.
Therefore $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ by Definition 217, Lemma 296.

Claim: For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ if $\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$ then $V$ is open in $Z$ with respect to $T_Z$.

Fix $V$ such that $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$.
Assume $\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$.
Hence $\preimg{g}{V}$ is open in $X$ with respect to $T_X$ by Definition 1, Definition 160, Definition 217, Proposition 3, Proposition 246, Proposition 257.
$V$ is open in $Z$ with respect to $T_Z$ by Definition 217.

Therefore $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ by Definition 217.

LaTeX source
\begin{proof}
    Show that if $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ then
        $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
    \begin{subproof}
        Follows by \cref{quotient_map_composite}.
    \end{subproof}
    Show that if $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$
        then $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$.
    \begin{subproof}
        Assume $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
        Hence $f\in\surj{Y}{Z}$ by \cref{quotient_map,surj_factor_of_surj_composite}.
        Therefore $f$ is continuous from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$
            by \cref{quotient_map,quotient_map_induced_map_continuous}.
        Show that for all $V$ such that $V\subseteq Z$ if $\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$
            then $V$ is open in $Z$ with respect to $T_Z$.
        \begin{subproof}
            Fix $V$ such that $V\subseteq Z$.
            Assume $\preimg{f}{V}$ is open in $Y$ with respect to $T_Y$.
            Hence $\preimg{g}{V}$ is open in $X$ with respect to $T_X$ by
                \cref{quotient_map,continuous,preimg_iff,circ_iff,subseteq,subseteq_antisymmetric}.
            $V$ is open in $Z$ with respect to $T_Z$ by \cref{quotient_map}.
        \end{subproof}
        Therefore $f$ is a quotient map from $Y$ to $Z$ with respect to $T_Y$ and $T_Z$ by \cref{quotient_map}.
    \end{subproof}
\end{proof}
Definition 225
fiber_partition

$\fiberPartition{g}{Z} = \{\preimg{g}{\{z\}} \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} Z\}$.

LaTeX source
\begin{definition}
\label{fiber_partition}
    $\fiberPartition{g}{Z} = \{\preimg{g}{\{z\}} \mid z\in Z\}$.
\end{definition}
Lemma 299
fiber_partition_is_partition

Suppose $g$ is a surjection from $X$ to $Z$.
Let $X_s = \fiberPartition{g}{Z}$.
Then $X_s$ is a partition of $X$.

LaTeX source
\begin{lemma}
\label{fiber_partition_is_partition}
    Suppose $g$ is a surjection from $X$ to $Z$.
    Let $X_s = \fiberPartition{g}{Z}$.
    Then $X_s$ is a partition of $X$.
\end{lemma}
Proof

$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ and $g$ is a function by Definition 57, Proposition 356.

Claim: $X_s$ is a partition.

For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ we have $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Definition 55, Definition 57, Definition 225, Proposition 20, Proposition 246, Proposition 349.
Hence $\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\class{latex-symbol-tip latex-symbol-id-notin}{\notin} X_s$ by Axiom 2.
For all $A,B$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ and $B\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ and $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq} B$ we have $A$ is disjoint from $B$ by Definition 3, Definition 225, Proposition 21, Proposition 246, Proposition 345.
Therefore $X_s$ is a partition by Definition 10.

Claim: $\unions{X_s} = X$.

For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{X_s}$ by Definition 55, Definition 225, Proposition 20, Proposition 27, Proposition 246, Proposition 348, Proposition 361.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{X_s}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Axiom 4, Definition 1, Definition 55, Definition 225, Proposition 249.
Hence $\unions{X_s} = X$ by Definition 1, Proposition 3.

Therefore $X_s$ is a partition of $X$.

LaTeX source
\begin{proof}
    $g\in\funs{X}{Z}$ and $g$ is a function by \cref{surj,funs_is_function}.
    Show that $X_s$ is a partition.
    \begin{subproof}
        For all $A$ such that $A\in X_s$ we have $A\neq\emptyset$
            by \cref{fiber_partition,surj,funs,function_apply_iff,singleton_intro,preimg_iff,emptyset}.
        Hence $\emptyset\notin X_s$ by \cref{emptyset}.
        For all $A,B$ such that $A\in X_s$ and $B\in X_s$ and $A\neq B$ we have $A$ is disjoint from $B$
            by \cref{fiber_partition,preimg_iff,singleton_elim,function_rightunique,disjoint}.
        Therefore $X_s$ is a partition by \cref{partition}.
    \end{subproof}
    Show that $\unions{X_s} = X$.
    \begin{subproof}
        For all $x$ such that $x\in X$ we have $x\in\unions{X_s}$ by
            \cref{funs_type_apply,fiber_partition,funs,function_apply_elim,preimg_iff,singleton_intro,unions_intro}.
        For all $x$ such that $x\in\unions{X_s}$ we have $x\in X$
            by \cref{unions_iff,fiber_partition,preimg_subseteq_dom,funs,subseteq}.
        Hence $\unions{X_s} = X$ by \cref{subseteq,subseteq_antisymmetric}.
    \end{subproof}
    Therefore $X_s$ is a partition of $X$.
\end{proof}
Lemma 300
partition_map_surjection

Suppose $P$ is a partition of $X$.
Let $p = \partitionMap{P}{X}$.
Then $p$ is a surjection from $X$ to $P$.

LaTeX source
\begin{lemma}
\label{partition_map_surjection}
    Suppose $P$ is a partition of $X$.
    Let $p = \partitionMap{P}{X}$.
    Then $p$ is a surjection from $X$ to $P$.
\end{lemma}
Proof

$P$ is a partition and $\unions{P} = X$.

Claim: $p$ is a function from $X$ to $P$.

$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{X}{P}$ and $\dom{p}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 222, Proposition 280, Proposition 283.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{p}$ by Axiom 4, Axiom 10, Axiom 11, Definition 1, Definition 15, Definition 222, Proposition 115.
Hence $\dom{p} = X$ by Definition 1, Proposition 3.
For all $x,C,D$ such that $x\mathrel{p} C$ and $x\mathrel{p} D$ we have $C = D$ by Axiom 10, Axiom 11, Definition 3, Definition 10, Definition 222, Proposition 114.
Thus $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{P}$ and $p$ is a function from $X$ to $P$ by Definition 51, Definition 55.

Claim: For all $C\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $p(x) = C$.

Therefore $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{P}$ by Definition 57.

LaTeX source
\begin{proof}
    $P$ is a partition and $\unions{P} = X$.
    Show that $p$ is a function from $X$ to $P$.
    \begin{subproof}
        $p\in\rels{X}{P}$ and $\dom{p}\subseteq X$ by \cref{partition_map,subseteq,rels_intro,rels_dom_subseteq}.
        For all $x$ such that $x\in X$ we have $x\in\dom{p}$
            by \cref{subseteq,unions_iff,times_tuple_intro,fst_eq,snd_eq,partition_map,dom}.
        Hence $\dom{p} = X$ by \cref{subseteq,subseteq_antisymmetric}.
        For all $x,C,D$ such that $x\mathrel{p} C$ and $x\mathrel{p} D$ we have $C = D$
            by \cref{partition_map,times_tuple_elim,fst_eq,snd_eq,partition,disjoint}.
        Thus $p\in\funs{X}{P}$ and $p$ is a function from $X$ to $P$ by \cref{rightunique,funs}.
    \end{subproof}
    Show that for all $C\in P$ there exists $x\in X$ such that $p(x) = C$.
    \begin{subproof}
        Follows by \cref{partition,nonempty_inhabited,unions_intro,subseteq,times_tuple_intro,fst_eq,snd_eq,partition_map,funs_is_function,function_apply_intro}.
    \end{subproof}
    Therefore $p\in\surj{X}{P}$ by \cref{surj}.
\end{proof}
Lemma 301
corollary_quotient_space_induced_bijection

Suppose $g$ is a surjection from $X$ to $Z$.
Suppose $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
Let $X_s = \fiberPartition{g}{Z}$.
Let $p = \partitionMap{X_s}{X}$.
Let $T_s = \quotientTopology{p}{T_X}{X}{X_s}$.
Then there exists $f$ such that $f$ is a bijection from $X_s$ to $Z$ and $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ and $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$.

LaTeX source
\begin{lemma}
\label{corollary_quotient_space_induced_bijection}
    Suppose $g$ is a surjection from $X$ to $Z$.
    Suppose $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
    Let $X_s = \fiberPartition{g}{Z}$.
    Let $p = \partitionMap{X_s}{X}$.
    Let $T_s = \quotientTopology{p}{T_X}{X}{X_s}$.
    Then there exists $f$ such that
        $f$ is a bijection from $X_s$ to $Z$ and
        $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ and
        $f\circ p = g$.
\end{lemma}
Proof

$T_X$ is a topology on $X$ and $X_s$ is a partition of $X$ by Definition 160, Lemma 299.
Hence $p$ is a surjection from $X$ to $X_s$ by Lemma 300.
Therefore $p$ is a quotient map from $X$ to $X_s$ with respect to $T_X$ and $T_s$ by Lemma 289.
We have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ and $g$ is a function by Definition 57, Proposition 356.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ there exists $z$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ we have $g(x) = z$ by Axiom 10, Axiom 11, Definition 222, Definition 225, Proposition 21, Proposition 246, Proposition 346.
Take $f$ such that $f$ is a function from $X_s$ to $Z$ and $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$ by Lemma 295.
Hence $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X_s}{Z}$ by Definition 57, Lemma 297, Lemma 300.

Claim: For all $y_1,y_2,z$ such that $y_1\mathrel{f} z$ and $y_2\mathrel{f} z$ we have $y_1 = y_2$.

Fix $y_1$.
Fix $y_2$.
Fix $z$.
Assume $y_1\mathrel{f} z$ and $y_2\mathrel{f} z$.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ by Definition 55, Proposition 346, Proposition 349, Proposition 356.
Take $z_1\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ such that $y_1 = \preimg{g}{\{z_1\}}$ by Definition 225.
Take $z_2\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ such that $y_2 = \preimg{g}{\{z_2\}}$ by Definition 225.
$y_1\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $y_2\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 10.
Take $x_1$ such that $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} y_1$ by Proposition 10.
Take $x_2$ such that $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} y_2$ by Proposition 10.
$x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Proposition 27.
$x_1\mathrel{p} y_1$ and $x_2\mathrel{p} y_2$ by Axiom 10, Axiom 11, Definition 222, Proposition 115.
Hence $x_1\mathrel{(f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)} z$ and $x_2\mathrel{(f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p)} z$ by Proposition 257.
$x_1\mathrel{g} z$ and $x_2\mathrel{g} z$.
$g(x_1) = z$ and $g(x_2) = z$ by Proposition 346.
$x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g}{\{z_1\}}$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g}{\{z_2\}}$.
$g(x_1) = z_1$ and $g(x_2) = z_2$ by Proposition 21, Proposition 246, Proposition 346.
$z_1 = z$ and $z_2 = z$.
Therefore $y_1 = \preimg{g}{\{z\}}$ and $y_2 = \preimg{g}{\{z\}}$.
$y_1 = y_2$.

Hence $f$ is injective by Definition 50.
Thus $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\bijections{X_s}{Z}$ by Definition 58.
Hence $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by Lemma 296.

LaTeX source
\begin{proof}
    $T_X$ is a topology on $X$ and $X_s$ is a partition of $X$
        by \cref{continuous,fiber_partition_is_partition}.
    Hence $p$ is a surjection from $X$ to $X_s$ by \cref{partition_map_surjection}.
    Therefore $p$ is a quotient map from $X$ to $X_s$ with respect to $T_X$ and $T_s$ by \cref{quotient_topology_quotient_map}.
    We have $g\in\funs{X}{Z}$ and $g$ is a function by \cref{surj,funs_is_function}.
    For all $y\in X_s$ there exists $z$ such that for all $x\in\preimg{p}{\{y\}}$ we have $g(x) = z$
        by \cref{fiber_partition,preimg_iff,singleton_elim,partition_map,fst_eq,snd_eq,function_apply_intro}.
    Take $f$ such that $f$ is a function from $X_s$ to $Z$ and $f\circ p = g$ by \cref{quotient_map_induced_map}.
    Hence $f\in\surj{X_s}{Z}$ by \cref{surj,partition_map_surjection,surj_factor_of_surj_composite}.
    Show that for all $y_1,y_2,z$ such that $y_1\mathrel{f} z$ and $y_2\mathrel{f} z$ we have $y_1 = y_2$.
    \begin{subproof}
        Fix $y_1$.
        Fix $y_2$.
        Fix $z$.
        Assume $y_1\mathrel{f} z$ and $y_2\mathrel{f} z$.
        $y_1\in X_s$ and $y_2\in X_s$
            by \cref{funs_is_function,function_apply_intro,function_apply_iff,funs}.
        Take $z_1\in Z$ such that $y_1 = \preimg{g}{\{z_1\}}$ by \cref{fiber_partition}.
        Take $z_2\in Z$ such that $y_2 = \preimg{g}{\{z_2\}}$ by \cref{fiber_partition}.
        $y_1\neq\emptyset$ and $y_2\neq\emptyset$ by \cref{partition}.
        Take $x_1$ such that $x_1\in y_1$ by \cref{nonempty_inhabited}.
        Take $x_2$ such that $x_2\in y_2$ by \cref{nonempty_inhabited}.
        $x_1\in X$ and $x_2\in X$ by \cref{unions_intro,subseteq}.
        $x_1\mathrel{p} y_1$ and $x_2\mathrel{p} y_2$ by \cref{times_tuple_intro,fst_eq,snd_eq,partition_map}.
        Hence $x_1\mathrel{(f\circ p)} z$ and $x_2\mathrel{(f\circ p)} z$ by \cref{circ_iff}.
        $x_1\mathrel{g} z$ and $x_2\mathrel{g} z$.
        $g(x_1) = z$ and $g(x_2) = z$ by \cref{function_apply_intro}.
        $x_1\in\preimg{g}{\{z_1\}}$ and $x_2\in\preimg{g}{\{z_2\}}$.
        $g(x_1) = z_1$ and $g(x_2) = z_2$
            by \cref{preimg_iff,singleton_elim,function_apply_intro}.
        $z_1 = z$ and $z_2 = z$.
        Therefore $y_1 = \preimg{g}{\{z\}}$ and $y_2 = \preimg{g}{\{z\}}$.
        $y_1 = y_2$.
    \end{subproof}
    Hence $f$ is injective by \cref{injective}.
    Thus $f\in\bijections{X_s}{Z}$ by \cref{bijections}.
    Hence $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$
        by \cref{quotient_map_induced_map_continuous}.
\end{proof}
Lemma 302
corollary_quotient_space_homeomorphism

Suppose $g$ is a surjection from $X$ to $Z$.
Suppose $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
Let $X_s = \fiberPartition{g}{Z}$.
Let $p = \partitionMap{X_s}{X}$.
Let $T_s = \quotientTopology{p}{T_X}{X}{X_s}$.
Suppose $f$ is a function from $X_s$ to $Z$.
Suppose $f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p = g$.
Suppose $f$ is a bijection from $X_s$ to $Z$.
Then $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$ iff $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.

LaTeX source
\begin{lemma}
\label{corollary_quotient_space_homeomorphism}
    Suppose $g$ is a surjection from $X$ to $Z$.
    Suppose $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
    Let $X_s = \fiberPartition{g}{Z}$.
    Let $p = \partitionMap{X_s}{X}$.
    Let $T_s = \quotientTopology{p}{T_X}{X}{X_s}$.
    Suppose $f$ is a function from $X_s$ to $Z$.
    Suppose $f\circ p = g$.
    Suppose $f$ is a bijection from $X_s$ to $Z$.
    Then $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$
        iff $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
\end{lemma}
Proof

$T_X$ is a topology on $X$ and $X_s$ is a partition of $X$ by Definition 160, Lemma 299.
Hence $p$ is a surjection from $X$ to $X_s$ by Lemma 300.
Therefore $p$ is a quotient map from $X$ to $X_s$ with respect to $T_X$ and $T_s$ by Lemma 289.

Claim: If $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$ then $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.

Assume $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$.
Hence $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by Definition 162.
For all $U$ such that $U$ is open in $X_s$ with respect to $T_s$ we have $\img{f}{U}$ is open in $Z$ with respect to $T_Z$ by Definition 55, Definition 160, Definition 162, Proposition 189, Proposition 247, Proposition 355.
Therefore $f$ is an open map from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by Definition 219.
$f$ is a surjection from $X_s$ to $Z$ by Definition 58.
$T_s$ is a topology on $X_s$ and $T_Z$ is a topology on $Z$ by Definition 57, Definition 160, Lemma 288.
Therefore $f$ is a quotient map from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by Lemma 287.
Thus $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$ by Lemma 294.

Claim: If $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$ then $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$.

Assume $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
We have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ and $g$ is a function by Definition 57, Definition 217, Proposition 356.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ there exists $z$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{p}{\{y\}}$ we have $g(x) = z$ by Axiom 10, Axiom 11, Definition 222, Definition 225, Proposition 21, Proposition 246, Proposition 346.
Therefore $f$ is a quotient map from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by Lemma 298.
We have $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by Definition 217.

Claim: For all $U$ such that $U$ is open in $X_s$ with respect to $T_s$ we have $\preimg{\converse{f}}{U}$ is open in $Z$ with respect to $T_Z$.

Fix $U$ such that $U$ is open in $X_s$ with respect to $T_s$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{\img{f}{U}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 50, Definition 58, Proposition 235, Proposition 246.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{\img{f}{U}}$ by Definition 1, Definition 55, Definition 101, Definition 103, Proposition 156, Proposition 235, Proposition 246, Proposition 348, Proposition 356.
Therefore $\preimg{f}{\img{f}{U}} = U$ by Definition 1, Proposition 3.
Hence $\img{f}{U}$ is open in $Z$ with respect to $T_Z$ by Definition 55, Definition 217, Proposition 6, Proposition 237, Proposition 284.
$\preimg{\converse{f}}{U} = \img{f}{U}$ by Definition 55, Proposition 189, Proposition 247, Proposition 355.

$\converse{f}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Z}{X_s}$ by Proposition 396.
$T_Z$ is a topology on $Z$ and $T_s$ is a topology on $X_s$ by Definition 160.
We have $\converse{f}$ is continuous from $Z$ to $X_s$ with respect to $T_Z$ and $T_s$ by Definition 160.
Therefore $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$ by Definition 162.

LaTeX source
\begin{proof}
    $T_X$ is a topology on $X$ and $X_s$ is a partition of $X$
        by \cref{continuous,fiber_partition_is_partition}.
    Hence $p$ is a surjection from $X$ to $X_s$ by \cref{partition_map_surjection}.
    Therefore $p$ is a quotient map from $X$ to $X_s$ with respect to $T_X$ and $T_s$ by \cref{quotient_topology_quotient_map}.
    Show that if $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$
        then $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
    \begin{subproof}
        Assume $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$.
        Hence $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by \cref{homeomorphism}.
        For all $U$ such that $U$ is open in $X_s$ with respect to $T_s$
            we have $\img{f}{U}$ is open in $Z$ with respect to $T_Z$
            by \cref{homeomorphism,continuous,funs_is_relation,funs,preim_eq_img_of_converse,converse_converse_eq}.
        Therefore $f$ is an open map from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by \cref{open_map}.
        $f$ is a surjection from $X_s$ to $Z$ by \cref{bijections}.
        $T_s$ is a topology on $X_s$ and $T_Z$ is a topology on $Z$
            by \cref{surj,quotient_topology_is_topology,continuous}.
        Therefore $f$ is a quotient map from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by \cref{open_or_closed_surjection_quotient}.
        Thus $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$
            by \cref{quotient_map_composite}.
    \end{subproof}
    Show that if $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$
        then $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$.
    \begin{subproof}
        Assume $g$ is a quotient map from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
        We have $g\in\funs{X}{Z}$ and $g$ is a function by \cref{quotient_map,surj,funs_is_function}.
        For all $y\in X_s$ there exists $z$ such that for all $x\in\preimg{p}{\{y\}}$ we have $g(x) = z$
            by \cref{fiber_partition,preimg_iff,singleton_elim,partition_map,fst_eq,snd_eq,function_apply_intro}.
        Therefore $f$ is a quotient map from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$
            by \cref{quotient_map_induced_map_quotient}.
        We have $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$ by \cref{quotient_map}.
        Show that for all $U$ such that $U$ is open in $X_s$ with respect to $T_s$
            we have $\preimg{\converse{f}}{U}$ is open in $Z$ with respect to $T_Z$.
        \begin{subproof}
            Fix $U$ such that $U$ is open in $X_s$ with respect to $T_s$.
            For all $x$ such that $x\in\preimg{f}{\img{f}{U}}$ we have $x\in U$
                by \cref{bijections,preimg_iff,img_iff,injective}.
            For all $x$ such that $x\in U$ we have $x\in\preimg{f}{\img{f}{U}}$ by
                \cref{open_in,topology_on,subseteq,powerset_elim,funs,funs_is_function,function_apply_elim,img_iff,preimg_iff}.
            Therefore $\preimg{f}{\img{f}{U}} = U$ by \cref{subseteq,subseteq_antisymmetric}.
            Hence $\img{f}{U}$ is open in $Z$ with respect to $T_Z$
                by \cref{funs,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive,quotient_map}.
            $\preimg{\converse{f}}{U} = \img{f}{U}$
                by \cref{funs_is_relation,funs,preim_eq_img_of_converse,converse_converse_eq}.
        \end{subproof}
        $\converse{f}\in\funs{Z}{X_s}$ by \cref{bijective_converse_are_funs}.
        $T_Z$ is a topology on $Z$ and $T_s$ is a topology on $X_s$ by \cref{continuous}.
        We have $\converse{f}$ is continuous from $Z$ to $X_s$ with respect to $T_Z$ and $T_s$ by \cref{continuous}.
        Therefore $f$ is a homeomorphism between $X_s$ and $Z$ with respect to $T_s$ and $T_Z$ by \cref{homeomorphism}.
    \end{subproof}
\end{proof}
Lemma 303
corollary_quotient_space_hausdorff

Suppose $g$ is a surjection from $X$ to $Z$.
Suppose $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
Suppose $Z$ is Hausdorff with respect to $T_Z$.
Let $X_s = \fiberPartition{g}{Z}$.
Let $p = \partitionMap{X_s}{X}$.
Let $T_s = \quotientTopology{p}{T_X}{X}{X_s}$.
Suppose $f$ is a bijection from $X_s$ to $Z$.
Suppose $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$.
Then $X_s$ is Hausdorff with respect to $T_s$.

LaTeX source
\begin{lemma}
\label{corollary_quotient_space_hausdorff}
    Suppose $g$ is a surjection from $X$ to $Z$.
    Suppose $g$ is continuous from $X$ to $Z$ with respect to $T_X$ and $T_Z$.
    Suppose $Z$ is Hausdorff with respect to $T_Z$.
    Let $X_s = \fiberPartition{g}{Z}$.
    Let $p = \partitionMap{X_s}{X}$.
    Let $T_s = \quotientTopology{p}{T_X}{X}{X_s}$.
    Suppose $f$ is a bijection from $X_s$ to $Z$.
    Suppose $f$ is continuous from $X_s$ to $Z$ with respect to $T_s$ and $T_Z$.
    Then $X_s$ is Hausdorff with respect to $T_s$.
\end{lemma}
Proof

$T_X$ is a topology on $X$ and $X_s$ is a partition of $X$ by Definition 160, Lemma 299.
Hence $p$ is a surjection from $X$ to $X_s$ by Lemma 300.
Therefore $T_s$ is a topology on $X_s$ by Definition 57, Lemma 288.

Claim: For all $x_1,x_2$ such that $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ and $x_1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2$ there exist $U_1,U_2$ such that $U_1$ is a neighborhood of $x_1$ in $X_s$ with respect to $T_s$ and $U_2$ is a neighborhood of $x_2$ in $X_s$ with respect to $T_s$ and $U_1$ is disjoint from $U_2$.

Fix $x_1$.
Fix $x_2$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X_s$ and $x_1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2$.
$f$ is injective and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X_s}{Z}$ by Definition 58, Proposition 389.
We have $f$ is a function and $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 1, Definition 55, Proposition 356, Proposition 389.
$f(x_1) \class{latex-symbol-tip latex-symbol-id-neq}{\neq} f(x_2)$ and $f(x_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ and $f(x_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ by Proposition 361, Proposition 386.
There exist $V_1,V_2$ such that $V_1$ is a neighborhood of $f(x_1)$ in $Z$ with respect to $T_Z$ and $V_2$ is a neighborhood of $f(x_2)$ in $Z$ with respect to $T_Z$ and $V_1$ is disjoint from $V_2$ by Definition 156.
Therefore $V_1$ and $V_2$ are open in $Z$ with respect to $T_Z$ and $f(x_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} V_1$ and $f(x_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} V_2$ by Definition 153.
Let $U_1 = \preimg{f}{V_1}$.
Let $U_2 = \preimg{f}{V_2}$.
We have $U_1$ and $U_2$ are open in $X_s$ with respect to $T_s$ and $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} U_1$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} U_2$ by Definition 160, Proposition 246, Proposition 348.
$U_1$ is a neighborhood of $x_1$ in $X_s$ with respect to $T_s$ and $U_2$ is a neighborhood of $x_2$ in $X_s$ with respect to $T_s$ by Definition 153.
Thus $U_1$ is disjoint from $U_2$ by Definition 3, Proposition 246, Proposition 349.

Therefore $X_s$ is Hausdorff with respect to $T_s$ by Definition 156.

LaTeX source
\begin{proof}
    $T_X$ is a topology on $X$ and $X_s$ is a partition of $X$
        by \cref{continuous,fiber_partition_is_partition}.
    Hence $p$ is a surjection from $X$ to $X_s$ by \cref{partition_map_surjection}.
    Therefore $T_s$ is a topology on $X_s$ by \cref{surj,quotient_topology_is_topology}.
    Show that for all $x_1,x_2$ such that $x_1\in X_s$ and $x_2\in X_s$ and $x_1\neq x_2$ there exist $U_1,U_2$ such that
        $U_1$ is a neighborhood of $x_1$ in $X_s$ with respect to $T_s$ and
        $U_2$ is a neighborhood of $x_2$ in $X_s$ with respect to $T_s$ and
        $U_1$ is disjoint from $U_2$.
    \begin{subproof}
        Fix $x_1$.
        Fix $x_2$.
        Assume $x_1\in X_s$ and $x_2\in X_s$ and $x_1\neq x_2$.
        $f$ is injective and $f\in\funs{X_s}{Z}$ by \cref{bijections,bijections_to_funs}.
        We have $f$ is a function and $x_1\in\dom{f}$ and $x_2\in\dom{f}$
            by \cref{bijections_to_funs,funs_is_function,funs,subseteq}.
        $f(x_1) \neq f(x_2)$ and $f(x_1)\in Z$ and $f(x_2)\in Z$
            by \cref{injective_function,funs_type_apply}.
        There exist $V_1,V_2$ such that
            $V_1$ is a neighborhood of $f(x_1)$ in $Z$ with respect to $T_Z$ and
            $V_2$ is a neighborhood of $f(x_2)$ in $Z$ with respect to $T_Z$ and
            $V_1$ is disjoint from $V_2$ by \cref{hausdorff}.
        Therefore $V_1$ and $V_2$ are open in $Z$ with respect to $T_Z$ and
            $f(x_1)\in V_1$ and $f(x_2)\in V_2$ by \cref{neighborhood}.
        Let $U_1 = \preimg{f}{V_1}$.
        Let $U_2 = \preimg{f}{V_2}$.
        We have $U_1$ and $U_2$ are open in $X_s$ with respect to $T_s$ and
            $x_1\in U_1$ and $x_2\in U_2$ by \cref{continuous,preimg_iff,function_apply_elim}.
        $U_1$ is a neighborhood of $x_1$ in $X_s$ with respect to $T_s$ and
            $U_2$ is a neighborhood of $x_2$ in $X_s$ with respect to $T_s$ by \cref{neighborhood}.
        Thus $U_1$ is disjoint from $U_2$ by \cref{preimg_iff,function_apply_iff,disjoint}.
    \end{subproof}
    Therefore $X_s$ is Hausdorff with respect to $T_s$ by \cref{hausdorff}.
\end{proof}