Topology (Munkres)
§18 Continuous Functions
$f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ iff $f$ is a function from $X$ to $Y$ and $T$ is a topology on $X$ and $T_1$ is a topology on $Y$ and for all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
LaTeX source
\begin{definition}
\label{continuous}
$f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ iff
$f$ is a function from $X$ to $Y$ and
$T$ is a topology on $X$ and
$T_1$ is a topology on $Y$ and
for all $V$ such that $V$ is open in $Y$ with respect to $T_1$
we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
\end{definition}
Suppose $f$ is a function.
Then $\preimg{f}{A\inter B} = \preimg{f}{A}\inter \preimg{f}{B}$.
LaTeX source
\begin{lemma}
\label{preimg_inter_function}
Suppose $f$ is a function.
Then $\preimg{f}{A\inter B} = \preimg{f}{A}\inter \preimg{f}{B}$.
\end{lemma}
Proof
Follows by Definition 1, Definition 5, Proposition 3, Proposition 61, Proposition 246, Proposition 251, Proposition 345.
LaTeX source
\begin{proof}
Follows by \cref{preimg_inter,inter,preimg_iff,function_rightunique,inter_intro,subseteq,subseteq_antisymmetric}.
\end{proof}
Suppose $f$ is a function.
Then $\img{f}{\preimg{f}{B}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$.
LaTeX source
\begin{lemma}
\label{img_preimg_subseteq}
Suppose $f$ is a function.
Then $\img{f}{\preimg{f}{B}}\subseteq B$.
\end{lemma}
Proof
Follows by Definition 1, Proposition 62, Proposition 63, Proposition 246, Proposition 345, Proposition 348, Proposition 365.
LaTeX source
\begin{proof}
Follows by \cref{img_of_function_elim,inter_elim_right,preimg_iff,function_apply_elim,inter_elim_left,function_rightunique,subseteq}.
\end{proof}
Assume $f$ is a function from $X$ to $Y$.
Suppose $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Then $\preimg{f}{Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{B}$.
LaTeX source
\begin{lemma}
\label{preimg_setminus_function}
Assume $f$ is a function from $X$ to $Y$.
Suppose $B\subseteq Y$.
Then $\preimg{f}{Y\setminus B} = X\setminus \preimg{f}{B}$.
\end{lemma}
Proof
Claim: $\preimg{f}{Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{B}$.
Claim: $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{B}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{B}$.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 55, Proposition 86.
Take $y$ such that $x\mathrel{f} y$ by Proposition 199.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 55, Proposition 290.
$y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} B$ by Proposition 87, Proposition 246.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ by Proposition 85.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B}$ by Proposition 246.
We have $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B}$ by Definition 1.
Therefore $\preimg{f}{Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{B}$ by Proposition 3.
LaTeX source
\begin{proof}
Show that $\preimg{f}{Y\setminus B}\subseteq X\setminus \preimg{f}{B}$.
\begin{subproof}
Follows by \cref{preimg_iff,funs,funs_is_function,subseteq,preimg_subseteq_dom,function_rightunique,setminus_elim_right,setminus_intro}.
\end{subproof}
Show that $X\setminus \preimg{f}{B}\subseteq \preimg{f}{Y\setminus B}$.
\begin{subproof}
Show that for all $x$ such that $x\in X\setminus \preimg{f}{B}$ we have
$x\in\preimg{f}{Y\setminus B}$.
\begin{subproof}
Fix $x$ such that $x\in X\setminus \preimg{f}{B}$.
We have $x\in\dom{f}$ by \cref{funs,setminus_elim_left}.
Take $y$ such that $x\mathrel{f} y$ by \cref{dom_iff}.
$y\in Y$ by \cref{funs,rels_type_ran}.
$y\notin B$ by \cref{preimg_iff,setminus_elim_right}.
Therefore $y\in Y\setminus B$ by \cref{setminus_intro}.
Hence $x\in\preimg{f}{Y\setminus B}$ by \cref{preimg_iff}.
\end{subproof}
We have $X\setminus \preimg{f}{B}\subseteq \preimg{f}{Y\setminus B}$ by \cref{subseteq}.
\end{subproof}
Therefore $\preimg{f}{Y\setminus B} = X\setminus \preimg{f}{B}$ by \cref{subseteq_antisymmetric}.
\end{proof}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Then $\img{f}{\closure{A}{X}{T}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{f}{A}}{Y}{T_1}$.
LaTeX source
\begin{lemma}
\label{continuous_closure_image_subset}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $A\subseteq X$.
Then $\img{f}{\closure{A}{X}{T}}\subseteq \closure{\img{f}{A}}{Y}{T_1}$.
\end{lemma}
Proof
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $f$ is a function and $T$ is a topology on $X$ and $T_1$ is a topology on $Y$ by Definition 160, Proposition 356.
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{X}{Y}$ by Definition 1, Proposition 357.
Therefore $\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1, Proposition 6, Proposition 237, Proposition 284, Proposition 357.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f}{\closure{A}{X}{T}}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\img{f}{A}}{Y}{T_1}$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f}{\closure{A}{X}{T}}$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter \closure{A}{X}{T}$ such that $y = f(x)$ by Proposition 365.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ and $x\mathrel{f} y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 62, Proposition 290, Proposition 348.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{A}{X}{T}$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 151, Proposition 63.
Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ we have $V$ intersects $\img{f}{A}$.
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Let $U = \preimg{f}{V}$.
We have $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 160, Proposition 62, Proposition 246, Proposition 348.
Take $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter A$ by Definition 152, Proposition 10, Theorem 11.
Take $w\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ such that $z\mathrel{f} w$ by Definition 5, Proposition 246.
Hence $V$ intersects $\img{f}{A}$ by Axiom 2, Definition 5, Definition 152, Proposition 61, Proposition 349, Proposition 364.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\img{f}{A}}{Y}{T_1}$ by Theorem 11.
Hence $\img{f}{\closure{A}{X}{T}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{f}{A}}{Y}{T_1}$ by Definition 1.
LaTeX source
\begin{proof}
We have $f\in\funs{X}{Y}$ and $f$ is a function and
$T$ is a topology on $X$ and $T_1$ is a topology on $Y$
by \cref{continuous,funs_is_function}.
We have $f\in\rels{X}{Y}$ by \cref{funs_subseteq_rels,subseteq}.
Therefore $\img{f}{A}\subseteq Y$ by
\cref{funs_subseteq_rels,subseteq,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive}.
Show that for all $y$ such that $y\in\img{f}{\closure{A}{X}{T}}$ we have
$y\in\closure{\img{f}{A}}{Y}{T_1}$.
\begin{subproof}
Fix $y$ such that $y\in\img{f}{\closure{A}{X}{T}}$.
Take $x\in\dom{f}\inter \closure{A}{X}{T}$ such that $y = f(x)$ by \cref{img_of_function_elim}.
We have $x\in\dom{f}$ and $x\mathrel{f} y$ and $y\in Y$
by \cref{inter_elim_left,function_apply_elim,rels_type_ran}.
Therefore $x\in\closure{A}{X}{T}$ and $x\in X$ by \cref{inter_elim_right,closure}.
Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_1$ and $y\in V$
we have $V$ intersects $\img{f}{A}$.
\begin{subproof}
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$ and $y\in V$.
Let $U = \preimg{f}{V}$.
We have $U$ is open in $X$ with respect to $T$ and $x\in U$ by
\cref{continuous,function_apply_elim,inter_elim_left,preimg_iff}.
Take $z$ such that $z\in U\inter A$ by \cref{closure_iff_intersects_open,intersects,nonempty_inhabited}.
Take $w\in V$ such that $z\mathrel{f} w$ by \cref{inter,preimg_iff}.
Hence $V$ intersects $\img{f}{A}$ by \cref{inter,function_apply_iff,inter_intro,img_of_function_intro,emptyset,intersects}.
\end{subproof}
Therefore $y\in\closure{\img{f}{A}}{Y}{T_1}$ by \cref{closure_iff_intersects_open}.
\end{subproof}
Hence $\img{f}{\closure{A}{X}{T}}\subseteq \closure{\img{f}{A}}{Y}{T_1}$ by \cref{subseteq}.
\end{proof}
Assume $f$ is a function from $X$ to $Y$ and $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Suppose for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ we have $\img{f}{\closure{A}{X}{T}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{f}{A}}{Y}{T_1}$.
Then for all $B$ such that $B$ is closed in $Y$ with respect to $T_1$ we have $\preimg{f}{B}$ is closed in $X$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{closure_image_subset_implies_preimg_closed}
Assume $f$ is a function from $X$ to $Y$ and
$T$ is a topology on $X$ and
$T_1$ is a topology on $Y$.
Suppose for all $A$ such that $A\subseteq X$ we have
$\img{f}{\closure{A}{X}{T}}\subseteq \closure{\img{f}{A}}{Y}{T_1}$.
Then for all $B$ such that $B$ is closed in $Y$ with respect to $T_1$
we have $\preimg{f}{B}$ is closed in $X$ with respect to $T$.
\end{lemma}
Proof
Fix $B$ such that $B$ is closed in $Y$ with respect to $T_1$.
Let $A = \preimg{f}{B}$.
We have $f$ is right-unique and $f$ is a relation and $\dom{f} = X$ by Definition 55, Proposition 345, Proposition 355, Proposition 356.
We have $\ran{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1, Proposition 284, Proposition 357.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Proposition 249.
$\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Lemma 156.
Hence $\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Proposition 6, Proposition 237.
Therefore $\closure{\img{f}{A}}{Y}{T_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Lemma 147.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{A}{X}{T}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{A}{X}{T}$.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 151.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 55.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter\closure{A}{X}{T}$ by Proposition 61.
Hence $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f}{\closure{A}{X}{T}}$ by Proposition 364.
Therefore $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\img{f}{A}}{Y}{T_1}$ by Definition 1.
Hence $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Proposition 4.
We have $x\mathrel{f} f(x)$ by Proposition 348.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 246.
Hence $A$ is closed in $X$ with respect to $T$ by Definition 1, Lemma 144, Lemma 146, Proposition 3.
LaTeX source
\begin{proof}
Fix $B$ such that $B$ is closed in $Y$ with respect to $T_1$.
Let $A = \preimg{f}{B}$.
We have $f$ is right-unique and $f$ is a relation and $\dom{f} = X$
by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
We have $\ran{f}\subseteq Y$ by \cref{funs_subseteq_rels,subseteq,rels_ran_subseteq}.
$A\subseteq X$ by \cref{preimg_subseteq_dom}.
$\img{f}{A}\subseteq B$ by \cref{img_preimg_subseteq}.
Hence $\img{f}{A}\subseteq Y$ by \cref{img_subseteq_ran,subseteq_transitive}.
Therefore $\closure{\img{f}{A}}{Y}{T_1}\subseteq B$ by \cref{closure_subseteq_closed}.
Show that for all $x$ such that $x\in\closure{A}{X}{T}$ we have $x\in A$.
\begin{subproof}
Fix $x$ such that $x\in\closure{A}{X}{T}$.
We have $x\in X$ by \cref{closure}.
Hence $x\in\dom{f}$ by \cref{funs}.
We have $x\in\dom{f}\inter\closure{A}{X}{T}$ by \cref{inter_intro}.
Hence $f(x)\in\img{f}{\closure{A}{X}{T}}$ by \cref{img_of_function_intro}.
Therefore $f(x)\in\closure{\img{f}{A}}{Y}{T_1}$ by \cref{subseteq}.
Hence $f(x)\in B$ by \cref{elem_subseteq}.
We have $x\mathrel{f} f(x)$ by \cref{function_apply_elim}.
Therefore $x\in A$ by \cref{preimg_iff}.
\end{subproof}
Hence $A$ is closed in $X$ with respect to $T$ by
\cref{subseteq,subseteq_closure,subseteq_antisymmetric,closure_closed_in}.
\end{proof}
Assume $f$ is a function from $X$ to $Y$ and $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Suppose for all $B$ such that $B$ is closed in $Y$ with respect to $T_1$ we have $\preimg{f}{B}$ is closed in $X$ with respect to $T$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{lemma}
\label{preimg_closed_implies_continuous}
Assume $f$ is a function from $X$ to $Y$ and
$T$ is a topology on $X$ and
$T_1$ is a topology on $Y$.
Suppose for all $B$ such that $B$ is closed in $Y$ with respect to $T_1$
we have $\preimg{f}{B}$ is closed in $X$ with respect to $T$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{lemma}
Proof
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $\dom{f} = X$ by Definition 55.
Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Let $B = Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} V$.
We have $Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B = V$ by Axiom 12, Definition 1, Definition 101, Definition 103, Proposition 70, Proposition 91, Proposition 97.
Therefore $B$ is closed in $Y$ with respect to $T_1$ by Definition 149, Proposition 97.
Hence $\preimg{f}{B}$ is closed in $X$ with respect to $T$ by Definition 1.
Therefore $\preimg{f}{V}$ is open in $X$ with respect to $T$ by Definition 1, Definition 103, Definition 149, Lemma 157, Proposition 356.
Hence $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by Definition 160.
LaTeX source
\begin{proof}
We have $f\in\funs{X}{Y}$ and $\dom{f} = X$ by \cref{funs}.
Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_1$
we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Let $B = Y\setminus V$.
We have $Y\setminus B = V$ by \cref{setminus_subseteq,setminus_setminus,open_in,topology_on,subseteq,pow_iff,inter_absorb_supseteq_left}.
Therefore $B$ is closed in $Y$ with respect to $T_1$ by \cref{setminus_subseteq,closed_in}.
Hence $\preimg{f}{B}$ is closed in $X$ with respect to $T$ by \cref{subseteq}.
Therefore $\preimg{f}{V}$ is open in $X$ with respect to $T$ by
\cref{closed_in,funs_is_function,preimg_setminus_function,subseteq,open_in}.
\end{subproof}
Hence $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by \cref{continuous}.
\end{proof}
$f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$ iff $f$ is a function from $X$ to $Y$ and $T$ is a topology on $X$ and $T_1$ is a topology on $Y$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and for all $V$ such that $V$ is a neighborhood of $f(x)$ in $Y$ with respect to $T_1$ there exists $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$ and $\img{f}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
LaTeX source
\begin{definition}
\label{continuous_at}
$f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$ iff
$f$ is a function from $X$ to $Y$ and
$T$ is a topology on $X$ and
$T_1$ is a topology on $Y$ and
$x\in X$ and
for all $V$ such that $V$ is a neighborhood of $f(x)$ in $Y$ with respect to $T_1$
there exists $U$ such that
$U$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$\img{f}{U}\subseteq V$.
\end{definition}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{lemma}
\label{continuous_implies_continuous_at}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $x\in X$.
Then $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{lemma}
Proof
Follows by Definition 55, Definition 153, Definition 160, Definition 161, Lemma 156, Proposition 246, Proposition 348, Proposition 356.
LaTeX source
\begin{proof}
Follows by \cref{neighborhood,continuous,funs,function_apply_elim,preimg_iff,funs_is_function,img_preimg_subseteq,continuous_at}.
\end{proof}
Assume $f$ is a function from $X$ to $Y$ and $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{lemma}
\label{continuous_at_implies_continuous}
Assume $f$ is a function from $X$ to $Y$ and
$T$ is a topology on $X$ and
$T_1$ is a topology on $Y$.
Suppose for all $x\in X$ we have $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{lemma}
Proof
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $\dom{f} = X$ by Definition 55.
Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Let $M = \{U\class{latex-symbol-tip latex-symbol-id-in}{\in} T \mid U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{V}\}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{V}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{V}$.
Take $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$ and $\img{f}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1, Definition 55, Definition 153, Definition 161, Proposition 246, Proposition 249, Proposition 349, Proposition 356.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$ by Axiom 4, Axiom 12, Definition 1, Definition 55, Definition 101, Definition 103, Definition 153, Proposition 61, Proposition 246, Proposition 249, Proposition 348, Proposition 356, Proposition 364.
Hence $\preimg{f}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \unions{M}$ by Definition 1.
Therefore $\unions{M}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $\unions{M}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{V}$ by Axiom 12, Definition 1, Definition 101, Proposition 159.
Hence $\preimg{f}{V}$ is open in $X$ with respect to $T$ by Definition 103, Proposition 3.
Therefore $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by Definition 160.
LaTeX source
\begin{proof}
We have $f\in\funs{X}{Y}$ and $\dom{f} = X$ by \cref{funs}.
Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_1$
we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Let $M = \{U\in T \mid U\subseteq \preimg{f}{V}\}$.
Show that for all $x$ such that $x\in\preimg{f}{V}$ we have $x\in\unions{M}$.
\begin{subproof}
Fix $x$ such that $x\in\preimg{f}{V}$.
Take $U$ such that
$U$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$\img{f}{U}\subseteq V$ by
\cref{preimg_subseteq_dom,subseteq,funs,funs_is_function,preimg_iff,function_apply_iff,neighborhood,continuous_at}.
Therefore $x\in\unions{M}$ by
\cref{preimg_subseteq_dom,subseteq,funs,funs_is_function,neighborhood,open_in,topology_on,pow_iff,inter_intro,img_of_function_intro,function_apply_elim,preimg_iff,unions_iff}.
\end{subproof}
Hence $\preimg{f}{V}\subseteq \unions{M}$ by \cref{subseteq}.
Therefore $\unions{M}\in T$ and $\unions{M}\subseteq \preimg{f}{V}$
by \cref{subseteq,pow_iff,topology_on,unions_subseteq_of_powerset_is_subseteq}.
Hence $\preimg{f}{V}$ is open in $X$ with respect to $T$ by \cref{subseteq_antisymmetric,open_in}.
\end{subproof}
Therefore $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by \cref{continuous}.
\end{proof}
$f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $T_1$ iff $f$ is a bijection from $X$ to $Y$ and $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ and $\converse{f}$ is continuous from $Y$ to $X$ with respect to $T_1$ and $T$.
LaTeX source
\begin{definition}
\label{homeomorphism}
$f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $T_1$ iff
$f$ is a bijection from $X$ to $Y$ and
$f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ and
$\converse{f}$ is continuous from $Y$ to $X$ with respect to $T_1$ and $T$.
\end{definition}
$P$ is a topological property iff for all $X,Y,T,T_1,f$ such that $f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $T_1$ we have $(X,T)\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ iff $(Y,T_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
LaTeX source
\begin{definition}
\label{topological_property}
$P$ is a topological property iff
for all $X,Y,T,T_1,f$ such that
$f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $T_1$
we have $(X,T)\in P$ iff $(Y,T_1)\in P$.
\end{definition}
$f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$ iff $f$ is a function from $X$ to $Y$ and $f$ is injective and $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ and $f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to $T$ and $\subspaceTopology{T_1}{\img{f}{X}}$.
LaTeX source
\begin{definition}
\label{topological_embedding}
$f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$ iff
$f$ is a function from $X$ to $Y$ and
$f$ is injective and
$f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ and
$f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to
$T$ and $\subspaceTopology{T_1}{\img{f}{X}}$.
\end{definition}
Assume $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Suppose $f$ is a function from $X$ to $Y$.
Suppose there exists $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f(x) = y_0$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{lemma}
\label{constant_continuous}
Assume $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Suppose $f$ is a function from $X$ to $Y$.
Suppose there exists $y_0\in Y$ such that for all $x\in X$ we have $f(x) = y_0$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{lemma}
Proof
Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Take $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f(x) = y_0$.
We have $\preimg{f}{V}$ is open in $X$ with respect to $T$ by Definition 1, Definition 55, Definition 101, Definition 103, Proposition 3, Proposition 6, Proposition 246, Proposition 249, Proposition 348, Proposition 355, Proposition 356.
We have $\preimg{f}{V}$ is open in $X$ with respect to $T$ by Definition 1, Definition 55, Definition 101, Definition 103, Proposition 3, Proposition 11, Proposition 246, Proposition 249, Proposition 345, Proposition 349, Proposition 355, Proposition 356.
LaTeX source
\begin{byCase}
\caseOf{$y_0\in V$.}
We have $\preimg{f}{V}$ is open in $X$ with respect to $T$ by
\cref{funs,funs_is_function,funs_is_relation,function_apply_elim,preimg_iff,subseteq,preimg_subseteq_dom,subseteq_transitive,subseteq_antisymmetric,open_in,topology_on}.
\caseOf{$y_0\notin V$.}
We have $\preimg{f}{V}$ is open in $X$ with respect to $T$ by
\cref{preimg_iff,funs,funs_is_function,function_rightunique,funs_is_relation,preimg_subseteq_dom,subseteq,function_apply_iff,emptyset_subseteq,subseteq_antisymmetric,open_in,topology_on}.
\end{byCase}
Hence $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by Definition 160.
LaTeX source
\begin{proof}
Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_1$
we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Take $y_0\in Y$ such that for all $x\in X$ we have $f(x) = y_0$.
\begin{byCase}
\caseOf{$y_0\in V$.}
We have $\preimg{f}{V}$ is open in $X$ with respect to $T$ by
\cref{funs,funs_is_function,funs_is_relation,function_apply_elim,preimg_iff,subseteq,preimg_subseteq_dom,subseteq_transitive,subseteq_antisymmetric,open_in,topology_on}.
\caseOf{$y_0\notin V$.}
We have $\preimg{f}{V}$ is open in $X$ with respect to $T$ by
\cref{preimg_iff,funs,funs_is_function,function_rightunique,funs_is_relation,preimg_subseteq_dom,subseteq,function_apply_iff,emptyset_subseteq,subseteq_antisymmetric,open_in,topology_on}.
\end{byCase}
\end{subproof}
Hence $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by \cref{continuous}.
\end{proof}
Assume $A$ is a subspace of $X$ with respect to $T$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $j = \identity{A}$.
Then $j$ is continuous from $A$ to $X$ with respect to $T_A$ and $T$.
LaTeX source
\begin{lemma}
\label{inclusion_continuous}
Assume $A$ is a subspace of $X$ with respect to $T$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $j = \identity{A}$.
Then $j$ is continuous from $A$ to $X$ with respect to $T_A$ and $T$.
\end{lemma}
Proof
$T_A$ is a topology on $A$ by Definition 147, Lemma 131.
We have $T$ is a topology on $X$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 147.
Hence $j\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{A}$ and $j\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{X}$ by Proposition 360, Proposition 406.
Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ we have $\preimg{j}{U} = A\inter U$.
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
Claim: $\preimg{j}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A\inter U$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{j}{U}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter U$ by Proposition 61, Proposition 246, Proposition 293.
Claim: $A\inter U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{j}{U}$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter U$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{j}{U}$ by Definition 5, Proposition 246, Proposition 293.
Hence $\preimg{j}{U} = A\inter U$ by Proposition 3.
Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ we have $\preimg{j}{U}$ is open in $A$ with respect to $T_A$.
Hence $j$ is continuous from $A$ to $X$ with respect to $T_A$ and $T$ by Definition 160.
LaTeX source
\begin{proof}
$T_A$ is a topology on $A$ by \cref{subspace_topology_is_topology,subspace_of}.
We have $T$ is a topology on $X$ and $A\subseteq X$ by \cref{subspace_of}.
Hence $j\in\funs{A}{A}$ and $j\in\funs{A}{X}$ by \cref{id_elem_funs,funs_weaken_codom}.
Show that for all $U$ such that $U$ is open in $X$ with respect to $T$ we have
$\preimg{j}{U} = A\inter U$.
\begin{subproof}
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
Show that $\preimg{j}{U}\subseteq A\inter U$.
\begin{subproof}
For all $x$ such that $x\in\preimg{j}{U}$ we have $x\in A\inter U$
by \cref{preimg_iff,id_iff,inter_intro}.
\end{subproof}
Show that $A\inter U\subseteq\preimg{j}{U}$.
\begin{subproof}
For all $x$ such that $x\in A\inter U$ we have $x\in\preimg{j}{U}$
by \cref{preimg_iff,id_iff,inter}.
\end{subproof}
Hence $\preimg{j}{U} = A\inter U$ by \cref{subseteq_antisymmetric}.
\end{subproof}
Show that for all $U$ such that $U$ is open in $X$ with respect to $T$ we have
$\preimg{j}{U}$ is open in $A$ with respect to $T_A$.
\begin{subproof}
Follows by \cref{preimg_iff,id_iff,inter_intro,inter,subseteq,subseteq_antisymmetric,subspace_topology,open_in}.
\end{subproof}
Hence $j$ is continuous from $A$ to $X$ with respect to $T_A$ and $T$ by \cref{continuous}.
\end{proof}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Assume $g$ is continuous from $Y$ to $Z$ with respect to $T_1$ and $T_2$.
Then $g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_2$.
LaTeX source
\begin{lemma}
\label{continuous_composite}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Assume $g$ is continuous from $Y$ to $Z$ with respect to $T_1$ and $T_2$.
Then $g\circ f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_2$.
\end{lemma}
Proof
$g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ by Definition 160, Proposition 382.
$T$ is a topology on $X$ and $T_2$ is a topology on $Z$ by Definition 160.
Claim: For all $V$ such that $V$ is open in $Z$ with respect to $T_2$ we have $\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$ is open in $X$ with respect to $T$.
Fix $V$ such that $V$ is open in $Z$ with respect to $T_2$.
Claim: $\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{f}{\preimg{g}{V}}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{\preimg{g}{V}}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ by Proposition 246.
Take $y$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(y,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Proposition 257.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g}{V}$ by Proposition 246.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{\preimg{g}{V}}$ by Proposition 246.
Hence $\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{f}{\preimg{g}{V}}$ by Definition 1.
Claim: $\preimg{f}{\preimg{g}{V}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{\preimg{g}{V}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{\preimg{g}{V}}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g}{V}$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Proposition 246.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ such that $(y,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Proposition 246.
Hence $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ by Proposition 257.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$ by Proposition 246.
Hence $\preimg{f}{\preimg{g}{V}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$ by Definition 1.
Therefore $\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V} = \preimg{f}{\preimg{g}{V}}$ by Proposition 3.
$\preimg{g}{V}$ is open in $Y$ with respect to $T_1$ by Definition 160.
Hence $\preimg{f}{\preimg{g}{V}}$ is open in $X$ with respect to $T$ by Definition 160.
Therefore $\preimg{g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f}{V}$ is open in $X$ with respect to $T$.
Therefore $g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_2$ by Definition 160.
LaTeX source
\begin{proof}
$g\circ f\in\funs{X}{Z}$ by \cref{continuous,funs_circ}.
$T$ is a topology on $X$ and $T_2$ is a topology on $Z$ by \cref{continuous}.
Show that for all $V$ such that $V$ is open in $Z$ with respect to $T_2$ we have
$\preimg{g\circ f}{V}$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $V$ such that $V$ is open in $Z$ with respect to $T_2$.
Show that $\preimg{g\circ f}{V}\subseteq\preimg{f}{\preimg{g}{V}}$.
\begin{subproof}
Show that for all $x$ such that $x\in\preimg{g\circ f}{V}$ we have $x\in\preimg{f}{\preimg{g}{V}}$.
\begin{subproof}
Fix $x$ such that $x\in\preimg{g\circ f}{V}$.
Take $z\in V$ such that $(x,z)\in g\circ f$ by \cref{preimg_iff}.
Take $y$ such that $(x,y)\in f$ and $(y,z)\in g$ by \cref{circ_iff}.
Hence $y\in\preimg{g}{V}$ by \cref{preimg_iff}.
Therefore $x\in\preimg{f}{\preimg{g}{V}}$ by \cref{preimg_iff}.
\end{subproof}
\end{subproof}
Hence $\preimg{g\circ f}{V}\subseteq\preimg{f}{\preimg{g}{V}}$ by \cref{subseteq}.
Show that $\preimg{f}{\preimg{g}{V}}\subseteq\preimg{g\circ f}{V}$.
\begin{subproof}
Show that for all $x$ such that $x\in\preimg{f}{\preimg{g}{V}}$ we have $x\in\preimg{g\circ f}{V}$.
\begin{subproof}
Fix $x$ such that $x\in\preimg{f}{\preimg{g}{V}}$.
Take $y\in\preimg{g}{V}$ such that $(x,y)\in f$ by \cref{preimg_iff}.
Take $z\in V$ such that $(y,z)\in g$ by \cref{preimg_iff}.
Hence $(x,z)\in g\circ f$ by \cref{circ_iff}.
Therefore $x\in\preimg{g\circ f}{V}$ by \cref{preimg_iff}.
\end{subproof}
\end{subproof}
Hence $\preimg{f}{\preimg{g}{V}}\subseteq\preimg{g\circ f}{V}$ by \cref{subseteq}.
Therefore $\preimg{g\circ f}{V} = \preimg{f}{\preimg{g}{V}}$ by \cref{subseteq_antisymmetric}.
$\preimg{g}{V}$ is open in $Y$ with respect to $T_1$ by \cref{continuous}.
Hence $\preimg{f}{\preimg{g}{V}}$ is open in $X$ with respect to $T$ by \cref{continuous}.
Therefore $\preimg{g\circ f}{V}$ is open in $X$ with respect to $T$.
\end{subproof}
Therefore $g\circ f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_2$ by \cref{continuous}.
\end{proof}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $g = \restrl{f}{A}$.
Then $g$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_1$.
LaTeX source
\begin{lemma}
\label{continuous_restrict_domain}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $g = \restrl{f}{A}$.
Then $g$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_1$.
\end{lemma}
Proof
$T_A$ is a topology on $A$ by Definition 147, Lemma 131.
Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{g}{V} = A\inter \preimg{f}{V}$.
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Claim: $\preimg{g}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A\inter \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} A\inter \preimg{f}{V}$ by Proposition 61, Proposition 246, Proposition 262.
Claim: $A\inter \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} A\inter \preimg{f}{V}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{g}{V}$ by Definition 5, Proposition 246, Proposition 262.
Hence $\preimg{g}{V} = A\inter \preimg{f}{V}$ by Proposition 3.
Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{g}{V}$ is open in $A$ with respect to $T_A$.
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $g$ is a function and $\dom{g} = A$ by Definition 55, Definition 147, Definition 160, Proposition 70, Proposition 356, Proposition 383, Corollary 3.
Hence $g$ is right-unique and $g$ is a relation.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $\dom{f} = X$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{f}$ by Definition 55, Definition 147, Proposition 6.
$\ran{g} = \img{f}{A}$ and $\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \ran{f}$ by Proposition 237, Proposition 272.
Therefore $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{X}{Y}$ and $\ran{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1, Proposition 284, Proposition 357.
Hence $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{Y}$ by Definition 1, Proposition 6, Proposition 208, Proposition 348, Proposition 358.
Therefore $T_1$ is a topology on $Y$ and $g$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_1$ by Definition 160.
LaTeX source
\begin{proof}
$T_A$ is a topology on $A$ by \cref{subspace_topology_is_topology,subspace_of}.
Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have
$\preimg{g}{V} = A\inter \preimg{f}{V}$.
\begin{subproof}
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Show that $\preimg{g}{V}\subseteq A\inter \preimg{f}{V}$.
\begin{subproof}
For all $x$ such that $x\in\preimg{g}{V}$ we have $x\in A\inter \preimg{f}{V}$
by \cref{preimg_iff,restrl_iff,inter_intro}.
\end{subproof}
Show that $A\inter \preimg{f}{V}\subseteq\preimg{g}{V}$.
\begin{subproof}
For all $x$ such that $x\in A\inter \preimg{f}{V}$ we have $x\in\preimg{g}{V}$
by \cref{inter,preimg_iff,restrl_iff}.
\end{subproof}
Hence $\preimg{g}{V} = A\inter \preimg{f}{V}$ by \cref{subseteq_antisymmetric}.
\end{subproof}
Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have
$\preimg{g}{V}$ is open in $A$ with respect to $T_A$.
\begin{subproof}
Follows by \cref{preimg_iff,restrl_iff,inter,inter_intro,subseteq,subseteq_antisymmetric,continuous,open_in,subspace_topology}.
\end{subproof}
We have $f\in\funs{X}{Y}$ and $g$ is a function and $\dom{g} = A$
by \cref{continuous,funs_is_function,restrl_of_function_is_function,dom_of_restrl_eq_inter,funs,inter_absorb_supseteq_left,subspace_of}.
Hence $g$ is right-unique and $g$ is a relation.
$A\subseteq X$ and $\dom{f} = X$ and $A\subseteq \dom{f}$
by \cref{subspace_of,funs,subseteq_transitive}.
$\ran{g} = \img{f}{A}$ and $\img{f}{A}\subseteq \ran{f}$ by \cref{restrl_ran,img_subseteq_ran}.
Therefore $f\in\rels{X}{Y}$ and $\ran{f}\subseteq Y$ by \cref{funs_subseteq_rels,subseteq,rels_ran_subseteq}.
Hence $g\in\funs{A}{Y}$ by
\cref{function_apply_elim,ran_iff,subseteq,funs_intro,subseteq_transitive}.
Therefore $T_1$ is a topology on $Y$ and
$g$ is continuous from $A$ to $Y$ with respect to $T_A$ and $T_1$ by \cref{continuous}.
\end{proof}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $Z$ is a subspace of $Y$ with respect to $T_1$.
Suppose $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$.
Let $T_Z = \subspaceTopology{T_1}{Z}$.
Then $f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_Z$.
LaTeX source
\begin{lemma}
\label{continuous_restrict_range}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $Z$ is a subspace of $Y$ with respect to $T_1$.
Suppose $\img{f}{X}\subseteq Z$.
Let $T_Z = \subspaceTopology{T_1}{Z}$.
Then $f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_Z$.
\end{lemma}
Proof
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $\dom{f} = X$ by Definition 55, Definition 160.
We have $T_1$ is a topology on $Y$ and $T_Z$ is a topology on $Z$ by Definition 147, Definition 160, Lemma 131.
For all $B$ such that $B$ is open in $Z$ with respect to $T_Z$ there exists $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ such that $B = Z\inter U$ by Definition 103, Definition 146.
Claim: For all $B$ such that $B$ is open in $Z$ with respect to $T_Z$ we have $\preimg{f}{B}$ is open in $X$ with respect to $T$.
Fix $B$ such that $B$ is open in $Z$ with respect to $T_Z$.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ such that $B = Z\inter U$ by Definition 103, Definition 146.
Claim: $\preimg{f}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{f}{U}$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$ by Proposition 63, Proposition 246.
Claim: $\preimg{f}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{f}{B}$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$ by Definition 1, Definition 55, Proposition 61, Proposition 246, Proposition 249, Proposition 349, Proposition 355, Proposition 356, Proposition 364.
Therefore $\preimg{f}{B} = \preimg{f}{U}$ by Proposition 3.
We have $U$ is open in $Y$ with respect to $T_1$ by Definition 103.
Therefore $\preimg{f}{B}$ is open in $X$ with respect to $T$ by Definition 160.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ by Definition 1, Proposition 208, Proposition 238, Proposition 348, Proposition 356, Proposition 358.
Therefore $f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_Z$ by Definition 160.
LaTeX source
\begin{proof}
$f\in\funs{X}{Y}$ and $\dom{f} = X$ by \cref{continuous,funs}.
We have $T_1$ is a topology on $Y$ and $T_Z$ is a topology on $Z$
by \cref{continuous,subspace_topology_is_topology,subspace_of}.
For all $B$ such that $B$ is open in $Z$ with respect to $T_Z$
there exists $U\in T_1$ such that $B = Z\inter U$ by \cref{subspace_topology,open_in}.
Show that for all $B$ such that $B$ is open in $Z$ with respect to $T_Z$
we have $\preimg{f}{B}$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $B$ such that $B$ is open in $Z$ with respect to $T_Z$.
Take $U\in T_1$ such that $B = Z\inter U$ by \cref{subspace_topology,open_in}.
Show that $\preimg{f}{B}\subseteq\preimg{f}{U}$.
\begin{subproof}
For all $x$ such that $x\in\preimg{f}{B}$ we have $x\in\preimg{f}{U}$
by \cref{preimg_iff,inter_elim_right}.
\end{subproof}
Show that $\preimg{f}{U}\subseteq\preimg{f}{B}$.
\begin{subproof}
For all $x$ such that $x\in\preimg{f}{U}$ we have $x\in\preimg{f}{B}$
by \cref{preimg_iff,preimg_subseteq_dom,funs,funs_is_function,funs_is_relation,function_apply_iff,img_of_function_intro,inter_intro,subseteq}.
\end{subproof}
Therefore $\preimg{f}{B} = \preimg{f}{U}$ by \cref{subseteq_antisymmetric}.
We have $U$ is open in $Y$ with respect to $T_1$ by \cref{open_in}.
Therefore $\preimg{f}{B}$ is open in $X$ with respect to $T$ by \cref{continuous}.
\end{subproof}
$f\in\funs{X}{Z}$ by
\cref{function_apply_elim,ran_iff,subseteq,funs_intro,funs_is_function,img_dom}.
Therefore $f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_Z$ by \cref{continuous}.
\end{proof}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $Y$ is a subspace of $Z$ with respect to $T_2$.
Let $T_Y = \subspaceTopology{T_2}{Y}$.
Suppose $T_1 = T_Y$.
Let $j = \identity{Y}$.
Then $j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_2$.
LaTeX source
\begin{lemma}
\label{continuous_expand_range}
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Suppose $Y$ is a subspace of $Z$ with respect to $T_2$.
Let $T_Y = \subspaceTopology{T_2}{Y}$.
Suppose $T_1 = T_Y$.
Let $j = \identity{Y}$.
Then $j\circ f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_2$.
\end{lemma}
Proof
Follows by Definition 1, Lemma 164, Lemma 165.
LaTeX source
\begin{proof}
Follows by \cref{inclusion_continuous,subseteq,continuous_composite}.
\end{proof}
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Assume $f$ is a function from $X$ to $Y$.
Suppose $M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T$.
Suppose $\unions{M} = X$.
Suppose for all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $\restrl{f}{U}$ is continuous from $U$ to $Y$ with respect to $\subspaceTopology{T}{U}$ and $T_1$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{lemma}
\label{continuous_local}
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Assume $f$ is a function from $X$ to $Y$.
Suppose $M\subseteq T$.
Suppose $\unions{M} = X$.
Suppose for all $U$ such that $U\in M$ we have
$\restrl{f}{U}$ is continuous from $U$ to $Y$ with respect to
$\subspaceTopology{T}{U}$ and $T_1$.
Then $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{lemma}
Proof
Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Let $N = \{W\class{latex-symbol-tip latex-symbol-id-in}{\in} T \mid W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{V}\}$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{V}$ 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{f}{V}$.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 4, Definition 1, Definition 55, Proposition 249.
Let $g = \restrl{f}{U}$.
We have $\preimg{g}{V}\class{latex-symbol-tip latex-symbol-id-in}{\in} N$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 147, Definition 160, Lemma 133, Proposition 246, Proposition 262.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$ by Axiom 4, Proposition 246, Proposition 262.
Hence $\preimg{f}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \unions{N}$ by Definition 1.
Therefore $\preimg{f}{V}$ is open in $X$ with respect to $T$ by Axiom 12, Definition 1, Definition 101, Definition 103, Proposition 3, Proposition 159.
Therefore $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by Definition 160.
LaTeX source
\begin{proof}
Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_1$
we have $\preimg{f}{V}$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $V$ such that $V$ is open in $Y$ with respect to $T_1$.
Let $N = \{W\in T \mid W\subseteq \preimg{f}{V}\}$.
Show that for all $x$ such that $x\in\preimg{f}{V}$ we have $x\in\unions{N}$.
\begin{subproof}
Fix $x$ such that $x\in\preimg{f}{V}$.
Take $U\in M$ such that $x\in U$ by \cref{unions_iff,subseteq,preimg_subseteq_dom,funs}.
Let $g = \restrl{f}{U}$.
We have $\preimg{g}{V}\in N$ by \cref{continuous,open_in,subseteq,topology_on,pow_iff,subspace_of,open_in_subspace_open_in_space,preimg_iff,restrl_iff}.
Therefore $x\in\unions{N}$ by \cref{restrl_iff,preimg_iff,unions_iff}.
\end{subproof}
Hence $\preimg{f}{V}\subseteq \unions{N}$ by \cref{subseteq}.
Therefore $\preimg{f}{V}$ is open in $X$ with respect to $T$ by
\cref{subseteq,pow_iff,topology_on,unions_subseteq_of_powerset_is_subseteq,subseteq_antisymmetric,open_in}.
\end{subproof}
Therefore $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by \cref{continuous}.
\end{proof}
Suppose $f$ is a function.
Suppose $g$ is a function.
Suppose for all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter\dom{g}$ we have $f(x) = g(x)$.
Then $f\union g$ is a function.
LaTeX source
\begin{lemma}
\label{union_compatible_functions}
Suppose $f$ is a function.
Suppose $g$ is a function.
Suppose for all $x$ such that $x\in\dom{f}\inter\dom{g}$ we have $f(x) = g(x)$.
Then $f\union g$ is a function.
\end{lemma}
Proof
$f$ is a relation and $g$ is a relation and $f\union g$ is a relation by Proposition 180, Proposition 355.
Claim: For all $x,y,z$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} f\union g$ and $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f\union g$ we have $y = z$.
Fix $x$.
Fix $y$.
Fix $z$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} f\union g$ and $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f\union g$.
We have $y = z$ by Definition 51, Proposition 345.
We have $y = z$ by Definition 51, Proposition 345.
We have $y = z$ by Definition 1, Proposition 61, Proposition 200, Proposition 349.
We have $y = z$ by Definition 1, Proposition 61, Proposition 200, Proposition 349.
LaTeX source
\begin{byCase}
\caseOf{$(x,y)\in f$ and $(x,z)\in f$.}
We have $y = z$ by \cref{function_rightunique,rightunique}.
\caseOf{$(x,y)\in g$ and $(x,z)\in g$.}
We have $y = z$ by \cref{function_rightunique,rightunique}.
\caseOf{$(x,y)\in f$ and $(x,z)\in g$.}
We have $y = z$ by \cref{dom_intro,inter_intro,subseteq,function_apply_iff}.
\caseOf{$(x,y)\in g$ and $(x,z)\in f$.}
We have $y = z$ by \cref{dom_intro,inter_intro,subseteq,function_apply_iff}.
\end{byCase}
Hence $f\union g$ is a function by Definition 12, Definition 51.
LaTeX source
\begin{proof}
$f$ is a relation and $g$ is a relation and $f\union g$ is a relation
by \cref{funs_is_relation,union_relations_is_relation}.
Show that for all $x,y,z$ such that $(x,y)\in f\union g$ and $(x,z)\in f\union g$ we have $y = z$.
\begin{subproof}
Fix $x$.
Fix $y$.
Fix $z$ such that $(x,y)\in f\union g$ and $(x,z)\in f\union g$.
\begin{byCase}
\caseOf{$(x,y)\in f$ and $(x,z)\in f$.}
We have $y = z$ by \cref{function_rightunique,rightunique}.
\caseOf{$(x,y)\in g$ and $(x,z)\in g$.}
We have $y = z$ by \cref{function_rightunique,rightunique}.
\caseOf{$(x,y)\in f$ and $(x,z)\in g$.}
We have $y = z$ by \cref{dom_intro,inter_intro,subseteq,function_apply_iff}.
\caseOf{$(x,y)\in g$ and $(x,z)\in f$.}
We have $y = z$ by \cref{dom_intro,inter_intro,subseteq,function_apply_iff}.
\end{byCase}
\end{subproof}
Hence $f\union g$ is a function by \cref{rightunique,relation}.
\end{proof}
Assume $X = A\union B$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $f$ is continuous from $A$ to $Y$ with respect to $\subspaceTopology{T}{A}$ and $T_1$.
Assume $g$ is continuous from $B$ to $Y$ with respect to $\subspaceTopology{T}{B}$ and $T_1$.
Suppose for all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter B$ we have $f(x) = g(x)$.
Let $h = f\union g$.
Then $h$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{theorem}
\label{pasting_lemma}
Assume $X = A\union B$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $f$ is continuous from $A$ to $Y$ with respect to $\subspaceTopology{T}{A}$ and $T_1$.
Assume $g$ is continuous from $B$ to $Y$ with respect to $\subspaceTopology{T}{B}$ and $T_1$.
Suppose for all $x$ such that $x\in A\inter B$ we have $f(x) = g(x)$.
Let $h = f\union g$.
Then $h$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{theorem}
Proof
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{Y}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{B}{Y}$ and $\dom{f} = A$ and $\dom{g} = B$ by Definition 55, Definition 160.
$h$ is a function by Definition 1, Definition 5, Lemma 170, Proposition 356.
Claim: For all $C$ such that $C$ is closed in $Y$ with respect to $T_1$ we have $\preimg{h}{C}$ is closed in $X$ with respect to $T$.
Fix $C$ such that $C$ is closed in $Y$ with respect to $T_1$.
Let $A_1 = \preimg{f}{C}$.
Let $B_1 = \preimg{g}{C}$.
Let $D = Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} C$.
$\preimg{f}{D}$ is open in $A$ with respect to $\subspaceTopology{T}{A}$ and $\preimg{g}{D}$ is open in $B$ with respect to $\subspaceTopology{T}{B}$ by Definition 149, Definition 160.
$\preimg{f}{D} = A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A_1$ and $\preimg{g}{D} = B\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B_1$ by Definition 149, Definition 160, Lemma 157, Proposition 97.
We have $A_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ and $B_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Definition 55, Definition 160, Proposition 249.
Therefore $A_1 = A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{D}$ and $B_1 = B\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{g}{D}$ by Definition 1, Proposition 70, Proposition 91.
Hence $A_1$ is closed in $A$ with respect to $\subspaceTopology{T}{A}$ and $B_1$ is closed in $B$ with respect to $\subspaceTopology{T}{B}$ and $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is open in $X$ with respect to $T$ by Definition 149.
$A_1$ is closed in $X$ with respect to $T$ and $B_1$ is closed in $X$ with respect to $T$ by Definition 101, Definition 103, Definition 149, Theorem 9.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{h}{C}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1\union B_1$ by Axiom 5, Proposition 246.
We have $\preimg{h}{C}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A_1\union B_1$ by Definition 1.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1\union B_1$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{h}{C}$ by Axiom 5, Proposition 38, Proposition 39, Proposition 246.
Therefore $A_1\union B_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{h}{C}$ by Definition 1.
Therefore $\preimg{h}{C} = A_1\union B_1$ by Proposition 3.
Hence $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} (A_1\union B_1)$ is open in $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103, Definition 149, Proposition 94.
Therefore $A_1\union B_1$ is closed in $X$ with respect to $T$ by Definition 55, Definition 149, Proposition 6, Proposition 44, Proposition 249.
Hence $\preimg{h}{C}$ is closed in $X$ with respect to $T$ by Definition 1.
$\dom{h} = X$ by Proposition 205.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{A}{Y}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{B}{Y}$ and $\ran{h} = \ran{f}\union\ran{g}$ by Definition 1, Proposition 214, Proposition 357.
Hence $\ran{h}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Proposition 44, Proposition 284.
Therefore $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ by Definition 1, Proposition 208, Proposition 348, Proposition 358.
Hence $h$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ by Definition 103, Definition 149, Definition 160, Lemma 160.
LaTeX source
\begin{proof}
$f\in\funs{A}{Y}$ and $g\in\funs{B}{Y}$
and $\dom{f} = A$ and $\dom{g} = B$ by \cref{continuous,funs}.
$h$ is a function by \cref{inter,funs_is_function,subseteq,union_compatible_functions}.
Show that for all $C$ such that $C$ is closed in $Y$ with respect to $T_1$
we have $\preimg{h}{C}$ is closed in $X$ with respect to $T$.
\begin{subproof}
Fix $C$ such that $C$ is closed in $Y$ with respect to $T_1$.
Let $A_1 = \preimg{f}{C}$.
Let $B_1 = \preimg{g}{C}$.
Let $D = Y\setminus C$.
$\preimg{f}{D}$ is open in $A$ with respect to $\subspaceTopology{T}{A}$ and
$\preimg{g}{D}$ is open in $B$ with respect to $\subspaceTopology{T}{B}$ by \cref{closed_in,continuous}.
$\preimg{f}{D} = A\setminus A_1$ and $\preimg{g}{D} = B\setminus B_1$ by
\cref{continuous,closed_in,setminus_subseteq,preimg_setminus_function}.
We have $A_1\subseteq A$ and $B_1\subseteq B$ by \cref{continuous,preimg_subseteq_dom,funs}.
Therefore $A_1 = A\setminus \preimg{f}{D}$ and $B_1 = B\setminus \preimg{g}{D}$
by \cref{subseteq,setminus_setminus,inter_absorb_supseteq_left}.
Hence $A_1$ is closed in $A$ with respect to $\subspaceTopology{T}{A}$ and
$B_1$ is closed in $B$ with respect to $\subspaceTopology{T}{B}$ and
$X\setminus A$ is open in $X$ with respect to $T$ by \cref{closed_in}.
$A_1$ is closed in $X$ with respect to $T$ and $B_1$ is closed in $X$ with respect to $T$
by \cref{closed_in,open_in,topology_on,closed_in_closed_subspace}.
For all $x$ such that $x\in\preimg{h}{C}$ we have $x\in A_1\union B_1$ by
\cref{preimg_iff,union_iff}.
We have $\preimg{h}{C}\subseteq A_1\union B_1$ by \cref{subseteq}.
For all $x$ such that $x\in A_1\union B_1$ we have $x\in\preimg{h}{C}$ by
\cref{union_iff,preimg_iff,union_intro_left,union_intro_right}.
Therefore $A_1\union B_1\subseteq \preimg{h}{C}$ by \cref{subseteq}.
Therefore $\preimg{h}{C} = A_1\union B_1$ by \cref{subseteq_antisymmetric}.
Hence $X\setminus (A_1\union B_1)$ is open in $X$ with respect to $T$
by \cref{closed_in,open_in,topology_on,setminus_union,subseteq}.
Therefore $A_1\union B_1$ is closed in $X$ with respect to $T$ by
\cref{closed_in,preimg_subseteq_dom,funs,subseteq_transitive,union_subsets_is_subset}.
Hence $\preimg{h}{C}$ is closed in $X$ with respect to $T$ by \cref{subseteq}.
\end{subproof}
$\dom{h} = X$ by \cref{dom_union}.
$f\in\rels{A}{Y}$ and $g\in\rels{B}{Y}$ and $\ran{h} = \ran{f}\union\ran{g}$
by \cref{funs_subseteq_rels,subseteq,ran_union}.
Hence $\ran{h}\subseteq Y$ by \cref{rels_ran_subseteq,union_subsets_is_subset}.
Therefore $h\in\funs{X}{Y}$ by \cref{function_apply_elim,ran_iff,subseteq,funs_intro}.
Hence $h$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$
by \cref{continuous,closed_in,open_in,preimg_closed_implies_continuous}.
\end{proof}
Assume $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Let $T_2 = \productTopology{T}{T_1}{X}{Y}$.
Then $\piOne{X}{Y}$ is continuous from $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ to $X$ with respect to $T_2$ and $T$.
LaTeX source
\begin{lemma}
\label{projection_one_continuous}
Assume $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Let $T_2 = \productTopology{T}{T_1}{X}{Y}$.
Then $\piOne{X}{Y}$ is continuous from $X\times Y$ to $X$ with respect to $T_2$ and $T$.
\end{lemma}
Proof
$T_2$ is a topology on $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 141, Lemma 76, Lemma 126.
For all $p$ we have for all $x$ we have for all $x'$ such that $p\mathrel{\piOne{X}{Y}} x$ and $p\mathrel{\piOne{X}{Y}} x'$ we have $x = x'$ by Axiom 6, Definition 142.
Therefore $\piOne{X}{Y}$ is a function by Axiom 6, Definition 12, Definition 51, Definition 142.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\piOne{X}{Y}}$ we have $\apply{\piOne{X}{Y}}{p}\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Axiom 6, Definition 142, Proposition 199, Proposition 346.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\piOne{X}{Y}}$ by Definition 142, Proposition 121, Proposition 200.
Hence $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{\piOne{X}{Y}}$ by Definition 1.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\piOne{X}{Y}}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Axiom 6, Definition 7, Definition 142, Proposition 199.
Therefore $\dom{\piOne{X}{Y}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 1.
Hence $\dom{\piOne{X}{Y}} = X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Proposition 3.
Therefore $\piOne{X}{Y}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}{X}$ by Proposition 358.
For all $U$ such that $U$ is open in $X$ with respect to $T$ we have $\preimg{\piOne{X}{Y}}{U}$ is open in $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T_2$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 140, Definition 141, Lemma 77, Lemma 126, Lemma 128, Proposition 143.
Therefore $\piOne{X}{Y}$ is continuous from $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ to $X$ with respect to $T_2$ and $T$ by Definition 160.
LaTeX source
\begin{proof}
$T_2$ is a topology on $X\times Y$ by \cref{basis_topology_is_topology,product_basis_is_basis,product_topology}.
For all $p$ we have for all $x$ we have for all $x'$ such that
$p\mathrel{\piOne{X}{Y}} x$ and $p\mathrel{\piOne{X}{Y}} x'$ we have $x = x'$
by \cref{projection_first,pair_eq_iff}.
Therefore $\piOne{X}{Y}$ is a function
by \cref{projection_first,pair_eq_iff,rightunique,relation}.
For all $p\in\dom{\piOne{X}{Y}}$ we have $\apply{\piOne{X}{Y}}{p}\in X$ by
\cref{dom_iff,projection_first,pair_eq_iff,function_apply_intro}.
For all $p$ such that $p\in X\times Y$ we have $p\in\dom{\piOne{X}{Y}}$ by
\cref{times_elem_is_tuple,projection_first,dom_intro}.
Hence $X\times Y\subseteq \dom{\piOne{X}{Y}}$ by \cref{subseteq}.
For all $p$ such that $p\in\dom{\piOne{X}{Y}}$ we have $p\in X\times Y$ by
\cref{dom_iff,projection_first,pair_eq_iff,times}.
Therefore $\dom{\piOne{X}{Y}}\subseteq X\times Y$ by \cref{subseteq}.
Hence $\dom{\piOne{X}{Y}} = X\times Y$ by \cref{subseteq_antisymmetric}.
Therefore $\piOne{X}{Y}\in\funs{X\times Y}{X}$ by \cref{funs_intro}.
For all $U$ such that $U$ is open in $X$ with respect to $T$ we have
$\preimg{\piOne{X}{Y}}{U}$ is open in $X\times Y$ with respect to $T_2$ by
\cref{open_in,topology_on,pow_iff,subseteq,times_subseteq_left,product_basis,product_basis_is_basis,basis_elem_open_in_generated,product_topology,preimg_pi1}.
Therefore $\piOne{X}{Y}$ is continuous from $X\times Y$ to $X$ with respect to $T_2$ and $T$ by \cref{continuous}.
\end{proof}
Assume $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Let $T_2 = \productTopology{T}{T_1}{X}{Y}$.
Then $\piTwo{X}{Y}$ is continuous from $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ to $Y$ with respect to $T_2$ and $T_1$.
LaTeX source
\begin{lemma}
\label{projection_two_continuous}
Assume $T$ is a topology on $X$ and $T_1$ is a topology on $Y$.
Let $T_2 = \productTopology{T}{T_1}{X}{Y}$.
Then $\piTwo{X}{Y}$ is continuous from $X\times Y$ to $Y$ with respect to $T_2$ and $T_1$.
\end{lemma}
Proof
$T_2$ is a topology on $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 141, Lemma 76, Lemma 126.
For all $p$ we have for all $y$ we have for all $y'$ such that $p\mathrel{\piTwo{X}{Y}} y$ and $p\mathrel{\piTwo{X}{Y}} y'$ we have $y = y'$ by Axiom 6, Definition 143.
Therefore $\piTwo{X}{Y}$ is a function by Axiom 6, Definition 12, Definition 51, Definition 143.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\piTwo{X}{Y}}$ we have $\apply{\piTwo{X}{Y}}{p}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Axiom 6, Definition 143, Proposition 199, Proposition 346.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\piTwo{X}{Y}}$ by Definition 143, Proposition 121, Proposition 200.
Hence $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{\piTwo{X}{Y}}$ by Definition 1.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\piTwo{X}{Y}}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Axiom 6, Definition 7, Definition 143, Proposition 199.
Therefore $\dom{\piTwo{X}{Y}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 1.
Hence $\dom{\piTwo{X}{Y}} = X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Proposition 3.
Therefore $\piTwo{X}{Y}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}{Y}$ by Proposition 358.
For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have $\preimg{\piTwo{X}{Y}}{V}$ is open in $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T_2$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 140, Definition 141, Lemma 77, Lemma 126, Lemma 129, Proposition 144.
Therefore $\piTwo{X}{Y}$ is continuous from $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ to $Y$ with respect to $T_2$ and $T_1$ by Definition 160.
LaTeX source
\begin{proof}
$T_2$ is a topology on $X\times Y$ by \cref{basis_topology_is_topology,product_basis_is_basis,product_topology}.
For all $p$ we have for all $y$ we have for all $y'$ such that
$p\mathrel{\piTwo{X}{Y}} y$ and $p\mathrel{\piTwo{X}{Y}} y'$ we have $y = y'$
by \cref{projection_second,pair_eq_iff}.
Therefore $\piTwo{X}{Y}$ is a function
by \cref{projection_second,pair_eq_iff,rightunique,relation}.
For all $p\in\dom{\piTwo{X}{Y}}$ we have $\apply{\piTwo{X}{Y}}{p}\in Y$ by
\cref{dom_iff,projection_second,pair_eq_iff,function_apply_intro}.
For all $p$ such that $p\in X\times Y$ we have $p\in\dom{\piTwo{X}{Y}}$ by
\cref{times_elem_is_tuple,projection_second,dom_intro}.
Hence $X\times Y\subseteq \dom{\piTwo{X}{Y}}$ by \cref{subseteq}.
For all $p$ such that $p\in\dom{\piTwo{X}{Y}}$ we have $p\in X\times Y$ by
\cref{dom_iff,projection_second,pair_eq_iff,times}.
Therefore $\dom{\piTwo{X}{Y}}\subseteq X\times Y$ by \cref{subseteq}.
Hence $\dom{\piTwo{X}{Y}} = X\times Y$ by \cref{subseteq_antisymmetric}.
Therefore $\piTwo{X}{Y}\in\funs{X\times Y}{Y}$ by \cref{funs_intro}.
For all $V$ such that $V$ is open in $Y$ with respect to $T_1$ we have
$\preimg{\piTwo{X}{Y}}{V}$ is open in $X\times Y$ with respect to $T_2$ by
\cref{open_in,topology_on,pow_iff,subseteq,times_subseteq_right,product_basis,product_basis_is_basis,product_topology,basis_elem_open_in_generated,preimg_pi2}.
Therefore $\piTwo{X}{Y}$ is continuous from $X\times Y$ to $Y$ with respect to $T_2$ and $T_1$ by \cref{continuous}.
\end{proof}
Assume $T_1$ is a topology on $X$ and $T_2$ is a topology on $Y$.
Assume $f$ is continuous from $A$ to $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T$ and $\productTopology{T_1}{T_2}{X}{Y}$.
Let $f_1 = \piOne{X}{Y}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
Let $f_2 = \piTwo{X}{Y}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
Then $f_1$ is continuous from $A$ to $X$ with respect to $T$ and $T_1$ and $f_2$ is continuous from $A$ to $Y$ with respect to $T$ and $T_2$.
LaTeX source
\begin{lemma}
\label{continuous_map_into_product_forward}
Assume $T_1$ is a topology on $X$ and $T_2$ is a topology on $Y$.
Assume $f$ is continuous from $A$ to $X\times Y$ with respect to $T$ and
$\productTopology{T_1}{T_2}{X}{Y}$.
Let $f_1 = \piOne{X}{Y}\circ f$.
Let $f_2 = \piTwo{X}{Y}\circ f$.
Then $f_1$ is continuous from $A$ to $X$ with respect to $T$ and $T_1$ and
$f_2$ is continuous from $A$ to $Y$ with respect to $T$ and $T_2$.
\end{lemma}
Proof
Assume $f_1$ is continuous from $A$ to $X$ with respect to $T$ and $T_1$.
Assume $f_2$ is continuous from $A$ to $Y$ with respect to $T$ and $T_2$.
Let $f = \{(a,(f_1(a),f_2(a))) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
Then $f$ is continuous from $A$ to $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T$ and $\productTopology{T_1}{T_2}{X}{Y}$.
LaTeX source
\begin{lemma}
\label{continuous_map_into_product_backward}
Assume $f_1$ is continuous from $A$ to $X$ with respect to $T$ and $T_1$.
Assume $f_2$ is continuous from $A$ to $Y$ with respect to $T$ and $T_2$.
Let $f = \{(a,(f_1(a),f_2(a))) \mid a\in A\}$.
Then $f$ is continuous from $A$ to $X\times Y$ with respect to $T$ and
$\productTopology{T_1}{T_2}{X}{Y}$.
\end{lemma}
Proof
Let $T_3 = \productTopology{T_1}{T_2}{X}{Y}$.
Claim: For all $U$ such that $U$ is open in $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T_3$ we have $\preimg{f}{U}$ is open in $A$ with respect to $T$.
Fix $U$ such that $U$ is open in $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T_3$.
Take $M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \productBasis{T_1}{T_2}{X}{Y}$ such that $U = \unions{M}$ by Definition 103, Definition 115, Definition 141, Definition 160, Lemma 78, Lemma 126.
Let $N = \{\preimg{f}{B} \mid B\class{latex-symbol-tip latex-symbol-id-in}{\in} M\}$.
Claim: For all $C$ such that $C\class{latex-symbol-tip latex-symbol-id-in}{\in} N$ we have $C\class{latex-symbol-tip latex-symbol-id-in}{\in} T$.
Fix $C$ such that $C\class{latex-symbol-tip latex-symbol-id-in}{\in} N$.
Take $B\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $C = \preimg{f}{B}$.
Take $U_1,V_1$ such that $U_1\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ and $V_1\class{latex-symbol-tip latex-symbol-id-in}{\in} T_2$ and $B = U_1\class{latex-symbol-tip latex-symbol-id-times}{\times} V_1$ by Definition 1, Definition 140.
For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}$ by Axiom 6, Definition 160, Proposition 61, Proposition 121, Proposition 246, Proposition 348, Proposition 359.
Hence $\preimg{f}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}$ by Definition 1.
For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$ by Axiom 6, Definition 5, Definition 160, Proposition 115, Proposition 200, Proposition 246, Proposition 346, Proposition 359.
Therefore $\preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{B}$ by Definition 1.
Hence $C\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 101, Definition 103, Definition 160, Proposition 3.
$T$ is a topology on $A$ and $\unions{N}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 1, Definition 101, Definition 160.
Claim: For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$.
Fix $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$.
Take $b\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ such that $(a,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Proposition 246.
Take $B\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $b\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 4.
Hence $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$ by Proposition 246.
We have $\preimg{f}{B}\class{latex-symbol-tip latex-symbol-id-in}{\in} N$.
Therefore $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$ by Axiom 4.
Hence $\preimg{f}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \unions{N}$ by Definition 1.
Claim: For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$.
Fix $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N}$.
Take $C\class{latex-symbol-tip latex-symbol-id-in}{\in} N$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Axiom 4.
Take $B\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $C = \preimg{f}{B}$.
Take $b\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ such that $(a,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Proposition 246.
Hence $b\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 4.
Therefore $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$ by Proposition 246.
Hence $\unions{N}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{U}$ by Definition 1.
Therefore $\preimg{f}{U} = \unions{N}$ by Proposition 3.
Hence $\preimg{f}{U}$ is open in $A$ with respect to $T$ by Definition 1, Definition 103.
For all $x,y,z$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ we have $y = z$ by Axiom 6.
Hence $f$ is a function by Axiom 6, Definition 12, Definition 51.
We have $\dom{f} = A$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
Therefore $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}$ by Definition 160, Proposition 115, Proposition 346, Proposition 358, Proposition 359.
Hence $f$ is continuous from $A$ to $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T$ and $T_3$ by Definition 141, Definition 160, Lemma 76, Lemma 126.
LaTeX source
\begin{proof}
Let $T_3 = \productTopology{T_1}{T_2}{X}{Y}$.
Show that for all $U$ such that $U$ is open in $X\times Y$ with respect to $T_3$
we have $\preimg{f}{U}$ is open in $A$ with respect to $T$.
\begin{subproof}
Fix $U$ such that $U$ is open in $X\times Y$ with respect to $T_3$.
Take $M\subseteq \productBasis{T_1}{T_2}{X}{Y}$ such that $U = \unions{M}$ by
\cref{open_in,continuous,basis_for_topology,product_basis_is_basis,product_topology,basis_topology_unions}.
Let $N = \{\preimg{f}{B} \mid B\in M\}$.
Show that for all $C$ such that $C\in N$ we have $C\in T$.
\begin{subproof}
Fix $C$ such that $C\in N$.
Take $B\in M$ such that $C = \preimg{f}{B}$.
Take $U_1,V_1$ such that $U_1\in T_1$ and $V_1\in T_2$ and $B = U_1\times V_1$
by \cref{subseteq,product_basis}.
For all $a$ such that $a\in\preimg{f}{B}$ we have
$a\in\preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}$ by
\cref{preimg_iff,times_elem_is_tuple,pair_eq_iff,continuous,funs_elim,function_apply_elim,inter_intro}.
Hence $\preimg{f}{B}\subseteq \preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}$ by \cref{subseteq}.
For all $a$ such that $a\in\preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}$ we have
$a\in\preimg{f}{B}$ by
\cref{inter,preimg_iff,continuous,funs_elim,function_apply_intro,dom_intro,times_tuple_intro,pair_eq_iff}.
Therefore $\preimg{f_1}{U_1}\inter \preimg{f_2}{V_1}\subseteq \preimg{f}{B}$ by \cref{subseteq}.
Hence $C\in T$ by \cref{continuous,open_in,topology_on,subseteq_antisymmetric}.
\end{subproof}
$T$ is a topology on $A$ and $\unions{N}\in T$ by \cref{continuous,topology_on,subseteq}.
Show that for all $a$ such that $a\in\preimg{f}{U}$ we have $a\in\unions{N}$.
\begin{subproof}
Fix $a$ such that $a\in\preimg{f}{U}$.
Take $b\in U$ such that $(a,b)\in f$ by \cref{preimg_iff}.
Take $B\in M$ such that $b\in B$ by \cref{unions_iff}.
Hence $a\in\preimg{f}{B}$ by \cref{preimg_iff}.
We have $\preimg{f}{B}\in N$.
Therefore $a\in\unions{N}$ by \cref{unions_iff}.
\end{subproof}
Hence $\preimg{f}{U}\subseteq \unions{N}$ by \cref{subseteq}.
Show that for all $a$ such that $a\in\unions{N}$ we have $a\in\preimg{f}{U}$.
\begin{subproof}
Fix $a$ such that $a\in\unions{N}$.
Take $C\in N$ such that $a\in C$ by \cref{unions_iff}.
Take $B\in M$ such that $C = \preimg{f}{B}$.
Take $b\in B$ such that $(a,b)\in f$ by \cref{preimg_iff}.
Hence $b\in U$ by \cref{unions_iff}.
Therefore $a\in\preimg{f}{U}$ by \cref{preimg_iff}.
\end{subproof}
Hence $\unions{N}\subseteq \preimg{f}{U}$ by \cref{subseteq}.
Therefore $\preimg{f}{U} = \unions{N}$ by \cref{subseteq_antisymmetric}.
Hence $\preimg{f}{U}$ is open in $A$ with respect to $T$ by \cref{open_in,subseteq}.
\end{subproof}
For all $x,y,z$ such that $(x,y)\in f$ and $(x,z)\in f$ we have $y = z$ by \cref{pair_eq_iff}.
Hence $f$ is a function by \cref{relation,pair_eq_iff,rightunique}.
We have $\dom{f} = A$ by \cref{dom_iff,pair_eq_iff,dom_intro,subseteq,subseteq_antisymmetric}.
Therefore $f\in\funs{A}{X\times Y}$ by
\cref{continuous,funs_elim,times_tuple_intro,function_apply_intro,funs_intro}.
Hence $f$ is continuous from $A$ to $X\times Y$ with respect to $T$ and $T_3$ by
\cref{continuous,basis_topology_is_topology,product_basis_is_basis,product_topology}.
\end{proof}