Topology (Munkres)
§34 The Urysohn Metrization Theorem
Assume $X$ is metrizable with respect to $T$.
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Then $Y$ is metrizable with respect to $T_Y$.
LaTeX source
\begin{lemma}
\label{subspace_metrizable}
Assume $X$ is metrizable with respect to $T$.
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Then $Y$ is metrizable with respect to $T_Y$.
\end{lemma}
Proof
$T$ is a topology on $X$ and $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 147, Definition 185.
Take $d$ such that $d$ is a metric on $X$ and $T = \metricTopology{d}{X}$ by Definition 185.
Let $e = \restrl{d}{Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}$.
Claim: $e$ is a metric on $Y$.
$d\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X\class{latex-symbol-tip latex-symbol-id-times}{\times} X}{\reals}$ and $d$ is a function and $d$ is a relation and $\dom{d} = X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Definition 179, Proposition 355, Proposition 359.
Hence $Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Proposition 6, Proposition 143, Proposition 144.
$e$ is a function by Proposition 383.
$\dom{e} = (X\class{latex-symbol-tip latex-symbol-id-times}{\times} X)\inter(Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)$ by Axiom 6, Corollary 3.
$\dom{e} = Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 1, Proposition 3, Proposition 61, Proposition 269.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{e}$ we have $e(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 62, Proposition 361, Proposition 384, Corollary 3.
Hence $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}{\reals}$ by Proposition 358.
For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $e((x,y)) = d((x,y))$ by Definition 1, Proposition 115, Proposition 384.
Claim: For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $e((x,y)) \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$.
Follows by Definition 1, Definition 175, Definition 179.
Hence $e$ is nonnegative on $Y$ by Definition 175.
Claim: For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $e((x,y)) = 0$ iff $x = y$.
Follows by Definition 1, Definition 176, Definition 179.
Thus $e$ is zero-characterized on $Y$ by Definition 176.
Claim: For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $e((x,y)) = e((y,x))$.
Follows by Definition 1, Definition 177, Definition 179.
Hence $e$ is symmetric on $Y$ by Definition 177.
Claim: For all $x,y,z$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $e((x,y)) + e((y,z)) \class{latex-symbol-tip latex-symbol-id-geq}{\geq} e((x,z))$.
Follows by Definition 1, Definition 178, Definition 179.
Thus $e$ satisfies the triangle inequality on $Y$ by Definition 178.
Therefore $e$ is a metric on $Y$ by Definition 179.
Let $T_e = \metricTopology{e}{Y}$.
$T_Y$ is a topology on $Y$ and $T_e$ is a topology on $Y$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}{\reals}$ and $\dom{e} = Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 179, Definition 182, Lemma 76, Lemma 131, Lemma 194, Proposition 359.
$d\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X\class{latex-symbol-tip latex-symbol-id-times}{\times} X}{\reals}$ and $d$ is a function and $d$ is a relation and $\dom{d} = X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Definition 179, Proposition 355, Proposition 359.
Hence $Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{d}$ by Axiom 6, Proposition 6, Proposition 143, Proposition 144.
Claim: For all $U$ such that $U$ is open in $Y$ with respect to $T_Y$ we have $U$ is open in $Y$ with respect to $T_e$.
Fix $U$ such that $U$ is open in $Y$ with respect to $T_Y$.
Hence $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 12, Definition 1, Definition 101, Definition 103.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ such that $U = Y\inter V$ by Definition 103, Definition 146.
$V$ is open in $X$ with respect to $T$ by Definition 103.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ there exists $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $\metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.
Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 5.
Take $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Lemma 195.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $e((y,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 180.
$e((y,z)) = d((y,z))$.
$d((y,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 82.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 1, Definition 180.
Thus $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1, Proposition 61.
Hence $\metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
Hence $U$ is open in $Y$ with respect to $T_e$ by Definition 103, Lemma 195.
Claim: For all $U$ such that $U$ is open in $Y$ with respect to $T_e$ we have $U$ is open in $Y$ with respect to $T_Y$.
Fix $U$ such that $U$ is open in $Y$ with respect to $T_e$.
Hence $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 12, Definition 1, Definition 101, Definition 103.
Let $B = \metricBasis{e}{Y}$.
$B$ is a basis on $Y$ by Lemma 194.
Claim: For all $W\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $W$ is open in $Y$ with respect to $T_Y$.
Fix $W\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ such that there exists $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $W = \metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 181.
Take $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $W = \metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 181.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 180.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\inter\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Axiom 6.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $e((y,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 180.
$e((y,z)) = d((y,z))$.
$d((y,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 82.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 1, Definition 180.
Thus $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\inter\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Proposition 61.
Hence $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y\inter\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 1.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\inter\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\inter\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 5.
$d((y,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 180.
$e((y,z)) = d((y,z))$.
$e((y,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 82.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 180.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Axiom 6.
Hence $Y\inter\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} W$ by Definition 1.
Therefore $W = Y\inter\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Proposition 3.
$\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBasis{d}{X}$ by Definition 180, Definition 181, Proposition 155.
Hence $\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ is open in $X$ with respect to $T$ by Definition 103, Definition 182, Lemma 77, Lemma 194.
Therefore $W$ is open in $Y$ with respect to $T_Y$ by Definition 103, Definition 146.
Let $M = \{W\class{latex-symbol-tip latex-symbol-id-in}{\in} B \mid W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U\}$.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Take $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $\metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Lemma 195.
Let $W = \metricBall{e}{Y}{y}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 6, Definition 1, Definition 180, Definition 181, Proposition 155.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$ by Axiom 6, Definition 176, Definition 179, Definition 180, Lemma 82, Proposition 27.
Hence $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\unions{M}$ by Definition 1.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Trivial.
Hence $\unions{M}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
Therefore $U = \unions{M}$ by Proposition 3.
$M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_Y$ by Axiom 6, Definition 1, Definition 103.
$\unions{M}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Y$ by Axiom 12, Definition 1, Definition 101.
Therefore $U$ is open in $Y$ with respect to $T_Y$ by Definition 103, Proposition 3.
Hence $T_Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_e$ and $T_e\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_Y$ by Definition 1, Definition 103.
Thus $T_Y = T_e$ by Proposition 3.
Therefore $Y$ is metrizable with respect to $T_Y$ by Definition 185.
LaTeX source
\begin{proof}
$T$ is a topology on $X$ and $Y\subseteq X$ by \cref{metrizable,subspace_of}.
Take $d$ such that $d$ is a metric on $X$ and $T = \metricTopology{d}{X}$ by \cref{metrizable}.
Let $e = \restrl{d}{Y\times Y}$.
Show that $e$ is a metric on $Y$.
\begin{subproof}
$d\in\funs{X\times X}{\reals}$ and $d$ is a function and $d$ is a relation and $\dom{d} = X\times X$
by \cref{metric_on,funs_elim,funs_is_relation}.
Hence $Y\times Y\subseteq X\times X$ by \cref{times_subseteq_left,times_subseteq_right,subseteq_transitive}.
$e$ is a function by \cref{restrl_of_function_is_function}.
$\dom{e} = (X\times X)\inter(Y\times Y)$ by \cref{dom_of_restrl_eq_inter,pair_eq_iff}.
$\dom{e} = Y\times Y$ by \cref{subseteq,inter_intro,restrl_dom,subseteq_antisymmetric}.
For all $p\in\dom{e}$ we have $e(p)\in\reals$
by \cref{inter_elim_left,dom_of_restrl_eq_inter,funs_type_apply,restrl_of_function_apply}.
Hence $e\in\funs{Y\times Y}{\reals}$ by \cref{funs_intro}.
For all $x,y$ such that $x\in Y$ and $y\in Y$ we have $e((x,y)) = d((x,y))$
by \cref{times_tuple_intro,subseteq,restrl_of_function_apply}.
Show that for all $x,y$ such that $x\in Y$ and $y\in Y$ we have $e((x,y)) \geq 0$.
\begin{subproof}
Follows by \cref{subseteq,metric_on,metric_nonnegative}.
\end{subproof}
Hence $e$ is nonnegative on $Y$ by \cref{metric_nonnegative}.
Show that for all $x,y$ such that $x\in Y$ and $y\in Y$ we have $e((x,y)) = 0$ iff $x = y$.
\begin{subproof}
Follows by \cref{subseteq,metric_on,metric_zero_characterization}.
\end{subproof}
Thus $e$ is zero-characterized on $Y$ by \cref{metric_zero_characterization}.
Show that for all $x,y$ such that $x\in Y$ and $y\in Y$ we have $e((x,y)) = e((y,x))$.
\begin{subproof}
Follows by \cref{subseteq,metric_on,metric_symmetric}.
\end{subproof}
Hence $e$ is symmetric on $Y$ by \cref{metric_symmetric}.
Show that for all $x,y,z$ such that $x\in Y$ and $y\in Y$ and $z\in Y$
we have $e((x,y)) + e((y,z)) \geq e((x,z))$.
\begin{subproof}
Follows by \cref{subseteq,metric_on,metric_triangle_inequality}.
\end{subproof}
Thus $e$ satisfies the triangle inequality on $Y$ by \cref{metric_triangle_inequality}.
Therefore $e$ is a metric on $Y$ by \cref{metric_on}.
\end{subproof}
Let $T_e = \metricTopology{e}{Y}$.
$T_Y$ is a topology on $Y$ and $T_e$ is a topology on $Y$ and
$e\in\funs{Y\times Y}{\reals}$ and $\dom{e} = Y\times Y$
by \cref{subspace_topology_is_topology,metric_basis_is_basis,basis_topology_is_topology,metric_topology,metric_on,funs_elim}.
$d\in\funs{X\times X}{\reals}$ and $d$ is a function and $d$ is a relation and $\dom{d} = X\times X$
by \cref{metric_on,funs_elim,funs_is_relation}.
Hence $Y\times Y\subseteq\dom{d}$ by \cref{times_subseteq_left,times_subseteq_right,subseteq_transitive,pair_eq_iff}.
Show that for all $U$ such that $U$ is open in $Y$ with respect to $T_Y$ we have $U$ is open in $Y$ with respect to $T_e$.
\begin{subproof}
Fix $U$ such that $U$ is open in $Y$ with respect to $T_Y$.
Hence $U\subseteq Y$ by \cref{open_in,topology_on,subseteq,pow_iff}.
Take $V\in T$ such that $U = Y\inter V$ by \cref{subspace_topology,open_in}.
$V$ is open in $X$ with respect to $T$ by \cref{open_in}.
$V\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
Show that for all $y\in U$ there exists $\delta\in\reals$ such that $0 < \delta$ and $\metricBall{e}{Y}{y}{\delta}\subseteq U$.
\begin{subproof}
Fix $y\in U$.
Hence $y\in Y$ and $y\in V$ by \cref{inter}.
Take $\delta\in\reals$ such that $0 < \delta$ and $\metricBall{d}{X}{y}{\delta}\subseteq V$
by \cref{metric_open_iff}.
Show that for all $z$ such that $z\in\metricBall{e}{Y}{y}{\delta}$ we have $z\in U$.
\begin{subproof}
Fix $z$ such that $z\in\metricBall{e}{Y}{y}{\delta}$.
Hence $z\in Y$ and $e((y,z)) < \delta$ by \cref{metric_ball}.
$e((y,z)) = d((y,z))$.
$d((y,z)) < \delta$ by \cref{real_lt_subst_left}.
$z\in\metricBall{d}{X}{y}{\delta}$ by \cref{metric_ball,subseteq}.
Thus $z\in U$ by \cref{subseteq,inter_intro}.
\end{subproof}
Hence $\metricBall{e}{Y}{y}{\delta}\subseteq U$ by \cref{subseteq}.
\end{subproof}
Hence $U$ is open in $Y$ with respect to $T_e$ by \cref{metric_open_iff,open_in}.
\end{subproof}
Show that for all $U$ such that $U$ is open in $Y$ with respect to $T_e$ we have $U$ is open in $Y$ with respect to $T_Y$.
\begin{subproof}
Fix $U$ such that $U$ is open in $Y$ with respect to $T_e$.
Hence $U\subseteq Y$ by \cref{open_in,topology_on,subseteq,pow_iff}.
Let $B = \metricBasis{e}{Y}$.
$B$ is a basis on $Y$ by \cref{metric_basis_is_basis}.
Show that for all $W\in B$ we have $W$ is open in $Y$ with respect to $T_Y$.
\begin{subproof}
Fix $W\in B$.
Take $y\in Y$ such that there exists $\delta\in\reals$ such that $0 < \delta$ and $W = \metricBall{e}{Y}{y}{\delta}$
by \cref{metric_basis}.
Take $\delta\in\reals$ such that $0 < \delta$ and $W = \metricBall{e}{Y}{y}{\delta}$ by \cref{metric_basis}.
Hence $y\in X$ by \cref{subseteq}.
$\metricBall{d}{X}{y}{\delta}\subseteq X$ by \cref{metric_ball,subseteq}.
Show that for all $z$ such that $z\in W$ we have $z\in Y\inter\metricBall{d}{X}{y}{\delta}$.
\begin{subproof}
Fix $z$ such that $z\in W$.
Hence $z\in\metricBall{e}{Y}{y}{\delta}$ by \cref{pair_eq_iff}.
$z\in Y$ and $e((y,z)) < \delta$ by \cref{metric_ball}.
$e((y,z)) = d((y,z))$.
$d((y,z)) < \delta$ by \cref{real_lt_subst_left}.
$z\in\metricBall{d}{X}{y}{\delta}$ by \cref{metric_ball,subseteq}.
Thus $z\in Y\inter\metricBall{d}{X}{y}{\delta}$ by \cref{inter_intro}.
\end{subproof}
Hence $W\subseteq Y\inter\metricBall{d}{X}{y}{\delta}$ by \cref{subseteq}.
Show that for all $z$ such that $z\in Y\inter\metricBall{d}{X}{y}{\delta}$ we have $z\in W$.
\begin{subproof}
Fix $z$ such that $z\in Y\inter\metricBall{d}{X}{y}{\delta}$.
Hence $z\in Y$ and $z\in\metricBall{d}{X}{y}{\delta}$ by \cref{inter}.
$d((y,z)) < \delta$ by \cref{metric_ball}.
$e((y,z)) = d((y,z))$.
$e((y,z)) < \delta$ by \cref{real_lt_subst_left}.
$z\in\metricBall{e}{Y}{y}{\delta}$ by \cref{metric_ball}.
$z\in W$ by \cref{pair_eq_iff}.
\end{subproof}
Hence $Y\inter\metricBall{d}{X}{y}{\delta}\subseteq W$ by \cref{subseteq}.
Therefore $W = Y\inter\metricBall{d}{X}{y}{\delta}$ by \cref{subseteq_antisymmetric}.
$\metricBall{d}{X}{y}{\delta}\in\metricBasis{d}{X}$ by \cref{metric_ball,powerset_intro,metric_basis}.
Hence $\metricBall{d}{X}{y}{\delta}$ is open in $X$ with respect to $T$
by \cref{metric_topology,metric_basis_is_basis,basis_elem_open_in_generated,open_in}.
Therefore $W$ is open in $Y$ with respect to $T_Y$ by \cref{subspace_topology,open_in}.
\end{subproof}
Let $M = \{W\in B \mid W\subseteq U\}$.
Show that for all $y$ such that $y\in U$ we have $y\in\unions{M}$.
\begin{subproof}
Fix $y$ such that $y\in U$.
Take $\delta\in\reals$ such that $0 < \delta$ and $\metricBall{e}{Y}{y}{\delta}\subseteq U$
by \cref{metric_open_iff}.
Let $W = \metricBall{e}{Y}{y}{\delta}$.
Hence $y\in Y$ by \cref{subseteq}.
$W\in B$ by \cref{metric_ball,subseteq,powerset_intro,metric_basis,pair_eq_iff}.
Therefore $y\in\unions{M}$
by \cref{metric_ball,real_lt_subst_left,metric_on,metric_zero_characterization,pair_eq_iff,unions_intro}.
\end{subproof}
Hence $U\subseteq\unions{M}$ by \cref{subseteq}.
Show that for all $y$ such that $y\in\unions{M}$ we have $y\in U$.
\begin{subproof}
Trivial.
\end{subproof}
Hence $\unions{M}\subseteq U$ by \cref{subseteq}.
Therefore $U = \unions{M}$ by \cref{subseteq_antisymmetric}.
$M\subseteq T_Y$ by \cref{pair_eq_iff,subseteq,open_in}.
$\unions{M}\in T_Y$ by \cref{topology_on,subseteq,pow_iff}.
Therefore $U$ is open in $Y$ with respect to $T_Y$ by \cref{subseteq_antisymmetric,open_in}.
\end{subproof}
Hence $T_Y\subseteq T_e$ and $T_e\subseteq T_Y$ by \cref{subseteq,open_in}.
Thus $T_Y = T_e$ by \cref{subseteq_antisymmetric}.
Therefore $Y$ is metrizable with respect to $T_Y$ by \cref{metrizable}.
\end{proof}
Assume $T$ is a topology on $X$.
Assume $S$ is a topology on $Y$.
Suppose $f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $S$.
If $Y$ is metrizable with respect to $S$ then $X$ is metrizable with respect to $T$.
LaTeX source
\begin{lemma}
\label{homeomorphism_preserves_metrizable}
Assume $T$ is a topology on $X$.
Assume $S$ is a topology on $Y$.
Suppose $f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $S$.
If $Y$ is metrizable with respect to $S$ then $X$ is metrizable with respect to $T$.
\end{lemma}
Proof
Assume $Y$ is metrizable with respect to $S$.
Let $g = \converse{f}$.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $f$ is a function and $\dom{f} = X$ by Definition 55, Definition 58, Definition 162, Proposition 356, Proposition 389.
Hence $f$ is injective by Definition 58, Definition 162.
$g$ is a bijection from $Y$ to $X$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\bijections{Y}{X}$ and $\dom{g} = Y$ and $g$ is a function by Definition 58, Definition 162, Proposition 390, Proposition 391, Proposition 398.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{X}$ by Proposition 389.
Take $d$ such that $d$ is a metric on $Y$ and $S = \metricTopology{d}{Y}$ by Definition 185.
Let $e = \{((x_1,x_2),d((f(x_1),f(x_2)))) \mid x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X, x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Claim: $e$ is a metric on $X$.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} e$ there exist $p,r$ such that $w = (p,r)$ by Axiom 6, Definition 12.
Hence $e$ is a relation by Definition 12.
For all $p,r_1,r_2$ such that $(p,r_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} e$ and $(p,r_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} e$ we have $r_1 = r_2$ by Axiom 6.
$e$ is right-unique by Definition 51.
$e$ is a function by Definition 12.
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} X$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{e}$ by Axiom 6, Definition 7, Definition 179, Proposition 115, Proposition 200, Proposition 361.
Hence $X\class{latex-symbol-tip latex-symbol-id-times}{\times} X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{e}$ by Definition 1.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{e}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Axiom 6, Proposition 115, Proposition 199.
$\dom{e}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Definition 1.
Hence $\dom{e} = X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Proposition 3.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{e}$ we have $e(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 6, Definition 179, Proposition 115, Proposition 199, Proposition 346, Proposition 361.
Hence $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X\class{latex-symbol-tip latex-symbol-id-times}{\times} X}{\reals}$ by Proposition 358.
For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $e((x,y)) = d((f(x),f(y)))$.
Claim: For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $e((x,y)) \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$.
Follows by Definition 175, Definition 179, Proposition 361.
Hence $e$ is nonnegative on $X$ by Definition 175.
Claim: For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $e((x,y)) = 0$ iff $x = y$.
Follows by Definition 176, Definition 179, Proposition 361, Proposition 386.
Thus $e$ is zero-characterized on $X$ by Definition 176.
Claim: For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $e((x,y)) = e((y,x))$.
Follows by Definition 177, Definition 179, Proposition 361.
Hence $e$ is symmetric on $X$ by Definition 177.
Claim: For all $x,y,z$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $e((x,y)) + e((y,z)) \class{latex-symbol-tip latex-symbol-id-geq}{\geq} e((x,z))$.
Follows by Definition 178, Definition 179, Proposition 361.
Thus $e$ satisfies the triangle inequality on $X$ by Definition 178.
Therefore $e$ is a metric on $X$ by Definition 179.
Let $T_e = \metricTopology{e}{X}$.
Hence $T_e$ is a topology on $X$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X\class{latex-symbol-tip latex-symbol-id-times}{\times} X}{\reals}$ and $e$ is a function and $e$ is a relation and $\dom{e} = X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Definition 55, Definition 179, Definition 182, Lemma 76, Lemma 194, Proposition 355, Proposition 356, Proposition 359.
Claim: 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_e$ and $S$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Claim: For all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ if $e((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ then $d((f(x),f(y))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Let $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Hence $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 82.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ if $e((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ then $d((f(x),f(y))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Assume $e((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$.
$e((x,y)) = d((f(x),f(y)))$.
$d((f(x),f(y))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 82.
Follows by definition.
Hence $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T_e$ and $S$ by Definition 55, Definition 185, Lemma 269.
Claim: $f$ is continuous from $X$ to $Y$ with respect to $T_e$ and $S$.
Follows by Definition 55, Definition 185, Lemma 162.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $g$ is continuous at $y$ from $Y$ to $X$ with respect to $S$ and $T_e$.
Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$.
Claim: For all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ if $d((y,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ then $e((g(y),g(z))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Follows by Axiom 6, Lemma 82, Proposition 186, Proposition 346, Proposition 348, Proposition 361.
Hence $g$ is continuous at $y$ from $Y$ to $X$ with respect to $S$ and $T_e$ by Definition 55, Definition 185, Lemma 269.
Claim: $g$ is continuous from $Y$ to $X$ with respect to $S$ and $T_e$.
Follows by Definition 55, Definition 185, Lemma 162.
Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ we have $U$ is open in $X$ with respect to $T_e$.
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
Hence $\img{f}{U}$ is open in $Y$ with respect to $S$ by Definition 55, Definition 160, Definition 162, Proposition 189, Proposition 247, Proposition 355.
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, Definition 162, Proposition 235, Proposition 246.
$\preimg{f}{\img{f}{U}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
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.
$U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{f}{\img{f}{U}}$ by Definition 1.
Thus $\preimg{f}{\img{f}{U}} = U$ by Proposition 3.
Therefore $U$ is open in $X$ with respect to $T_e$ by Definition 103, Definition 160, Proposition 3.
Claim: For all $U$ such that $U$ is open in $X$ with respect to $T_e$ we have $U$ is open in $X$ with respect to $T$.
Fix $U$ such that $U$ is open in $X$ with respect to $T_e$.
Hence $\preimg{g}{U}$ is open in $Y$ with respect to $S$ by Definition 160.
$\img{f}{U}$ is open in $Y$ with respect to $S$ by Definition 55, Proposition 189, Proposition 247, Proposition 355.
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, Definition 162, Proposition 235, Proposition 246.
Hence $\preimg{f}{\img{f}{U}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
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.
$U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{f}{\img{f}{U}}$ by Definition 1.
Thus $\preimg{f}{\img{f}{U}} = U$ by Proposition 3.
Therefore $U$ is open in $X$ with respect to $T$ by Definition 103, Definition 160, Definition 162, Proposition 3.
Hence $T\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_e$ and $T_e\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T$ by Definition 1, Definition 103.
Thus $T = T_e$ by Proposition 3.
Therefore $X$ is metrizable with respect to $T$ by Definition 185.
LaTeX source
\begin{proof}
Assume $Y$ is metrizable with respect to $S$.
Let $g = \converse{f}$.
$f\in\funs{X}{Y}$ and $f$ is a function and $\dom{f} = X$
by \cref{homeomorphism,bijections,bijections_to_funs,funs_is_function,funs}.
Hence $f$ is injective by \cref{homeomorphism,bijections}.
$g$ is a bijection from $Y$ to $X$ and $g\in\bijections{Y}{X}$ and $\dom{g} = Y$ and $g$ is a function
by \cref{homeomorphism,bijection_converse_is_bijection,bijections,bijections_dom,bijection_is_function}.
$g\in\funs{Y}{X}$ by \cref{bijections_to_funs}.
Take $d$ such that $d$ is a metric on $Y$ and $S = \metricTopology{d}{Y}$ by \cref{metrizable}.
Let $e = \{((x_1,x_2),d((f(x_1),f(x_2)))) \mid x_1\in X, x_2\in X\}$.
Show that $e$ is a metric on $X$.
\begin{subproof}
For all $w$ such that $w\in e$ there exist $p,r$ such that $w = (p,r)$ by \cref{relation,pair_eq_iff}.
Hence $e$ is a relation by \cref{relation}.
For all $p,r_1,r_2$ such that $(p,r_1)\in e$ and $(p,r_2)\in e$ we have $r_1 = r_2$
by \cref{pair_eq_iff}.
$e$ is right-unique by \cref{rightunique}.
$e$ is a function by \cref{relation}.
For all $p$ such that $p\in X\times X$ we have $p\in\dom{e}$
by \cref{times,funs_type_apply,times_tuple_intro,metric_on,pair_eq_iff,dom_intro}.
Hence $X\times X\subseteq\dom{e}$ by \cref{subseteq}.
For all $p$ such that $p\in\dom{e}$ we have $p\in X\times X$
by \cref{dom_iff,pair_eq_iff,times_tuple_intro}.
$\dom{e}\subseteq X\times X$ by \cref{subseteq}.
Hence $\dom{e} = X\times X$ by \cref{subseteq_antisymmetric}.
For all $p\in\dom{e}$ we have $e(p)\in\reals$
by \cref{dom_iff,function_apply_intro,pair_eq_iff,funs_type_apply,times_tuple_intro,metric_on}.
Hence $e\in\funs{X\times X}{\reals}$ by \cref{funs_intro}.
For all $x,y$ such that $x\in X$ and $y\in X$ we have $e((x,y)) = d((f(x),f(y)))$.
Show that for all $x,y$ such that $x\in X$ and $y\in X$ we have $e((x,y)) \geq 0$.
\begin{subproof}
Follows by \cref{funs_type_apply,metric_on,metric_nonnegative}.
\end{subproof}
Hence $e$ is nonnegative on $X$ by \cref{metric_nonnegative}.
Show that for all $x,y$ such that $x\in X$ and $y\in X$ we have $e((x,y)) = 0$ iff $x = y$.
\begin{subproof}
Follows by \cref{funs_type_apply,metric_on,metric_zero_characterization,injective_function}.
\end{subproof}
Thus $e$ is zero-characterized on $X$ by \cref{metric_zero_characterization}.
Show that for all $x,y$ such that $x\in X$ and $y\in X$ we have $e((x,y)) = e((y,x))$.
\begin{subproof}
Follows by \cref{funs_type_apply,metric_on,metric_symmetric}.
\end{subproof}
Hence $e$ is symmetric on $X$ by \cref{metric_symmetric}.
Show that for all $x,y,z$ such that $x\in X$ and $y\in X$ and $z\in X$
we have $e((x,y)) + e((y,z)) \geq e((x,z))$.
\begin{subproof}
Follows by \cref{funs_type_apply,metric_on,metric_triangle_inequality}.
\end{subproof}
Thus $e$ satisfies the triangle inequality on $X$ by \cref{metric_triangle_inequality}.
Therefore $e$ is a metric on $X$ by \cref{metric_on}.
\end{subproof}
Let $T_e = \metricTopology{e}{X}$.
Hence $T_e$ is a topology on $X$ and
$e\in\funs{X\times X}{\reals}$ and $e$ is a function and $e$ is a relation and $\dom{e} = X\times X$
by \cref{metric_basis_is_basis,basis_topology_is_topology,metric_topology,metric_on,funs_elim,funs_is_function,funs_is_relation,funs}.
Show that for all $x\in X$ we have $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T_e$ and $S$.
\begin{subproof}
Fix $x\in X$.
Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$
there exists $\delta\in\reals$ such that $0 < \delta$ and
for all $y\in X$ if $e((x,y)) < \delta$ then $d((f(x),f(y))) < \epsilon$.
\begin{subproof}
Fix $\epsilon\in\reals$.
Assume $0 < \epsilon$.
Let $\delta = \epsilon$.
Hence $\delta\in\reals$ and $0 < \delta$ by \cref{real_lt_subst_left}.
Show that for all $y\in X$ if $e((x,y)) < \delta$ then $d((f(x),f(y))) < \epsilon$.
\begin{subproof}
Fix $y\in X$.
Assume $e((x,y)) < \delta$.
$e((x,y)) = d((f(x),f(y)))$.
$d((f(x),f(y))) < \epsilon$ by \cref{real_lt_subst_left}.
\end{subproof}
Follows by definition.
\end{subproof}
Hence $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T_e$ and $S$
by \cref{metric_continuity_at_eps_delta,funs,metrizable}.
\end{subproof}
Show that $f$ is continuous from $X$ to $Y$ with respect to $T_e$ and $S$.
\begin{subproof}
Follows by \cref{continuous_at_implies_continuous,funs,metrizable}.
\end{subproof}
Show that for all $y\in Y$ we have $g$ is continuous at $y$ from $Y$ to $X$ with respect to $S$ and $T_e$.
\begin{subproof}
Fix $y\in Y$.
Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$
there exists $\delta\in\reals$ such that $0 < \delta$ and
for all $z\in Y$ if $d((y,z)) < \delta$ then $e((g(y),g(z))) < \epsilon$.
\begin{subproof}
Follows by \cref{funs_type_apply,function_apply_elim,converse_iff,function_apply_intro,real_lt_subst_left,pair_eq_iff}.
\end{subproof}
Hence $g$ is continuous at $y$ from $Y$ to $X$ with respect to $S$ and $T_e$
by \cref{metric_continuity_at_eps_delta,funs,metrizable}.
\end{subproof}
Show that $g$ is continuous from $Y$ to $X$ with respect to $S$ and $T_e$.
\begin{subproof}
Follows by \cref{continuous_at_implies_continuous,funs,metrizable}.
\end{subproof}
Show that for all $U$ such that $U$ is open in $X$ with respect to $T$ we have $U$ is open in $X$ with respect to $T_e$.
\begin{subproof}
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
Hence $\img{f}{U}$ is open in $Y$ with respect to $S$
by \cref{homeomorphism,continuous,funs_is_relation,funs,preim_eq_img_of_converse,converse_converse_eq}.
For all $x$ such that $x\in\preimg{f}{\img{f}{U}}$ we have $x\in U$
by \cref{homeomorphism,bijections,preimg_iff,img_iff,injective}.
$\preimg{f}{\img{f}{U}}\subseteq U$ by \cref{subseteq}.
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}.
$U\subseteq\preimg{f}{\img{f}{U}}$ by \cref{subseteq}.
Thus $\preimg{f}{\img{f}{U}} = U$ by \cref{subseteq_antisymmetric}.
Therefore $U$ is open in $X$ with respect to $T_e$ by \cref{subseteq_antisymmetric,continuous,open_in}.
\end{subproof}
Show that for all $U$ such that $U$ is open in $X$ with respect to $T_e$ we have $U$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $U$ such that $U$ is open in $X$ with respect to $T_e$.
Hence $\preimg{g}{U}$ is open in $Y$ with respect to $S$ by \cref{continuous}.
$\img{f}{U}$ is open in $Y$ with respect to $S$
by \cref{funs_is_relation,funs,preim_eq_img_of_converse,converse_converse_eq}.
For all $x$ such that $x\in\preimg{f}{\img{f}{U}}$ we have $x\in U$
by \cref{homeomorphism,bijections,preimg_iff,img_iff,injective}.
Hence $\preimg{f}{\img{f}{U}}\subseteq U$ by \cref{subseteq}.
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}.
$U\subseteq\preimg{f}{\img{f}{U}}$ by \cref{subseteq}.
Thus $\preimg{f}{\img{f}{U}} = U$ by \cref{subseteq_antisymmetric}.
Therefore $U$ is open in $X$ with respect to $T$ by \cref{subseteq_antisymmetric,homeomorphism,continuous,open_in}.
\end{subproof}
Hence $T\subseteq T_e$ and $T_e\subseteq T$ by \cref{subseteq,open_in}.
Thus $T = T_e$ by \cref{subseteq_antisymmetric}.
Therefore $X$ is metrizable with respect to $T$ by \cref{metrizable}.
\end{proof}
Assume $T$ is a topology on $X$.
Assume $X$ has closed singletons with respect to $T$.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Assume $f$ is a function on $\naturalsPlus$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
Suppose for all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < \apply{\apply{f}{n}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$.
Let $R = \{(n,\reals) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $S = \{(n,\standardTopologyR) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P = \productTopologyIndexed{S}{R}$.
Let $F = \{(x,z) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R} \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. z(n) = \apply{\apply{f}{n}}{x}\}$.
Then $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
LaTeX source
\begin{lemma}
\label{countable_embedding_theorem_real_power_unit_interval}
Assume $T$ is a topology on $X$.
Assume $X$ has closed singletons with respect to $T$.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Assume $f$ is a function on $\naturalsPlus$.
Suppose for all $n\in\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
Suppose for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $n\in\naturalsPlus$ such that
$0 < \apply{\apply{f}{n}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$.
Let $R = \{(n,\reals) \mid n\in\naturalsPlus\}$.
Let $S = \{(n,\standardTopologyR) \mid n\in\naturalsPlus\}$.
Let $P = \productTopologyIndexed{S}{R}$.
Let $F = \{(x,z) \mid x\in X, z\in\productFamily{R} \mid
\forall n\in\naturalsPlus. z(n) = \apply{\apply{f}{n}}{x}\}$.
Then $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
\end{lemma}
Proof
We have $\naturalsPlus$ is inhabited by Axiom 42.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and $T_I$ is a topology on $I$ by Definition 147, Lemma 131.
$R$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$S$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Thus $\dom{S} = \naturalsPlus$ and $\dom{R} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $S(n) = \standardTopologyR$ and $R(n) = \reals$ by Proposition 346.
Hence $\productFamily{R} = \realsPower{\naturalsPlus}$ by Lemma 209.
$P$ is a topology on $\productFamily{R}$ by Definition 115, Definition 118, Lemma 76, Lemma 176, Lemma 177.
Claim: $F$ is a function from $X$ to $\productFamily{R}$.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exist $x,z$ such that $w = (x,z)$ by Definition 12.
Hence $F$ is a relation by Definition 12.
For all $x,z_1,z_2$ such that $(x,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $(x,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $z_1 = z_2$ by Axiom 6, Definition 1, Definition 166, Definition 191, Lemma 209, Lemma 438.
$F$ is right-unique by Definition 51.
$F$ is a function by Definition 12.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $z$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $z = \{(n,\apply{\apply{f}{n}}{x}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
For all $n,y_1,y_2$ such that $(n,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ and $(n,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ we have $y_1 = y_2$ by Axiom 6.
Hence $z$ is a function by Axiom 6, Definition 12, Definition 51.
$\dom{z} = \naturalsPlus$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{z}$ we have $z(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 6, Definition 1, Definition 75, Definition 160, Proposition 199, Proposition 346, Proposition 361.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Definition 1, Definition 166, Definition 191, Proposition 358.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $z(n) = \apply{\apply{f}{n}}{x}$ by Proposition 346.
$(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Axiom 6.
Hence $\dom{F} = X$ by Axiom 6, Definition 1, Proposition 3, Proposition 199.
$F\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\productFamily{R}}$ by Axiom 6, Proposition 349, Proposition 358.
Claim: $F$ is injective.
$F$ is a function and $\dom{F} = X$ by Proposition 359.
Claim: For all $x_1,x_2$ such that $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}$ and $F(x_1) = F(x_2)$ we have $x_1 = x_2$.
Fix $x_1$.
Fix $x_2$ such that $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}$ and $F(x_1) = F(x_2)$.
Hence $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$.
Suppose not.
Hence $\{x_2\}$ is closed in $X$ with respect to $T$ by Definition 275, Proposition 25.
Let $U = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{x_2\}$.
Therefore $U$ is open in $X$ with respect to $T$ by Definition 101, Definition 149, Proposition 92, Proposition 97.
Hence $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Proposition 21, Proposition 85.
$U$ is a neighborhood of $x_1$ in $X$ with respect to $T$ by Definition 153.
Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < \apply{\apply{f}{n}}{x_1}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$ by assumption.
Hence $\apply{\apply{f}{n}}{x_2} = 0$ by Proposition 20, Proposition 85, Proposition 87.
$\apply{\apply{F}{x_1}}{n} = \apply{\apply{f}{n}}{x_1}$ and $\apply{\apply{F}{x_2}}{n} = \apply{\apply{f}{n}}{x_2}$ by Axiom 6, Proposition 348, Proposition 359.
$0 < \apply{\apply{F}{x_1}}{n}$ by Lemma 83.
$\apply{\apply{F}{x_2}}{n} = 0$ by Lemma 83.
$\apply{\apply{F}{x_1}}{n} \class{latex-symbol-tip latex-symbol-id-neq}{\neq} \apply{\apply{F}{x_2}}{n}$ by Axiom 17, Axiom 39, Lemma 83.
$\apply{\apply{F}{x_1}}{n} = \apply{\apply{F}{x_2}}{n}$.
Contradiction.
Therefore $F$ is injective by Proposition 386.
Claim: $F$ is continuous from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\piIndex{R}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Let $j = \identity{I}$.
Let $g = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f(n)$.
$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 168.
$g$ is a function and $\dom{g} = X$ by Definition 160, Proposition 359.
$\piIndex{R}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Lemma 191, Proposition 359, Proposition 382.
$F$ is a function and $\dom{F} = X$ by Proposition 359.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\piIndex{R}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F}{x} = g(x)$ by Axiom 6, Definition 160, Definition 170, Proposition 255, Proposition 293, Proposition 346, Proposition 348, Proposition 359, Proposition 361.
Hence $\piIndex{R}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F = g$ by Definition 160, Lemma 438.
$\piIndex{R}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 367.
Hence $F$ is continuous from $X$ to $\productFamily{R}$ with respect to $T$ and $P$ by Definition 1, Definition 55, Definition 118, Lemma 76, Lemma 93, Lemma 193, Lemma 209.
Claim: $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
$F$ is a function and $\dom{F} = X$ by Proposition 359.
$F\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\img{F}{X}}$ by Proposition 209, Proposition 238, Proposition 348, Proposition 358.
Hence $F\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{\img{F}{X}}$ by Proposition 238, Corollary 8.
$F$ is a bijection from $X$ to $\img{F}{X}$ by Definition 58, Proposition 386.
$\converse{F}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\img{F}{X}}{X}$ by Proposition 396.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$ we have $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 235.
Hence $(z,x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\converse{F}$ by Proposition 186.
$\apply{\converse{F}}{z} = x$ by Proposition 346, Proposition 359.
Claim: For all $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$ there exists $W$ such that $W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $\img{\converse{F}}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.
Fix $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$.
Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < \apply{\apply{f}{n}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$ by assumption.
Let $V = \intervalopen{0}{1 + 1}$.
Let $D = \preimg{\piIndex{R}{n}}{V}$.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1$ by Axiom 13, Axiom 17, Axiom 36, Axiom 37, Axiom 41, Axiom 42, Definition 1, Proposition 462.
Therefore $D$ is open in $\productFamily{R}$ with respect to $P$ by Definition 1, Definition 103, Definition 115, Definition 117, Definition 118, Definition 160, Lemma 76, Lemma 77, Lemma 87, Lemma 93, Lemma 209, Lemma 366, Proposition 155.
$\apply{\apply{F}{x}}{n} = \apply{\apply{f}{n}}{x}$ by Axiom 6, Proposition 348, Proposition 359.
$\apply{\apply{f}{n}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 160, Proposition 361.
$\apply{\apply{f}{n}}{x} < 1 + 1$ by Axiom 17, Axiom 36, Axiom 37, Axiom 41, Axiom 42, Axiom 43, Definition 1, Definition 75, Lemma 231.
$0 < \apply{\apply{F}{x}}{n}$ by Lemma 83.
$\apply{\apply{F}{x}}{n} < 1 + 1$ by Lemma 82.
$F(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Proposition 361.
$\apply{\apply{F}{x}}{n}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 166, Definition 191, Lemma 209, Proposition 361.
$\apply{\apply{F}{x}}{n}\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 76.
$(z,\apply{\apply{F}{x}}{n})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{n}$ by Axiom 6, Definition 170, Proposition 348.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 246.
Let $W = \img{F}{X}\inter D$.
$\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Axiom 6, Definition 1, Proposition 235.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by Lemma 131.
Hence $W$ is open in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by Definition 103, Definition 146.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 61, Proposition 235.
$W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by Definition 153.
$\converse{F}$ is a function and $\dom{\converse{F}} = \img{F}{X}$ by Proposition 359.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\converse{F}}{W}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\converse{F}}{W}$.
Take $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\converse{F}}\inter W$ such that $y = \apply{\converse{F}}{p}$ by Proposition 365.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 63.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$ by Proposition 62, Proposition 63.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\converse{F}}$ by Definition 1.
$(y,p)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 186, Proposition 348.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{F}$ by Proposition 199.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 359.
$p = F(y)$ by Proposition 346.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Definition 1.
$R$ is a function and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ by Proposition 359.
$\piIndex{R}{n}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{R}}{\reals}$ by Lemma 191.
$\piIndex{R}{n}$ is a function by Proposition 359.
Take $q\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ such that $(p,q)\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{n}$ by Proposition 246.
$F(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Proposition 361.
$(p,\apply{\apply{F}{y}}{n})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{n}$ by Axiom 6, Definition 170, Proposition 348.
$q = \apply{\apply{F}{y}}{n}$ by Proposition 345.
$0 < q$ by Definition 76.
$0 < \apply{\apply{F}{y}}{n}$ by Lemma 83.
$\apply{\apply{F}{y}}{n} = \apply{\apply{f}{n}}{y}$ by Axiom 6.
$0 < \apply{\apply{f}{n}}{y}$ by Lemma 83.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 39, Lemma 83, Proposition 85.
Hence $\img{\converse{F}}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
$\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Axiom 6, Definition 1, Proposition 235.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by Lemma 131.
Hence $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$ by Definition 161.
Hence $\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Axiom 6, Definition 1, Proposition 235.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by Lemma 131.
Claim: $\converse{F}$ is continuous from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
Follows by Lemma 162.
$\img{F}{X}$ is a subspace of $\productFamily{R}$ with respect to $P$ by Definition 147.
Claim: $F$ is continuous from $X$ to $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
Follows by Lemma 167, Proposition 2.
Claim: $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
Follows by Definition 162.
Claim: $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
Follows by Definition 164.
LaTeX source
\begin{proof}
We have $\naturalsPlus$ is inhabited by \cref{real_one_in_naturals}.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and $T_I$ is a topology on $I$
by \cref{subspace_of,subspace_topology_is_topology}.
$R$ is a function on $\naturalsPlus$ by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$S$ is a function on $\naturalsPlus$ by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Thus $\dom{S} = \naturalsPlus$ and $\dom{R} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $S(n) = \standardTopologyR$ and $R(n) = \reals$ by \cref{function_apply_intro}.
Hence $\productFamily{R} = \realsPower{\naturalsPlus}$ by \cref{product_family_reals_power}.
$P$ is a topology on $\productFamily{R}$
by \cref{product_subbasis_is_subbasis,product_subbasis_finite_intersections_basis,basis_topology_is_topology,basis_for_topology,standard_topology_reals}.
Show that $F$ is a function from $X$ to $\productFamily{R}$.
\begin{subproof}
For all $w$ such that $w\in F$ there exist $x,z$ such that $w = (x,z)$ by \cref{relation}.
Hence $F$ is a relation by \cref{relation}.
For all $x,z_1,z_2$ such that $(x,z_1)\in F$ and $(x,z_2)\in F$ we have $z_1 = z_2$
by \cref{pair_eq_iff,product_family_reals_power,subseteq,reals_power,tuple_power,functions_eq_iff}.
$F$ is right-unique by \cref{rightunique}.
$F$ is a function by \cref{relation}.
Show that for all $x\in X$ there exists $z$ such that $(x,z)\in F$.
\begin{subproof}
Fix $x\in X$.
Let $z = \{(n,\apply{\apply{f}{n}}{x}) \mid n\in\naturalsPlus\}$.
For all $n,y_1,y_2$ such that $(n,y_1)\in z$ and $(n,y_2)\in z$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
Hence $z$ is a function by \cref{relation,rightunique,pair_eq_iff}.
$\dom{z} = \naturalsPlus$ by \cref{subseteq_antisymmetric,subseteq,dom_intro,dom_iff,pair_eq_iff}.
For all $n\in\dom{z}$ we have $z(n)\in\reals$
by \cref{dom_iff,pair_eq_iff,continuous,funs_type_apply,intervalclosed,subseteq,function_apply_intro}.
$z\in\productFamily{R}$ by \cref{funs_intro,reals_power,tuple_power,subseteq}.
For all $n\in\naturalsPlus$ we have $z(n) = \apply{\apply{f}{n}}{x}$ by \cref{function_apply_intro}.
$(x,z)\in F$ by \cref{pair_eq_iff}.
\end{subproof}
Hence $\dom{F} = X$ by \cref{subseteq,dom_iff,pair_eq_iff,subseteq_antisymmetric}.
$F\in\funs{X}{\productFamily{R}}$ by \cref{funs_intro,function_apply_iff,pair_eq_iff}.
\end{subproof}
Show that $F$ is injective.
\begin{subproof}
$F$ is a function and $\dom{F} = X$ by \cref{funs_elim}.
Show that for all $x_1,x_2$ such that $x_1\in\dom{F}$ and $x_2\in\dom{F}$ and $F(x_1) = F(x_2)$ we have $x_1 = x_2$.
\begin{subproof}
Fix $x_1$.
Fix $x_2$ such that $x_1\in\dom{F}$ and $x_2\in\dom{F}$ and $F(x_1) = F(x_2)$.
Hence $x_1\in X$ and $x_2\in X$.
Suppose not.
Hence $\{x_2\}$ is closed in $X$ with respect to $T$ by \cref{one_point_closed,singleton_subset_intro}.
Let $U = X\setminus\{x_2\}$.
Therefore $U$ is open in $X$ with respect to $T$
by \cref{closed_in,topology_on,setminus_subseteq,double_relative_complement}.
Hence $x_1\in U$ by \cref{singleton_elim,setminus_intro}.
$U$ is a neighborhood of $x_1$ in $X$ with respect to $T$ by \cref{neighborhood}.
Take $n\in\naturalsPlus$ such that
$0 < \apply{\apply{f}{n}}{x_1}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$
by assumption.
Hence $\apply{\apply{f}{n}}{x_2} = 0$
by \cref{setminus_intro,setminus_elim_right,singleton_intro}.
$\apply{\apply{F}{x_1}}{n} = \apply{\apply{f}{n}}{x_1}$ and $\apply{\apply{F}{x_2}}{n} = \apply{\apply{f}{n}}{x_2}$
by \cref{funs_elim,function_apply_elim,pair_eq_iff}.
$0 < \apply{\apply{F}{x_1}}{n}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x_2}}{n} = 0$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x_1}}{n} \neq \apply{\apply{F}{x_2}}{n}$ by \cref{real_lt_subst_right,real_add_ident,real_lt_irreflexive}.
$\apply{\apply{F}{x_1}}{n} = \apply{\apply{F}{x_2}}{n}$.
Contradiction.
\end{subproof}
Therefore $F$ is injective by \cref{injective_function}.
\end{subproof}
Show that $F$ is continuous from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
\begin{subproof}
Show that for all $n\in\naturalsPlus$ we have $\piIndex{R}{n}\circ F$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
\begin{subproof}
Fix $n\in\naturalsPlus$.
Let $j = \identity{I}$.
Let $g = j\circ f(n)$.
$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{continuous_expand_range}.
$g$ is a function and $\dom{g} = X$ by \cref{continuous,funs_elim}.
$\piIndex{R}{n}\circ F\in\funs{X}{\reals}$ by \cref{projection_map_indexed_function,funs_circ,funs_elim}.
$F$ is a function and $\dom{F} = X$ by \cref{funs_elim}.
For all $x\in X$ we have $\apply{\piIndex{R}{n}\circ F}{x} = g(x)$
by \cref{function_apply_elim,pair_eq_iff,continuous,funs_elim,funs_type_apply,id_iff,circ_elem_intro,projection_map_indexed,function_apply_intro}.
Hence $\piIndex{R}{n}\circ F = g$ by \cref{functions_eq_iff,continuous}.
$\piIndex{R}{n}\circ F$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{continuous_eq_subst}.
\end{subproof}
Hence $F$ is continuous from $X$ to $\productFamily{R}$ with respect to $T$ and $P$
by \cref{continuous_map_into_indexed_product,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,product_family_reals_power,funs,subseteq}.
\end{subproof}
Show that $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
$F$ is a function and $\dom{F} = X$ by \cref{funs_elim}.
$F\in\funs{X}{\img{F}{X}}$ by \cref{funs_intro,function_apply_elim,ran_intro,img_dom}.
Hence $F\in\surj{X}{\img{F}{X}}$ by \cref{funs_surj_iff,img_dom}.
$F$ is a bijection from $X$ to $\img{F}{X}$ by \cref{bijections,injective_function}.
$\converse{F}\in\funs{\img{F}{X}}{X}$ by \cref{bijective_converse_are_funs}.
Show that for all $z\in\img{F}{X}$ we have
$\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
\begin{subproof}
Fix $z\in\img{F}{X}$.
Take $x\in X$ such that $(x,z)\in F$ by \cref{img_iff}.
Hence $(z,x)\in\converse{F}$ by \cref{converse_iff}.
$\apply{\converse{F}}{z} = x$ by \cref{funs_elim,function_apply_intro}.
Show that for all $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$
there exists $W$ such that
$W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and
$\img{\converse{F}}{W}\subseteq U$.
\begin{subproof}
Fix $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$.
Take $n\in\naturalsPlus$ such that
$0 < \apply{\apply{f}{n}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$
by assumption.
Let $V = \intervalopen{0}{1 + 1}$.
Let $D = \preimg{\piIndex{R}{n}}{V}$.
$0\in\reals$ and $1 + 1\in\reals$ and $0 < 1 + 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_add_closed,real_zero_lt_one,real_lt_add,real_lt_trans}.
Therefore $D$ is open in $\productFamily{R}$ with respect to $P$
by \cref{intervalopen_subset_reals,powerset_intro,standard_basis_reals,basis_elem_open_in_generated,basis_for_topology,standard_basis_is_basis,standard_topology_reals,projection_map_indexed_continuous,continuous,open_in,product_family_reals_power,subseteq,basis_topology_is_topology}.
$\apply{\apply{F}{x}}{n} = \apply{\apply{f}{n}}{x}$
by \cref{funs_elim,function_apply_elim,pair_eq_iff}.
$\apply{\apply{f}{n}}{x}\in I$ by \cref{continuous,funs_type_apply}.
$\apply{\apply{f}{n}}{x} < 1 + 1$ by \cref{intervalclosed,real_lt_add,real_add_ident,real_lt_trans,real_one_leq_naturalsplus,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_lt_imp_leq}.
$0 < \apply{\apply{F}{x}}{n}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x}}{n} < 1 + 1$ by \cref{real_lt_subst_left}.
$F(x)\in\productFamily{R}$ by \cref{funs_type_apply}.
$\apply{\apply{F}{x}}{n}\in\reals$ by \cref{product_family_reals_power,reals_power,tuple_power,subseteq,funs_type_apply}.
$\apply{\apply{F}{x}}{n}\in V$ by \cref{intervalopen}.
$(z,\apply{\apply{F}{x}}{n})\in\piIndex{R}{n}$
by \cref{projection_map_indexed,function_apply_elim,pair_eq_iff}.
$z\in D$ by \cref{preimg_iff}.
Let $W = \img{F}{X}\inter D$.
$\img{F}{X}\subseteq\productFamily{R}$ by \cref{subseteq,img_iff,pair_eq_iff}.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by \cref{subspace_topology_is_topology}.
Hence $W$ is open in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by \cref{subspace_topology,open_in}.
$z\in W$ by \cref{img_iff,inter_intro}.
$W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by \cref{neighborhood}.
$\converse{F}$ is a function and $\dom{\converse{F}} = \img{F}{X}$ by \cref{funs_elim}.
Show that for all $y$ such that $y\in\img{\converse{F}}{W}$ we have $y\in U$.
\begin{subproof}
Fix $y$ such that $y\in\img{\converse{F}}{W}$.
Take $p\in\dom{\converse{F}}\inter W$ such that $y = \apply{\converse{F}}{p}$ by \cref{img_of_function_elim}.
Hence $p\in W$ by \cref{inter_elim_right}.
$p\in D$ and $p\in\img{F}{X}$ by \cref{inter_elim_left,inter_elim_right}.
$p\in\dom{\converse{F}}$ by \cref{subseteq}.
$(y,p)\in F$ by \cref{converse_iff,function_apply_elim}.
$y\in\dom{F}$ by \cref{dom_iff}.
$y\in X$ by \cref{funs_elim}.
$p = F(y)$ by \cref{function_apply_intro}.
$p\in\productFamily{R}$ by \cref{subseteq}.
$R$ is a function and $n\in\dom{R}$ by \cref{funs_elim}.
$\piIndex{R}{n}\in\funs{\productFamily{R}}{\reals}$ by \cref{projection_map_indexed_function}.
$\piIndex{R}{n}$ is a function by \cref{funs_elim}.
Take $q\in V$ such that $(p,q)\in\piIndex{R}{n}$ by \cref{preimg_iff}.
$F(y)\in\productFamily{R}$ by \cref{funs_type_apply}.
$(p,\apply{\apply{F}{y}}{n})\in\piIndex{R}{n}$
by \cref{projection_map_indexed,function_apply_elim,pair_eq_iff}.
$q = \apply{\apply{F}{y}}{n}$ by \cref{function_rightunique}.
$0 < q$ by \cref{intervalopen}.
$0 < \apply{\apply{F}{y}}{n}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{y}}{n} = \apply{\apply{f}{n}}{y}$ by \cref{pair_eq_iff}.
$0 < \apply{\apply{f}{n}}{y}$ by \cref{real_lt_subst_right}.
$y\in U$ by \cref{setminus_intro,real_lt_subst_right,real_lt_irreflexive}.
\end{subproof}
Hence $\img{\converse{F}}{W}\subseteq U$ by \cref{subseteq}.
\end{subproof}
$\img{F}{X}\subseteq\productFamily{R}$ by \cref{subseteq,img_iff,pair_eq_iff}.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by \cref{subspace_topology_is_topology}.
Hence $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$
by \cref{continuous_at}.
\end{subproof}
Hence $\img{F}{X}\subseteq\productFamily{R}$ by \cref{subseteq,img_iff,pair_eq_iff}.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by \cref{subspace_topology_is_topology}.
Show that $\converse{F}$ is continuous from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
\begin{subproof}
Follows by \cref{continuous_at_implies_continuous}.
\end{subproof}
$\img{F}{X}$ is a subspace of $\productFamily{R}$ with respect to $P$ by \cref{subspace_of}.
Show that $F$ is continuous from $X$ to $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
Follows by \cref{subseteq_refl,continuous_restrict_range}.
\end{subproof}
Show that $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
Follows by \cref{homeomorphism}.
\end{subproof}
\end{subproof}
Show that $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
\begin{subproof}
Follows by \cref{topological_embedding}.
\end{subproof}
\end{proof}
Assume $X$ is regular with respect to $T$.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Suppose $X$ satisfies the second countability axiom with respect to $T$.
Then there exists $f$ such that $f$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < \apply{\apply{f}{n}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$.
LaTeX source
\begin{lemma}
\label{regular_second_countable_unit_interval_family}
Assume $X$ is regular with respect to $T$.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Suppose $X$ satisfies the second countability axiom with respect to $T$.
Then there exists $f$ such that
$f$ is a function on $\naturalsPlus$ and
for all $n\in\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $n\in\naturalsPlus$ such that
$0 < \apply{\apply{f}{n}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$.
\end{lemma}
Proof
$T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ by Definition 276.
Hence $X$ is normal with respect to $T$ by Theorem 80.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
Therefore $T_I$ is a topology on $I$ by Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131.
We have $0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Definition 75, Proposition 462.
Take $b$ such that $b$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $b(n)$ is open in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have for all $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} b(n)$ and $b(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 271.
Let $B = \pow{X\class{latex-symbol-tip latex-symbol-id-times}{\times} I}$.
Let $J = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus \mid \closure{b(\fst{p})}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} b(\snd{p})\}$.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} J\class{latex-symbol-tip latex-symbol-id-times}{\times} B \mid \text{there exists $p\in J$ such that there exists $u\in B$ such that $w = (p,u)$ and $u$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $\img{u}{\closure{b(\fst{p})}{X}{T}}\subseteq \{1\}$ and $\img{u}{X\setminus b(\snd{p})}\subseteq \{0\}$}\}$.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ there exists $u$ such that $p\mathrel{R} u$.
Fix $p\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ and $\closure{b(\fst{p})}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} b(\snd{p})$ by Axiom 6.
$\fst{p}\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\snd{p}\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Proposition 119, Proposition 120.
$b(\fst{p})$ is open in $X$ with respect to $T$ and $b(\snd{p})$ is open in $X$ with respect to $T$ by assumption.
$b(\fst{p})\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $b(\snd{p})\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$\closure{b(\fst{p})}{X}{T}$ is closed in $X$ with respect to $T$ by Lemma 144.
Let $A = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} b(\snd{p})$.
Hence $A$ is closed in $X$ with respect to $T$ by Definition 1, Definition 103, Definition 149, Proposition 92, Proposition 97.
$A$ is disjoint from $\closure{b(\fst{p})}{X}{T}$ by Definition 1, Definition 3, Proposition 87.
Take $u$ such that $u$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $\img{u}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{u}{\closure{b(\fst{p})}{X}{T}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ by Lemma 510.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 1, Definition 160, Proposition 155, Proposition 282, Proposition 284, Proposition 357.
$\img{u}{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} b(\snd{p})}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ by Axiom 6.
Thus $p\mathrel{R} u$ by Axiom 6, Proposition 115.
$R$ is a relation by Definition 12.
Take $c$ such that $c$ is a function on $J$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $p\mathrel{R} c(p)$ by Axiom 54.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{c}$ we have $c(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 6, Axiom 54, Definition 1.
Hence $c$ is a function and $\dom{c} = J$ by Axiom 54.
Therefore $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{B}$ by Proposition 358.
Take $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\inj{\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus}{\naturalsPlus}$ by Lemma 437.
Let $h = \restrl{g}{J}$.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus}{\naturalsPlus}$ by Definition 56.
Hence $g$ is a function and $g$ is a relation and $\dom{g} = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ by Definition 55, Proposition 355, Proposition 356.
$g$ is injective by Definition 56, Proposition 386.
$h$ is a function by Proposition 383.
$J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ by Definition 1.
Thus $\dom{h} = J$ by Definition 55, Proposition 70, Corollary 3.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $h(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Definition 1, Definition 55, Definition 56, Proposition 361, Proposition 384.
Hence $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{\naturalsPlus}$ by Proposition 358.
For all $p_1,p_2$ such that $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ and $p_2\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ and $h(p_1) = h(p_2)$ we have $p_1 = p_2$ by Axiom 6, Definition 1, Definition 55, Proposition 384, Proposition 386.
Therefore $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\inj{J}{\naturalsPlus}$ by Definition 56.
Let $A = \img{h}{J}$.
Let $z = \{(x,0) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$z$ is a function from $X$ to $I$ by Lemma 309.
Hence for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $z(x) = 0$ by Lemma 309, Proposition 346, Proposition 356.
$z$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Lemma 163.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 1, Definition 160, Proposition 155, Proposition 282, Proposition 284, Proposition 357.
Let $f_1 = \{(h(p),c(p)) \mid p\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} f_1$ there exist $n,u$ such that $w = (n,u)$ by Axiom 6, Definition 12.
Hence $f_1$ is a relation by Definition 12.
For all $n,u_1,u_2$ such that $(n,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} f_1$ and $(n,u_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} f_1$ we have $u_1 = u_2$ by Axiom 6, Definition 56.
$f_1$ is right-unique by Definition 51.
$f_1$ is a function by Definition 12.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f_1}$ by Axiom 6, Definition 55, Definition 56, Proposition 200, Proposition 235, Proposition 345, Proposition 346, Proposition 355, Proposition 356.
Hence $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{f_1}$ by Definition 1.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f_1}$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 6, Definition 1, Definition 55, Definition 56, Proposition 199, Proposition 235, Proposition 345, Proposition 348, Proposition 355, Proposition 356.
$\dom{f_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 1.
Therefore $\dom{f_1} = A$ by Proposition 3.
Let $f_2 = \{(n,z) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A\}$.
$f_2$ is a function from $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ to $B$ by Lemma 309.
Hence $\dom{f_2} = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ by Definition 55, Lemma 309.
Let $f = f_1\union f_2$.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f_1}\inter\dom{f_2}$ we have $f_1(n) = f_2(n)$ by Definition 1, Proposition 62, Proposition 63, Proposition 87.
Hence $f$ is a function by Lemma 170, Proposition 356.
$\dom{f} = \dom{f_1}\union\dom{f_2}$ by Proposition 205.
$\dom{f} = A\union(\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A)$ by Axiom 42, Definition 1, Definition 55, Proposition 3.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1, Definition 56, Proposition 6, Proposition 237, Proposition 284, Proposition 357.
Hence $\dom{f} = \naturalsPlus$ by Proposition 107.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{\naturalsPlus}$ by Definition 56.
We have $h$ is right-unique and $h$ is a relation and $\dom{h} = J$ by Definition 55, Proposition 345, Proposition 355, Proposition 356.
Take $p\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $(p,n)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Proposition 235.
Hence $(n,c(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} f_1$ by Axiom 6, Proposition 346.
$(n,c(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Axiom 5, Proposition 38.
$(p,c(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 54.
Thus $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Axiom 6, Lemma 367, Proposition 346.
We have $(n,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f_2$ by Axiom 6, Proposition 85.
$(n,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Axiom 5, Proposition 39.
Thus $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Lemma 367, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$n\in A$.}
$h\in\funs{J}{\naturalsPlus}$ by \cref{inj}.
We have $h$ is right-unique and $h$ is a relation and $\dom{h} = J$
by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
Take $p\in J$ such that $(p,n)\in h$ by \cref{img_iff}.
Hence $(n,c(p))\in f_1$ by \cref{function_apply_intro,pair_eq_iff}.
$(n,c(p))\in f$ by \cref{union_iff,union_intro_left}.
$(p,c(p))\in R$ by \cref{axiom_of_choice}.
Thus $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
by \cref{function_apply_intro,pair_eq_iff,continuous_eq_subst}.
\caseOf{$n\notin A$.}
We have $(n,z)\in f_2$ by \cref{setminus_intro,pair_eq_iff}.
$(n,z)\in f$ by \cref{union_iff,union_intro_right}.
Thus $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
by \cref{function_apply_intro,continuous_eq_subst}.
\end{byCase}
Claim: For all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < \apply{\apply{f}{n}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$.
Fix $x$.
Fix $U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
Hence $U$ is open in $X$ with respect to $T$ by Definition 153.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.
Therefore for all $W$ such that $W$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} b(n)$ and $b(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} W$ by assumption.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} b(m)$ and $b(m)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 153.
$b(m)$ is a neighborhood of $x$ in $X$ with respect to $T$ by Definition 103, Definition 153.
Take $V$ such that $V$ is a neighborhood of $x$ in $X$ with respect to $T$ and $\closure{V}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} b(m)$ by Lemma 448.
Thus $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 153.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} b(k)$ and $b(k)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by assumption.
Let $p = (k,m)$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ by Proposition 115.
$b(k)$ is open in $X$ with respect to $T$ by assumption.
$b(k)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 153.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{V}{X}{T}$ by Lemma 146.
$b(k)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{V}{X}{T}$ by Proposition 6.
$\closure{V}{X}{T}$ is closed in $X$ with respect to $T$ by Lemma 144.
$\closure{b(k)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{V}{X}{T}$ by Lemma 147.
$\closure{b(k)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} b(m)$ by Proposition 6.
$\fst{p} = k$ and $\snd{p} = m$ by Axiom 10, Axiom 11.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Axiom 6.
Let $n = h(p)$.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{\naturalsPlus}$ by Definition 56.
Hence $h$ is right-unique and $h$ is a relation and $\dom{h} = J$ by Definition 55, Proposition 345, Proposition 355, Proposition 356.
$(p,n)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Definition 1, Proposition 348.
$(n,c(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} f_1$ by Axiom 6, Proposition 235.
$(n,c(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Axiom 5, Proposition 38.
$f(n) = c(p)$ by Proposition 346.
$(p,c(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 54.
$\img{\apply{c}{p}}{\closure{b(\fst{p})}{X}{T}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ and $\img{\apply{c}{p}}{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} b(\snd{p})}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ by Axiom 6.
$\fst{p} = k$ and $\snd{p} = m$ by Axiom 10, Axiom 11.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{b(k)}{X}{T}$ by Definition 1, Lemma 146.
$\apply{c}{p}$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Axiom 6.
$\apply{c}{p}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I}$ and $\apply{c}{p}$ is a function and $\dom{\apply{c}{p}} = X$ by Definition 55, Definition 160, Proposition 356.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\apply{c}{p}}$ by Definition 1.
$(x,\apply{\apply{c}{p}}{x})\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{c}{p}$ by Proposition 348.
$\apply{\apply{c}{p}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\apply{c}{p}}{\closure{b(k)}{X}{T}}$ by Proposition 235.
$\apply{\apply{c}{p}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}$ by Definition 1.
$\apply{\apply{c}{p}}{x} = 1$ by Proposition 21.
$0 < \apply{\apply{c}{p}}{x}$ by Axiom 41, Axiom 42, Definition 1, Lemma 83, Proposition 462.
Hence $0 < \apply{\apply{f}{n}}{x}$ by Lemma 83.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$.
Follows by definition.
Follows by definition.
LaTeX source
\begin{proof}
$T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ by \cref{regular_space}.
Hence $X$ is normal with respect to $T$ by \cref{regular_second_countable_normal}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
Therefore $T_I$ is a topology on $I$ by \cref{subspace_of,subspace_topology_is_topology,standard_topology_reals,standard_basis_is_basis,basis_topology_is_topology}.
We have $0\in I$ and $1\in I$
by \cref{intervalclosed,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
Take $b$ such that
$b$ is a sequence in $\pow{X}$ and
for all $n\in\naturalsPlus$ we have $b(n)$ is open in $X$ with respect to $T$ and
for all $x\in X$ we have
for all $U$ such that $U$ is open in $X$ with respect to $T$ and $x\in U$
there exists $n\in\naturalsPlus$ such that $x\in b(n)$ and $b(n)\subseteq U$
by \cref{second_countability_axiom}.
Let $B = \pow{X\times I}$.
Let $J = \{p\in\naturalsPlus\times\naturalsPlus \mid \closure{b(\fst{p})}{X}{T}\subseteq b(\snd{p})\}$.
Let $R = \{w\in J\times B \mid \text{there exists $p\in J$ such that there exists $u\in B$ such that
$w = (p,u)$ and
$u$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
$\img{u}{\closure{b(\fst{p})}{X}{T}}\subseteq \{1\}$ and
$\img{u}{X\setminus b(\snd{p})}\subseteq \{0\}$}\}$.
Show that for all $p\in J$ there exists $u$ such that $p\mathrel{R} u$.
\begin{subproof}
Fix $p\in J$.
Hence $p\in\naturalsPlus\times\naturalsPlus$ and $\closure{b(\fst{p})}{X}{T}\subseteq b(\snd{p})$ by \cref{pair_eq_iff}.
$\fst{p}\in\naturalsPlus$ and $\snd{p}\in\naturalsPlus$ by \cref{fst_type,snd_type}.
$b(\fst{p})$ is open in $X$ with respect to $T$ and $b(\snd{p})$ is open in $X$ with respect to $T$ by assumption.
$b(\fst{p})\subseteq X$ and $b(\snd{p})\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
$\closure{b(\fst{p})}{X}{T}$ is closed in $X$ with respect to $T$ by \cref{closure_closed_in}.
Let $A = X\setminus b(\snd{p})$.
Hence $A$ is closed in $X$ with respect to $T$ by \cref{open_in,closed_in,setminus_subseteq,double_relative_complement,subseteq}.
$A$ is disjoint from $\closure{b(\fst{p})}{X}{T}$ by \cref{disjoint,subseteq,setminus_elim_right}.
Take $u$ such that
$u$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
$\img{u}{A}\subseteq \{0\}$ and
$\img{u}{\closure{b(\fst{p})}{X}{T}}\subseteq \{1\}$
by \cref{urysohn_unit_interval}.
Hence $u\in B$ by \cref{continuous,funs_subseteq_rels,subseteq,rels_ran_subseteq,rels_elim,powerset_intro}.
$\img{u}{X\setminus b(\snd{p})}\subseteq \{0\}$ by \cref{pair_eq_iff}.
Thus $p\mathrel{R} u$ by \cref{times_tuple_intro,pair_eq_iff}.
\end{subproof}
$R$ is a relation by \cref{relation}.
Take $c$ such that $c$ is a function on $J$ and for all $p\in J$ we have $p\mathrel{R} c(p)$
by \cref{axiom_of_choice}.
For all $p\in\dom{c}$ we have $c(p)\in B$ by \cref{subseteq,axiom_of_choice,pair_eq_iff}.
Hence $c$ is a function and $\dom{c} = J$ by \cref{axiom_of_choice}.
Therefore $c\in\funs{J}{B}$ by \cref{funs_intro}.
Take $g$ such that $g\in\inj{\naturalsPlus\times\naturalsPlus}{\naturalsPlus}$ by \cref{naturalsplus_pairing_injection}.
Let $h = \restrl{g}{J}$.
$g\in\funs{\naturalsPlus\times\naturalsPlus}{\naturalsPlus}$ by \cref{inj}.
Hence $g$ is a function and $g$ is a relation and $\dom{g} = \naturalsPlus\times\naturalsPlus$
by \cref{funs_is_function,funs_is_relation,funs}.
$g$ is injective by \cref{inj,injective_function}.
$h$ is a function by \cref{restrl_of_function_is_function}.
$J\subseteq\naturalsPlus\times\naturalsPlus$ by \cref{subseteq}.
Thus $\dom{h} = J$ by \cref{funs,dom_of_restrl_eq_inter,inter_absorb_supseteq_left}.
For all $p\in\dom{h}$ we have $h(p)\in\naturalsPlus$
by \cref{subseteq,funs,restrl_of_function_apply,inj,funs_type_apply,pair_eq_iff}.
Hence $h\in\funs{J}{\naturalsPlus}$ by \cref{funs_intro}.
For all $p_1,p_2$ such that $p_1\in J$ and $p_2\in J$ and $h(p_1) = h(p_2)$ we have $p_1 = p_2$
by \cref{subseteq,funs,restrl_of_function_apply,pair_eq_iff,injective_function}.
Therefore $h\in\inj{J}{\naturalsPlus}$ by \cref{inj}.
Let $A = \img{h}{J}$.
Let $z = \{(x,0) \mid x\in X\}$.
$z$ is a function from $X$ to $I$ by \cref{constant_map_function}.
Hence for all $x\in X$ we have $z(x) = 0$ by \cref{constant_map_function,funs_is_function,function_apply_intro}.
$z$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by \cref{constant_continuous}.
$z\in B$ by \cref{continuous,funs_subseteq_rels,subseteq,rels_ran_subseteq,rels_elim,powerset_intro}.
Let $f_1 = \{(h(p),c(p)) \mid p\in J\}$.
For all $w$ such that $w\in f_1$ there exist $n,u$ such that $w = (n,u)$ by \cref{relation,pair_eq_iff}.
Hence $f_1$ is a relation by \cref{relation}.
For all $n,u_1,u_2$ such that $(n,u_1)\in f_1$ and $(n,u_2)\in f_1$ we have $u_1 = u_2$
by \cref{pair_eq_iff,inj}.
$f_1$ is right-unique by \cref{rightunique}.
$f_1$ is a function by \cref{relation}.
For all $n$ such that $n\in A$ we have $n\in\dom{f_1}$
by \cref{inj,funs,funs_is_function,function_rightunique,funs_is_relation,img_iff,function_apply_intro,pair_eq_iff,dom_intro}.
Hence $A\subseteq\dom{f_1}$ by \cref{subseteq}.
For all $n$ such that $n\in\dom{f_1}$ we have $n\in A$
by \cref{dom_iff,pair_eq_iff,inj,funs,funs_is_function,function_rightunique,funs_is_relation,subseteq,function_apply_elim,img_iff}.
$\dom{f_1}\subseteq A$ by \cref{subseteq}.
Therefore $\dom{f_1} = A$ by \cref{subseteq_antisymmetric}.
Let $f_2 = \{(n,z) \mid n\in\naturalsPlus\setminus A\}$.
$f_2$ is a function from $\naturalsPlus\setminus A$ to $B$ by \cref{constant_map_function}.
Hence $\dom{f_2} = \naturalsPlus\setminus A$ by \cref{constant_map_function,funs}.
Let $f = f_1\union f_2$.
For all $n$ such that $n\in\dom{f_1}\inter\dom{f_2}$ we have $f_1(n) = f_2(n)$
by \cref{inter_elim_left,subseteq,inter_elim_right,setminus_elim_right}.
Hence $f$ is a function by \cref{union_compatible_functions,funs_is_function}.
$\dom{f} = \dom{f_1}\union\dom{f_2}$ by \cref{dom_union}.
$\dom{f} = A\union(\naturalsPlus\setminus A)$ by \cref{funs,subseteq,real_one_in_naturals,subseteq_antisymmetric}.
$A\subseteq\naturalsPlus$
by \cref{inj,funs_subseteq_rels,subseteq,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive}.
Hence $\dom{f} = \naturalsPlus$ by \cref{setminus_partition}.
Show that for all $n\in\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
\begin{subproof}
Fix $n\in\naturalsPlus$.
\begin{byCase}
\caseOf{$n\in A$.}
$h\in\funs{J}{\naturalsPlus}$ by \cref{inj}.
We have $h$ is right-unique and $h$ is a relation and $\dom{h} = J$
by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
Take $p\in J$ such that $(p,n)\in h$ by \cref{img_iff}.
Hence $(n,c(p))\in f_1$ by \cref{function_apply_intro,pair_eq_iff}.
$(n,c(p))\in f$ by \cref{union_iff,union_intro_left}.
$(p,c(p))\in R$ by \cref{axiom_of_choice}.
Thus $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
by \cref{function_apply_intro,pair_eq_iff,continuous_eq_subst}.
\caseOf{$n\notin A$.}
We have $(n,z)\in f_2$ by \cref{setminus_intro,pair_eq_iff}.
$(n,z)\in f$ by \cref{union_iff,union_intro_right}.
Thus $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
by \cref{function_apply_intro,continuous_eq_subst}.
\end{byCase}
\end{subproof}
Show that for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $n\in\naturalsPlus$ such that
$0 < \apply{\apply{f}{n}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$.
\begin{subproof}
Fix $x$.
Fix $U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
Hence $U$ is open in $X$ with respect to $T$ by \cref{neighborhood}.
$1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
Therefore for all $W$ such that $W$ is open in $X$ with respect to $T$ and $x\in W$
there exists $n\in\naturalsPlus$ such that $x\in b(n)$ and $b(n)\subseteq W$
by assumption.
Take $m\in\naturalsPlus$ such that $x\in b(m)$ and $b(m)\subseteq U$ by \cref{neighborhood}.
$b(m)$ is a neighborhood of $x$ in $X$ with respect to $T$ by \cref{open_in,neighborhood}.
Take $V$ such that
$V$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$\closure{V}{X}{T}\subseteq b(m)$ by \cref{regular_closure_neighborhood}.
Thus $V$ is open in $X$ with respect to $T$ and $x\in V$ by \cref{neighborhood}.
Take $k\in\naturalsPlus$ such that $x\in b(k)$ and $b(k)\subseteq V$ by assumption.
Let $p = (k,m)$.
$p\in\naturalsPlus\times\naturalsPlus$ by \cref{times_tuple_intro}.
$b(k)$ is open in $X$ with respect to $T$ by assumption.
$b(k)\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
$V\subseteq X$ by \cref{neighborhood,open_in,topology_on,subseteq,pow_iff}.
$V\subseteq\closure{V}{X}{T}$ by \cref{subseteq_closure}.
$b(k)\subseteq\closure{V}{X}{T}$ by \cref{subseteq_transitive}.
$\closure{V}{X}{T}$ is closed in $X$ with respect to $T$ by \cref{closure_closed_in}.
$\closure{b(k)}{X}{T}\subseteq\closure{V}{X}{T}$ by \cref{closure_subseteq_closed}.
$\closure{b(k)}{X}{T}\subseteq b(m)$ by \cref{subseteq_transitive}.
$\fst{p} = k$ and $\snd{p} = m$ by \cref{fst_eq,snd_eq}.
Hence $p\in J$ by \cref{pair_eq_iff}.
Let $n = h(p)$.
$h\in\funs{J}{\naturalsPlus}$ by \cref{inj}.
Hence $h$ is right-unique and $h$ is a relation and $\dom{h} = J$
by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
$(p,n)\in h$ by \cref{subseteq,function_apply_elim}.
$(n,c(p))\in f_1$ by \cref{img_iff,pair_eq_iff}.
$(n,c(p))\in f$ by \cref{union_iff,union_intro_left}.
$f(n) = c(p)$ by \cref{function_apply_intro}.
$(p,c(p))\in R$ by \cref{axiom_of_choice}.
$\img{\apply{c}{p}}{\closure{b(\fst{p})}{X}{T}}\subseteq \{1\}$ and
$\img{\apply{c}{p}}{X\setminus b(\snd{p})}\subseteq \{0\}$ by \cref{pair_eq_iff}.
$\fst{p} = k$ and $\snd{p} = m$ by \cref{fst_eq,snd_eq}.
$x\in\closure{b(k)}{X}{T}$ by \cref{subseteq_closure,subseteq}.
$\apply{c}{p}$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by \cref{pair_eq_iff}.
$\apply{c}{p}\in\funs{X}{I}$ and $\apply{c}{p}$ is a function and $\dom{\apply{c}{p}} = X$
by \cref{continuous,funs_is_function,funs}.
$x\in\dom{\apply{c}{p}}$ by \cref{subseteq}.
$(x,\apply{\apply{c}{p}}{x})\in\apply{c}{p}$ by \cref{function_apply_elim}.
$\apply{\apply{c}{p}}{x}\in\img{\apply{c}{p}}{\closure{b(k)}{X}{T}}$ by \cref{img_iff}.
$\apply{\apply{c}{p}}{x}\in\{1\}$ by \cref{subseteq}.
$\apply{\apply{c}{p}}{x} = 1$ by \cref{singleton_elim}.
$0 < \apply{\apply{c}{p}}{x}$
by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_subst_right}.
Hence $0 < \apply{\apply{f}{n}}{x}$ by \cref{real_lt_subst_right}.
Show that for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$.
\begin{subproof}
Follows by \cref{setminus_intro,setminus_elim_left,subseteq,setminus_elim_right,pair_eq_iff,continuous,funs_is_function,funs,function_apply_elim,img_iff,singleton_elim}.
\end{subproof}
Follows by definition.
\end{subproof}
Follows by definition.
\end{proof}
Assume $X$ is regular with respect to $T$.
Suppose $X$ satisfies the second countability axiom with respect to $T$.
Then $X$ is metrizable with respect to $T$.
LaTeX source
\begin{theorem}
\label{urysohn_metrization_theorem}
Assume $X$ is regular with respect to $T$.
Suppose $X$ satisfies the second countability axiom with respect to $T$.
Then $X$ is metrizable with respect to $T$.
\end{theorem}
Proof
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Take $f$ such that $f$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < \apply{\apply{f}{n}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$ by Lemma 519.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.
Hence for all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < \apply{\apply{f}{n}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{n}}{y} = 0$ by assumption.
$T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ by Definition 276.
Let $R = \{(n,\reals) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $S = \{(n,\standardTopologyR) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P = \productTopologyIndexed{S}{R}$.
Let $F = \{(x,z) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R} \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. z(n) = \apply{\apply{f}{n}}{x}\}$.
Hence $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$ by Lemma 518.
Claim: $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
Follows by Definition 164.
$\productFamily{R} = \realsPower{\naturalsPlus}$ by Lemma 209.
$P = \metricTopology{\omegaMetric}{\productFamily{R}}$ by Lemma 209, Theorem 28.
$\omegaMetric$ is a metric on $\productFamily{R}$ by Definition 179, Theorem 27.
$P$ is a topology on $\productFamily{R}$ by Definition 115, Definition 182, Lemma 76, Lemma 194.
Therefore $\productFamily{R}$ is metrizable with respect to $P$ by Definition 185.
$\img{F}{X}$ is a subspace of $\productFamily{R}$ with respect to $P$ and $\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by Definition 1, Definition 147, Definition 164, Lemma 131, Proposition 6, Proposition 237, Proposition 284, Proposition 357.
Hence $\img{F}{X}$ is metrizable with respect to $\subspaceTopology{P}{\img{F}{X}}$ by Lemma 516.
Therefore $X$ is metrizable with respect to $T$ by Lemma 517.
LaTeX source
\begin{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Take $f$ such that
$f$ is a function on $\naturalsPlus$ and
for all $n\in\naturalsPlus$ we have $f(n)$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $n\in\naturalsPlus$ such that
$0 < \apply{\apply{f}{n}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$
by \cref{regular_second_countable_unit_interval_family}.
$1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
Hence for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $n\in\naturalsPlus$ such that
$0 < \apply{\apply{f}{n}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{n}}{y} = 0$ by assumption.
$T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ by \cref{regular_space}.
Let $R = \{(n,\reals) \mid n\in\naturalsPlus\}$.
Let $S = \{(n,\standardTopologyR) \mid n\in\naturalsPlus\}$.
Let $P = \productTopologyIndexed{S}{R}$.
Let $F = \{(x,z) \mid x\in X, z\in\productFamily{R} \mid
\forall n\in\naturalsPlus. z(n) = \apply{\apply{f}{n}}{x}\}$.
Hence $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$
by \cref{countable_embedding_theorem_real_power_unit_interval}.
Show that $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to
$T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
Follows by \cref{topological_embedding}.
\end{subproof}
$\productFamily{R} = \realsPower{\naturalsPlus}$ by \cref{product_family_reals_power}.
$P = \metricTopology{\omegaMetric}{\productFamily{R}}$
by \cref{omega_metric_product_topology,product_family_reals_power}.
$\omegaMetric$ is a metric on $\productFamily{R}$ by \cref{omega_metric_is_metric,metric_on}.
$P$ is a topology on $\productFamily{R}$
by \cref{basis_topology_is_topology,metric_topology,metric_basis_is_basis,basis_for_topology}.
Therefore $\productFamily{R}$ is metrizable with respect to $P$ by \cref{metrizable}.
$\img{F}{X}$ is a subspace of $\productFamily{R}$ with respect to $P$ and
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$
by \cref{topological_embedding,funs_subseteq_rels,subseteq,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive,subspace_of,subspace_topology_is_topology}.
Hence $\img{F}{X}$ is metrizable with respect to $\subspaceTopology{P}{\img{F}{X}}$ by \cref{subspace_metrizable}.
Therefore $X$ is metrizable with respect to $T$ by \cref{homeomorphism_preserves_metrizable}.
\end{proof}
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Assume $X = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Let $f = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Then $f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{lemma}
\label{empty_domain_topological_embedding}
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Assume $X = \emptyset$.
Let $f = \emptyset$.
Then $f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{lemma}
Proof
Claim: For all $x,y_1,y_2$ such that $(x,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(x,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ we have $y_1 = y_2$.
Follows by Axiom 2.
Hence $f$ is right-unique and $f$ is a function by Axiom 2, Definition 12, Definition 51.
$\dom{f} = X$ by Axiom 2, Definition 1, Proposition 3, Proposition 11, Proposition 199.
Hence $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ by Axiom 2, Definition 1, Proposition 358.
Claim: For all $x_1,x_2$ such that $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}$ and $f(x_1) = f(x_2)$ we have $x_1 = x_2$.
Follows by Axiom 2, Definition 1.
Claim: $f$ is injective.
Follows by Proposition 386.
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$.
Follows by Definition 101, Definition 103, Proposition 6, Proposition 12, Proposition 249.
Claim: $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Follows by Definition 160.
$\img{f}{X} = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Proposition 245.
Hence $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{\img{f}{X}}$ by Axiom 2, Definition 1, Proposition 238, Proposition 245, Proposition 358, Corollary 8.
$f$ is a bijection from $X$ to $\img{f}{X}$ by Definition 58, Proposition 386.
$\converse{f}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\img{f}{X}}{X}$ by Proposition 396.
Hence $\img{f}{X}$ is a subspace of $Y$ with respect to $T_1$ and $\subspaceTopology{T_1}{\img{f}{X}}$ is a topology on $\img{f}{X}$ by Definition 147, Lemma 131, Proposition 11, Proposition 245.
Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ we have $\preimg{\converse{f}}{U}$ is open in $\img{f}{X}$ with respect to $\subspaceTopology{T_1}{\img{f}{X}}$.
Claim: $\converse{f}$ is continuous from $\img{f}{X}$ to $X$ with respect to $\subspaceTopology{T_1}{\img{f}{X}}$ and $T$.
Follows by Definition 160.
Claim: $f$ is continuous from $X$ to $\img{f}{X}$ with respect to $T$ and $\subspaceTopology{T_1}{\img{f}{X}}$.
Follows by Lemma 167, Proposition 2.
Claim: $f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to $T$ and $\subspaceTopology{T_1}{\img{f}{X}}$.
Follows by Definition 162.
Claim: $f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$.
Follows by Definition 164.
LaTeX source
\begin{proof}
Show that for all $x,y_1,y_2$ such that $(x,y_1)\in f$ and $(x,y_2)\in f$ we have $y_1 = y_2$.
\begin{subproof}
Follows by \cref{emptyset}.
\end{subproof}
Hence $f$ is right-unique and $f$ is a function by \cref{emptyset,rightunique,relation}.
$\dom{f} = X$ by \cref{dom_iff,emptyset,subseteq,emptyset_subseteq,subseteq_antisymmetric}.
Hence $f\in\funs{X}{Y}$ by \cref{funs_intro,subseteq,emptyset}.
Show that for all $x_1,x_2$ such that $x_1\in\dom{f}$ and $x_2\in\dom{f}$ and $f(x_1) = f(x_2)$ we have $x_1 = x_2$.
\begin{subproof}
Follows by \cref{subseteq,emptyset}.
\end{subproof}
Show that $f$ is injective.
\begin{subproof}
Follows by \cref{injective_function}.
\end{subproof}
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}
Follows by \cref{preimg_subseteq_dom,subseteq_transitive,subseteq_emptyset_iff,open_in,topology_on}.
\end{subproof}
Show that $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
\begin{subproof}
Follows by \cref{continuous}.
\end{subproof}
$\img{f}{X} = \emptyset$ by \cref{img_emptyset}.
Hence $f\in\surj{X}{\img{f}{X}}$ by \cref{funs_intro,img_emptyset,subseteq,emptyset,funs_surj_iff,img_dom}.
$f$ is a bijection from $X$ to $\img{f}{X}$ by \cref{bijections,injective_function}.
$\converse{f}\in\funs{\img{f}{X}}{X}$ by \cref{bijective_converse_are_funs}.
Hence $\img{f}{X}$ is a subspace of $Y$ with respect to $T_1$ and
$\subspaceTopology{T_1}{\img{f}{X}}$ is a topology on $\img{f}{X}$
by \cref{img_emptyset,emptyset_subseteq,subspace_of,subspace_topology_is_topology}.
Show that for all $U$ such that $U$ is open in $X$ with respect to $T$ we have
$\preimg{\converse{f}}{U}$ is open in $\img{f}{X}$ with respect to $\subspaceTopology{T_1}{\img{f}{X}}$.
\begin{subproof}
Follows by \cref{funs_elim,preimg_subseteq_dom,subseteq_transitive,subseteq_emptyset_iff,topology_on,subspace_topology_is_topology,subspace_of,open_in}.
\end{subproof}
Show that $\converse{f}$ is continuous from $\img{f}{X}$ to $X$ with respect to $\subspaceTopology{T_1}{\img{f}{X}}$ and $T$.
\begin{subproof}
Follows by \cref{continuous}.
\end{subproof}
Show that $f$ is continuous from $X$ to $\img{f}{X}$ with respect to $T$ and $\subspaceTopology{T_1}{\img{f}{X}}$.
\begin{subproof}
Follows by \cref{subseteq_refl,continuous_restrict_range}.
\end{subproof}
Show that $f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to $T$ and $\subspaceTopology{T_1}{\img{f}{X}}$.
\begin{subproof}
Follows by \cref{homeomorphism}.
\end{subproof}
Show that $f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$.
\begin{subproof}
Follows by \cref{topological_embedding}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Assume $X$ has closed singletons with respect to $T$.
Assume $J$ is inhabited.
Assume $f$ is a function on $J$.
Suppose for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Suppose for all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$.
Let $R = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\reals) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$.
Let $S = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\standardTopologyR) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$.
Let $P = \productTopologyIndexed{S}{R}$.
Let $F = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R} \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J. \apply{y}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}\}$.
Then $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
LaTeX source
\begin{theorem}
\label{urysohn_embedding_theorem_real_power}
Assume $T$ is a topology on $X$.
Assume $X$ has closed singletons with respect to $T$.
Assume $J$ is inhabited.
Assume $f$ is a function on $J$.
Suppose for all $\alpha\in J$ we have $\apply{f}{\alpha}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Suppose for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $\alpha\in J$ such that
$0 < \apply{\apply{f}{\alpha}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$.
Let $R = \{(\alpha,\reals) \mid \alpha\in J\}$.
Let $S = \{(\alpha,\standardTopologyR) \mid \alpha\in J\}$.
Let $P = \productTopologyIndexed{S}{R}$.
Let $F = \{(x,y) \mid x\in X, y\in\productFamily{R} \mid
\forall \alpha\in J. \apply{y}{\alpha} = \apply{\apply{f}{\alpha}}{x}\}$.
Then $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
\end{theorem}
Proof
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$R$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$S$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Thus $\dom{S} = J$ and $\dom{R} = J$ by Definition 55.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $S(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \standardTopologyR$ and $R(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \reals$ by Proposition 346.
Hence $\productFamily{R} = \realsPower{J}$ by Lemma 209.
$P$ is a topology on $\productFamily{R}$ by Definition 115, Definition 118, Lemma 76, Lemma 176, Lemma 177.
Claim: For all $x,z_1,z_2$ such that $(x,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $(x,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $z_1 = z_2$.
Follows by Axiom 6, Definition 1, Definition 166, Definition 191, Lemma 209, Lemma 438.
Hence $F$ is a function by Axiom 6, Definition 1, Definition 12, Definition 51, Definition 166, Definition 191, Lemma 209, Lemma 438.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $z$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $z = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ we have $y_1 = y_2$ by Axiom 6.
Hence $z$ is a function by Axiom 6, Definition 12, Definition 51.
$\dom{z} = J$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{z}$ we have $z(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 6, Definition 160, Proposition 199, Proposition 346, Proposition 361.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Definition 1, Definition 166, Definition 191, Proposition 358.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $z(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Proposition 346.
$(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Axiom 6.
Hence $\dom{F} = X$ by Axiom 6, Definition 1, Proposition 3, Proposition 199.
Claim: $F$ is a function from $X$ to $\productFamily{R}$.
Follows by Axiom 6, Proposition 349, Proposition 358.
$F$ is a function and $\dom{F} = X$ by Proposition 359.
Claim: For all $x_1,x_2$ such that $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}$ and $F(x_1) = F(x_2)$ we have $x_1 = x_2$.
Fix $x_1$.
Fix $x_2$ such that $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}$ and $F(x_1) = F(x_2)$.
Hence $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$.
Suppose not.
Hence $\{x_2\}$ is closed in $X$ with respect to $T$ by Definition 275, Proposition 25.
Let $U = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{x_2\}$.
Therefore $U$ is open in $X$ with respect to $T$ by Definition 101, Definition 149, Proposition 92, Proposition 97.
Hence $U$ is a neighborhood of $x_1$ in $X$ with respect to $T$ by Definition 101, Definition 149, Definition 153, Proposition 21, Proposition 85, Proposition 92, Proposition 97.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_1}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$ by assumption.
Hence $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_2} = 0$ by Proposition 20, Proposition 85, Proposition 87.
$\apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_1}$ and $\apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_2}$ by Axiom 6, Proposition 348.
$0 < \apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 83.
$\apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = 0$ by Lemma 83.
$\apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} \class{latex-symbol-tip latex-symbol-id-neq}{\neq} \apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 17, Axiom 39, Lemma 83.
$\apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$.
Contradiction.
Claim: $F$ is injective.
Follows by Proposition 386.
Claim: For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F = f(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$.
Hence for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Definition 160, Lemma 367.
Claim: $F$ is continuous from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
Follows by Definition 1, Definition 55, Definition 118, Lemma 76, Lemma 93, Lemma 193, Lemma 209.
$F$ is a function and $\dom{F} = X$ by Proposition 359.
Hence $F\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{\img{F}{X}}$ by Proposition 209, Proposition 238, Proposition 348, Proposition 358, Corollary 8.
$F$ is a bijection from $X$ to $\img{F}{X}$ by Definition 58, Proposition 386.
$\converse{F}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\img{F}{X}}{X}$ by Proposition 396.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$ we have $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 235.
Hence $F(x) = z$ by Proposition 346.
$(z,x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\converse{F}$ by Proposition 186.
$\apply{\converse{F}}{z} = x$ by Proposition 346, Proposition 359.
Claim: For all $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$ there exists $W$ such that $W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $\img{\converse{F}}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.
Fix $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$ by assumption.
Let $V = \intervalopen{0}{\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} + 1}$.
Let $D = \preimg{\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{V}$.
$\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 361.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 41, Axiom 42, Definition 1, Proposition 462.
Hence $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$0 + \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} < 1 + \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Axiom 37.
$0 + \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ and $1 + \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} + 1$ by Axiom 16, Axiom 17.
$\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} + 1$ by Lemma 82, Lemma 83.
$0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} + 1$ by Axiom 36.
Therefore $D$ is open in $\productFamily{R}$ with respect to $P$ by Definition 1, Definition 103, Definition 115, Definition 117, Definition 118, Definition 160, Lemma 76, Lemma 77, Lemma 87, Lemma 93, Lemma 209, Lemma 366, Proposition 155.
$\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Axiom 6, Proposition 348.
$0 < \apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 83.
$\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} + 1$ by Lemma 82.
$F(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Proposition 361.
$\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 166, Definition 191, Lemma 209, Proposition 361.
$\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 76.
$(F(x),\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 170, Proposition 348.
$(z,\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 246.
Let $W = \img{F}{X}\inter D$.
$\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Axiom 6, Definition 1, Proposition 235.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by Lemma 131.
Hence $W$ is open in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by Definition 103, Definition 146.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 61, Proposition 235.
$W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by Definition 153.
$\converse{F}$ is a function and $\dom{\converse{F}} = \img{F}{X}$ by Proposition 359.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\converse{F}}{W}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\converse{F}}{W}$.
Take $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\converse{F}}\inter W$ such that $y = \apply{\converse{F}}{p}$ by Proposition 365.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 63.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$ by Proposition 62, Proposition 63.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\converse{F}}$ by Definition 1.
$(y,p)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 186, Proposition 348.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 199, Proposition 359.
$p = F(y)$ by Proposition 346.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Definition 1.
$R$ is a function and $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ by Proposition 359.
$\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{R}}{\reals}$ by Lemma 191.
$\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a function by Proposition 359.
Take $q\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ such that $(p,q)\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Proposition 246.
$F(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Proposition 361.
$(F(y),\apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 170, Proposition 348.
$(p,\apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6.
$q = \apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Proposition 345.
$0 < q$ by Definition 76.
$0 < \apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 83.
$\apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}$ by Axiom 6.
$0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}$ by Lemma 83.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 39, Lemma 83, Proposition 85.
Hence $\img{\converse{F}}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
Hence $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$ by Axiom 6, Definition 1, Definition 161, Lemma 131, Proposition 235.
$\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Axiom 6, Definition 1, Proposition 235.
Claim: $\converse{F}$ is continuous from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
$\img{F}{X}$ is a subspace of $\productFamily{R}$ with respect to $P$ by Definition 147.
Claim: $F$ is continuous from $X$ to $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
Follows by Lemma 167, Proposition 2.
Claim: $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
Follows by Definition 162.
Claim: $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
Follows by Definition 164.
LaTeX source
\begin{proof}
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$R$ is a function on $J$ by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$S$ is a function on $J$ by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Thus $\dom{S} = J$ and $\dom{R} = J$ by \cref{funs}.
For all $\alpha\in J$ we have $S(\alpha) = \standardTopologyR$ and $R(\alpha) = \reals$ by \cref{function_apply_intro}.
Hence $\productFamily{R} = \realsPower{J}$ by \cref{product_family_reals_power}.
$P$ is a topology on $\productFamily{R}$
by \cref{product_subbasis_is_subbasis,product_subbasis_finite_intersections_basis,basis_topology_is_topology,basis_for_topology,standard_topology_reals}.
Show that for all $x,z_1,z_2$ such that $(x,z_1)\in F$ and $(x,z_2)\in F$ we have $z_1 = z_2$.
\begin{subproof}
Follows by \cref{pair_eq_iff,product_family_reals_power,subseteq,reals_power,tuple_power,functions_eq_iff}.
\end{subproof}
Hence $F$ is a function by \cref{pair_eq_iff,product_family_reals_power,subseteq,reals_power,tuple_power,functions_eq_iff,rightunique,relation}.
Show that for all $x\in X$ there exists $z$ such that $(x,z)\in F$.
\begin{subproof}
Fix $x\in X$.
Let $z = \{(\alpha,\apply{\apply{f}{\alpha}}{x}) \mid \alpha\in J\}$.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in z$ and $(\alpha,y_2)\in z$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
Hence $z$ is a function by \cref{relation,rightunique,pair_eq_iff}.
$\dom{z} = J$ by \cref{subseteq_antisymmetric,subseteq,dom_intro,dom_iff,pair_eq_iff}.
For all $\alpha\in\dom{z}$ we have $z(\alpha)\in\reals$
by \cref{dom_iff,pair_eq_iff,continuous,funs_type_apply,function_apply_intro}.
$z\in\productFamily{R}$ by \cref{funs_intro,reals_power,tuple_power,subseteq}.
For all $\alpha\in J$ we have $z(\alpha) = \apply{\apply{f}{\alpha}}{x}$ by \cref{function_apply_intro}.
$(x,z)\in F$ by \cref{pair_eq_iff}.
\end{subproof}
Hence $\dom{F} = X$ by \cref{subseteq,dom_iff,pair_eq_iff,subseteq_antisymmetric}.
Show that $F$ is a function from $X$ to $\productFamily{R}$.
\begin{subproof}
Follows by \cref{funs_intro,function_apply_iff,pair_eq_iff}.
\end{subproof}
$F$ is a function and $\dom{F} = X$ by \cref{funs_elim}.
Show that for all $x_1,x_2$ such that $x_1\in\dom{F}$ and $x_2\in\dom{F}$ and $F(x_1) = F(x_2)$ we have $x_1 = x_2$.
\begin{subproof}
Fix $x_1$.
Fix $x_2$ such that $x_1\in\dom{F}$ and $x_2\in\dom{F}$ and $F(x_1) = F(x_2)$.
Hence $x_1\in X$ and $x_2\in X$.
Suppose not.
Hence $\{x_2\}$ is closed in $X$ with respect to $T$ by \cref{one_point_closed,singleton_subset_intro}.
Let $U = X\setminus\{x_2\}$.
Therefore $U$ is open in $X$ with respect to $T$
by \cref{closed_in,topology_on,setminus_subseteq,double_relative_complement}.
Hence $U$ is a neighborhood of $x_1$ in $X$ with respect to $T$
by \cref{closed_in,topology_on,setminus_subseteq,double_relative_complement,singleton_elim,setminus_intro,neighborhood}.
Take $\alpha\in J$ such that
$0 < \apply{\apply{f}{\alpha}}{x_1}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$
by assumption.
Hence $\apply{\apply{f}{\alpha}}{x_2} = 0$
by \cref{setminus_elim_right,singleton_intro,setminus_intro}.
$\apply{\apply{F}{x_1}}{\alpha} = \apply{\apply{f}{\alpha}}{x_1}$ and
$\apply{\apply{F}{x_2}}{\alpha} = \apply{\apply{f}{\alpha}}{x_2}$ by \cref{function_apply_elim,pair_eq_iff}.
$0 < \apply{\apply{F}{x_1}}{\alpha}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x_2}}{\alpha} = 0$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x_1}}{\alpha} \neq \apply{\apply{F}{x_2}}{\alpha}$ by \cref{real_lt_subst_right,real_add_ident,real_lt_irreflexive}.
$\apply{\apply{F}{x_1}}{\alpha} = \apply{\apply{F}{x_2}}{\alpha}$.
Contradiction.
\end{subproof}
Show that $F$ is injective.
\begin{subproof}
Follows by \cref{injective_function}.
\end{subproof}
Show that for all $\alpha\in J$ we have $\piIndex{R}{\alpha}\circ F = f(\alpha)$.
\begin{subproof}
Follows by \cref{functions_eq_iff,function_apply_elim,pair_eq_iff,continuous,funs_elim,funs_type_apply,circ_elem_intro,projection_map_indexed,function_apply_intro,projection_map_indexed_function,funs_circ,funs_is_function}.
\end{subproof}
Hence for all $\alpha\in J$ we have $\piIndex{R}{\alpha}\circ F$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{continuous,continuous_eq_subst}.
Show that $F$ is continuous from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
\begin{subproof}
Follows by \cref{continuous_map_into_indexed_product,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,product_family_reals_power,funs,subseteq}.
\end{subproof}
$F$ is a function and $\dom{F} = X$ by \cref{funs_elim}.
Hence $F\in\surj{X}{\img{F}{X}}$ by \cref{funs_intro,function_apply_elim,ran_intro,img_dom,funs_surj_iff}.
$F$ is a bijection from $X$ to $\img{F}{X}$ by \cref{bijections,injective_function}.
$\converse{F}\in\funs{\img{F}{X}}{X}$ by \cref{bijective_converse_are_funs}.
Show that for all $z\in\img{F}{X}$ we have
$\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
\begin{subproof}
Fix $z\in\img{F}{X}$.
Take $x\in X$ such that $(x,z)\in F$ by \cref{img_iff}.
Hence $F(x) = z$ by \cref{function_apply_intro}.
$(z,x)\in\converse{F}$ by \cref{converse_iff}.
$\apply{\converse{F}}{z} = x$ by \cref{funs_elim,function_apply_intro}.
Show that for all $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$
there exists $W$ such that
$W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and
$\img{\converse{F}}{W}\subseteq U$.
\begin{subproof}
Fix $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$.
Take $\alpha\in J$ such that
$0 < \apply{\apply{f}{\alpha}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$
by assumption.
Let $V = \intervalopen{0}{\apply{\apply{f}{\alpha}}{x} + 1}$.
Let $D = \preimg{\piIndex{R}{\alpha}}{V}$.
$\apply{\apply{f}{\alpha}}{x}\in\reals$ by \cref{continuous,funs_type_apply}.
$0\in\reals$ by \cref{real_add_ident}.
$1\in\reals$ and $0 < 1$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
Hence $\apply{\apply{f}{\alpha}}{x} + 1\in\reals$ by \cref{real_add_closed}.
$0 + \apply{\apply{f}{\alpha}}{x} < 1 + \apply{\apply{f}{\alpha}}{x}$ by \cref{real_lt_add}.
$0 + \apply{\apply{f}{\alpha}}{x} = \apply{\apply{f}{\alpha}}{x}$ and
$1 + \apply{\apply{f}{\alpha}}{x} = \apply{\apply{f}{\alpha}}{x} + 1$
by \cref{real_add_ident,real_add_comm}.
$\apply{\apply{f}{\alpha}}{x} < \apply{\apply{f}{\alpha}}{x} + 1$
by \cref{real_lt_subst_left,real_lt_subst_right}.
$0 < \apply{\apply{f}{\alpha}}{x} + 1$ by \cref{real_lt_trans}.
Therefore $D$ is open in $\productFamily{R}$ with respect to $P$
by \cref{intervalopen_subset_reals,powerset_intro,standard_basis_reals,basis_elem_open_in_generated,basis_for_topology,standard_basis_is_basis,standard_topology_reals,projection_map_indexed_continuous,continuous,open_in,product_family_reals_power,subseteq,basis_topology_is_topology}.
$\apply{\apply{F}{x}}{\alpha} = \apply{\apply{f}{\alpha}}{x}$ by \cref{function_apply_elim,pair_eq_iff}.
$0 < \apply{\apply{F}{x}}{\alpha}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x}}{\alpha} < \apply{\apply{f}{\alpha}}{x} + 1$ by \cref{real_lt_subst_left}.
$F(x)\in\productFamily{R}$ by \cref{funs_type_apply}.
$\apply{\apply{F}{x}}{\alpha}\in\reals$ by \cref{product_family_reals_power,reals_power,tuple_power,subseteq,funs_type_apply}.
$\apply{\apply{F}{x}}{\alpha}\in V$ by \cref{intervalopen}.
$(F(x),\apply{\apply{F}{x}}{\alpha})\in\piIndex{R}{\alpha}$ by \cref{projection_map_indexed,function_apply_elim}.
$(z,\apply{\apply{F}{x}}{\alpha})\in\piIndex{R}{\alpha}$ by \cref{pair_eq_iff}.
$z\in D$ by \cref{preimg_iff}.
Let $W = \img{F}{X}\inter D$.
$\img{F}{X}\subseteq\productFamily{R}$ by \cref{subseteq,img_iff,pair_eq_iff}.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by \cref{subspace_topology_is_topology}.
Hence $W$ is open in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by \cref{subspace_topology,open_in}.
$z\in W$ by \cref{img_iff,inter_intro}.
$W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by \cref{neighborhood}.
$\converse{F}$ is a function and $\dom{\converse{F}} = \img{F}{X}$ by \cref{funs_elim}.
Show that for all $y$ such that $y\in\img{\converse{F}}{W}$ we have $y\in U$.
\begin{subproof}
Fix $y$ such that $y\in\img{\converse{F}}{W}$.
Take $p\in\dom{\converse{F}}\inter W$ such that $y = \apply{\converse{F}}{p}$ by \cref{img_of_function_elim}.
Hence $p\in W$ by \cref{inter_elim_right}.
$p\in D$ and $p\in\img{F}{X}$ by \cref{inter_elim_left,inter_elim_right}.
$p\in\dom{\converse{F}}$ by \cref{subseteq}.
$(y,p)\in F$ by \cref{converse_iff,function_apply_elim}.
$y\in X$ by \cref{dom_iff,funs_elim}.
$p = F(y)$ by \cref{function_apply_intro}.
$p\in\productFamily{R}$ by \cref{subseteq}.
$R$ is a function and $\alpha\in\dom{R}$ by \cref{funs_elim}.
$\piIndex{R}{\alpha}\in\funs{\productFamily{R}}{\reals}$ by \cref{projection_map_indexed_function}.
$\piIndex{R}{\alpha}$ is a function by \cref{funs_elim}.
Take $q\in V$ such that $(p,q)\in\piIndex{R}{\alpha}$ by \cref{preimg_iff}.
$F(y)\in\productFamily{R}$ by \cref{funs_type_apply}.
$(F(y),\apply{\apply{F}{y}}{\alpha})\in\piIndex{R}{\alpha}$ by \cref{projection_map_indexed,function_apply_elim}.
$(p,\apply{\apply{F}{y}}{\alpha})\in\piIndex{R}{\alpha}$ by \cref{pair_eq_iff}.
$q = \apply{\apply{F}{y}}{\alpha}$ by \cref{function_rightunique}.
$0 < q$ by \cref{intervalopen}.
$0 < \apply{\apply{F}{y}}{\alpha}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{y}}{\alpha} = \apply{\apply{f}{\alpha}}{y}$ by \cref{pair_eq_iff}.
$0 < \apply{\apply{f}{\alpha}}{y}$ by \cref{real_lt_subst_right}.
$y\in U$ by \cref{setminus_intro,real_lt_subst_right,real_lt_irreflexive}.
\end{subproof}
Hence $\img{\converse{F}}{W}\subseteq U$ by \cref{subseteq}.
\end{subproof}
Hence $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$
by \cref{subseteq,img_iff,pair_eq_iff,subspace_topology_is_topology,continuous_at}.
\end{subproof}
$\img{F}{X}\subseteq\productFamily{R}$ by \cref{subseteq,img_iff,pair_eq_iff}.
Show that $\converse{F}$ is continuous from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
\begin{subproof}
Follows by \cref{subspace_topology_is_topology,continuous_at_implies_continuous}.
\end{subproof}
$\img{F}{X}$ is a subspace of $\productFamily{R}$ with respect to $P$ by \cref{subspace_of}.
Show that $F$ is continuous from $X$ to $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
Follows by \cref{subseteq_refl,continuous_restrict_range}.
\end{subproof}
Show that $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
Follows by \cref{homeomorphism}.
\end{subproof}
Show that $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P$.
\begin{subproof}
Follows by \cref{topological_embedding}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Assume $X$ has closed singletons with respect to $T$.
Assume $J$ is inhabited.
Assume $f$ is a function on $J$.
Suppose for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Suppose for all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$.
Let $I = \intervalclosed{0}{1}$.
Suppose for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\img{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$.
Let $C = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},I) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$.
Let $S = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{I}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Let $F = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C} \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J. \apply{y}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}\}$.
Then $F$ is a topological embedding from $X$ to $\productFamily{C}$ with respect to $T$ and $P$.
LaTeX source
\begin{theorem}
\label{urysohn_embedding_theorem_unit_cube}
Assume $T$ is a topology on $X$.
Assume $X$ has closed singletons with respect to $T$.
Assume $J$ is inhabited.
Assume $f$ is a function on $J$.
Suppose for all $\alpha\in J$ we have $\apply{f}{\alpha}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Suppose for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $\alpha\in J$ such that
$0 < \apply{\apply{f}{\alpha}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$.
Let $I = \intervalclosed{0}{1}$.
Suppose for all $\alpha\in J$ we have $\img{\apply{f}{\alpha}}{X}\subseteq I$.
Let $C = \{(\alpha,I) \mid \alpha\in J\}$.
Let $S = \{(\alpha,\subspaceTopology{\standardTopologyR}{I}) \mid \alpha\in J\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Let $F = \{(x,y) \mid x\in X, y\in\productFamily{C} \mid
\forall \alpha\in J. \apply{y}{\alpha} = \apply{\apply{f}{\alpha}}{x}\}$.
Then $F$ is a topological embedding from $X$ to $\productFamily{C}$ with respect to $T$ and $P$.
\end{theorem}
Proof
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and $T_I$ is a topology on $I$ by Definition 147, Lemma 131.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Definition 160, Lemma 470.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $y_1 = y_2$ by Axiom 6.
Hence $C$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ we have $y_1 = y_2$ by Axiom 6.
We have $S$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Thus $\dom{S} = J$ and $\dom{C} = J$ by Definition 55.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $S(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = T_I$ and $C(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = I$ by Proposition 346.
$P$ is a topology on $\productFamily{C}$ by Definition 115, Lemma 76, Lemma 131, Lemma 176, Lemma 177.
For all $x,z_1,z_2$ such that $(x,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $(x,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $z_1 = z_2$ by Axiom 6, Definition 55, Definition 167, Lemma 438, Proposition 356.
Hence $F$ is a function by Axiom 6, Definition 12, Definition 51, Definition 55, Definition 167, Lemma 438, Proposition 356.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $z$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $z = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ we have $y_1 = y_2$ by Axiom 6.
Hence $z$ is a function by Axiom 6, Definition 12, Definition 51.
We have $\dom{z} = J$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{z}$ we have $z(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 6, Definition 160, Proposition 199, Proposition 346, Proposition 361.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{I}$ by Proposition 358.
Therefore $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Axiom 4, Definition 167, Proposition 209, Proposition 346, Proposition 358, Proposition 359.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $z(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Proposition 346.
Hence $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Axiom 6.
Hence $\dom{F} = X$ by Axiom 6, Definition 1, Proposition 3, Proposition 199.
$F\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\productFamily{C}}$ by Axiom 6, Proposition 349, Proposition 358.
$F$ is a function and $\dom{F} = X$ by Proposition 359.
Claim: For all $x_1,x_2$ such that $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}$ and $F(x_1) = F(x_2)$ we have $x_1 = x_2$.
Fix $x_1$.
Fix $x_2$ such that $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}$ and $F(x_1) = F(x_2)$.
Hence $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$.
Suppose not.
We have $\{x_2\}$ is closed in $X$ with respect to $T$ by Definition 275, Proposition 25.
Let $U = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{x_2\}$.
Hence $U$ is a neighborhood of $x_1$ in $X$ with respect to $T$ by Definition 101, Definition 149, Definition 153, Proposition 21, Proposition 85, Proposition 92, Proposition 97.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_1}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$ by assumption.
$\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_2} = 0$ by Proposition 20, Proposition 85, Proposition 87.
We have $\apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_1}$ and $\apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x_2}$ by Axiom 6, Proposition 348.
$0 < \apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 83.
$\apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = 0$ by Lemma 83.
Therefore $\apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} \class{latex-symbol-tip latex-symbol-id-neq}{\neq} \apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 17, Axiom 39, Lemma 83.
$\apply{\apply{F}{x_1}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{F}{x_2}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$.
Contradiction.
Hence $F$ is injective by Proposition 386.
Claim: For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F = f(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$.
Fix $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
$\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{C}}{I}$ by Lemma 191.
$\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I}$ by Proposition 382.
$\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I}$ by Definition 160.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F}{x} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
$\apply{F}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Proposition 361.
$(x,\apply{F}{x})\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 348.
$\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Axiom 6.
$(\apply{F}{x},\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 170.
$(x,\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F$ by Proposition 255.
$\apply{\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F}{x} = \apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Proposition 346, Proposition 356.
$\apply{\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F}{x} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Lemma 83.
$\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F = f(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Lemma 438.
Hence for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} F$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Definition 160, Lemma 367.
Claim: $F$ is continuous from $X$ to $\productFamily{C}$ with respect to $T$ and $P$.
Follows by Definition 1, Definition 55, Lemma 131, Lemma 193.
$F$ is a function and $\dom{F} = X$ by Proposition 359.
Hence $F\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{X}{\img{F}{X}}$ by Proposition 209, Proposition 238, Proposition 348, Proposition 358, Corollary 8.
Thus $F$ is a bijection from $X$ to $\img{F}{X}$ by Definition 58, Proposition 386.
Hence $\converse{F}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\img{F}{X}}{X}$ by Proposition 396.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$ we have $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 235.
Hence $F(x) = z$ by Proposition 346.
Therefore $(z,x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\converse{F}$ by Proposition 186.
$\apply{\converse{F}}{z} = x$ by Proposition 346, Proposition 359.
Claim: For all $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$ there exists $W$ such that $W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $\img{\converse{F}}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.
Fix $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$ by assumption.
Let $V_0 = \intervalopen{0}{1 + 1}$.
Let $V = I\inter V_0$.
Let $D = \preimg{\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{V}$.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1$ by Axiom 13, Axiom 17, Axiom 36, Axiom 37, Axiom 41, Axiom 42, Definition 1, Proposition 462.
Hence $V_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardTopologyR$ by Definition 115, Definition 117, Definition 118, Lemma 77, Lemma 87, Lemma 93, Proposition 155.
$V$ is open in $I$ with respect to $T_I$ by Definition 103, Definition 146.
Thus $D$ is open in $\productFamily{C}$ with respect to $P$ by Definition 1, Definition 103, Definition 160, Lemma 131, Lemma 366.
We have $\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Axiom 6, Proposition 348.
$\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 160, Proposition 361.
Hence $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} < 1 + 1$ by Axiom 17, Axiom 36, Axiom 37, Axiom 41, Axiom 42, Axiom 43, Definition 1, Definition 75, Lemma 231.
$0 < \apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 83.
$\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} < 1 + 1$ by Lemma 82.
$F(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Proposition 361.
Hence $\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 167, Proposition 361.
We have $\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75.
$\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in} V_0$ by Definition 76.
Thus $\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Proposition 61.
Hence $(F(x),\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 170, Proposition 348.
Therefore $(z,\apply{\apply{F}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 246.
Let $W = \img{F}{X}\inter D$.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{P}{\img{F}{X}}$ by Definition 103, Definition 146.
$\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{C}$ by Axiom 6, Definition 1, Proposition 235.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by Lemma 131.
Hence $W$ is open in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by Definition 103.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 61, Proposition 235.
Thus $W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by Definition 153.
$\converse{F}$ is a function and $\dom{\converse{F}} = \img{F}{X}$ by Proposition 359.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\converse{F}}{W}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\converse{F}}{W}$.
Take $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\converse{F}}\inter W$ such that $y = \apply{\converse{F}}{p}$ by Proposition 365.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 63.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$ by Proposition 62, Proposition 63.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\converse{F}}$ by Definition 1.
Thus $(y,p)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 186, Proposition 348.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 199, Proposition 359.
Therefore $p = F(y)$ by Proposition 346.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Definition 1.
$C$ is a function and $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ by Proposition 359.
$\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{C}}{I}$ by Lemma 191.
Hence $\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a function by Proposition 359.
Take $q\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ such that $(p,q)\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Proposition 246.
$F(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Proposition 361.
Hence $(F(y),\apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 170, Proposition 348.
$(p,\apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6.
Therefore $q = \apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Proposition 345.
Hence $0 < q$ by Definition 76, Proposition 63.
$0 < \apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 83.
Thus $\apply{\apply{F}{y}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}$ by Axiom 6.
Hence $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}$ by Lemma 83.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 39, Lemma 83, Proposition 85.
Hence $\img{\converse{F}}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
Hence $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$ by Axiom 6, Definition 1, Definition 161, Lemma 131, Proposition 235.
$\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{C}$ by Axiom 6, Definition 1, Proposition 235.
Claim: $\converse{F}$ is continuous from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
$\img{F}{X}$ is a subspace of $\productFamily{C}$ with respect to $P$ by Definition 147.
Claim: $F$ is continuous from $X$ to $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
Follows by Lemma 167, Proposition 2.
Claim: $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
Follows by Definition 162.
Claim: $F$ is a topological embedding from $X$ to $\productFamily{C}$ with respect to $T$ and $P$.
Follows by Definition 164.
LaTeX source
\begin{proof}
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and
$T_I$ is a topology on $I$ by \cref{subspace_of,subspace_topology_is_topology}.
For all $\alpha\in J$ we have $\apply{f}{\alpha}$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
by \cref{continuous,continuous_subspace_range}.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in C$ and $(\alpha,y_2)\in C$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
Hence $C$ is a function on $J$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in S$ and $(\alpha,y_2)\in S$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
We have $S$ is a function on $J$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Thus $\dom{S} = J$ and $\dom{C} = J$ by \cref{funs}.
For all $\alpha\in J$ we have $S(\alpha) = T_I$ and $C(\alpha) = I$ by \cref{function_apply_intro}.
$P$ is a topology on $\productFamily{C}$
by \cref{product_subbasis_is_subbasis,product_subbasis_finite_intersections_basis,basis_topology_is_topology,basis_for_topology,subspace_topology_is_topology}.
For all $x,z_1,z_2$ such that $(x,z_1)\in F$ and $(x,z_2)\in F$ we have $z_1 = z_2$
by \cref{pair_eq_iff,indexed_product,funs_is_function,funs,functions_eq_iff}.
Hence $F$ is a function by \cref{pair_eq_iff,indexed_product,funs_is_function,funs,functions_eq_iff,rightunique,relation}.
Show that for all $x\in X$ there exists $z$ such that $(x,z)\in F$.
\begin{subproof}
Fix $x\in X$.
Let $z = \{(\alpha,\apply{\apply{f}{\alpha}}{x}) \mid \alpha\in J\}$.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in z$ and $(\alpha,y_2)\in z$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
Hence $z$ is a function by \cref{relation,rightunique,pair_eq_iff}.
We have $\dom{z} = J$ by \cref{subseteq_antisymmetric,subseteq,dom_intro,dom_iff,pair_eq_iff}.
For all $\alpha\in\dom{z}$ we have $z(\alpha)\in I$
by \cref{dom_iff,pair_eq_iff,continuous,funs_type_apply,function_apply_intro}.
$z\in\funs{J}{I}$ by \cref{funs_intro}.
Therefore $z\in\productFamily{C}$ by \cref{funs_intro,indexed_product,funs_elim,function_apply_intro,ran_intro,unions_iff}.
For all $\alpha\in J$ we have $z(\alpha) = \apply{\apply{f}{\alpha}}{x}$ by \cref{function_apply_intro}.
Hence $(x,z)\in F$ by \cref{pair_eq_iff}.
\end{subproof}
Hence $\dom{F} = X$ by \cref{subseteq,dom_iff,pair_eq_iff,subseteq_antisymmetric}.
$F\in\funs{X}{\productFamily{C}}$ by \cref{funs_intro,function_apply_iff,pair_eq_iff}.
$F$ is a function and $\dom{F} = X$ by \cref{funs_elim}.
Show that for all $x_1,x_2$ such that $x_1\in\dom{F}$ and $x_2\in\dom{F}$ and $F(x_1) = F(x_2)$ we have $x_1 = x_2$.
\begin{subproof}
Fix $x_1$.
Fix $x_2$ such that $x_1\in\dom{F}$ and $x_2\in\dom{F}$ and $F(x_1) = F(x_2)$.
Hence $x_1\in X$ and $x_2\in X$.
Suppose not.
We have $\{x_2\}$ is closed in $X$ with respect to $T$ by \cref{one_point_closed,singleton_subset_intro}.
Let $U = X\setminus\{x_2\}$.
Hence $U$ is a neighborhood of $x_1$ in $X$ with respect to $T$
by \cref{closed_in,topology_on,setminus_subseteq,double_relative_complement,singleton_elim,setminus_intro,neighborhood}.
Take $\alpha\in J$ such that
$0 < \apply{\apply{f}{\alpha}}{x_1}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$
by assumption.
$\apply{\apply{f}{\alpha}}{x_2} = 0$
by \cref{setminus_elim_right,singleton_intro,setminus_intro}.
We have $\apply{\apply{F}{x_1}}{\alpha} = \apply{\apply{f}{\alpha}}{x_1}$ and
$\apply{\apply{F}{x_2}}{\alpha} = \apply{\apply{f}{\alpha}}{x_2}$ by \cref{function_apply_elim,pair_eq_iff}.
$0 < \apply{\apply{F}{x_1}}{\alpha}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x_2}}{\alpha} = 0$ by \cref{real_lt_subst_right}.
Therefore $\apply{\apply{F}{x_1}}{\alpha} \neq \apply{\apply{F}{x_2}}{\alpha}$ by \cref{real_lt_subst_right,real_add_ident,real_lt_irreflexive}.
$\apply{\apply{F}{x_1}}{\alpha} = \apply{\apply{F}{x_2}}{\alpha}$.
Contradiction.
\end{subproof}
Hence $F$ is injective by \cref{injective_function}.
Show that for all $\alpha\in J$ we have $\piIndex{C}{\alpha}\circ F = f(\alpha)$.
\begin{subproof}
Fix $\alpha\in J$.
$\piIndex{C}{\alpha}\in\funs{\productFamily{C}}{I}$ by \cref{projection_map_indexed_function}.
$\piIndex{C}{\alpha}\circ F\in\funs{X}{I}$ by \cref{funs_circ}.
$\apply{f}{\alpha}\in\funs{X}{I}$ by \cref{continuous}.
Show that for all $x\in X$ we have $\apply{\piIndex{C}{\alpha}\circ F}{x} = \apply{\apply{f}{\alpha}}{x}$.
\begin{subproof}
Fix $x\in X$.
$\apply{F}{x}\in\productFamily{C}$ by \cref{funs_type_apply}.
$(x,\apply{F}{x})\in F$ by \cref{function_apply_elim}.
$\apply{\apply{F}{x}}{\alpha} = \apply{\apply{f}{\alpha}}{x}$ by \cref{pair_eq_iff}.
$(\apply{F}{x},\apply{\apply{F}{x}}{\alpha})\in\piIndex{C}{\alpha}$ by \cref{projection_map_indexed}.
$(x,\apply{\apply{F}{x}}{\alpha})\in\piIndex{C}{\alpha}\circ F$ by \cref{circ_elem_intro}.
$\apply{\piIndex{C}{\alpha}\circ F}{x} = \apply{\apply{F}{x}}{\alpha}$ by \cref{function_apply_intro,funs_is_function}.
$\apply{\piIndex{C}{\alpha}\circ F}{x} = \apply{\apply{f}{\alpha}}{x}$ by \cref{real_lt_subst_right}.
\end{subproof}
$\piIndex{C}{\alpha}\circ F = f(\alpha)$ by \cref{functions_eq_iff}.
\end{subproof}
Hence for all $\alpha\in J$ we have $\piIndex{C}{\alpha}\circ F$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
by \cref{continuous,continuous_eq_subst}.
Show that $F$ is continuous from $X$ to $\productFamily{C}$ with respect to $T$ and $P$.
\begin{subproof}
Follows by \cref{continuous_map_into_indexed_product,subspace_topology_is_topology,funs,subseteq}.
\end{subproof}
$F$ is a function and $\dom{F} = X$ by \cref{funs_elim}.
Hence $F\in\surj{X}{\img{F}{X}}$ by \cref{funs_intro,function_apply_elim,ran_intro,img_dom,funs_surj_iff}.
Thus $F$ is a bijection from $X$ to $\img{F}{X}$ by \cref{bijections,injective_function}.
Hence $\converse{F}\in\funs{\img{F}{X}}{X}$ by \cref{bijective_converse_are_funs}.
Show that for all $z\in\img{F}{X}$ we have
$\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
\begin{subproof}
Fix $z\in\img{F}{X}$.
Take $x\in X$ such that $(x,z)\in F$ by \cref{img_iff}.
Hence $F(x) = z$ by \cref{function_apply_intro}.
Therefore $(z,x)\in\converse{F}$ by \cref{converse_iff}.
$\apply{\converse{F}}{z} = x$ by \cref{funs_elim,function_apply_intro}.
Show that for all $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$
there exists $W$ such that
$W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and
$\img{\converse{F}}{W}\subseteq U$.
\begin{subproof}
Fix $U$ such that $U$ is a neighborhood of $\apply{\converse{F}}{z}$ in $X$ with respect to $T$.
Take $\alpha\in J$ such that
$0 < \apply{\apply{f}{\alpha}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$
by assumption.
Let $V_0 = \intervalopen{0}{1 + 1}$.
Let $V = I\inter V_0$.
Let $D = \preimg{\piIndex{C}{\alpha}}{V}$.
$0\in\reals$ and $1 + 1\in\reals$ and $0 < 1 + 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_add_closed,real_zero_lt_one,real_lt_add,real_lt_trans}.
Hence $V_0\in\standardTopologyR$
by \cref{intervalopen_subset_reals,powerset_intro,standard_basis_reals,basis_elem_open_in_generated,basis_for_topology,standard_basis_is_basis,standard_topology_reals}.
$V$ is open in $I$ with respect to $T_I$ by \cref{subspace_topology,open_in}.
Thus $D$ is open in $\productFamily{C}$ with respect to $P$
by \cref{projection_map_indexed_continuous,continuous,open_in,subspace_topology_is_topology,subseteq}.
We have $\apply{\apply{F}{x}}{\alpha} = \apply{\apply{f}{\alpha}}{x}$ by \cref{function_apply_elim,pair_eq_iff}.
$\apply{\apply{f}{\alpha}}{x}\in I$ by \cref{continuous,funs_type_apply}.
Hence $\apply{\apply{f}{\alpha}}{x} < 1 + 1$ by \cref{intervalclosed,real_lt_add,real_add_ident,real_lt_trans,real_one_leq_naturalsplus,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_lt_imp_leq}.
$0 < \apply{\apply{F}{x}}{\alpha}$ by \cref{real_lt_subst_right}.
$\apply{\apply{F}{x}}{\alpha} < 1 + 1$ by \cref{real_lt_subst_left}.
$F(x)\in\productFamily{C}$ by \cref{funs_type_apply}.
Hence $\apply{\apply{F}{x}}{\alpha}\in I$ by \cref{funs_type_apply,indexed_product}.
We have $\apply{\apply{F}{x}}{\alpha}\in\reals$ by \cref{intervalclosed,subseteq}.
$\apply{\apply{F}{x}}{\alpha}\in V_0$ by \cref{intervalopen}.
Thus $\apply{\apply{F}{x}}{\alpha}\in V$ by \cref{inter_intro}.
Hence $(F(x),\apply{\apply{F}{x}}{\alpha})\in\piIndex{C}{\alpha}$ by \cref{projection_map_indexed,function_apply_elim}.
Therefore $(z,\apply{\apply{F}{x}}{\alpha})\in\piIndex{C}{\alpha}$ by \cref{pair_eq_iff}.
$z\in D$ by \cref{preimg_iff}.
Let $W = \img{F}{X}\inter D$.
$W\in\subspaceTopology{P}{\img{F}{X}}$ by \cref{subspace_topology,open_in}.
$\img{F}{X}\subseteq\productFamily{C}$ by \cref{subseteq,img_iff,pair_eq_iff}.
$\subspaceTopology{P}{\img{F}{X}}$ is a topology on $\img{F}{X}$ by \cref{subspace_topology_is_topology}.
Hence $W$ is open in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by \cref{open_in}.
$z\in W$ by \cref{img_iff,inter_intro}.
Thus $W$ is a neighborhood of $z$ in $\img{F}{X}$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ by \cref{neighborhood}.
$\converse{F}$ is a function and $\dom{\converse{F}} = \img{F}{X}$ by \cref{funs_elim}.
Show that for all $y$ such that $y\in\img{\converse{F}}{W}$ we have $y\in U$.
\begin{subproof}
Fix $y$ such that $y\in\img{\converse{F}}{W}$.
Take $p\in\dom{\converse{F}}\inter W$ such that $y = \apply{\converse{F}}{p}$ by \cref{img_of_function_elim}.
Hence $p\in W$ by \cref{inter_elim_right}.
We have $p\in D$ and $p\in\img{F}{X}$ by \cref{inter_elim_left,inter_elim_right}.
$p\in\dom{\converse{F}}$ by \cref{subseteq}.
Thus $(y,p)\in F$ by \cref{converse_iff,function_apply_elim}.
Hence $y\in X$ by \cref{dom_iff,funs_elim}.
Therefore $p = F(y)$ by \cref{function_apply_intro}.
$p\in\productFamily{C}$ by \cref{subseteq}.
$C$ is a function and $\alpha\in\dom{C}$ by \cref{funs_elim}.
$\piIndex{C}{\alpha}\in\funs{\productFamily{C}}{I}$ by \cref{projection_map_indexed_function}.
Hence $\piIndex{C}{\alpha}$ is a function by \cref{funs_elim}.
Take $q\in V$ such that $(p,q)\in\piIndex{C}{\alpha}$ by \cref{preimg_iff}.
$F(y)\in\productFamily{C}$ by \cref{funs_type_apply}.
Hence $(F(y),\apply{\apply{F}{y}}{\alpha})\in\piIndex{C}{\alpha}$ by \cref{projection_map_indexed,function_apply_elim}.
$(p,\apply{\apply{F}{y}}{\alpha})\in\piIndex{C}{\alpha}$ by \cref{pair_eq_iff}.
Therefore $q = \apply{\apply{F}{y}}{\alpha}$ by \cref{function_rightunique}.
Hence $0 < q$ by \cref{inter_elim_right,intervalopen}.
$0 < \apply{\apply{F}{y}}{\alpha}$ by \cref{real_lt_subst_right}.
Thus $\apply{\apply{F}{y}}{\alpha} = \apply{\apply{f}{\alpha}}{y}$ by \cref{pair_eq_iff}.
Hence $0 < \apply{\apply{f}{\alpha}}{y}$ by \cref{real_lt_subst_right}.
$y\in U$ by \cref{setminus_intro,real_lt_subst_right,real_lt_irreflexive}.
\end{subproof}
Hence $\img{\converse{F}}{W}\subseteq U$ by \cref{subseteq}.
\end{subproof}
Hence $\converse{F}$ is continuous at $z$ from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$
by \cref{subseteq,img_iff,pair_eq_iff,subspace_topology_is_topology,continuous_at}.
\end{subproof}
$\img{F}{X}\subseteq\productFamily{C}$ by \cref{subseteq,img_iff,pair_eq_iff}.
Show that $\converse{F}$ is continuous from $\img{F}{X}$ to $X$ with respect to $\subspaceTopology{P}{\img{F}{X}}$ and $T$.
\begin{subproof}
Follows by \cref{subspace_topology_is_topology,continuous_at_implies_continuous}.
\end{subproof}
$\img{F}{X}$ is a subspace of $\productFamily{C}$ with respect to $P$ by \cref{subspace_of}.
Show that $F$ is continuous from $X$ to $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
Follows by \cref{subseteq_refl,continuous_restrict_range}.
\end{subproof}
Show that $F$ is a homeomorphism between $X$ and $\img{F}{X}$ with respect to $T$ and $\subspaceTopology{P}{\img{F}{X}}$.
\begin{subproof}
Follows by \cref{homeomorphism}.
\end{subproof}
Show that $F$ is a topological embedding from $X$ to $\productFamily{C}$ with respect to $T$ and $P$.
\begin{subproof}
Follows by \cref{topological_embedding}.
\end{subproof}
\end{proof}
$f$ separates points from closed sets in $X$ with respect to $T$ and $J$ iff $T$ is a topology on $X$ and $f$ is a function on $J$ and for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and for all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$.
LaTeX source
\begin{definition}
\label{separates_points_from_closed_sets}
$f$ separates points from closed sets in $X$ with respect to $T$ and $J$ iff
$T$ is a topology on $X$ and
$f$ is a function on $J$ and
for all $\alpha\in J$ we have $\apply{f}{\alpha}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $\alpha\in J$ such that
$0 < \apply{\apply{f}{\alpha}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$.
\end{definition}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then $I$ is completely regular with respect to $T_I$.
LaTeX source
\begin{lemma}
\label{unit_interval_completely_regular}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then $I$ is completely regular with respect to $T_I$.
\end{lemma}
Proof
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and $T_I$ is a topology on $I$ by Definition 147, Lemma 131.
$I$ is compact with respect to $T_I$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Lemma 365, Proposition 462.
$\realOrderTopology = \standardTopologyR$ and $\realOrderTopology = \basisTopology{\orderBasis{\realOrderRel}{\reals}}{\reals}$ by Definition 233, Lemma 336.
$\realOrderRel$ is a simple order relation on $\reals$ and $\reals$ has more than one element by Definition 231, Lemma 322, Lemma 326.
Thus $\realOrderTopology$ is the order topology on $\reals$ with respect to $\realOrderRel$ by Definition 134.
Hence $I$ is Hausdorff with respect to $T_I$ by Lemma 336, Theorem 17, Theorem 19.
Claim: $I$ is normal with respect to $T_I$ and $I$ has closed singletons with respect to $T_I$.
Follows by Definition 277, Theorem 82.
Claim: For all $x,A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $A$ is closed in $I$ with respect to $T_I$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ there exists $f$ such that $f$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and $f(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(y) = 0$.
Fix $x$.
Fix $A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $A$ is closed in $I$ with respect to $T_I$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$.
We have $\{x\}$ is closed in $I$ with respect to $T_I$ and $A$ is disjoint from $\{x\}$ by Axiom 6, Definition 3, Definition 275, Definition 277, Proposition 21, Proposition 25.
Take $g$ such that $g$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and $\img{g}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{g}{\{x\}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ by Lemma 510.
Claim: $g(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(y) = 0$.
Follows by definition.
Claim: $I$ is completely regular with respect to $T_I$.
Follows by Definition 286.
LaTeX source
\begin{proof}
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and
$T_I$ is a topology on $I$ by \cref{subspace_of,subspace_topology_is_topology}.
$I$ is compact with respect to $T_I$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq,real_intervalclosed_compact_standard}.
$\realOrderTopology = \standardTopologyR$ and
$\realOrderTopology = \basisTopology{\orderBasis{\realOrderRel}{\reals}}{\reals}$
by \cref{real_order_topology_eq_standard,real_order_topology}.
$\realOrderRel$ is a simple order relation on $\reals$ and
$\reals$ has more than one element by \cref{real_order_relation_simple,linear_continuum,reals_linear_continuum}.
Thus $\realOrderTopology$ is the order topology on $\reals$ with respect to $\realOrderRel$ by \cref{order_topology}.
Hence $I$ is Hausdorff with respect to $T_I$
by \cref{order_topology_hausdorff,real_order_topology_eq_standard,subspace_hausdorff}.
Show that $I$ is normal with respect to $T_I$ and $I$ has closed singletons with respect to $T_I$.
\begin{subproof}
Follows by \cref{compact_hausdorff_normal,normal_space}.
\end{subproof}
Show that for all $x,A$ such that $x\in I$ and $A$ is closed in $I$ with respect to $T_I$ and $x\notin A$
there exists $f$ such that
$f$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and
$f(x) = 1$ and
for all $y\in A$ we have $f(y) = 0$.
\begin{subproof}
Fix $x$.
Fix $A$ such that $x\in I$ and $A$ is closed in $I$ with respect to $T_I$ and $x\notin A$.
We have $\{x\}$ is closed in $I$ with respect to $T_I$ and $A$ is disjoint from $\{x\}$
by \cref{normal_space,one_point_closed,singleton_subset_intro,disjoint,singleton_elim,pair_eq_iff}.
Take $g$ such that
$g$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and
$\img{g}{A}\subseteq \{0\}$ and
$\img{g}{\{x\}}\subseteq \{1\}$
by \cref{urysohn_unit_interval}.
Show that $g(x) = 1$ and for all $y\in A$ we have $g(y) = 0$.
\begin{subproof}
Follows by \cref{continuous,funs_is_function,funs,subseteq,inter_intro,singleton_intro,img_of_function_intro,singleton_elim,closed_in}.
\end{subproof}
Follows by definition.
\end{subproof}
Show that $I$ is completely regular with respect to $T_I$.
\begin{subproof}
Follows by \cref{completely_regular_space}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Assume $S$ is a topology on $Y$.
Suppose $f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $S$.
If $Y$ is completely regular with respect to $S$ then $X$ is completely regular with respect to $T$.
LaTeX source
\begin{lemma}
\label{homeomorphism_preserves_completely_regular}
Assume $T$ is a topology on $X$.
Assume $S$ is a topology on $Y$.
Suppose $f$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $S$.
If $Y$ is completely regular with respect to $S$ then $X$ is completely regular with respect to $T$.
\end{lemma}
Proof
Assume $Y$ is completely regular with respect to $S$.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $f$ is a function and $\dom{f} = X$ by Definition 55, Definition 58, Definition 162, Proposition 356, Proposition 389.
We have $f$ is injective by Definition 58, Definition 162.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\{x\}$ is closed in $X$ with respect to $T$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $y = f(x)$.
We have $\{y\}$ is closed in $Y$ with respect to $S$ by Definition 275, Definition 286, Proposition 25, Proposition 361.
$\preimg{f}{\{y\}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\{x\}$ by Axiom 6, Definition 1, Definition 1, Proposition 20, Proposition 21, Proposition 246, Proposition 349, Proposition 386.
$\{x\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{f}{\{y\}}$ by Axiom 6, Definition 1, Definition 1, Definition 55, Proposition 20, Proposition 21, Proposition 246, Proposition 348.
Hence $\{x\}$ is closed in $X$ with respect to $T$ by Definition 1, Definition 55, Definition 149, Definition 160, Definition 162, Lemma 157, Proposition 3, Proposition 249.
Hence $X$ has closed singletons with respect to $T$ by Definition 275.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Claim: For all $x,A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $A$ is closed in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ there exists $k$ such that $k$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $k(x) = 1$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $k(a) = 0$.
Fix $x$.
Fix $A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $A$ is closed in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$.
Let $y = f(x)$.
Let $B = \img{f}{A}$.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 361.
We have $B$ is closed in $Y$ with respect to $S$ by Definition 1, Definition 55, Definition 149, Definition 160, Definition 162, Lemma 157, Proposition 189, Proposition 247, Proposition 249, Proposition 355.
We have $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} B$ by Axiom 6, Definition 1, Definition 149, Proposition 235, Proposition 346, Proposition 386.
Take $q$ such that $q$ is continuous from $Y$ to $I$ with respect to $S$ and $T_I$ and $q(y) = 1$ and for all $b\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $q(b) = 0$ by Definition 286.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{I}$ and $q$ is a function and $\dom{q} = Y$ by Definition 55, Definition 160, Proposition 356.
$f$ is continuous from $X$ to $Y$ with respect to $T$ and $S$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $f$ is a function and $\dom{f} = X$ by Definition 55, Definition 160, Definition 162, Proposition 356.
Let $k = q\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$q$ is composable with $f$ by Definition 1, Definition 55, Definition 160, Proposition 356, Proposition 363.
Claim: $k$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $k(x) = 1$.
Follows by Axiom 6, Lemma 165, Proposition 359, Proposition 373.
Claim: For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $k(a) = 0$.
Follows by Definition 1, Definition 149, Proposition 235, Proposition 348, Proposition 359, Proposition 373.
Follows by definition.
Claim: $X$ is completely regular with respect to $T$.
Follows by Definition 286.
LaTeX source
\begin{proof}
Assume $Y$ is completely regular with respect to $S$.
$f\in\funs{X}{Y}$ and $f$ is a function and $\dom{f} = X$
by \cref{homeomorphism,bijections,bijections_to_funs,funs_is_function,funs}.
We have $f$ is injective by \cref{homeomorphism,bijections}.
Show that for all $x$ such that $x\in X$ we have $\{x\}$ is closed in $X$ with respect to $T$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $y = f(x)$.
We have $\{y\}$ is closed in $Y$ with respect to $S$
by \cref{funs_type_apply,completely_regular_space,one_point_closed,singleton_subset_intro}.
$\preimg{f}{\{y\}}\subseteq\{x\}$
by \cref{subseteq,preimg_iff,function_apply_iff,singleton_elim,subseteq,pair_eq_iff,injective_function,singleton_intro}.
$\{x\}\subseteq\preimg{f}{\{y\}}$
by \cref{subseteq,singleton_elim,subseteq,pair_eq_iff,funs,function_apply_elim,singleton_intro,preimg_iff}.
Hence $\{x\}$ is closed in $X$ with respect to $T$
by \cref{subseteq_antisymmetric,closed_in,homeomorphism,continuous,preimg_setminus_function,preimg_subseteq_dom,funs,subseteq}.
\end{subproof}
Hence $X$ has closed singletons with respect to $T$ by \cref{one_point_closed}.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Show that for all $x,A$ such that $x\in X$ and $A$ is closed in $X$ with respect to $T$ and $x\notin A$
there exists $k$ such that
$k$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
$k(x) = 1$ and
for all $a\in A$ we have $k(a) = 0$.
\begin{subproof}
Fix $x$.
Fix $A$ such that $x\in X$ and $A$ is closed in $X$ with respect to $T$ and $x\notin A$.
Let $y = f(x)$.
Let $B = \img{f}{A}$.
Hence $y\in Y$ by \cref{funs_type_apply}.
We have $B$ is closed in $Y$ with respect to $S$
by \cref{homeomorphism,continuous,closed_in,preimg_setminus_function,preimg_subseteq_dom,funs,subseteq,funs_is_relation,preim_eq_img_of_converse,converse_converse_eq}.
We have $y\notin B$ by \cref{img_iff,closed_in,subseteq,function_apply_intro,pair_eq_iff,injective_function}.
Take $q$ such that
$q$ is continuous from $Y$ to $I$ with respect to $S$ and $T_I$ and
$q(y) = 1$ and
for all $b\in B$ we have $q(b) = 0$
by \cref{completely_regular_space}.
$q\in\funs{Y}{I}$ and $q$ is a function and $\dom{q} = Y$ by \cref{continuous,funs_is_function,funs}.
$f$ is continuous from $X$ to $Y$ with respect to $T$ and $S$ and
$f\in\funs{X}{Y}$ and $f$ is a function and $\dom{f} = X$
by \cref{homeomorphism,continuous,funs_is_function,funs}.
Let $k = q\circ f$.
$q$ is composable with $f$ by \cref{continuous,funs,funs_is_function,funs_ran,subseteq}.
Show that $k$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $k(x) = 1$.
\begin{subproof}
Follows by \cref{continuous_composite,circ_apply,funs_elim,pair_eq_iff}.
\end{subproof}
Show that for all $a\in A$ we have $k(a) = 0$.
\begin{subproof}
Follows by \cref{closed_in,subseteq,function_apply_elim,img_iff,circ_apply,funs_elim}.
\end{subproof}
Follows by definition.
\end{subproof}
Show that $X$ is completely regular with respect to $T$.
\begin{subproof}
Follows by \cref{completely_regular_space}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{p\}$.
Then $X$ is completely regular with respect to $T$.
LaTeX source
\begin{lemma}
\label{subsingleton_space_completely_regular}
Assume $T$ is a topology on $X$.
Suppose $X\subseteq \{p\}$.
Then $X$ is completely regular with respect to $T$.
\end{lemma}
Proof
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\{x\}$ is closed in $X$ with respect to $T$.
Follows by Axiom 6, Definition 1, Lemma 139, Proposition 3, Proposition 21.
Hence $X$ has closed singletons with respect to $T$ by Definition 275.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and $T_I$ is a topology on $I$ by Definition 1, Definition 75, Definition 147, Lemma 131.
We have $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Definition 75, Lemma 231, Proposition 462.
Claim: For all $x,A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $A$ is closed in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ there exists $f$ such that $f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $f(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(y) = 0$.
Fix $x$.
Fix $A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $A$ is closed in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$.
Hence $A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 6, Definition 1, Definition 149, Proposition 12, Proposition 21.
Let $f = \{(y,1) \mid y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$f$ is a function from $X$ to $I$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f(y) = 1$ by Lemma 309, Proposition 346, Proposition 356.
Claim: $f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $f(x) = 1$.
Follows by Lemma 163, Lemma 309, Proposition 346, Proposition 356.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(y) = 0$.
Follows by Axiom 2, Axiom 6, Proposition 12.
Follows by definition.
Claim: $X$ is completely regular with respect to $T$.
Follows by Definition 286.
LaTeX source
\begin{proof}
Show that for all $x$ such that $x\in X$ we have $\{x\}$ is closed in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{subseteq,singleton_elim,pair_eq_iff,subseteq_antisymmetric,closed_whole_space}.
\end{subproof}
Hence $X$ has closed singletons with respect to $T$ by \cref{one_point_closed}.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and
$T_I$ is a topology on $I$ by \cref{intervalclosed,subseteq,subspace_of,subspace_topology_is_topology}.
We have $1\in I$ by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq,intervalclosed}.
Show that for all $x,A$ such that $x\in X$ and $A$ is closed in $X$ with respect to $T$ and $x\notin A$
there exists $f$ such that
$f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
$f(x) = 1$ and
for all $y\in A$ we have $f(y) = 0$.
\begin{subproof}
Fix $x$.
Fix $A$ such that $x\in X$ and $A$ is closed in $X$ with respect to $T$ and $x\notin A$.
Hence $A = \emptyset$ by \cref{subseteq,closed_in,singleton_elim,pair_eq_iff,subseteq_emptyset_iff}.
Let $f = \{(y,1) \mid y\in X\}$.
$f$ is a function from $X$ to $I$ and for all $y\in X$ we have $f(y) = 1$
by \cref{constant_map_function,funs_is_function,function_apply_intro}.
Show that $f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $f(x) = 1$.
\begin{subproof}
Follows by \cref{constant_continuous,constant_map_function,funs_is_function,function_apply_intro}.
\end{subproof}
Show that for all $y\in A$ we have $f(y) = 0$.
\begin{subproof}
Follows by \cref{pair_eq_iff,emptyset,subseteq_emptyset_iff}.
\end{subproof}
Follows by definition.
\end{subproof}
Show that $X$ is completely regular with respect to $T$.
\begin{subproof}
Follows by \cref{completely_regular_space}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Then $X$ is completely regular with respect to $T$ iff there exist $J,C,S,Y,h$ such that $C = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\intervalclosed{0}{1}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $S = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and $h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$.
LaTeX source
\begin{theorem}
\label{completely_regular_embedding_characterization}
Assume $T$ is a topology on $X$.
Then $X$ is completely regular with respect to $T$ iff
there exist $J,C,S,Y,h$ such that
$C = \{(\alpha,\intervalclosed{0}{1}) \mid \alpha\in J\}$ and
$S = \{(\alpha,\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \alpha\in J\}$ and
$Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and
$h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$.
\end{theorem}
Proof
Claim: If $X$ is completely regular with respect to $T$ then there exist $J,C,S,Y,h$ such that $C = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\intervalclosed{0}{1}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $S = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and $h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$.
Assume $X$ is completely regular with respect to $T$.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $j = \identity{I}$.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and $T_I$ is a topology on $I$ by Definition 147, Lemma 131.
Let $J_1 = \{g\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals} \mid \text{$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $\img{g}{X}\subseteq I$}\}$.
Let $z = \{(x,0) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Proposition 462.
Thus $0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75, Lemma 231.
$z$ is a function from $X$ to $I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $z(x) = 0$ by Lemma 309, Proposition 346, Proposition 356.
Hence $z$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Lemma 163.
Let $z_1 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} z$.
$z_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 168.
$z_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $z_1$ is a function and $\dom{z_1} = X$ and $z_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals}$ by Definition 1, Definition 55, Definition 160, Proposition 155, Proposition 282, Proposition 356, Proposition 357.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I}$ and $z$ is a function by Definition 160, Proposition 356.
Hence $\ran{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{j}$ by Definition 1, Proposition 284, Proposition 297, Proposition 357.
$j$ is right-unique and $j$ is a relation by Proposition 296, Proposition 400.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $z_1(x) = z(x)$ by Proposition 359, Proposition 373, Proposition 405.
Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{z_1}{X}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Trivial.
Hence $\img{z_1}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1.
Therefore $J_1$ is inhabited.
Let $f = \identity{J_1}$.
Hence $f$ is a function on $J_1$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200, Proposition 296, Proposition 297, Proposition 400.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ we have $\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Proposition 405, Proposition 406.
Claim: For all $x,U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ such that $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$.
Fix $x$.
Fix $U$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
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 153.
Let $A = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$.
Hence $A$ is closed in $X$ with respect to $T$ by Axiom 6, Definition 1, Definition 101, Definition 103, Definition 149, Proposition 92, Proposition 97, Proposition 156.
$x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ by Proposition 87.
Take $g$ such that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and $g(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(y) = 0$ by Definition 286.
Let $g_1 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} g$.
$g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 168.
$g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $g_1$ is a function and $\dom{g_1} = X$ and $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals}$ by Definition 1, Definition 55, Definition 160, Proposition 155, Proposition 282, Proposition 356, Proposition 357.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I}$ and $g$ is a function by Definition 160, Proposition 356.
Hence $\ran{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{j}$ by Definition 1, Proposition 284, Proposition 297, Proposition 357.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g_1(y) = g(y)$ by Proposition 359, Proposition 373, Proposition 405.
$g_1$ is a function and $\dom{g_1} = X$ by Proposition 359.
Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{g_1}{X}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Fix $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{g_1}{X}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g_1}\inter X$ such that $u = g_1(y)$ by Proposition 365.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 63.
$g(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 160, Proposition 361.
We have $u = g(y)$.
Therefore $u\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 160, Proposition 361.
Hence $\img{g_1}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1.
Therefore $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ such that $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha} = g_1$.
Hence $\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = g_1$ by Axiom 6, Proposition 405, Proposition 406.
$0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Axiom 6.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ we have $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ we have $\img{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Proposition 405, Proposition 406.
Let $C_1 = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\intervalclosed{0}{1}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1\}$.
Let $S_1 = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1\}$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} C_1$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} C_1$ we have $y_1 = y_2$ by Axiom 6.
Hence $C_1$ is a function on $J_1$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} S_1$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} S_1$ we have $y_1 = y_2$ by Axiom 6.
We have $S_1$ is a function on $J_1$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Hence $\dom{C_1} = J_1$ and $\dom{S_1} = J_1$ by Definition 55.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ we have $C_1(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = I$ and $S_1(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = T_I$ by Proposition 346.
Let $P = \productTopologyIndexed{S_1}{C_1}$.
$P$ is a topology on $\productFamily{C_1}$ by Definition 115, Lemma 76, Lemma 131, Lemma 176, Lemma 177.
Let $F = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C_1} \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1. \apply{y}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}\}$.
Claim: $F$ is a topological embedding from $X$ to $\productFamily{C_1}$ with respect to $T$ and $P$.
Follows by Definition 286, Theorem 89.
Therefore $\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{C_1}$ by Definition 1, Definition 164, Proposition 6, Proposition 237, Proposition 284, Proposition 357.
Let $Y_1 = \img{F}{X}$.
Let $h_1 = F$.
Claim: $h_1$ is a homeomorphism between $X$ and $Y_1$ with respect to $T$ and $\subspaceTopology{P}{Y_1}$.
Follows by Axiom 6, Definition 164.
Claim: $Y_1$ is a subspace of $\productFamily{C_1}$ with respect to $\productTopologyIndexed{S_1}{C_1}$.
Follows by Axiom 6, Definition 147.
Claim: $h_1$ is a homeomorphism between $X$ and $Y_1$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S_1}{C_1}}{Y_1}$.
Follows by Axiom 6.
Take $J,C,S,Y,h$ such that $J = J_1$ and $C = C_1$ and $S = S_1$ and $Y = Y_1$ and $h = h_1$.
Follows by Axiom 6.
Claim: If there exist $J,C,S,Y,h$ such that $C = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\intervalclosed{0}{1}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $S = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and $h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$ then $X$ is completely regular with respect to $T$.
Assume there exist $J,C,S,Y,h$ such that $C = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\intervalclosed{0}{1}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $S = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and $h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$.
Take $J,C,S,Y,h$ such that $C = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\intervalclosed{0}{1}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $S = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J\}$ and $Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and $h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$ by assumption.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $P = \productTopologyIndexed{S}{C}$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $y_1 = y_2$ by Axiom 6.
Hence $C$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1,y_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ we have $y_1 = y_2$ by Axiom 6.
We have $S$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Hence $\dom{C} = J$ and $\dom{S} = J$ by Definition 55.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $C(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = I$ and $S(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = T_I$ by Proposition 346.
Claim: $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\}$.
Trivial.
Claim: $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
Follows by Definition 1, Definition 147, Lemma 131, Lemma 523, Proposition 6.
Claim: $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
Follows by Axiom 6, Lemma 521, Proposition 10, Proposition 346, Theorem 85, Theorem 86.
LaTeX source
\begin{byCase}
\caseOf{$J = \emptyset$.}
Show that for all $u$ such that $u\in\productFamily{C}$ we have $u\in\{\emptyset\}$.
\begin{subproof}
Trivial.
\end{subproof}
Show that $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
\begin{subproof}
Follows by \cref{subseteq,subspace_of,subseteq_transitive,subspace_topology_is_topology,subsingleton_space_completely_regular}.
\end{subproof}
\caseOf{$J\neq\emptyset$.}
Show that $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
\begin{subproof}
Follows by \cref{nonempty_inhabited,function_apply_intro,unit_interval_completely_regular,pair_eq_iff,product_completely_regular,subspace_completely_regular}.
\end{subproof}
\end{byCase}
Hence $X$ is completely regular with respect to $T$ by Axiom 6, Definition 286, Lemma 522.
Follows by definition.
LaTeX source
\begin{proof}
Show that if $X$ is completely regular with respect to $T$ then
there exist $J,C,S,Y,h$ such that
$C = \{(\alpha,\intervalclosed{0}{1}) \mid \alpha\in J\}$ and
$S = \{(\alpha,\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \alpha\in J\}$ and
$Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and
$h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$.
\begin{subproof}
Assume $X$ is completely regular with respect to $T$.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $j = \identity{I}$.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and
$T_I$ is a topology on $I$ by \cref{subspace_of,subspace_topology_is_topology}.
Let $J_1 = \{g\in\pow{X\times\reals} \mid \text{$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
$\img{g}{X}\subseteq I$}\}$.
Let $z = \{(x,0) \mid x\in X\}$.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
Thus $0\in I$ by \cref{real_lt_imp_leq,intervalclosed}.
$z$ is a function from $X$ to $I$ and for all $x\in X$ we have $z(x) = 0$
by \cref{constant_map_function,funs_is_function,function_apply_intro}.
Hence $z$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by \cref{constant_continuous}.
Let $z_1 = j\circ z$.
$z_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{continuous_expand_range}.
$z_1\in\funs{X}{\reals}$ and $z_1$ is a function and $\dom{z_1} = X$ and
$z_1\in\pow{X\times\reals}$
by \cref{continuous,funs_is_function,funs,funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
$z\in\funs{X}{I}$ and $z$ is a function by \cref{continuous,funs_is_function}.
Hence $\ran{z}\subseteq\dom{j}$ by \cref{funs_subseteq_rels,subseteq,rels_ran_subseteq,id_dom}.
$j$ is right-unique and $j$ is a relation by \cref{id_rightunique,id_is_relation}.
For all $x\in X$ we have $z_1(x) = z(x)$ by \cref{circ_apply,funs_elim,id_apply}.
Show that for all $u$ such that $u\in\img{z_1}{X}$ we have $u\in I$.
\begin{subproof}
Trivial.
\end{subproof}
Hence $\img{z_1}{X}\subseteq I$ by \cref{subseteq}.
Therefore $J_1$ is inhabited.
Let $f = \identity{J_1}$.
Hence $f$ is a function on $J_1$ by \cref{id_is_relation,id_rightunique,id_dom,relation,rightunique,pair_eq_iff,dom_iff,subseteq,dom_intro,subseteq_antisymmetric}.
For all $\alpha\in J_1$ we have $\apply{f}{\alpha}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{id_apply,id_elem_funs}.
Show that for all $x,U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $\alpha\in J_1$ such that
$0 < \apply{\apply{f}{\alpha}}{x}$ and
for all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$.
\begin{subproof}
Fix $x$.
Fix $U$ such that $x\in X$ and $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
We have $U$ is open in $X$ with respect to $T$ and $x\in U$ by \cref{neighborhood}.
Let $A = X\setminus U$.
Hence $A$ is closed in $X$ with respect to $T$
by \cref{open_in,topology_on,subseteq,powerset_elim,double_relative_complement,pair_eq_iff,setminus_subseteq,closed_in}.
$x\notin A$ by \cref{setminus_elim_right}.
Take $g$ such that
$g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
$g(x) = 1$ and
for all $y\in A$ we have $g(y) = 0$
by \cref{completely_regular_space}.
Let $g_1 = j\circ g$.
$g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{continuous_expand_range}.
$g_1\in\funs{X}{\reals}$ and $g_1$ is a function and $\dom{g_1} = X$ and
$g_1\in\pow{X\times\reals}$
by \cref{continuous,funs_is_function,funs,funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
$g\in\funs{X}{I}$ and $g$ is a function by \cref{continuous,funs_is_function}.
Hence $\ran{g}\subseteq\dom{j}$ by \cref{funs_subseteq_rels,subseteq,rels_ran_subseteq,id_dom}.
For all $y\in X$ we have $g_1(y) = g(y)$ by \cref{circ_apply,funs_elim,id_apply}.
$g_1$ is a function and $\dom{g_1} = X$ by \cref{funs_elim}.
Show that for all $u$ such that $u\in\img{g_1}{X}$ we have $u\in I$.
\begin{subproof}
Fix $u$ such that $u\in\img{g_1}{X}$.
Take $y\in\dom{g_1}\inter X$ such that $u = g_1(y)$ by \cref{img_of_function_elim}.
Hence $y\in X$ by \cref{inter_elim_right}.
$g(y)\in I$ by \cref{continuous,funs_type_apply}.
We have $u = g(y)$.
Therefore $u\in I$ by \cref{continuous,funs_type_apply}.
\end{subproof}
Hence $\img{g_1}{X}\subseteq I$ by \cref{subseteq}.
Therefore $g_1\in J_1$.
Take $\alpha\in J_1$ such that $\alpha = g_1$.
Hence $\apply{f}{\alpha} = g_1$ by \cref{id_apply,id_elem_funs,pair_eq_iff}.
$0 < \apply{\apply{f}{\alpha}}{x}$ by \cref{pair_eq_iff}.
For all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$.
\end{subproof}
For all $\alpha\in J_1$ we have $\img{\apply{f}{\alpha}}{X}\subseteq I$ by \cref{id_apply,id_elem_funs}.
Let $C_1 = \{(\alpha,\intervalclosed{0}{1}) \mid \alpha\in J_1\}$.
Let $S_1 = \{(\alpha,\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \alpha\in J_1\}$.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in C_1$ and $(\alpha,y_2)\in C_1$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
Hence $C_1$ is a function on $J_1$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in S_1$ and $(\alpha,y_2)\in S_1$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
We have $S_1$ is a function on $J_1$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $\dom{C_1} = J_1$ and $\dom{S_1} = J_1$ by \cref{funs}.
For all $\alpha\in J_1$ we have $C_1(\alpha) = I$ and $S_1(\alpha) = T_I$ by \cref{function_apply_intro}.
Let $P = \productTopologyIndexed{S_1}{C_1}$.
$P$ is a topology on $\productFamily{C_1}$
by \cref{product_subbasis_is_subbasis,product_subbasis_finite_intersections_basis,basis_topology_is_topology,basis_for_topology,subspace_topology_is_topology}.
Let $F = \{(x,y) \mid x\in X, y\in\productFamily{C_1} \mid
\forall \alpha\in J_1. \apply{y}{\alpha} = \apply{\apply{f}{\alpha}}{x}\}$.
Show that $F$ is a topological embedding from $X$ to $\productFamily{C_1}$ with respect to $T$ and $P$.
\begin{subproof}
Follows by \cref{completely_regular_space,urysohn_embedding_theorem_unit_cube}.
\end{subproof}
Therefore $\img{F}{X}\subseteq\productFamily{C_1}$
by \cref{topological_embedding,funs_subseteq_rels,subseteq,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive}.
Let $Y_1 = \img{F}{X}$.
Let $h_1 = F$.
Show that $h_1$ is a homeomorphism between $X$ and $Y_1$ with respect to $T$ and $\subspaceTopology{P}{Y_1}$.
\begin{subproof}
Follows by \cref{topological_embedding,pair_eq_iff}.
\end{subproof}
Show that $Y_1$ is a subspace of $\productFamily{C_1}$ with respect to $\productTopologyIndexed{S_1}{C_1}$.
\begin{subproof}
Follows by \cref{subspace_of,pair_eq_iff}.
\end{subproof}
Show that $h_1$ is a homeomorphism between $X$ and $Y_1$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S_1}{C_1}}{Y_1}$.
\begin{subproof}
Follows by \cref{pair_eq_iff}.
\end{subproof}
Take $J,C,S,Y,h$ such that
$J = J_1$ and $C = C_1$ and $S = S_1$ and $Y = Y_1$ and $h = h_1$.
Follows by \cref{pair_eq_iff}.
\end{subproof}
Show that if there exist $J,C,S,Y,h$ such that
$C = \{(\alpha,\intervalclosed{0}{1}) \mid \alpha\in J\}$ and
$S = \{(\alpha,\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \alpha\in J\}$ and
$Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and
$h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$
then $X$ is completely regular with respect to $T$.
\begin{subproof}
Assume there exist $J,C,S,Y,h$ such that
$C = \{(\alpha,\intervalclosed{0}{1}) \mid \alpha\in J\}$ and
$S = \{(\alpha,\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \alpha\in J\}$ and
$Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and
$h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$.
Take $J,C,S,Y,h$ such that
$C = \{(\alpha,\intervalclosed{0}{1}) \mid \alpha\in J\}$ and
$S = \{(\alpha,\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}) \mid \alpha\in J\}$ and
$Y$ is a subspace of $\productFamily{C}$ with respect to $\productTopologyIndexed{S}{C}$ and
$h$ is a homeomorphism between $X$ and $Y$ with respect to $T$ and $\subspaceTopology{\productTopologyIndexed{S}{C}}{Y}$
by assumption.
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $P = \productTopologyIndexed{S}{C}$.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in C$ and $(\alpha,y_2)\in C$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
Hence $C$ is a function on $J$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in S$ and $(\alpha,y_2)\in S$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
We have $S$ is a function on $J$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $\dom{C} = J$ and $\dom{S} = J$ by \cref{funs}.
For all $\alpha\in J$ we have $C(\alpha) = I$ and $S(\alpha) = T_I$ by \cref{function_apply_intro}.
Show that $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
\begin{subproof}
\begin{byCase}
\caseOf{$J = \emptyset$.}
Show that for all $u$ such that $u\in\productFamily{C}$ we have $u\in\{\emptyset\}$.
\begin{subproof}
Trivial.
\end{subproof}
Show that $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
\begin{subproof}
Follows by \cref{subseteq,subspace_of,subseteq_transitive,subspace_topology_is_topology,subsingleton_space_completely_regular}.
\end{subproof}
\caseOf{$J\neq\emptyset$.}
Show that $Y$ is completely regular with respect to $\subspaceTopology{P}{Y}$.
\begin{subproof}
Follows by \cref{nonempty_inhabited,function_apply_intro,unit_interval_completely_regular,pair_eq_iff,product_completely_regular,subspace_completely_regular}.
\end{subproof}
\end{byCase}
\end{subproof}
Hence $X$ is completely regular with respect to $T$
by \cref{completely_regular_space,pair_eq_iff,homeomorphism_preserves_completely_regular}.
\end{subproof}
Follows by definition.
\end{proof}