Topology (Munkres)

§38 The Stone-Cech Compactification

Definition 303
compactifies

$Y$ compactifies $X$ with respect to $S$ and $T$ iff $S$ is a topology on $Y$ and $T$ is a topology on $X$ and $X$ is a subspace of $Y$ with respect to $S$ and $T = \subspaceTopology{S}{X}$ and $\closure{X}{Y}{S} = Y$ and $Y$ is compact with respect to $S$ and $Y$ is Hausdorff with respect to $S$.

LaTeX source
\begin{definition}
\label{compactifies}
    $Y$ compactifies $X$ with respect to $S$ and $T$ iff
        $S$ is a topology on $Y$ and
        $T$ is a topology on $X$ and
        $X$ is a subspace of $Y$ with respect to $S$ and
        $T = \subspaceTopology{S}{X}$ and
        $\closure{X}{Y}{S} = Y$ and
        $Y$ is compact with respect to $S$ and
        $Y$ is Hausdorff with respect to $S$.
\end{definition}
Definition 304
compactification_equivalence_over_x

$Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$ iff $Y_1$ compactifies $X$ with respect to $S_1$ and $T$ and $Y_2$ compactifies $X$ with respect to $S_2$ and $T$ and there exists $h$ such that $h$ is a homeomorphism between $Y_1$ and $Y_2$ with respect to $S_1$ and $S_2$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = x$.

LaTeX source
\begin{definition}
\label{compactification_equivalence_over_x}
    $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$ iff
        $Y_1$ compactifies $X$ with respect to $S_1$ and $T$ and
        $Y_2$ compactifies $X$ with respect to $S_2$ and $T$ and
        there exists $h$ such that
            $h$ is a homeomorphism between $Y_1$ and $Y_2$ with respect to $S_1$ and $S_2$ and
            for all $x\in X$ we have $h(x) = x$.
\end{definition}
Lemma 579
no_two_cycle

Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in} y$.
Then $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} x$.

LaTeX source
\begin{lemma}
\label{no_two_cycle}
    Suppose $x\in y$.
    Then $y\notin x$.
\end{lemma}
Proof

Suppose not.
Let $A = \{x,y\}$.
Take $a$ such that $a$ is an \in-minimal element of $A$ by Proposition 19, Proposition 409 [Regularity].
Hence $a = x$ or $a = y$ by Proposition 19.

Case. $a = x$.

We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} a$.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 19.
Thus $a$ intersects $A$.
Contradiction.

Case. $a = y$.

We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} a$.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 19.
Thus $a$ intersects $A$.
Contradiction.

LaTeX source
\begin{byCase}
    \caseOf{$a = x$.}
        We have $y\in a$.
        Therefore $y\in A$ by \cref{upair_iff}.
        Thus $a$ intersects $A$.
        Contradiction.
    \caseOf{$a = y$.}
        We have $x\in a$.
        Therefore $x\in A$ by \cref{upair_iff}.
        Thus $a$ intersects $A$.
        Contradiction.
    
\end{byCase}
LaTeX source
\begin{proof}
    Suppose not.
    Let $A = \{x,y\}$.
    Take $a$ such that $a$ is an \in-minimal element of $A$ by \cref{upair_iff,regularity}.
    Hence $a = x$ or $a = y$ by \cref{upair_iff}.
    \begin{byCase}
    \caseOf{$a = x$.}
        We have $y\in a$.
        Therefore $y\in A$ by \cref{upair_iff}.
        Thus $a$ intersects $A$.
        Contradiction.
    \caseOf{$a = y$.}
        We have $x\in a$.
        Therefore $x\in A$ by \cref{upair_iff}.
        Thus $a$ intersects $A$.
        Contradiction.
    \end{byCase}
\end{proof}
Lemma 580
tag_with_base_injective

Suppose $\{a,p\} = \{b,p\}$.
Then $a = b$.

LaTeX source
\begin{lemma}
\label{tag_with_base_injective}
    Suppose $\{a,p\} = \{b,p\}$.
    Then $a = b$.
\end{lemma}
Proof
Case. $a = p$.

We have $a = b$ by Axiom 6, Definition 1, Proposition 19.

Case. $a \class{latex-symbol-tip latex-symbol-id-neq}{\neq} p$.

We have $a = b$ by Definition 1, Proposition 19.

LaTeX source
\begin{byCase}
    \caseOf{$a = p$.}
        We have $a = b$ by \cref{upair_iff,subseteq,pair_eq_iff}.
    \caseOf{$a \neq p$.}
        We have $a = b$ by \cref{upair_iff,subseteq}.
    
\end{byCase}
LaTeX source
\begin{proof}
    \begin{byCase}
    \caseOf{$a = p$.}
        We have $a = b$ by \cref{upair_iff,subseteq,pair_eq_iff}.
    \caseOf{$a \neq p$.}
        We have $a = b$ by \cref{upair_iff,subseteq}.
    \end{byCase}
\end{proof}
Lemma 581
induced_compactification_existence

Assume $h$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $U$.
Assume $Z$ is compact with respect to $U$.
Assume $Z$ is Hausdorff with respect to $U$.
Then there exist $Y, S, H$ such that $Y$ compactifies $X$ with respect to $S$ and $T$ and $H$ is a topological embedding from $Y$ to $Z$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $H(x) = h(x)$.

LaTeX source
\begin{lemma}
\label{induced_compactification_existence}
    Assume $h$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $U$.
    Assume $Z$ is compact with respect to $U$.
    Assume $Z$ is Hausdorff with respect to $U$.
    Then there exist $Y, S, H$ such that
        $Y$ compactifies $X$ with respect to $S$ and $T$ and
        $H$ is a topological embedding from $Y$ to $Z$ with respect to $S$ and $U$ and
        for all $x\in X$ we have $H(x) = h(x)$.
\end{lemma}
Proof

Let $X_0 = \img{h}{X}$.
Let $Y_0 = \closure{X_0}{Z}{U}$.
Let $T_0 = \subspaceTopology{U}{Y_0}$.
Let $p = X$.
Hence $p\class{latex-symbol-tip latex-symbol-id-notin}{\notin} X$ by Lemma 410.
Let $A = \{\{z,p\} \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0\}$.
Let $Y = X\union A$.
Let $g = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-times}{\times} Y_0 \mid \text{there exists $z\in Y_0\setminus X_0$ such that $w = (\{z,p\},z)$}\}$.
Let $H = h\union g$.

$T$ is a topology on $X$ and $U$ is a topology on $Z$ by Definition 160, Definition 164.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ and $h$ is a function and $h$ is injective by Definition 164, Proposition 356.
Hence $X_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ by Proposition 6, Proposition 237, Proposition 363.
$Y_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ by Definition 1, Definition 151.
$Y_0$ is closed in $Z$ with respect to $U$ by Lemma 144.
Hence $Y_0$ is compact with respect to $T_0$ by Theorem 59.
$Y_0$ is Hausdorff with respect to $T_0$ by Theorem 19.
$Y_0$ is a subspace of $Z$ with respect to $U$ by Definition 147, Definition 151.
$T_0$ is a topology on $Y_0$ by Definition 147, Definition 151, Lemma 131.
$X_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y_0$ by Lemma 146.
Hence $X_0$ is a subspace of $Y_0$ with respect to $T_0$ by Definition 147, Proposition 6.
Therefore $h$ is a homeomorphism between $X$ and $X_0$ with respect to $T$ and $\subspaceTopology{T_0}{X_0}$ by Definition 147, Definition 164, Lemma 307.

For all $u,v_1,v_2$ such that $(u,v_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(u,v_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $v_1 = v_2$ by Axiom 6, Lemma 580.
Hence $g$ is right-unique.

Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

We have $\dom{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 1.

Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.

We have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{g}$ by Definition 1.
Therefore $\dom{g} = A$ by Definition 1, Proposition 3.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-times}{\times} Y_0$ by Definition 7.
$g$ is a relation by Definition 1, Definition 12.
For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(u)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0$ by Definition 7, Definition 12, Definition 51, Proposition 114, Proposition 199, Proposition 349.
Therefore $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{Y_0}$ by Proposition 358.

Claim: $A$ is disjoint from $X$.

Suppose not.
Take $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 3.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$ such that $x = \{z,p\}$ by Definition 1.
Contradiction by Lemma 579, Proposition 19.

For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}\inter\dom{g}$ we have $h(u) = g(u)$ by Definition 1, Definition 3, Definition 5, Definition 55, Proposition 199.
Hence $H$ is a function by Lemma 170, Proposition 356.
Therefore $\dom{H} = Y$ by Definition 55, Proposition 3, Proposition 205.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y_0$ by Definition 1, Definition 55, Definition 164, Proposition 38, Proposition 115, Proposition 121, Proposition 235, Proposition 282, Proposition 346, Proposition 356.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y_0$ by Definition 7, Proposition 39, Proposition 115, Proposition 121.
Thus for all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y_0$ by Axiom 5.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{H}$ we have $H(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0$ by Definition 7, Definition 12, Definition 51, Proposition 114, Proposition 199, Proposition 349.
Therefore $H\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{Y_0}$ by Definition 55, Proposition 358.

For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $H(x) = h(x)$ by Axiom 5, Definition 1, Definition 55, Definition 164, Proposition 349, Proposition 356.

Claim: For all $y_1,y_2$ such that $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{H}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{H}$ and $H(y_1) = H(y_2)$ we have $y_1 = y_2$.

Fix $y_1$.
Fix $y_2$ such that $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{H}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{H}$ and $H(y_1) = H(y_2)$.
We have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Definition 55.
Hence $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ or $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 5.
$y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ or $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 5.

Case. $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

We have $H(y_1) = h(y_1)$ and $H(y_2) = h(y_2)$ by Definition 1.
Hence $h(y_1) = h(y_2)$.
Hence $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ by Definition 55, Definition 164.
Therefore $y_1 = y_2$ by Definition 164, Proposition 386.

Case. $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Suppose not.
Hence $H(y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ by Definition 1, Definition 55, Definition 164, Proposition 235, Proposition 349, Proposition 356.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$ such that $y_2 = \{z,p\}$ by Definition 1.
Therefore $(y_2,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Axiom 5, Proposition 86, Proposition 115.
Hence $H(y_2) = z$ by Proposition 349, Proposition 356.
Hence $H(y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$.
Contradiction by Proposition 87.

Case. $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Suppose not.
Hence $H(y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ by Definition 1, Definition 55, Definition 164, Proposition 235, Proposition 349, Proposition 356.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$ such that $y_1 = \{z,p\}$ by Definition 1.
Therefore $(y_1,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Axiom 5, Proposition 86, Proposition 115.
Hence $H(y_1) = z$ by Proposition 349, Proposition 356.
Hence $H(y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$.
Contradiction by Proposition 87.

Case. $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Take $z_1\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$ such that $y_1 = \{z_1,p\}$ by Definition 1.
Take $z_2\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$ such that $y_2 = \{z_2,p\}$ by Definition 1.
We have $(y_1,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ and $(y_2,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Axiom 5, Proposition 86, Proposition 115.
Hence $H(y_1) = z_1$ and $H(y_2) = z_2$ by Proposition 349, Proposition 356.
Hence $z_1 = z_2$.
Thus $y_1 = y_2$.

LaTeX source
\begin{byCase}
        \caseOf{$y_1\in X$ and $y_2\in X$.}
            We have $H(y_1) = h(y_1)$ and $H(y_2) = h(y_2)$ by \cref{subseteq}.
            Hence $h(y_1) = h(y_2)$.
            Hence $y_1\in\dom{h}$ and $y_2\in\dom{h}$ by \cref{topological_embedding,funs}.
            Therefore $y_1 = y_2$ by \cref{injective_function,topological_embedding}.
        \caseOf{$y_1\in X$ and $y_2\in A$.}
            Suppose not.
            Hence $H(y_1)\in X_0$
                by \cref{subseteq,function_apply_iff,topological_embedding,funs,funs_is_function,img_iff}.
            Take $z\in Y_0\setminus X_0$ such that $y_2 = \{z,p\}$ by \cref{subseteq}.
            Therefore $(y_2,z)\in H$ by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y_2) = z$ by \cref{function_apply_iff,funs_is_function}.
            Hence $H(y_2)\in Y_0\setminus X_0$.
            Contradiction by \cref{setminus_elim_right}.
        \caseOf{$y_1\in A$ and $y_2\in X$.}
            Suppose not.
            Hence $H(y_2)\in X_0$
                by \cref{subseteq,function_apply_iff,topological_embedding,funs,funs_is_function,img_iff}.
            Take $z\in Y_0\setminus X_0$ such that $y_1 = \{z,p\}$ by \cref{subseteq}.
            Therefore $(y_1,z)\in H$ by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y_1) = z$ by \cref{function_apply_iff,funs_is_function}.
            Hence $H(y_1)\in Y_0\setminus X_0$.
            Contradiction by \cref{setminus_elim_right}.
        \caseOf{$y_1\in A$ and $y_2\in A$.}
            Take $z_1\in Y_0\setminus X_0$ such that $y_1 = \{z_1,p\}$ by \cref{subseteq}.
            Take $z_2\in Y_0\setminus X_0$ such that $y_2 = \{z_2,p\}$ by \cref{subseteq}.
            We have $(y_1,z_1)\in H$ and $(y_2,z_2)\in H$
                by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y_1) = z_1$ and $H(y_2) = z_2$ by \cref{function_apply_iff,funs_is_function}.
            Hence $z_1 = z_2$.
            Thus $y_1 = y_2$.
        
\end{byCase}

Hence $H$ is injective by Definition 55, Proposition 356, Proposition 386.

Claim: $\img{H}{Y}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y_0$.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{H}{Y}$.

Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0$.

Case. $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$.

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} h$ by Proposition 235.
Therefore $z\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{H}{Y}$ by Axiom 5, Proposition 38, Proposition 235.

Case. $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$.

$z\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{H}{Y}$ by Axiom 5, Definition 1, Proposition 39, Proposition 115, Proposition 235.

LaTeX source
\begin{byCase}
        \caseOf{$z\in X_0$.}
            Take $x\in X$ such that $(x,z)\in h$ by \cref{img_iff}.
            Therefore $z\in \img{H}{Y}$ by \cref{img_iff,union_iff,union_intro_left}.
        \caseOf{$z\in Y_0\setminus X_0$.}
            $z\in \img{H}{Y}$ by \cref{subseteq,times_tuple_intro,union_iff,union_intro_right,img_iff}.
        
\end{byCase}

Therefore $\img{H}{Y} = Y_0$ by Definition 1, Proposition 3.

Therefore $H$ is a bijection from $Y$ to $Y_0$ by Definition 50, Definition 55, Definition 55, Definition 58, Proposition 238, Corollary 8.
Let $q = \converse{H}$.
Hence $q$ is a function from $Y_0$ to $Y$ by Proposition 396.
Let $S = \quotientTopology{q}{T_0}{Y_0}{Y}$.
$S$ is a topology on $Y$ by Lemma 288.
Hence $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{Y_0}{Y}$ by Proposition 397.
Therefore $q$ is a quotient map from $Y_0$ to $Y$ with respect to $T_0$ and $S$ by Lemma 289.
Hence $q$ is continuous from $Y_0$ to $Y$ with respect to $T_0$ and $S$ by Definition 217.

$H\class{latex-symbol-tip latex-symbol-id-circ}{\circ} q\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y_0}{Y_0}$ by Proposition 382.
Let $i_0 = \identity{Y_0}$.
Hence $i_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y_0}{Y_0}$ by Proposition 406.
For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0$ we have $(H\class{latex-symbol-tip latex-symbol-id-circ}{\circ} q)(z) = i_0(z)$ by Definition 55, Proposition 186, Proposition 348, Proposition 349, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 405.
Therefore $H\class{latex-symbol-tip latex-symbol-id-circ}{\circ} q = \identity{Y_0}$ by Lemma 438.

$i_0$ is continuous from $Y_0$ to $Y_0$ with respect to $T_0$ and $T_0$ by Lemma 308.
We have $H\class{latex-symbol-tip latex-symbol-id-circ}{\circ} q = i_0$.
For all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have $\preimg{H}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1, Definition 55, Proposition 249.
Therefore for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have $\preimg{q}{\preimg{H}{V}} = \preimg{i_0}{V}$ by Definition 1, Proposition 3, Proposition 246, Proposition 257.
Hence for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have $\preimg{i_0}{V}$ is open in $Y_0$ with respect to $T_0$ by Definition 160.
Thus for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have $\preimg{q}{\preimg{H}{V}}$ is open in $Y_0$ with respect to $T_0$.
Hence for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have $\preimg{H}{V}$ is open in $Y$ with respect to $S$ by Definition 217.
Therefore $H$ is continuous from $Y$ to $Y_0$ with respect to $S$ and $T_0$ by Definition 160.
We have $\converse{H} = q$ by Proposition 189.
Hence $\converse{H}$ is continuous from $Y_0$ to $Y$ with respect to $T_0$ and $S$ by Definition 217.
Therefore $H$ is a homeomorphism between $Y$ and $Y_0$ with respect to $S$ and $T_0$ by Definition 58, Definition 162.

Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{q}{X_0}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{q}{X_0}$.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ such that $(z,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} q$ by Proposition 235.
Hence $(y,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Proposition 186.

Case. $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Trivial.

Case. $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Suppose not.
Take $u\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$ such that $y = \{u,p\}$ by Definition 1.
Therefore $(y,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Axiom 5, Proposition 86, Proposition 115.
Hence $H(y) = u$ and $H(y) = z$ by Proposition 349, Proposition 356.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} X_0$.
Contradiction by Proposition 87.

LaTeX source
\begin{byCase}
        \caseOf{$y\in X$.}
            Trivial.
        \caseOf{$y\in A$.}
            Suppose not.
            Take $u\in Y_0\setminus X_0$ such that $y = \{u,p\}$ by \cref{subseteq}.
            Therefore $(y,u)\in H$ by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y) = u$ and $H(y) = z$ by \cref{function_apply_iff,funs_is_function}.
            Hence $z\in Y_0\setminus X_0$.
            Contradiction by \cref{setminus_elim_right}.
        
\end{byCase}
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{q}{X_0}$.

Therefore $\img{q}{X_0} = X$ by Definition 1, Proposition 3.

Hence $Y = \img{q}{Y_0}$ by Definition 55, Definition 57, Definition 217, Proposition 238, Corollary 7.
Therefore $Y$ is compact with respect to $\subspaceTopology{S}{Y}$ by Theorem 61.

Claim: For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{S}{Y}$ we have $V\class{latex-symbol-tip latex-symbol-id-in}{\in} S$.
Claim: For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ we have $V\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{S}{Y}$.

Therefore $\subspaceTopology{S}{Y} = S$ by Definition 1, Proposition 3.
Hence $Y$ is compact with respect to $S$.

Claim: For all $y_1,y_2$ such that $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y_1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} y_2$ there exist $N_1,N_2$ such that $N_1$ is a neighborhood of $y_1$ in $Y$ with respect to $S$ and $N_2$ is a neighborhood of $y_2$ in $Y$ with respect to $S$ and $N_1$ is disjoint from $N_2$.

Fix $y_1$.
Fix $y_2$.
Assume $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y_1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} y_2$.
Hence $H(y_1)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} H(y_2)$ by Definition 1, Definition 55, Proposition 356, Proposition 386.
Therefore $H(y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0$ and $H(y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_0$ by Proposition 361.
Take $V_1,V_2$ such that $V_1$ is a neighborhood of $H(y_1)$ in $Y_0$ with respect to $T_0$ and $V_2$ is a neighborhood of $H(y_2)$ in $Y_0$ with respect to $T_0$ and $V_1$ is disjoint from $V_2$ by Definition 156.
Let $W_1 = \preimg{H}{V_1}$.
Let $W_2 = \preimg{H}{V_2}$.
Hence $W_1$ is open in $Y$ with respect to $S$ and $W_2$ is open in $Y$ with respect to $S$ by Definition 153, Definition 160.
Therefore $H(y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} V_1$ and $H(y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} V_2$ by Definition 153.
Hence $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{H}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{H}$ by Definition 1, Definition 55.
Therefore $(y_1,H(y_1))\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ and $(y_2,H(y_2))\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Proposition 348, Proposition 356.
Hence $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} W_1$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} W_2$ by Proposition 246.
$W_1$ is disjoint from $W_2$ by Definition 3, Proposition 246, Proposition 349, Proposition 356.
Therefore there exist $N_1,N_2$ such that $N_1$ is a neighborhood of $y_1$ in $Y$ with respect to $S$ and $N_2$ is a neighborhood of $y_2$ in $Y$ with respect to $S$ and $N_1$ is disjoint from $N_2$.

Hence $Y$ is Hausdorff with respect to $S$ by Definition 156.

Claim: $X$ is a subspace of $Y$ with respect to $S$ and $T = \subspaceTopology{S}{X}$.

Let $T_X = \subspaceTopology{S}{X}$.
We have $T_X$ is a topology on $X$ and $X$ is a subspace of $Y$ with respect to $S$ by Definition 147, Lemma 131, Proposition 46.
Let $r = \restrl{H}{X}$.
We have $r$ is continuous from $X$ to $Y_0$ with respect to $T_X$ and $T_0$ by Lemma 166.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{r}{X}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{r}{X}$.

Therefore $\img{r}{X} = X_0$ by Definition 1, Proposition 3.
Hence $r$ is continuous from $X$ to $X_0$ with respect to $T_X$ and $\subspaceTopology{T_0}{X_0}$ by Definition 147, Lemma 167, Proposition 2.
Hence $\subspaceTopology{T_0}{X_0} = \subspaceTopology{U}{X_0}$ by Definition 147, Lemma 307.
Therefore $h$ is continuous from $X$ to $X_0$ with respect to $T$ and $\subspaceTopology{U}{X_0}$ by Definition 162.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{X_0}$ by Definition 55, Definition 160.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{X_0}$ by Definition 55, Definition 160.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = r(x)$ by Definition 1, Definition 55, Definition 160, Definition 164, Proposition 262, Proposition 349, Proposition 356.
Therefore $h = r$ by Lemma 438.
Hence $h$ is continuous from $X$ to $X_0$ with respect to $T_X$ and $\subspaceTopology{U}{X_0}$ by Definition 160.
Let $q_0 = \restrl{q}{X_0}$.
Hence $q_0$ is continuous from $X_0$ to $Y$ with respect to $\subspaceTopology{U}{X_0}$ and $S$ by Definition 147, Lemma 166, Lemma 307.
Therefore $\img{q_0}{X_0} = X$ by Definition 1, Definition 55, Proposition 67 [Idempotence of intersection], Proposition 273.
Hence $q_0$ is continuous from $X_0$ to $X$ with respect to $\subspaceTopology{U}{X_0}$ and $T_X$ by Definition 147, Lemma 167, Proposition 2.
Hence $h$ is continuous from $X$ to $X_0$ with respect to $T$ and $\subspaceTopology{U}{X_0}$ and $\converse{h}$ is continuous from $X_0$ to $X$ with respect to $\subspaceTopology{U}{X_0}$ and $T$ by Definition 162.
Let $j = \identity{X}$.
$j\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{X}$ by Proposition 406.
Hence $q_0\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$ is continuous from $X$ to $X$ with respect to $T$ and $T_X$ by Lemma 165.
Therefore $q_0\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{X}$ by Definition 55, Definition 160.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $j(x) = (q_0\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h)(x)$ by Definition 1, Definition 55, Definition 160, Proposition 6, Proposition 38, Proposition 186, Proposition 348, Proposition 349, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 384, Proposition 405.
Therefore $j = q_0\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$ by Lemma 438.
Hence $\converse{h}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$ is continuous from $X$ to $X$ with respect to $T$ and $T$ by Lemma 165.
Therefore $\converse{h}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{X}$ by Definition 55, Definition 160.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $j(x) = (\converse{h}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h)(x)$ by Definition 1, Definition 55, Definition 160, Proposition 6, Proposition 186, Proposition 348, Proposition 349, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 405.
Therefore $j = \converse{h}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$ by Lemma 438.
Hence $j$ is continuous from $X$ to $X$ with respect to $T$ and $T_X$ and $j$ is continuous from $X$ to $X$ with respect to $T_X$ and $T$ by Lemma 165.
For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_X$ we have $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Lemma 131.
Hence for all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_X$ we have $\preimg{j}{V} = V$ by Definition 1, Proposition 3, Proposition 246, Proposition 293.
Therefore for all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_X$ we have $\preimg{j}{V}$ is open in $X$ with respect to $T$ by Definition 103, Definition 160.
Therefore for all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_X$ we have $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103.
Hence $T_X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T$ by Definition 1.
For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ we have $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 164.
Hence for all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ we have $\preimg{j}{V} = V$ by Definition 1, Proposition 3, Proposition 246, Proposition 293.
Therefore for all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ we have $\preimg{j}{V}$ is open in $X$ with respect to $T_X$ by Definition 103, Definition 160.
Therefore for all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ we have $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_X$ by Definition 103.
Hence $T\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_X$ by Definition 1.
Therefore $T = T_X$ by Proposition 3.

Hence $\closure{X_0}{Y_0}{T_0} = Y_0$ by Definition 147, Proposition 67 [Idempotence of intersection], Theorem 10.
Therefore $\img{q}{Y_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{q}{X_0}}{Y}{S}$ by Lemma 158.
Thus $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{X}{Y}{S}$ by Definition 1.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{X}{Y}{S}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 151.
Hence $\closure{X}{Y}{S}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1.
Therefore $\closure{X}{Y}{S} = Y$ by Proposition 3.

Hence $Y$ compactifies $X$ with respect to $S$ and $T$ by Definition 303.
Let $j = \identity{Y_0}$.
We have $j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} H$ is continuous from $Y$ to $Z$ with respect to $S$ and $U$ by Definition 147, Lemma 168.
Therefore $j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} H\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{Z}$ by Definition 55, Definition 160.
$H\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{Y_0}$ by Definition 55, Definition 162.
$H\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{Z}$ by Definition 1, Proposition 360.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $(j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} H)(y) = H(y)$ by Definition 1, Definition 55, Definition 162, Proposition 6, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 405, Proposition 406.
Therefore $j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} H = H$ by Lemma 438.
Hence $H$ is continuous from $Y$ to $Z$ with respect to $S$ and $U$ by Definition 160.
Therefore $H$ is a homeomorphism between $Y$ and $Y_0$ with respect to $S$ and $\subspaceTopology{U}{Y_0}$ by Definition 147, Definition 151, Definition 162.
$\img{H}{Y} = Y_0$.
Hence $H$ is a homeomorphism between $Y$ and $\img{H}{Y}$ with respect to $S$ and $\subspaceTopology{U}{\img{H}{Y}}$ by Definition 162.
Therefore $H$ is a topological embedding from $Y$ to $Z$ with respect to $S$ and $U$ by Definition 164.

LaTeX source
\begin{proof}
    Let $X_0 = \img{h}{X}$.
    Let $Y_0 = \closure{X_0}{Z}{U}$.
    Let $T_0 = \subspaceTopology{U}{Y_0}$.
    Let $p = X$.
    Hence $p\notin X$ by \cref{set_notin_self}.
    Let $A = \{\{z,p\} \mid z\in Y_0\setminus X_0\}$.
    Let $Y = X\union A$.
    Let $g = \{w\in A\times Y_0 \mid \text{there exists $z\in Y_0\setminus X_0$ such that $w = (\{z,p\},z)$}\}$.
    Let $H = h\union g$.

    $T$ is a topology on $X$ and $U$ is a topology on $Z$ by \cref{topological_embedding,continuous}.
    $h\in\funs{X}{Z}$ and $h$ is a function and $h$ is injective by \cref{topological_embedding,funs_is_function}.
    Hence $X_0\subseteq Z$ by \cref{img_subseteq_ran,funs_ran,subseteq_transitive}.
    $Y_0\subseteq Z$ by \cref{closure,subseteq}.
    $Y_0$ is closed in $Z$ with respect to $U$ by \cref{closure_closed_in}.
    Hence $Y_0$ is compact with respect to $T_0$ by \cref{closed_subspace_compact}.
    $Y_0$ is Hausdorff with respect to $T_0$ by \cref{subspace_hausdorff}.
    $Y_0$ is a subspace of $Z$ with respect to $U$ by \cref{subspace_of,closure}.
    $T_0$ is a topology on $Y_0$ by \cref{subspace_topology_is_topology,subspace_of,closure}.
    $X_0\subseteq Y_0$ by \cref{subseteq_closure}.
    Hence $X_0$ is a subspace of $Y_0$ with respect to $T_0$ by \cref{subspace_of,subseteq_transitive}.
    Therefore $h$ is a homeomorphism between $X$ and $X_0$ with respect to $T$ and $\subspaceTopology{T_0}{X_0}$
        by \cref{topological_embedding,subspace_subspace_topology,subspace_of}.

    For all $u,v_1,v_2$ such that $(u,v_1)\in g$ and $(u,v_2)\in g$ we have $v_1 = v_2$
        by \cref{pair_eq_iff,tag_with_base_injective}.
    Hence $g$ is right-unique.
    Show that for all $u$ such that $u\in\dom{g}$ we have $u\in A$.
    \begin{subproof}
        Follows by \cref{dom_iff,times,times_tuple_elim}.
    \end{subproof}
    We have $\dom{g}\subseteq A$ by \cref{subseteq}.
    Show that for all $u$ such that $u\in A$ we have $u\in\dom{g}$.
    \begin{subproof}
        Follows by \cref{subseteq,setminus_elim_left,times_tuple_intro,dom_iff}.
    \end{subproof}
    We have $A\subseteq \dom{g}$ by \cref{subseteq}.
    Therefore $\dom{g} = A$ by \cref{subseteq,subseteq_antisymmetric}.
    For all $w$ such that $w\in g$ we have $w\in A\times Y_0$ by \cref{times}.
    $g$ is a relation by \cref{subseteq,relation}.
    For all $u$ such that $u\in\dom{g}$ we have $g(u)\in Y_0$
        by \cref{dom_iff,times,times_tuple_elim,function_apply_iff,rightunique,relation}.
    Therefore $g\in\funs{A}{Y_0}$ by \cref{funs_intro}.

    Show that $A$ is disjoint from $X$.
    \begin{subproof}
        Suppose not.
        Take $x$ such that $x\in A$ and $x\in X$ by \cref{disjoint}.
        Take $z\in Y_0\setminus X_0$ such that $x = \{z,p\}$ by \cref{subseteq}.
        Contradiction by \cref{upair_iff,no_two_cycle}.
    \end{subproof}

    For all $u$ such that $u\in\dom{h}\inter\dom{g}$ we have $h(u) = g(u)$
        by \cref{funs,inter,subseteq,dom_iff,disjoint}.
    Hence $H$ is a function by \cref{funs_is_function,union_compatible_functions}.
    Therefore $\dom{H} = Y$ by \cref{funs,subseteq_antisymmetric,dom_union}.
    For all $w$ such that $w\in h$ we have $w\in Y\times Y_0$
        by \cref{funs,rels_elim,subseteq,times_elem_is_tuple,img_iff,function_apply_intro,topological_embedding,funs_is_function,union_intro_left,times_tuple_intro}.
    For all $w$ such that $w\in g$ we have $w\in Y\times Y_0$
        by \cref{times,times_elem_is_tuple,union_intro_right,times_tuple_intro}.
    Thus for all $w$ such that $w\in H$ we have $w\in Y\times Y_0$ by \cref{union_iff}.
    For all $y$ such that $y\in\dom{H}$ we have $H(y)\in Y_0$
        by \cref{dom_iff,times,times_tuple_elim,function_apply_iff,rightunique,relation}.
    Therefore $H\in\funs{Y}{Y_0}$ by \cref{funs_intro,funs}.

    For all $x\in X$ we have $H(x) = h(x)$
        by \cref{topological_embedding,funs,function_apply_iff,funs_is_function,union_iff,subseteq}.

    Show that for all $y_1,y_2$ such that $y_1\in\dom{H}$ and $y_2\in\dom{H}$ and $H(y_1) = H(y_2)$
        we have $y_1 = y_2$.
    \begin{subproof}
        Fix $y_1$.
        Fix $y_2$ such that $y_1\in\dom{H}$ and $y_2\in\dom{H}$ and $H(y_1) = H(y_2)$.
        We have $y_1\in Y$ and $y_2\in Y$ by \cref{funs,subseteq}.
        Hence $y_1\in X$ or $y_1\in A$ by \cref{union_iff}.
        $y_2\in X$ or $y_2\in A$ by \cref{union_iff}.
        \begin{byCase}
        \caseOf{$y_1\in X$ and $y_2\in X$.}
            We have $H(y_1) = h(y_1)$ and $H(y_2) = h(y_2)$ by \cref{subseteq}.
            Hence $h(y_1) = h(y_2)$.
            Hence $y_1\in\dom{h}$ and $y_2\in\dom{h}$ by \cref{topological_embedding,funs}.
            Therefore $y_1 = y_2$ by \cref{injective_function,topological_embedding}.
        \caseOf{$y_1\in X$ and $y_2\in A$.}
            Suppose not.
            Hence $H(y_1)\in X_0$
                by \cref{subseteq,function_apply_iff,topological_embedding,funs,funs_is_function,img_iff}.
            Take $z\in Y_0\setminus X_0$ such that $y_2 = \{z,p\}$ by \cref{subseteq}.
            Therefore $(y_2,z)\in H$ by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y_2) = z$ by \cref{function_apply_iff,funs_is_function}.
            Hence $H(y_2)\in Y_0\setminus X_0$.
            Contradiction by \cref{setminus_elim_right}.
        \caseOf{$y_1\in A$ and $y_2\in X$.}
            Suppose not.
            Hence $H(y_2)\in X_0$
                by \cref{subseteq,function_apply_iff,topological_embedding,funs,funs_is_function,img_iff}.
            Take $z\in Y_0\setminus X_0$ such that $y_1 = \{z,p\}$ by \cref{subseteq}.
            Therefore $(y_1,z)\in H$ by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y_1) = z$ by \cref{function_apply_iff,funs_is_function}.
            Hence $H(y_1)\in Y_0\setminus X_0$.
            Contradiction by \cref{setminus_elim_right}.
        \caseOf{$y_1\in A$ and $y_2\in A$.}
            Take $z_1\in Y_0\setminus X_0$ such that $y_1 = \{z_1,p\}$ by \cref{subseteq}.
            Take $z_2\in Y_0\setminus X_0$ such that $y_2 = \{z_2,p\}$ by \cref{subseteq}.
            We have $(y_1,z_1)\in H$ and $(y_2,z_2)\in H$
                by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y_1) = z_1$ and $H(y_2) = z_2$ by \cref{function_apply_iff,funs_is_function}.
            Hence $z_1 = z_2$.
            Thus $y_1 = y_2$.
        \end{byCase}
    \end{subproof}
    Hence $H$ is injective by \cref{funs_is_function,funs,injective_function}.

    Show that $\img{H}{Y}\subseteq Y_0$.
    \begin{subproof}
        Follows by \cref{img_subseteq_ran,funs_ran,subseteq_transitive,funs}.
    \end{subproof}
    Show that for all $z$ such that $z\in Y_0$ we have $z\in \img{H}{Y}$.
    \begin{subproof}
        Fix $z$ such that $z\in Y_0$.
        \begin{byCase}
        \caseOf{$z\in X_0$.}
            Take $x\in X$ such that $(x,z)\in h$ by \cref{img_iff}.
            Therefore $z\in \img{H}{Y}$ by \cref{img_iff,union_iff,union_intro_left}.
        \caseOf{$z\in Y_0\setminus X_0$.}
            $z\in \img{H}{Y}$ by \cref{subseteq,times_tuple_intro,union_iff,union_intro_right,img_iff}.
        \end{byCase}
    \end{subproof}
    Therefore $\img{H}{Y} = Y_0$ by \cref{subseteq,subseteq_antisymmetric}.

    Therefore $H$ is a bijection from $Y$ to $Y_0$ by \cref{funs,img_dom,funs_surj_iff,funs,bijections,injective}.
    Let $q = \converse{H}$.
    Hence $q$ is a function from $Y_0$ to $Y$ by \cref{bijective_converse_are_funs}.
    Let $S = \quotientTopology{q}{T_0}{Y_0}{Y}$.
    $S$ is a topology on $Y$ by \cref{quotient_topology_is_topology}.
    Hence $q\in\surj{Y_0}{Y}$ by \cref{bijective_converse_are_surjs}.
    Therefore $q$ is a quotient map from $Y_0$ to $Y$ with respect to $T_0$ and $S$
        by \cref{quotient_topology_quotient_map}.
    Hence $q$ is continuous from $Y_0$ to $Y$ with respect to $T_0$ and $S$ by \cref{quotient_map}.

    $H\circ q\in\funs{Y_0}{Y_0}$ by \cref{funs_circ}.
    Let $i_0 = \identity{Y_0}$.
    Hence $i_0\in\funs{Y_0}{Y_0}$ by \cref{id_elem_funs}.
    For all $z\in Y_0$ we have $(H\circ q)(z) = i_0(z)$
        by \cref{funs,function_apply_elim,funs_is_function,funs_type_apply,converse_iff,function_apply_iff,funs_ran,circ_apply,id_apply}.
    Therefore $H\circ q = \identity{Y_0}$ by \cref{functions_eq_iff}.

    $i_0$ is continuous from $Y_0$ to $Y_0$ with respect to $T_0$ and $T_0$
        by \cref{identity_continuous}.
    We have $H\circ q = i_0$.
    For all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have $\preimg{H}{V}\subseteq Y$
        by \cref{preimg_subseteq_dom,funs,subseteq}.
    Therefore for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have
        $\preimg{q}{\preimg{H}{V}} = \preimg{i_0}{V}$
        by \cref{preimg_iff,circ_iff,subseteq,subseteq_antisymmetric}.
    Hence for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have
        $\preimg{i_0}{V}$ is open in $Y_0$ with respect to $T_0$ by \cref{continuous}.
    Thus for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have
        $\preimg{q}{\preimg{H}{V}}$ is open in $Y_0$ with respect to $T_0$.
    Hence for all $V$ such that $V$ is open in $Y_0$ with respect to $T_0$ we have
        $\preimg{H}{V}$ is open in $Y$ with respect to $S$ by \cref{quotient_map}.
    Therefore $H$ is continuous from $Y$ to $Y_0$ with respect to $S$ and $T_0$ by \cref{continuous}.
    We have $\converse{H} = q$ by \cref{converse_converse_eq}.
    Hence $\converse{H}$ is continuous from $Y_0$ to $Y$ with respect to $T_0$ and $S$ by \cref{quotient_map}.
    Therefore $H$ is a homeomorphism between $Y$ and $Y_0$ with respect to $S$ and $T_0$
        by \cref{homeomorphism,bijections}.

    Show that for all $y$ such that $y\in \img{q}{X_0}$ we have $y\in X$.
    \begin{subproof}
        Fix $y$ such that $y\in \img{q}{X_0}$.
        Take $z\in X_0$ such that $(z,y)\in q$ by \cref{img_iff}.
        Hence $(y,z)\in H$ by \cref{converse_iff}.
        \begin{byCase}
        \caseOf{$y\in X$.}
            Trivial.
        \caseOf{$y\in A$.}
            Suppose not.
            Take $u\in Y_0\setminus X_0$ such that $y = \{u,p\}$ by \cref{subseteq}.
            Therefore $(y,u)\in H$ by \cref{setminus_elim_left,times_tuple_intro,union_iff}.
            Hence $H(y) = u$ and $H(y) = z$ by \cref{function_apply_iff,funs_is_function}.
            Hence $z\in Y_0\setminus X_0$.
            Contradiction by \cref{setminus_elim_right}.
        \end{byCase}
    \end{subproof}
    Show that for all $x\in X$ we have $x\in \img{q}{X_0}$.
    \begin{subproof}
        Follows by \cref{topological_embedding,funs,function_apply_elim,funs_is_function,img_iff,subseteq,union_iff,converse_iff}.
    \end{subproof}
    Therefore $\img{q}{X_0} = X$ by \cref{subseteq,subseteq_antisymmetric}.

    Hence $Y = \img{q}{Y_0}$ by \cref{surj,funs,quotient_map,img_dom,ran_of_surj}.
    Therefore $Y$ is compact with respect to $\subspaceTopology{S}{Y}$ by \cref{continuous_image_compact}.
    Show that for all $V$ such that $V\in\subspaceTopology{S}{Y}$ we have $V\in S$.
    \begin{subproof}
        Follows by \cref{subspace_topology,topology_on,pow_iff,subseteq,inter_absorb_supseteq_left}.
    \end{subproof}
    Show that for all $V$ such that $V\in S$ we have $V\in\subspaceTopology{S}{Y}$.
    \begin{subproof}
        Follows by \cref{topology_on,pow_iff,subseteq,inter_absorb_supseteq_left,subspace_topology}.
    \end{subproof}
    Therefore $\subspaceTopology{S}{Y} = S$ by \cref{subseteq,subseteq_antisymmetric}.
    Hence $Y$ is compact with respect to $S$.

    Show that for all $y_1,y_2$ such that $y_1\in Y$ and $y_2\in Y$ and $y_1\neq y_2$
        there exist $N_1,N_2$ such that
        $N_1$ is a neighborhood of $y_1$ in $Y$ with respect to $S$ and
        $N_2$ is a neighborhood of $y_2$ in $Y$ with respect to $S$ and
        $N_1$ is disjoint from $N_2$.
    \begin{subproof}
        Fix $y_1$.
        Fix $y_2$.
        Assume $y_1\in Y$ and $y_2\in Y$ and $y_1\neq y_2$.
        Hence $H(y_1)\neq H(y_2)$ by \cref{funs,subseteq,injective_function,funs_is_function}.
        Therefore $H(y_1)\in Y_0$ and $H(y_2)\in Y_0$ by \cref{funs_type_apply}.
        Take $V_1,V_2$ such that
            $V_1$ is a neighborhood of $H(y_1)$ in $Y_0$ with respect to $T_0$ and
            $V_2$ is a neighborhood of $H(y_2)$ in $Y_0$ with respect to $T_0$ and
            $V_1$ is disjoint from $V_2$
            by \cref{hausdorff}.
        Let $W_1 = \preimg{H}{V_1}$.
        Let $W_2 = \preimg{H}{V_2}$.
        Hence $W_1$ is open in $Y$ with respect to $S$ and $W_2$ is open in $Y$ with respect to $S$
            by \cref{continuous,neighborhood}.
        Therefore $H(y_1)\in V_1$ and $H(y_2)\in V_2$ by \cref{neighborhood}.
        Hence $y_1\in\dom{H}$ and $y_2\in\dom{H}$ by \cref{funs,subseteq}.
        Therefore $(y_1,H(y_1))\in H$ and $(y_2,H(y_2))\in H$ by \cref{function_apply_elim,funs_is_function}.
        Hence $y_1\in W_1$ and $y_2\in W_2$ by \cref{preimg_iff}.
        $W_1$ is disjoint from $W_2$ by \cref{preimg_iff,funs_is_function,function_apply_iff,disjoint}.
        Therefore there exist $N_1,N_2$ such that
            $N_1$ is a neighborhood of $y_1$ in $Y$ with respect to $S$ and
            $N_2$ is a neighborhood of $y_2$ in $Y$ with respect to $S$ and
            $N_1$ is disjoint from $N_2$.
    \end{subproof}
    Hence $Y$ is Hausdorff with respect to $S$ by \cref{hausdorff}.

    Show that $X$ is a subspace of $Y$ with respect to $S$ and $T = \subspaceTopology{S}{X}$.
    \begin{subproof}
        Let $T_X = \subspaceTopology{S}{X}$.
        We have $T_X$ is a topology on $X$ and $X$ is a subspace of $Y$ with respect to $S$
            by \cref{union_upper_left,subspace_topology_is_topology,subspace_of}.
        Let $r = \restrl{H}{X}$.
        We have $r$ is continuous from $X$ to $Y_0$ with respect to $T_X$ and $T_0$
            by \cref{continuous_restrict_domain}.
        Show that for all $z$ such that $z\in\img{r}{X}$ we have $z\in X_0$.
        \begin{subproof}
            Follows by \cref{img_iff,restrl_iff,function_apply_iff,funs_is_function,subseteq,topological_embedding,funs,function_apply_elim}.
        \end{subproof}
        Show that for all $z$ such that $z\in X_0$ we have $z\in \img{r}{X}$.
        \begin{subproof}
            Follows by \cref{img_iff,function_apply_iff,topological_embedding,funs_is_function,subseteq,funs,restrl_iff}.
        \end{subproof}
        Therefore $\img{r}{X} = X_0$ by \cref{subseteq,subseteq_antisymmetric}.
        Hence $r$ is continuous from $X$ to $X_0$ with respect to $T_X$ and $\subspaceTopology{T_0}{X_0}$
            by \cref{continuous_restrict_range,subspace_of,subseteq_refl}.
        Hence $\subspaceTopology{T_0}{X_0} = \subspaceTopology{U}{X_0}$ by \cref{subspace_subspace_topology,subspace_of}.
        Therefore $h$ is continuous from $X$ to $X_0$ with respect to $T$ and $\subspaceTopology{U}{X_0}$
            by \cref{homeomorphism}.
        $h\in\funs{X}{X_0}$ by \cref{continuous,funs}.
        $r\in\funs{X}{X_0}$ by \cref{continuous,funs}.
        For all $x\in X$ we have $h(x) = r(x)$
            by \cref{subseteq,topological_embedding,funs,function_apply_iff,funs_is_function,restrl_iff,continuous}.
        Therefore $h = r$ by \cref{functions_eq_iff}.
        Hence $h$ is continuous from $X$ to $X_0$ with respect to $T_X$ and $\subspaceTopology{U}{X_0}$
            by \cref{continuous}.
        Let $q_0 = \restrl{q}{X_0}$.
        Hence $q_0$ is continuous from $X_0$ to $Y$ with respect to $\subspaceTopology{U}{X_0}$ and $S$
            by \cref{continuous_restrict_domain,subspace_of,subspace_subspace_topology}.
        Therefore $\img{q_0}{X_0} = X$ by \cref{funs,subseteq,restrl_img,inter_idempotent}.
        Hence $q_0$ is continuous from $X_0$ to $X$ with respect to $\subspaceTopology{U}{X_0}$ and $T_X$
            by \cref{continuous_restrict_range,subseteq_refl,subspace_of}.
        Hence $h$ is continuous from $X$ to $X_0$ with respect to $T$ and $\subspaceTopology{U}{X_0}$
            and $\converse{h}$ is continuous from $X_0$ to $X$ with respect to $\subspaceTopology{U}{X_0}$ and $T$
            by \cref{homeomorphism}.
        Let $j = \identity{X}$.
        $j\in\funs{X}{X}$ by \cref{id_elem_funs}.
        Hence $q_0\circ h$ is continuous from $X$ to $X$ with respect to $T$ and $T_X$
            by \cref{continuous_composite}.
        Therefore $q_0\circ h\in\funs{X}{X}$ by \cref{continuous,funs}.
        For all $x\in X$ we have $j(x) = (q_0\circ h)(x)$
            by \cref{continuous,funs,function_apply_elim,funs_is_function,union_intro_left,converse_iff,funs_type_apply,subseteq,restrl_of_function_apply,function_apply_iff,funs_ran,subseteq_transitive,circ_apply,id_apply}.
        Therefore $j = q_0\circ h$ by \cref{functions_eq_iff}.
        Hence $\converse{h}\circ h$ is continuous from $X$ to $X$ with respect to $T$ and $T$
            by \cref{continuous_composite}.
        Therefore $\converse{h}\circ h\in\funs{X}{X}$ by \cref{continuous,funs}.
        For all $x\in X$ we have $j(x) = (\converse{h}\circ h)(x)$
            by \cref{continuous,funs,function_apply_elim,funs_is_function,converse_iff,funs_type_apply,function_apply_iff,funs_ran,subseteq_transitive,subseteq,circ_apply,id_apply}.
        Therefore $j = \converse{h}\circ h$ by \cref{functions_eq_iff}.
        Hence $j$ is continuous from $X$ to $X$ with respect to $T$ and $T_X$
            and $j$ is continuous from $X$ to $X$ with respect to $T_X$ and $T$
            by \cref{continuous_composite}.
        For all $V$ such that $V\in T_X$ we have $V\subseteq X$
            by \cref{subspace_topology_is_topology,topology_on,subseteq,pow_iff}.
        Hence for all $V$ such that $V\in T_X$ we have $\preimg{j}{V} = V$
            by \cref{preimg_iff,id_iff,subseteq,subseteq_antisymmetric}.
        Therefore for all $V$ such that $V\in T_X$ we have $\preimg{j}{V}$ is open in $X$ with respect to $T$
            by \cref{continuous,open_in}.
        Therefore for all $V$ such that $V\in T_X$ we have $V\in T$ by \cref{open_in}.
        Hence $T_X\subseteq T$ by \cref{subseteq}.
        For all $V$ such that $V\in T$ we have $V\subseteq X$
            by \cref{topological_embedding,topology_on,subseteq,pow_iff}.
        Hence for all $V$ such that $V\in T$ we have $\preimg{j}{V} = V$
            by \cref{preimg_iff,id_iff,subseteq,subseteq_antisymmetric}.
        Therefore for all $V$ such that $V\in T$ we have $\preimg{j}{V}$ is open in $X$ with respect to $T_X$
            by \cref{continuous,open_in}.
        Therefore for all $V$ such that $V\in T$ we have $V\in T_X$ by \cref{open_in}.
        Hence $T\subseteq T_X$ by \cref{subseteq}.
        Therefore $T = T_X$ by \cref{subseteq_antisymmetric}.
    \end{subproof}

    Hence $\closure{X_0}{Y_0}{T_0} = Y_0$ by \cref{closure_in_subspace,subspace_of,inter_idempotent}.
    Therefore $\img{q}{Y_0}\subseteq \closure{\img{q}{X_0}}{Y}{S}$ by \cref{continuous_closure_image_subset}.
    Thus $Y\subseteq \closure{X}{Y}{S}$ by \cref{subseteq}.
    For all $y$ such that $y\in\closure{X}{Y}{S}$ we have $y\in Y$ by \cref{closure}.
    Hence $\closure{X}{Y}{S}\subseteq Y$ by \cref{subseteq}.
    Therefore $\closure{X}{Y}{S} = Y$ by \cref{subseteq_antisymmetric}.

    Hence $Y$ compactifies $X$ with respect to $S$ and $T$ by \cref{compactifies}.
    Let $j = \identity{Y_0}$.
    We have $j\circ H$ is continuous from $Y$ to $Z$ with respect to $S$ and $U$
        by \cref{continuous_expand_range,subspace_of}.
    Therefore $j\circ H\in\funs{Y}{Z}$ by \cref{continuous,funs}.
    $H\in\funs{Y}{Y_0}$ by \cref{homeomorphism,funs}.
    $H\in\funs{Y}{Z}$ by \cref{funs_weaken_codom,subseteq}.
    For all $y\in Y$ we have $(j\circ H)(y) = H(y)$
        by \cref{funs_type_apply,homeomorphism,funs,funs_ran,subseteq_transitive,id_elem_funs,subseteq,circ_apply,funs_is_function,id_apply}.
    Therefore $j\circ H = H$ by \cref{functions_eq_iff}.
    Hence $H$ is continuous from $Y$ to $Z$ with respect to $S$ and $U$ by \cref{continuous}.
    Therefore $H$ is a homeomorphism between $Y$ and $Y_0$ with respect to $S$ and $\subspaceTopology{U}{Y_0}$
        by \cref{homeomorphism,subspace_of,closure}.
    $\img{H}{Y} = Y_0$.
    Hence $H$ is a homeomorphism between $Y$ and $\img{H}{Y}$ with respect to $S$ and $\subspaceTopology{U}{\img{H}{Y}}$
        by \cref{homeomorphism}.
    Therefore $H$ is a topological embedding from $Y$ to $Z$ with respect to $S$ and $U$
        by \cref{topological_embedding}.
\end{proof}
Lemma 582
induced_compactification_uniqueness

Assume $h$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $U$.
Assume $Z$ is Hausdorff with respect to $U$.
Assume $Y_1$ compactifies $X$ with respect to $S_1$ and $T$.
Assume $Y_2$ compactifies $X$ with respect to $S_2$ and $T$.
Assume $H_1$ is a topological embedding from $Y_1$ to $Z$ with respect to $S_1$ and $U$.
Assume $H_2$ is a topological embedding from $Y_2$ to $Z$ with respect to $S_2$ and $U$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $H_1(x) = h(x)$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $H_2(x) = h(x)$.
Then $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$.

LaTeX source
\begin{lemma}
\label{induced_compactification_uniqueness}
    Assume $h$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $U$.
    Assume $Z$ is Hausdorff with respect to $U$.
    Assume $Y_1$ compactifies $X$ with respect to $S_1$ and $T$.
    Assume $Y_2$ compactifies $X$ with respect to $S_2$ and $T$.
    Assume $H_1$ is a topological embedding from $Y_1$ to $Z$ with respect to $S_1$ and $U$.
    Assume $H_2$ is a topological embedding from $Y_2$ to $Z$ with respect to $S_2$ and $U$.
    Suppose for all $x\in X$ we have $H_1(x) = h(x)$.
    Suppose for all $x\in X$ we have $H_2(x) = h(x)$.
    Then $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$.
\end{lemma}
Proof

Let $X_0 = \img{h}{X}$.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{H_1}{X}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{H_1}{X}$.

Therefore $\img{H_1}{X} = X_0$ by Definition 1, Proposition 3.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{H_2}{X}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{H_2}{X}$.

Therefore $\img{H_2}{X} = X_0$ by Definition 1, Proposition 3.

We have $H_1$ is continuous from $Y_1$ to $Z$ with respect to $S_1$ and $U$ by Definition 164.
Hence $X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y_1$ and $\closure{X}{Y_1}{S_1} = Y_1$ by Definition 147, Definition 303.
$\img{H_1}{Y_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{H_1}{X}}{Z}{U}$ by Lemma 158.
Therefore $\img{H_1}{Y_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{X_0}{Z}{U}$ by Axiom 6.
We have $U$ is a topology on $Z$ by Definition 160.
Hence $Y_1$ is compact with respect to $S_1$ by Definition 303.
Therefore $X_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ by Definition 164, Proposition 6, Proposition 237, Proposition 363.
Hence $\img{H_1}{Y_1}$ is compact with respect to $\subspaceTopology{U}{\img{H_1}{Y_1}}$ by Theorem 61.
Therefore $\img{H_1}{Y_1}$ is closed in $Z$ with respect to $U$ by Definition 164, Proposition 6, Proposition 237, Proposition 363, Theorem 60.
For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{H_1}{Y_1}$ by Axiom 6, Definition 1, Definition 147, Definition 303, Proposition 235.
Therefore $\closure{X_0}{Z}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{H_1}{Y_1}$ by Definition 1, Lemma 147.
Hence $\img{H_1}{Y_1} = \closure{X_0}{Z}{U}$ by Definition 1, Proposition 3.

We have $H_2$ is continuous from $Y_2$ to $Z$ with respect to $S_2$ and $U$ by Definition 164.
Hence $X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y_2$ and $\closure{X}{Y_2}{S_2} = Y_2$ by Definition 147, Definition 303.
$\img{H_2}{Y_2}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{H_2}{X}}{Z}{U}$ by Lemma 158.
Therefore $\img{H_2}{Y_2}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{X_0}{Z}{U}$ by Axiom 6.
We have $U$ is a topology on $Z$ by Definition 160.
Hence $Y_2$ is compact with respect to $S_2$ by Definition 303.
Therefore $X_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ by Definition 164, Proposition 6, Proposition 237, Proposition 363.
Hence $\img{H_2}{Y_2}$ is compact with respect to $\subspaceTopology{U}{\img{H_2}{Y_2}}$ by Theorem 61.
Therefore $\img{H_2}{Y_2}$ is closed in $Z$ with respect to $U$ by Definition 164, Proposition 6, Proposition 237, Proposition 363, Theorem 60.
For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X_0$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{H_2}{Y_2}$ by Axiom 6, Definition 1, Definition 147, Definition 303, Proposition 235.
Therefore $\closure{X_0}{Z}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{H_2}{Y_2}$ by Definition 1, Lemma 147.
Hence $\img{H_2}{Y_2} = \closure{X_0}{Z}{U}$ by Definition 1, Proposition 3.

Let $K = \converse{H_2}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} H_1$.
$H_2$ is a homeomorphism between $Y_2$ and $\img{H_2}{Y_2}$ with respect to $S_2$ and $\subspaceTopology{U}{\img{H_2}{Y_2}}$ by Definition 164.
Hence $H_2$ is a bijection from $Y_2$ to $\img{H_2}{Y_2}$ by Definition 58, Definition 162.
Therefore $\converse{H_2}$ is a bijection from $\img{H_2}{Y_2}$ to $Y_2$ by Proposition 398.
Hence $\converse{H_2}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\img{H_2}{Y_2}}{Y_2}$ and $\dom{\converse{H_2}} = \img{H_2}{Y_2}$ by Definition 55, Proposition 396.
$H_1$ is a homeomorphism between $Y_1$ and $\img{H_1}{Y_1}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_1}{Y_1}}$ by Definition 164.
Hence $H_1$ is a bijection from $Y_1$ to $\img{H_1}{Y_1}$ by Definition 58, Definition 162.
Therefore $H_1$ is a bijection from $Y_1$ to $\img{H_2}{Y_2}$ by Axiom 6.
We have $H_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y_1}{\img{H_2}{Y_2}}$ by Proposition 389.
Hence $\ran{H_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{\converse{H_2}}$ by Axiom 6, Proposition 363.
$H_1$ is a homeomorphism between $Y_1$ and $\img{H_1}{Y_1}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_1}{Y_1}}$ by Definition 164.
Hence $H_1$ is continuous from $Y_1$ to $\img{H_1}{Y_1}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_1}{Y_1}}$ by Definition 162.
Hence $H_1$ is continuous from $Y_1$ to $\img{H_2}{Y_2}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_2}{Y_2}}$ by Axiom 6, Lemma 368.
$H_2$ is a homeomorphism between $Y_2$ and $\img{H_2}{Y_2}$ with respect to $S_2$ and $\subspaceTopology{U}{\img{H_2}{Y_2}}$ by Definition 164.
Hence $\converse{H_2}$ is continuous from $\img{H_2}{Y_2}$ to $Y_2$ with respect to $\subspaceTopology{U}{\img{H_2}{Y_2}}$ and $S_2$ by Definition 162.
Therefore $K$ is continuous from $Y_1$ to $Y_2$ with respect to $S_1$ and $S_2$ by Lemma 165.
Hence $K$ is a bijection from $Y_1$ to $Y_2$ by Proposition 392.
Therefore $K\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y_1}{Y_2}$ by Proposition 389.
$Y_1$ is compact with respect to $S_1$ and $Y_2$ is Hausdorff with respect to $S_2$ by Definition 303.
Hence $K$ is a homeomorphism between $Y_1$ and $Y_2$ with respect to $S_1$ and $S_2$ by Theorem 62.

For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $K(x) = x$ by Axiom 6, Definition 1, Definition 55, Definition 147, Definition 164, Definition 303, Proposition 186, Proposition 235, Proposition 346, Proposition 348, Proposition 356, Proposition 373, Proposition 389, Proposition 391.

Therefore $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$ by Definition 304.

LaTeX source
\begin{proof}
    Let $X_0 = \img{h}{X}$.

    Show that for all $z$ such that $z\in\img{H_1}{X}$ we have $z\in X_0$.
    \begin{subproof}
        Follows by \cref{img_iff,function_apply_intro,topological_embedding,funs_is_function,pair_eq_iff,function_apply_elim,funs,subseteq}.
    \end{subproof}
    Show that for all $z$ such that $z\in X_0$ we have $z\in\img{H_1}{X}$.
    \begin{subproof}
        Follows by \cref{img_iff,function_apply_intro,topological_embedding,funs_is_function,pair_eq_iff,compactifies,subspace_of,subseteq,function_apply_elim,funs}.
    \end{subproof}
    Therefore $\img{H_1}{X} = X_0$ by \cref{subseteq,subseteq_antisymmetric}.

    Show that for all $z$ such that $z\in\img{H_2}{X}$ we have $z\in X_0$.
    \begin{subproof}
        Follows by \cref{img_iff,function_apply_intro,topological_embedding,funs_is_function,pair_eq_iff,function_apply_elim,funs,subseteq}.
    \end{subproof}
    Show that for all $z$ such that $z\in X_0$ we have $z\in\img{H_2}{X}$.
    \begin{subproof}
        Follows by \cref{img_iff,function_apply_intro,topological_embedding,funs_is_function,pair_eq_iff,compactifies,subspace_of,subseteq,function_apply_elim,funs}.
    \end{subproof}
    Therefore $\img{H_2}{X} = X_0$ by \cref{subseteq,subseteq_antisymmetric}.

    We have $H_1$ is continuous from $Y_1$ to $Z$ with respect to $S_1$ and $U$ by \cref{topological_embedding}.
    Hence $X\subseteq Y_1$ and $\closure{X}{Y_1}{S_1} = Y_1$ by \cref{compactifies,subspace_of}.
    $\img{H_1}{Y_1}\subseteq \closure{\img{H_1}{X}}{Z}{U}$ by \cref{continuous_closure_image_subset}.
    Therefore $\img{H_1}{Y_1}\subseteq \closure{X_0}{Z}{U}$ by \cref{pair_eq_iff}.
    We have $U$ is a topology on $Z$ by \cref{continuous}.
    Hence $Y_1$ is compact with respect to $S_1$ by \cref{compactifies}.
    Therefore $X_0\subseteq Z$ by \cref{img_subseteq_ran,funs_ran,topological_embedding,subseteq_transitive}.
    Hence $\img{H_1}{Y_1}$ is compact with respect to $\subspaceTopology{U}{\img{H_1}{Y_1}}$
        by \cref{continuous_image_compact}.
    Therefore $\img{H_1}{Y_1}$ is closed in $Z$ with respect to $U$
        by \cref{img_subseteq_ran,funs_ran,topological_embedding,subseteq_transitive,compact_subspace_closed}.
    For all $z$ such that $z\in X_0$ we have $z\in\img{H_1}{Y_1}$
        by \cref{pair_eq_iff,img_iff,compactifies,subspace_of,subseteq}.
    Therefore $\closure{X_0}{Z}{U}\subseteq \img{H_1}{Y_1}$ by \cref{subseteq,closure_subseteq_closed}.
    Hence $\img{H_1}{Y_1} = \closure{X_0}{Z}{U}$ by \cref{subseteq,subseteq_antisymmetric}.

    We have $H_2$ is continuous from $Y_2$ to $Z$ with respect to $S_2$ and $U$ by \cref{topological_embedding}.
    Hence $X\subseteq Y_2$ and $\closure{X}{Y_2}{S_2} = Y_2$ by \cref{compactifies,subspace_of}.
    $\img{H_2}{Y_2}\subseteq \closure{\img{H_2}{X}}{Z}{U}$ by \cref{continuous_closure_image_subset}.
    Therefore $\img{H_2}{Y_2}\subseteq \closure{X_0}{Z}{U}$ by \cref{pair_eq_iff}.
    We have $U$ is a topology on $Z$ by \cref{continuous}.
    Hence $Y_2$ is compact with respect to $S_2$ by \cref{compactifies}.
    Therefore $X_0\subseteq Z$ by \cref{img_subseteq_ran,funs_ran,topological_embedding,subseteq_transitive}.
    Hence $\img{H_2}{Y_2}$ is compact with respect to $\subspaceTopology{U}{\img{H_2}{Y_2}}$
        by \cref{continuous_image_compact}.
    Therefore $\img{H_2}{Y_2}$ is closed in $Z$ with respect to $U$
        by \cref{img_subseteq_ran,funs_ran,topological_embedding,subseteq_transitive,compact_subspace_closed}.
    For all $z$ such that $z\in X_0$ we have $z\in\img{H_2}{Y_2}$
        by \cref{pair_eq_iff,img_iff,compactifies,subspace_of,subseteq}.
    Therefore $\closure{X_0}{Z}{U}\subseteq \img{H_2}{Y_2}$ by \cref{subseteq,closure_subseteq_closed}.
    Hence $\img{H_2}{Y_2} = \closure{X_0}{Z}{U}$ by \cref{subseteq,subseteq_antisymmetric}.

    Let $K = \converse{H_2}\circ H_1$.
    $H_2$ is a homeomorphism between $Y_2$ and $\img{H_2}{Y_2}$ with respect to $S_2$ and $\subspaceTopology{U}{\img{H_2}{Y_2}}$
        by \cref{topological_embedding}.
    Hence $H_2$ is a bijection from $Y_2$ to $\img{H_2}{Y_2}$ by \cref{homeomorphism,bijections}.
    Therefore $\converse{H_2}$ is a bijection from $\img{H_2}{Y_2}$ to $Y_2$
        by \cref{bijection_converse_is_bijection}.
    Hence $\converse{H_2}\in\funs{\img{H_2}{Y_2}}{Y_2}$ and $\dom{\converse{H_2}} = \img{H_2}{Y_2}$
        by \cref{bijective_converse_are_funs,funs}.
    $H_1$ is a homeomorphism between $Y_1$ and $\img{H_1}{Y_1}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_1}{Y_1}}$
        by \cref{topological_embedding}.
    Hence $H_1$ is a bijection from $Y_1$ to $\img{H_1}{Y_1}$ by \cref{homeomorphism,bijections}.
    Therefore $H_1$ is a bijection from $Y_1$ to $\img{H_2}{Y_2}$ by \cref{pair_eq_iff}.
    We have $H_1\in\funs{Y_1}{\img{H_2}{Y_2}}$ by \cref{bijections_to_funs}.
    Hence $\ran{H_1}\subseteq \dom{\converse{H_2}}$ by \cref{funs_ran,pair_eq_iff}.
    $H_1$ is a homeomorphism between $Y_1$ and $\img{H_1}{Y_1}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_1}{Y_1}}$
        by \cref{topological_embedding}.
    Hence $H_1$ is continuous from $Y_1$ to $\img{H_1}{Y_1}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_1}{Y_1}}$
        by \cref{homeomorphism}.
    Hence $H_1$ is continuous from $Y_1$ to $\img{H_2}{Y_2}$ with respect to $S_1$ and $\subspaceTopology{U}{\img{H_2}{Y_2}}$
        by \cref{continuous_eq_codomain,pair_eq_iff}.
    $H_2$ is a homeomorphism between $Y_2$ and $\img{H_2}{Y_2}$ with respect to $S_2$ and $\subspaceTopology{U}{\img{H_2}{Y_2}}$
        by \cref{topological_embedding}.
    Hence $\converse{H_2}$ is continuous from $\img{H_2}{Y_2}$ to $Y_2$ with respect to $\subspaceTopology{U}{\img{H_2}{Y_2}}$ and $S_2$
        by \cref{homeomorphism}.
    Therefore $K$ is continuous from $Y_1$ to $Y_2$ with respect to $S_1$ and $S_2$ by \cref{continuous_composite}.
    Hence $K$ is a bijection from $Y_1$ to $Y_2$ by \cref{bijection_circ}.
    Therefore $K\in\funs{Y_1}{Y_2}$ by \cref{bijections_to_funs}.
    $Y_1$ is compact with respect to $S_1$ and $Y_2$ is Hausdorff with respect to $S_2$ by \cref{compactifies}.
    Hence $K$ is a homeomorphism between $Y_1$ and $Y_2$ with respect to $S_1$ and $S_2$
        by \cref{compact_hausdorff_bijection_homeomorphism}.

    For all $x\in X$ we have $K(x) = x$
        by \cref{compactifies,subspace_of,subseteq,topological_embedding,funs,function_apply_elim,pair_eq_iff,converse_iff,img_iff,bijections_dom,bijections_to_funs,circ_apply,function_apply_intro,funs_is_function}.

    Therefore $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$
        by \cref{compactification_equivalence_over_x}.
\end{proof}
Definition 305
bounded_real_extension_property

$Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$ iff $Y$ compactifies $X$ with respect to $S$ and $T$ and for all $f$ if $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $\img{f}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$ then there exists $g$ such that $g$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x) = f(x)$ and for all $h$ if $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = f(x)$ then $h = g$.

LaTeX source
\begin{definition}
\label{bounded_real_extension_property}
    $Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$ iff
        $Y$ compactifies $X$ with respect to $S$ and $T$ and
        for all $f$ if
            $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
            $\img{f}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$
        then there exists $g$ such that
            $g$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
            for all $x\in X$ we have $g(x) = f(x)$ and
            for all $h$ if
                $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
                for all $x\in X$ we have $h(x) = f(x)$
            then $h = g$.
\end{definition}
Lemma 583
bounded_reals_subset_closed_interval

Assume $A$ is bounded in $\reals$ with respect to $\standardMetricR$.
Then there exist $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$.

LaTeX source
\begin{lemma}
\label{bounded_reals_subset_closed_interval}
    Assume $A$ is bounded in $\reals$ with respect to $\standardMetricR$.
    Then there exist $a,b$ such that
        $a\in\reals$ and
        $b\in\reals$ and
        $a \leq b$ and
        $A\subseteq \intervalclosed{a}{b}$.
\end{lemma}
Proof

We have $\standardMetricR$ is a metric on $\reals$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 187, Lemma 198.

Case. $A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

Let $a = 0$.
Let $b = 0$.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
$a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$ by Proposition 11.
Thus there exist $u,v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{u}{v}$.

Case. $A \class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

Take $x_0$ such that $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 10.
Take $M$ such that $M\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and for all $u,v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $\apply{\standardMetricR}{(u,v)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Definition 187.
Let $a = x_0 - M$.
Let $b = x_0 + M$.
$x_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1.
We have $\neg{M}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
Hence $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
We have $\apply{\standardMetricR}{(x_0,x_0)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$.
$\apply{\standardMetricR}{(x_0,x_0)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 34, Lemma 274.
$\apply{\standardMetricR}{(x_0,x_0)} \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$ by Definition 1, Definition 175, Definition 179.
Hence $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Axiom 17, Lemma 23.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{a}{b}$ by Definition 1, Definition 75, Lemma 274, Proposition 482, Proposition 491, Proposition 492.
Hence $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$ by Definition 1.
We have $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1, Definition 75, Lemma 23.
Thus there exist $u,v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{u}{v}$.

LaTeX source
\begin{byCase}
    \caseOf{$A = \emptyset$.}
        Let $a = 0$.
        Let $b = 0$.
        $a\in\reals$ and $b\in\reals$ by \cref{real_add_ident}.
        $a \leq b$.
        $A\subseteq \intervalclosed{a}{b}$ by \cref{emptyset_subseteq}.
        Thus there exist $u,v$ such that
            $u\in\reals$ and
            $v\in\reals$ and
            $u \leq v$ and
            $A\subseteq \intervalclosed{u}{v}$.
    \caseOf{$A \neq \emptyset$.}
        Take $x_0$ such that $x_0\in A$ by \cref{nonempty_inhabited}.
        Take $M$ such that
            $M\in\reals$ and
            for all $u,v$ such that $u\in A$ and $v\in A$ we have $\apply{\standardMetricR}{(u,v)} \leq M$
            by \cref{metric_bounded}.
        Let $a = x_0 - M$.
        Let $b = x_0 + M$.
        $x_0\in\reals$ by \cref{subseteq}.
        We have $\neg{M}\in\reals$ by \cref{real_add_inverse}.
        Hence $a\in\reals$ by \cref{real_sub,real_add_closed}.
        $b\in\reals$ by \cref{real_add_closed}.
        We have $\apply{\standardMetricR}{(x_0,x_0)} \leq M$.
        $\apply{\standardMetricR}{(x_0,x_0)}\in\reals$ by
            \cref{standard_metric_value,real_sub,real_add_inverse,real_add_closed,real_abs_in_reals}.
        $\apply{\standardMetricR}{(x_0,x_0)} \geq 0$ by \cref{metric_nonnegative,metric_on,subseteq}.
        Hence $0 \leq M$ by \cref{real_add_ident,real_leq_trans}.
        For all $y$ such that $y\in A$ we have $y\in \intervalclosed{a}{b}$
            by \cref{subseteq,standard_metric_value,real_abs_sub_leq_imp_left_bound,real_abs_sub_swap,real_abs_sub_leq_imp_right_bound,intervalclosed}.
        Hence $A\subseteq \intervalclosed{a}{b}$ by \cref{subseteq}.
        We have $a \leq b$ by \cref{subseteq,intervalclosed,real_leq_trans}.
        Thus there exist $u,v$ such that
            $u\in\reals$ and
            $v\in\reals$ and
            $u \leq v$ and
            $A\subseteq \intervalclosed{u}{v}$.
    
\end{byCase}
LaTeX source
\begin{proof}
    We have $\standardMetricR$ is a metric on $\reals$ and $A\subseteq\reals$ by \cref{standard_metric_is_metric,metric_bounded}.
    \begin{byCase}
    \caseOf{$A = \emptyset$.}
        Let $a = 0$.
        Let $b = 0$.
        $a\in\reals$ and $b\in\reals$ by \cref{real_add_ident}.
        $a \leq b$.
        $A\subseteq \intervalclosed{a}{b}$ by \cref{emptyset_subseteq}.
        Thus there exist $u,v$ such that
            $u\in\reals$ and
            $v\in\reals$ and
            $u \leq v$ and
            $A\subseteq \intervalclosed{u}{v}$.
    \caseOf{$A \neq \emptyset$.}
        Take $x_0$ such that $x_0\in A$ by \cref{nonempty_inhabited}.
        Take $M$ such that
            $M\in\reals$ and
            for all $u,v$ such that $u\in A$ and $v\in A$ we have $\apply{\standardMetricR}{(u,v)} \leq M$
            by \cref{metric_bounded}.
        Let $a = x_0 - M$.
        Let $b = x_0 + M$.
        $x_0\in\reals$ by \cref{subseteq}.
        We have $\neg{M}\in\reals$ by \cref{real_add_inverse}.
        Hence $a\in\reals$ by \cref{real_sub,real_add_closed}.
        $b\in\reals$ by \cref{real_add_closed}.
        We have $\apply{\standardMetricR}{(x_0,x_0)} \leq M$.
        $\apply{\standardMetricR}{(x_0,x_0)}\in\reals$ by
            \cref{standard_metric_value,real_sub,real_add_inverse,real_add_closed,real_abs_in_reals}.
        $\apply{\standardMetricR}{(x_0,x_0)} \geq 0$ by \cref{metric_nonnegative,metric_on,subseteq}.
        Hence $0 \leq M$ by \cref{real_add_ident,real_leq_trans}.
        For all $y$ such that $y\in A$ we have $y\in \intervalclosed{a}{b}$
            by \cref{subseteq,standard_metric_value,real_abs_sub_leq_imp_left_bound,real_abs_sub_swap,real_abs_sub_leq_imp_right_bound,intervalclosed}.
        Hence $A\subseteq \intervalclosed{a}{b}$ by \cref{subseteq}.
        We have $a \leq b$ by \cref{subseteq,intervalclosed,real_leq_trans}.
        Thus there exist $u,v$ such that
            $u\in\reals$ and
            $v\in\reals$ and
            $u \leq v$ and
            $A\subseteq \intervalclosed{u}{v}$.
    \end{byCase}
\end{proof}
Lemma 584
compactification_real_extension_unique

Assume $Y$ compactifies $X$ with respect to $S$ and $T$.
Assume $g$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.
Assume $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x) = h(x)$.
Then $g = h$.

LaTeX source
\begin{lemma}
\label{compactification_real_extension_unique}
    Assume $Y$ compactifies $X$ with respect to $S$ and $T$.
    Assume $g$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.
    Assume $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.
    Suppose for all $x\in X$ we have $g(x) = h(x)$.
    Then $g = h$.
\end{lemma}
Proof

We have $\reals$ is Hausdorff with respect to $\standardTopologyR$ by Lemma 198, Lemma 200, Lemma 395.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{\reals}$ and $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{\reals}$ by Definition 55, Definition 160.

Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $g(y) = h(y)$.

Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$.
Suppose not.
We have $g(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $h(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 361.
Take $N_1,N_2$ such that $N_1$ is a neighborhood of $g(y)$ in $\reals$ with respect to $\standardTopologyR$ and $N_2$ is a neighborhood of $h(y)$ in $\reals$ with respect to $\standardTopologyR$ and $N_1$ is disjoint from $N_2$ by Definition 156.
Let $W_1 = \preimg{g}{N_1}$.
Let $W_2 = \preimg{h}{N_2}$.
We have $W_1$ is open in $Y$ with respect to $S$ and $W_2$ is open in $Y$ with respect to $S$ by Definition 153, Definition 160.
Therefore $(y,g(y))\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(y,h(y))\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Definition 55, Definition 160, Proposition 348, Proposition 356.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W_1$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W_2$ by Definition 153, Proposition 246.
Let $C = \{W_1,W_2\}$.
We have $S$ is a topology on $Y$ and $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ by Definition 1, Definition 103, Definition 303, Proposition 19.
Let $W = \inters{C}$.
Hence $W$ is open in $Y$ with respect to $S$ by Definition 103, Lemma 40, Lemma 124, Lemma 323, Proposition 16.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 19, Proposition 31.
Hence $W$ intersects $X$ by Axiom 6, Definition 147, Definition 303, Theorem 11.
Take $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter X$ by Definition 152, Proposition 10.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 5.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_1$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_2$ by Definition 1, Proposition 19, Proposition 35.
Take $z_1\class{latex-symbol-tip latex-symbol-id-in}{\in} N_1$ such that $(x,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Definition 1, Proposition 246, Proposition 249.
Take $z_2\class{latex-symbol-tip latex-symbol-id-in}{\in} N_2$ such that $(x,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Definition 1, Proposition 246, Proposition 249.
Therefore $g(x) = z_1$ and $h(x) = z_2$ by Definition 1, Proposition 349, Proposition 356.
Thus $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} N_1$ and $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} N_2$ by Axiom 6.
Contradiction by Definition 3.

Therefore $g = h$ by Lemma 438.

LaTeX source
\begin{proof}
    We have $\reals$ is Hausdorff with respect to $\standardTopologyR$
        by \cref{standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology}.
    $g\in\funs{Y}{\reals}$ and $h\in\funs{Y}{\reals}$ by \cref{continuous,funs}.

    Show that for all $y\in Y$ we have $g(y) = h(y)$.
    \begin{subproof}
        Fix $y\in Y$.
        Suppose not.
        We have $g(y)\in\reals$ and $h(y)\in\reals$ by \cref{funs_type_apply,continuous}.
        Take $N_1,N_2$ such that
            $N_1$ is a neighborhood of $g(y)$ in $\reals$ with respect to $\standardTopologyR$ and
            $N_2$ is a neighborhood of $h(y)$ in $\reals$ with respect to $\standardTopologyR$ and
            $N_1$ is disjoint from $N_2$
            by \cref{hausdorff}.
        Let $W_1 = \preimg{g}{N_1}$.
        Let $W_2 = \preimg{h}{N_2}$.
        We have $W_1$ is open in $Y$ with respect to $S$ and $W_2$ is open in $Y$ with respect to $S$
            by \cref{continuous,neighborhood}.
        Therefore $(y,g(y))\in g$ and $(y,h(y))\in h$
            by \cref{function_apply_elim,continuous,funs,funs_is_function}.
        Hence $y\in W_1$ and $y\in W_2$ by \cref{neighborhood,preimg_iff}.
        Let $C = \{W_1,W_2\}$.
        We have $S$ is a topology on $Y$ and $C\subseteq S$ by \cref{compactifies,upair_iff,open_in,subseteq}.
        Let $W = \inters{C}$.
        Hence $W$ is open in $Y$ with respect to $S$
            by \cref{pair_is_finite,upair_intro_left,inhabited_nonempty,finite_intersections_open_in_topology,open_in}.
        Therefore $y\in W$ by \cref{inters_intro,upair_iff}.
        Hence $W$ intersects $X$ by \cref{compactifies,subspace_of,pair_eq_iff,closure_iff_intersects_open}.
        Take $x$ such that $x\in W\inter X$ by \cref{intersects,nonempty_inhabited}.
        We have $x\in W$ and $x\in X$ by \cref{inter}.
        Hence $x\in W_1$ and $x\in W_2$ by \cref{upair_iff,inters_subseteq_elem,subseteq}.
        Take $z_1\in N_1$ such that $(x,z_1)\in g$ by \cref{subseteq,preimg_iff,preimg_subseteq_dom}.
        Take $z_2\in N_2$ such that $(x,z_2)\in h$ by \cref{subseteq,preimg_iff,preimg_subseteq_dom}.
        Therefore $g(x) = z_1$ and $h(x) = z_2$ by \cref{subseteq,function_apply_iff,funs_is_function}.
        Thus $h(x)\in N_1$ and $h(x)\in N_2$ by \cref{pair_eq_iff}.
        Contradiction by \cref{disjoint}.
    \end{subproof}
    Therefore $g = h$ by \cref{functions_eq_iff}.
\end{proof}
Lemma 585
indexed_real_product_subspace_topology

Assume $C$ is a function.
Assume $S$ is a function.
Assume $R$ is a function.
Assume $T$ is a function.
Assume $\dom{S} = \dom{C}$.
Assume $\dom{R} = \dom{C}$.
Assume $\dom{T} = \dom{C}$.
Assume $\dom{C}$ is inhabited.
Assume that for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ we have $\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \reals$ and $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \standardTopologyR$ and $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $\apply{S}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \subspaceTopology{\standardTopologyR}{\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}$.
Then $\productTopologyIndexed{S}{C} = \subspaceTopology{\productTopologyIndexed{T}{R}}{\productFamily{C}}$.

LaTeX source
\begin{lemma}
\label{indexed_real_product_subspace_topology}
    Assume $C$ is a function.
    Assume $S$ is a function.
    Assume $R$ is a function.
    Assume $T$ is a function.
    Assume $\dom{S} = \dom{C}$.
    Assume $\dom{R} = \dom{C}$.
    Assume $\dom{T} = \dom{C}$.
    Assume $\dom{C}$ is inhabited.
    Assume that for all $\alpha\in\dom{C}$ we have
        $\apply{R}{\alpha} = \reals$ and
        $\apply{T}{\alpha} = \standardTopologyR$ and
        $\apply{C}{\alpha}\subseteq\reals$ and
        $\apply{S}{\alpha} = \subspaceTopology{\standardTopologyR}{\apply{C}{\alpha}}$.
    Then $\productTopologyIndexed{S}{C}
        = \subspaceTopology{\productTopologyIndexed{T}{R}}{\productFamily{C}}$.
\end{lemma}
Proof

Let $P = \productTopologyIndexed{S}{C}$.
Let $Q = \productTopologyIndexed{T}{R}$.
Let $A = \productFamily{C}$.
Let $T_A = \subspaceTopology{Q}{A}$.

For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ we have $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ we have $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a topology on $\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ we have $\apply{S}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a topology on $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6, Definition 147, Lemma 131.
Hence $A$ is a subspace of $\productFamily{R}$ with respect to $Q$ by Lemma 186.
Therefore $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Definition 147.
$P$ is a topology on $A$ by Definition 115, Lemma 76, Lemma 176, Lemma 177.
$Q$ is a topology on $\productFamily{R}$ by Definition 115, Lemma 76, Lemma 176, Lemma 177.
Hence $T_A$ is a topology on $A$ by Definition 147, Lemma 131.

Let $j = \identity{A}$.
We have $j\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{A}$ by Proposition 406.
Hence $j\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\productFamily{R}}$ by Definition 147, Proposition 360, Proposition 406.

Claim: For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ we have $\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j$ is continuous from $A$ to $\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $P$ and $\apply{T}{\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}\dom{R}$.
Let $p = \piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$.
Let $q = \identity{\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$.
We have $p$ is continuous from $A$ to $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $P$ and $\apply{S}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6, Lemma 366.
We have $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
Hence $q$ is continuous from $A$ to $\reals$ with respect to $P$ and $\standardTopologyR$ by Axiom 6, Lemma 168.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ by Definition 55, Definition 160.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}$ by Definition 55, Definition 160.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ by Definition 1, Proposition 360.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $q(x) = p(x)$ by Axiom 6, Definition 1, Definition 55, Definition 160, Proposition 255, Proposition 293, Proposition 346, Proposition 348, Proposition 356, Proposition 361.
Therefore $q = p$ by Lemma 438.
Hence $p$ is continuous from $A$ to $\reals$ with respect to $P$ and $\standardTopologyR$ by Lemma 367.
Hence $p$ is continuous from $A$ to $\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $P$ and $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6, Lemma 368.
$\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}$ by Definition 1, Lemma 191, Proposition 382.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}$ by Definition 55, Definition 160.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $(\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j)(x) = p(x)$ by Axiom 6, Definition 1, Definition 55, Definition 147, Definition 160, Definition 170, Lemma 191, Proposition 6, Proposition 346, Proposition 348, Proposition 356, Proposition 363, Proposition 373, Proposition 405, Proposition 406.
Therefore $\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j = p$ by Lemma 438.
Therefore $\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j$ is continuous from $A$ to $\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $P$ and $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 367.

Therefore $j$ is continuous from $A$ to $\productFamily{R}$ with respect to $P$ and $Q$ by Definition 1, Definition 55, Lemma 191, Lemma 193.
Hence $j$ is continuous from $A$ to $A$ with respect to $P$ and $T_A$ by Axiom 6, Definition 1, Definition 147, Lemma 167, Proposition 235, Proposition 293.

Claim: For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ we have $\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j$ is continuous from $A$ to $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $T_A$ and $\apply{S}{\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}\dom{C}$.
Let $p = \piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$.
Let $g = \restrl{p}{A}$.
We have $p$ is continuous from $\productFamily{R}$ to $\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $Q$ and $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 366.
Hence $g$ is continuous from $A$ to $\apply{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $T_A$ and $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 147, Lemma 166.
Hence $g$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Axiom 6, Lemma 368.
$\img{g}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6, Definition 1, Definition 55, Definition 147, Definition 167, Definition 170, Lemma 191, Proposition 235, Proposition 262, Proposition 346, Proposition 348, Proposition 356.
Hence $g$ is continuous from $A$ to $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $T_A$ and $\apply{S}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6, Definition 1, Definition 55, Definition 160, Lemma 470.
$\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}$ by Definition 1, Lemma 191, Proposition 382.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}$ by Definition 55, Definition 160.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $(\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j)(x) = g(x)$ by Axiom 6, Definition 1, Definition 55, Definition 160, Definition 170, Lemma 191, Proposition 262, Proposition 346, Proposition 348, Proposition 356, Proposition 363, Proposition 373, Proposition 382, Proposition 405, Proposition 406.
Therefore $\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j = g$ by Lemma 438.
Therefore $\piIndex{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} j$ is continuous from $A$ to $\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ with respect to $T_A$ and $\apply{S}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 367.

Hence $j$ is continuous from $A$ to $A$ with respect to $T_A$ and $P$ by Axiom 6, Lemma 193, Lemma 368, Proposition 406.

For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ we have $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Axiom 12, Definition 1, Definition 101, Lemma 131.
Hence for all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ we have $\preimg{j}{U} = U$ by Definition 1, Proposition 3, Proposition 246, Proposition 293.
Therefore for all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ we have $\preimg{j}{U}$ is open in $A$ with respect to $P$ by Definition 103, Definition 160.
Therefore for all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ we have $U\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 103.

Claim: For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$.

Fix $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
We have $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Axiom 12, Definition 1, Definition 101.

Claim: $\preimg{j}{U} = U$.
Claim: $\preimg{j}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.

It suffices to show that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{j}{U}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{j}{U}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} j$ by Proposition 246.
Hence $x = y$ by Proposition 293.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.

Hence $\preimg{j}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.

Claim: $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{j}{U}$.

It suffices to show that for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{j}{U}$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1.
$(z,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} j$ by Proposition 293.
Therefore $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{j}{U}$ by Proposition 246.

Hence $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\preimg{j}{U}$ by Definition 1.
Therefore $\preimg{j}{U} = U$ by Proposition 3.

Hence $\preimg{j}{U}$ is open in $A$ with respect to $T_A$ by Definition 103, Definition 160.
Therefore $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ by Definition 103.

Therefore $P = T_A$ by Definition 1, Proposition 3.

LaTeX source
\begin{proof}
    Let $P = \productTopologyIndexed{S}{C}$.
    Let $Q = \productTopologyIndexed{T}{R}$.
    Let $A = \productFamily{C}$.
    Let $T_A = \subspaceTopology{Q}{A}$.

    For all $\alpha\in\dom{C}$ we have $\apply{C}{\alpha}\subseteq\apply{R}{\alpha}$ by \cref{pair_eq_iff}.
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    For all $\alpha\in\dom{R}$ we have $\apply{T}{\alpha}$ is a topology on $\apply{R}{\alpha}$
        by \cref{pair_eq_iff}.
    For all $\alpha\in\dom{C}$ we have $\apply{S}{\alpha}$ is a topology on $\apply{C}{\alpha}$
        by \cref{subspace_of,subspace_topology_is_topology,pair_eq_iff}.
    Hence $A$ is a subspace of $\productFamily{R}$ with respect to $Q$ by \cref{product_subspace_product}.
    Therefore $A\subseteq\productFamily{R}$ by \cref{subspace_of}.
    $P$ is a topology on $A$ by
        \cref{product_subbasis_is_subbasis,product_subbasis_finite_intersections_basis,basis_for_topology,basis_topology_is_topology}.
    $Q$ is a topology on $\productFamily{R}$ by
        \cref{product_subbasis_is_subbasis,product_subbasis_finite_intersections_basis,basis_for_topology,basis_topology_is_topology}.
    Hence $T_A$ is a topology on $A$ by \cref{subspace_topology_is_topology,subspace_of}.

    Let $j = \identity{A}$.
    We have $j\in\funs{A}{A}$ by \cref{id_elem_funs}.
    Hence $j\in\funs{A}{\productFamily{R}}$ by \cref{id_elem_funs,funs_weaken_codom,subspace_of}.

    Show that for all $\alpha\in\dom{R}$ we have $\piIndex{R}{\alpha}\circ j$ is continuous from $A$ to $\apply{R}{\alpha}$
        with respect to $P$ and $\apply{T}{\alpha}$.
    \begin{subproof}
        Fix $\alpha\in\dom{R}$.
        Let $p = \piIndex{C}{\alpha}$.
        Let $q = \identity{\apply{C}{\alpha}}\circ p$.
        We have $p$ is continuous from $A$ to $\apply{C}{\alpha}$ with respect to $P$ and $\apply{S}{\alpha}$
            by \cref{projection_map_indexed_continuous,pair_eq_iff}.
        We have $\apply{C}{\alpha}$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by \cref{subspace_of}.
        Hence $q$ is continuous from $A$ to $\reals$ with respect to $P$ and $\standardTopologyR$
            by \cref{continuous_expand_range,pair_eq_iff}.
        $q\in\funs{A}{\reals}$ by \cref{continuous,funs}.
        $p\in\funs{A}{\apply{C}{\alpha}}$ by \cref{continuous,funs}.
        Hence $p\in\funs{A}{\reals}$ by \cref{funs_weaken_codom,subseteq}.
        For all $x\in A$ we have $q(x) = p(x)$
            by \cref{continuous,funs,subseteq,funs_type_apply,pair_eq_iff,function_apply_elim,funs_is_function,id_iff,circ_elem_intro,function_apply_intro}.
        Therefore $q = p$ by \cref{functions_eq_iff}.
        Hence $p$ is continuous from $A$ to $\reals$ with respect to $P$ and $\standardTopologyR$
            by \cref{continuous_eq_subst}.
        Hence $p$ is continuous from $A$ to $\apply{R}{\alpha}$ with respect to $P$ and $\apply{T}{\alpha}$
            by \cref{continuous_eq_codomain,pair_eq_iff}.
        $\piIndex{R}{\alpha}\circ j\in\funs{A}{\apply{R}{\alpha}}$ by \cref{projection_map_indexed_function,funs_circ,subseteq}.
        $p\in\funs{A}{\apply{R}{\alpha}}$ by \cref{continuous,funs}.
        For all $x\in A$ we have $(\piIndex{R}{\alpha}\circ j)(x) = p(x)$
            by \cref{subspace_of,subseteq,projection_map_indexed_function,funs,funs_ran,id_elem_funs,subseteq_transitive,circ_apply,funs_is_function,id_apply,pair_eq_iff,projection_map_indexed,function_apply_elim,function_apply_intro,continuous}.
        Therefore $\piIndex{R}{\alpha}\circ j = p$ by \cref{functions_eq_iff}.
        Therefore $\piIndex{R}{\alpha}\circ j$ is continuous from $A$ to $\apply{R}{\alpha}$
            with respect to $P$ and $\apply{T}{\alpha}$ by \cref{continuous_eq_subst}.
    \end{subproof}
    Therefore $j$ is continuous from $A$ to $\productFamily{R}$ with respect to $P$ and $Q$
        by \cref{continuous_map_into_indexed_product,subseteq,projection_map_indexed_function,funs}.
    Hence $j$ is continuous from $A$ to $A$ with respect to $P$ and $T_A$
        by \cref{img_iff,id_iff,pair_eq_iff,subseteq,continuous_restrict_range,subspace_of}.

    Show that for all $\alpha\in\dom{C}$ we have $\piIndex{C}{\alpha}\circ j$ is continuous from $A$ to $\apply{C}{\alpha}$
        with respect to $T_A$ and $\apply{S}{\alpha}$.
    \begin{subproof}
        Fix $\alpha\in\dom{C}$.
        Let $p = \piIndex{R}{\alpha}$.
        Let $g = \restrl{p}{A}$.
        We have $p$ is continuous from $\productFamily{R}$ to $\apply{R}{\alpha}$ with respect to $Q$ and $\apply{T}{\alpha}$
            by \cref{projection_map_indexed_continuous}.
        Hence $g$ is continuous from $A$ to $\apply{R}{\alpha}$ with respect to $T_A$ and $\apply{T}{\alpha}$
            by \cref{continuous_restrict_domain,subspace_of}.
        Hence $g$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
            by \cref{continuous_eq_codomain,pair_eq_iff}.
        $\img{g}{A}\subseteq\apply{C}{\alpha}$
            by \cref{img_iff,restrl_iff,pair_eq_iff,projection_map_indexed_function,funs,subspace_of,subseteq,function_apply_intro,funs_is_function,projection_map_indexed,function_apply_elim,indexed_product}.
        Hence $g$ is continuous from $A$ to $\apply{C}{\alpha}$ with respect to $T_A$ and $\apply{S}{\alpha}$
            by \cref{continuous_subspace_range,continuous,funs,pair_eq_iff,subseteq}.
        $\piIndex{C}{\alpha}\circ j\in\funs{A}{\apply{C}{\alpha}}$ by \cref{projection_map_indexed_function,funs_circ,subseteq}.
        $g\in\funs{A}{\apply{C}{\alpha}}$ by \cref{continuous,funs}.
        For all $x\in A$ we have $(\piIndex{C}{\alpha}\circ j)(x) = g(x)$
            by \cref{projection_map_indexed_function,funs_circ,subseteq,continuous,funs,pair_eq_iff,funs_ran,id_elem_funs,circ_apply,funs_is_function,id_apply,projection_map_indexed,function_apply_elim,function_apply_intro,restrl_iff}.
        Therefore $\piIndex{C}{\alpha}\circ j = g$ by \cref{functions_eq_iff}.
        Therefore $\piIndex{C}{\alpha}\circ j$ is continuous from $A$ to $\apply{C}{\alpha}$
            with respect to $T_A$ and $\apply{S}{\alpha}$ by \cref{continuous_eq_subst}.
    \end{subproof}
    Hence $j$ is continuous from $A$ to $A$ with respect to $T_A$ and $P$
        by \cref{continuous_map_into_indexed_product,id_elem_funs,pair_eq_iff,continuous_eq_codomain}.

    For all $U$ such that $U\in T_A$ we have $U\subseteq A$
        by \cref{subspace_topology_is_topology,topology_on,subseteq,pow_iff}.
    Hence for all $U$ such that $U\in T_A$ we have $\preimg{j}{U} = U$
        by \cref{preimg_iff,id_iff,subseteq,subseteq_antisymmetric}.
    Therefore for all $U$ such that $U\in T_A$ we have $\preimg{j}{U}$ is open in $A$ with respect to $P$
        by \cref{continuous,open_in}.
    Therefore for all $U$ such that $U\in T_A$ we have $U\in P$ by \cref{open_in}.
    Show that for all $U$ such that $U\in P$ we have $U\in T_A$.
    \begin{subproof}
        Fix $U$ such that $U\in P$.
        We have $U\subseteq A$ by \cref{topology_on,subseteq,pow_iff}.
        Show that $\preimg{j}{U} = U$.
        \begin{subproof}
            Show that $\preimg{j}{U}\subseteq U$.
            \begin{subproof}
                It suffices to show that for all $x\in\preimg{j}{U}$ we have $x\in U$.
                Fix $x\in\preimg{j}{U}$.
                Take $y\in U$ such that $(x,y)\in j$ by \cref{preimg_iff}.
                Hence $x = y$ by \cref{id_iff}.
                Therefore $x\in U$.
            \end{subproof}
            Hence $\preimg{j}{U}\subseteq U$ by \cref{subseteq}.

            Show that $U\subseteq\preimg{j}{U}$.
            \begin{subproof}
                It suffices to show that for all $z\in U$ we have $z\in\preimg{j}{U}$.
                Fix $z\in U$.
                Hence $z\in A$ by \cref{subseteq}.
                $(z,z)\in j$ by \cref{id_iff}.
                Therefore $z\in\preimg{j}{U}$ by \cref{preimg_iff}.
            \end{subproof}
            Hence $U\subseteq\preimg{j}{U}$ by \cref{subseteq}.
            Therefore $\preimg{j}{U} = U$ by \cref{subseteq_antisymmetric}.
        \end{subproof}
        Hence $\preimg{j}{U}$ is open in $A$ with respect to $T_A$ by \cref{continuous,open_in}.
        Therefore $U\in T_A$ by \cref{open_in}.
    \end{subproof}
    Therefore $P = T_A$ by \cref{subseteq,subseteq_antisymmetric}.
\end{proof}
Lemma 586
topological_embedding_restrict_codomain

Assume $f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$.
Assume $Z$ is a subspace of $Y$ with respect to $T_1$.
Assume $S = \subspaceTopology{T_1}{Z}$.
Suppose $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$.
Then $f$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $S$.

LaTeX source
\begin{lemma}
\label{topological_embedding_restrict_codomain}
    Assume $f$ is a topological embedding from $X$ to $Y$ with respect to $T$ and $T_1$.
    Assume $Z$ is a subspace of $Y$ with respect to $T_1$.
    Assume $S = \subspaceTopology{T_1}{Z}$.
    Suppose $\img{f}{X}\subseteq Z$.
    Then $f$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $S$.
\end{lemma}
Proof

$f$ is injective and $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ and $f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to $T$ and $\subspaceTopology{T_1}{\img{f}{X}}$ by Definition 164.
Hence $f$ is continuous from $X$ to $Z$ with respect to $T$ and $S$ by Lemma 167.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ by Definition 55, Definition 160.
Therefore $\img{f}{X}$ is a subspace of $Z$ with respect to $S$ by Definition 147, Lemma 131.
Therefore $\subspaceTopology{S}{\img{f}{X}} = \subspaceTopology{T_1}{\img{f}{X}}$ by Axiom 6, Definition 147, Definition 160, Lemma 307.
Hence $f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to $T$ and $\subspaceTopology{S}{\img{f}{X}}$ by Axiom 6.
Therefore $f$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $S$ by Definition 164.

LaTeX source
\begin{proof}
    $f$ is injective and
        $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$ and
        $f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to
            $T$ and $\subspaceTopology{T_1}{\img{f}{X}}$ by \cref{topological_embedding}.
    Hence $f$ is continuous from $X$ to $Z$ with respect to $T$ and $S$ by \cref{continuous_restrict_range}.
    $f\in\funs{X}{Z}$ by \cref{continuous,funs}.
    Therefore $\img{f}{X}$ is a subspace of $Z$ with respect to $S$
        by \cref{subspace_topology_is_topology,subspace_of}.
    Therefore $\subspaceTopology{S}{\img{f}{X}} = \subspaceTopology{T_1}{\img{f}{X}}$
        by \cref{subspace_subspace_topology,continuous,subspace_of,pair_eq_iff}.
    Hence $f$ is a homeomorphism between $X$ and $\img{f}{X}$ with respect to
        $T$ and $\subspaceTopology{S}{\img{f}{X}}$ by \cref{pair_eq_iff}.
    Therefore $f$ is a topological embedding from $X$ to $Z$ with respect to $T$ and $S$
        by \cref{topological_embedding}.
\end{proof}
Lemma 587
bounded_real_function_family_member

Let $J = \{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 there exist $a,b\in\reals$ such that $a \leq b$ and $\img{g}{X}\subseteq\intervalclosed{a}{b}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals}$.
Suppose $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Suppose there exist $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $\img{g}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\intervalclosed{a}{b}$.
Then $g\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.

LaTeX source
\begin{lemma}
\label{bounded_real_function_family_member}
    Let $J = \{g\in\pow{X\times\reals} \mid \text{$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        there exist $a,b\in\reals$ such that $a \leq b$ and $\img{g}{X}\subseteq\intervalclosed{a}{b}$}\}$.
    Suppose $g\in\pow{X\times\reals}$.
    Suppose $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
    Suppose there exist $a,b\in\reals$ such that $a \leq b$ and $\img{g}{X}\subseteq\intervalclosed{a}{b}$.
    Then $g\in J$.
\end{lemma}
Proof

Straightforward.

LaTeX source
\begin{proof}
    Straightforward.
\end{proof}
Theorem 96
stone_cech_existence_bounded_real_property

Assume $X$ is completely regular with respect to $T$.
Then there exist $Y, S$ such that $Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$.

LaTeX source
\begin{theorem}
\label{stone_cech_existence_bounded_real_property}
    Assume $X$ is completely regular with respect to $T$.
    Then there exist $Y, S$ such that
        $Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$.
\end{theorem}
Proof

$T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ by Definition 286.
Let $J = \{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 there exist $a,b\in\reals$ such that $a \leq b$ and $\img{g}{X}\subseteq\intervalclosed{a}{b}$}\}$.
Let $z = \{(x,0) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$z$ is a function from $X$ to $\reals$ by Axiom 17, 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.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
Hence $z$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Axiom 17, Lemma 163.
We have $z\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.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 0$.
Hence $\img{z}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{0}{0}$ by Axiom 6, Definition 1, Definition 75, Proposition 235, Proposition 346, Proposition 356.
Therefore there exist $c,d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ and $\img{z}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\intervalclosed{c}{d}$.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Lemma 587.
Therefore $J$ is inhabited.

Let $f = \identity{J}$.
$f$ is a function on $J$ by Definition 1, Definition 12, Definition 51, Proposition 3, 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$ 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$ 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$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
Let $j_0 = \identity{I_0}$.
$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.
Hence $I_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 1, Definition 75, Definition 147, Lemma 231.
Therefore $T_I$ is a topology on $I_0$ by Lemma 131.
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 $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is open in $X$ with respect to $T$ by Axiom 6, Axiom 12, Definition 1, Definition 101, Definition 103, Proposition 92.
Hence $A$ is closed in $X$ with respect to $T$ by Definition 149, Proposition 97.
Therefore $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_0$ 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_0\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$ by Definition 55, Definition 160, Proposition 356.
Hence $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, Proposition 155, Proposition 282, Proposition 357.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g_1(y) = g(y)$ by Axiom 6, Definition 55, Definition 160, Definition 160, Proposition 255, Proposition 293, Proposition 346, Proposition 348, Proposition 356, Proposition 361.
Therefore $\img{g_1}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{0}{1}$ by Axiom 6, Definition 1, Definition 160, Proposition 235, Proposition 346, Proposition 361.
Hence there exist $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $\img{g_1}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\intervalclosed{a}{b}$ by Axiom 6.
Therefore $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Lemma 587.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha} = g_1$.
We have $\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = g_1$ by Axiom 6, Proposition 405, Proposition 406.
Therefore $\apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x} = g_1(x)$ by Axiom 6.
Therefore $g_1(x) = g(x)$.
We have $g(x) = 1$.
Hence $0 < \apply{\apply{f}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{x}$ by Axiom 6, Proposition 462.
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 $T_0 = \{(\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\}$.
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} R$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $y_1 = y_2$ by Axiom 6.
Hence $R$ 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} T_0$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ we have $y_1 = y_2$ by Axiom 6.
Therefore $T_0$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
We have $\dom{R} = J$ and $\dom{T_0} = 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 $R(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \reals$ and $T_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \standardTopologyR$ by Proposition 346.

Let $P_0 = \productTopologyIndexed{T_0}{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}\}$.
Therefore $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P_0$ by Theorem 88.

Let $M = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} J\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{\reals} \mid \text{there exists $\alpha\in J$ such that there exist $a,b\in\reals$ such that $w = (\alpha,\intervalclosed{a}{b})$ and $a \leq b$ and $\img{\alpha}{X}\subseteq\intervalclosed{a}{b}$}\}$.
$M$ is a relation by Definition 12, Proposition 121.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ there exists $I$ such that $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\mathrel{M} I$ by Axiom 6, Definition 1, Definition 75, Proposition 115, Proposition 155.
Take $C$ such that $C$ 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 $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\mathrel{M}\apply{C}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 54.
Hence $C$ is a function and $\dom{C} = J$ by Definition 55.
Let $S_0 = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\subspaceTopology{\standardTopologyR}{C(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})}) \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} S_0$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} S_0$ we have $y_1 = y_2$ by Axiom 6.
Hence $S_0$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
We have $\dom{S_0} = 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 $S_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \subspaceTopology{\standardTopologyR}{C(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})}$ by Definition 55, Proposition 346.

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})\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 6, Axiom 54, Definition 1, Definition 75.

Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{F}{X}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} \productFamily{C}$.

Fix $u$ such that $u\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,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 235.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\dom{R}}{\unions{\ran{R}}}$ by Axiom 6, Definition 167.
Therefore $u$ is a function and $\dom{u} = J$ by Axiom 6, Definition 55, Proposition 356.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $u(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})\class{latex-symbol-tip latex-symbol-id-in}{\in} C(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Axiom 6, Axiom 54, Definition 1, Definition 55, Definition 160, Proposition 235, Proposition 348, Proposition 356, Proposition 405, Proposition 406.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ we have $u(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{\ran{C}}$ by Axiom 4, Axiom 6, Axiom 54, Definition 1, Definition 55, Definition 160, Proposition 209, Proposition 235, Proposition 348, Proposition 356, Proposition 405, Proposition 406.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{\unions{\ran{C}}}$ by Proposition 358.
Therefore $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Axiom 6, Definition 167.

Hence $\img{F}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \productFamily{C}$ by Definition 1.

Let $P = \productTopologyIndexed{S_0}{C}$.
We have $\dom{S_0} = \dom{C}$ and $\dom{R} = \dom{C}$ and $\dom{T_0} = \dom{C}$ and $\dom{C}$ is inhabited by Axiom 6.
Hence $P = \subspaceTopology{P_0}{\productFamily{C}}$ by Axiom 6, Lemma 585.
Therefore $\productFamily{C}$ is a subspace of $\productFamily{R}$ with respect to $P_0$ by Axiom 6, Definition 1, Lemma 186.
Hence $F$ is a topological embedding from $X$ to $\productFamily{C}$ with respect to $T$ and $P$ by Axiom 6, Definition 1, Lemma 586.

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})$ is compact with respect to $S_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Axiom 6, Axiom 54, Lemma 365, Proposition 346.

We have $\reals$ is Hausdorff with respect to $\standardTopologyR$ by Lemma 198, Lemma 200, Lemma 395.
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})$ is Hausdorff with respect to $S_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Axiom 6, Definition 1, Proposition 346, Theorem 19.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ we have $S_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ is a topology on $C(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Axiom 6, Definition 1, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131, Proposition 346.
Hence $\productFamily{C}$ is compact with respect to $P$ by Axiom 6, Theorem 95.
Therefore $\productFamily{C}$ is Hausdorff with respect to $P$ by Axiom 6, Lemma 188.

Take $Y,S,H$ such that $Y$ compactifies $X$ with respect to $S$ and $T$ and $H$ is a topological embedding from $Y$ to $\productFamily{C}$ with respect to $S$ and $P$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $H(x) = F(x)$ by Lemma 581.

Claim: For all $g$ if $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $\img{g}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$ then there exists $h$ such that $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = g(x)$ and for all $k$ if $k$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $k(x) = g(x)$ then $k = h$.

Fix $g$ such that $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $\img{g}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$.
Hence $g\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.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $\img{g}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\intervalclosed{a}{b}$ by Lemma 583.
Therefore $g\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Lemma 587.
We have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{S_0}$ by Definition 1, Definition 55.
Let $p = \piIndex{C}{g}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} H$.
We have $\piIndex{C}{g}$ is continuous from $\productFamily{C}$ to $C(g)$ with respect to $P$ and $S_0(g)$ by Lemma 366.
Hence $p$ is continuous from $Y$ to $C(g)$ with respect to $S$ and $S_0(g)$ by Definition 164, Lemma 165.
Let $j = \identity{C(g)}$.
We have $C(g)$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 1, Definition 147.
Let $h = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} p$.
Hence $\ran{p}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C(g)$ by Definition 1, Definition 160, Proposition 363.
Therefore $\ran{p}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{j}$ by Axiom 6, Proposition 297.
Therefore $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ by Axiom 6, Definition 160, Lemma 168, Proposition 346.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = g(x)$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Definition 147, Definition 303.
Therefore $(x,p(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} p$ by Definition 1, Definition 55, Definition 160, Proposition 348, Proposition 356.
Thus $(p(x),p(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} j$ by Definition 160, Proposition 293, Proposition 361.
Therefore $(x,p(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Axiom 6, Proposition 255.
Therefore $h(x) = p(x)$ by Definition 160, Proposition 346, Proposition 356.
Let $u = H(x)$.
$\piIndex{C}{g}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{C}}{C(g)}$ by Lemma 191.
Hence $\ran{H}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{\piIndex{C}{g}}$ by Axiom 6, Definition 55, Definition 164, Proposition 363.
We have $(x,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Definition 1, Definition 55, Definition 164, Proposition 348, Proposition 356.
Therefore $(u,\apply{u}{g})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{g}$ by Definition 164, Definition 170, Proposition 348, Proposition 361.
Thus $(x,\apply{u}{g})\class{latex-symbol-tip latex-symbol-id-in}{\in} p$ by Axiom 6, Proposition 255.
Hence $p(x) = \apply{u}{g}$ by Definition 160, Proposition 346, Proposition 356.
We have $p(x) = \apply{\apply{F}{x}}{g}$ by Axiom 6.
We have $(x,F(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 55, Definition 164, Proposition 348, Proposition 356.
Hence $\apply{\apply{F}{x}}{g} = \apply{\apply{f}{g}}{x}$ by Axiom 6.
Thus $\apply{\apply{F}{x}}{g} = g(x)$ by Axiom 6, Proposition 405, Proposition 406.
Therefore $p(x) = g(x)$ by Axiom 6.
Hence $h(x) = g(x)$ by Axiom 6.

Claim: For all $k$ if $k$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $k(x) = g(x)$ then $k = h$.

Thus there exists $u$ such that $u$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $u(x) = g(x)$ and for all $k$ if $k$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $k(x) = g(x)$ then $k = u$.

Therefore $Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$ by Definition 303, Definition 305.
Hence there exist $Y_0,S_1$ such that $Y_0$ has the bounded real extension property over $X$ with respect to $S_1$ and $T$.

LaTeX source
\begin{proof}
    $T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ by \cref{completely_regular_space}.
    Let $J = \{g\in\pow{X\times\reals} \mid \text{$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        there exist $a,b\in\reals$ such that $a \leq b$ and $\img{g}{X}\subseteq\intervalclosed{a}{b}$}\}$.
    Let $z = \{(x,0) \mid x\in X\}$.
    $z$ is a function from $X$ to $\reals$ by \cref{constant_map_function,real_add_ident}.
    Hence for all $x\in X$ we have $z(x) = 0$ by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    $0\in\reals$ by \cref{real_add_ident}.
    Hence $z$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_add_ident,constant_continuous}.
    We have $z\in\pow{X\times\reals}$
        by \cref{continuous,funs_is_function,funs,funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
    $0 \leq 0$.
    Hence $\img{z}{X}\subseteq \intervalclosed{0}{0}$
        by \cref{img_iff,function_apply_intro,funs_is_function,pair_eq_iff,intervalclosed,subseteq}.
    Therefore there exist $c,d\in\reals$ such that $c \leq d$ and $\img{z}{X}\subseteq\intervalclosed{c}{d}$.
    Hence $z\in J$ by \cref{bounded_real_function_family_member}.
    Therefore $J$ is inhabited.

    Let $f = \identity{J}$.
    $f$ is a function on $J$ by \cref{id_is_relation,id_rightunique,id_dom,relation,rightunique,subseteq,subseteq_antisymmetric}.
    For all $\alpha\in J$ 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$ 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$.
        Let $I_0 = \intervalclosed{0}{1}$.
        Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
        Let $j_0 = \identity{I_0}$.
        $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}.
        Hence $I_0\subseteq\reals$ and $I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$
            by \cref{real_lt_imp_leq,intervalclosed,subseteq,subspace_of}.
        Therefore $T_I$ is a topology on $I_0$ by \cref{subspace_topology_is_topology}.
        We have $U$ is open in $X$ with respect to $T$ and $x\in U$ by \cref{neighborhood}.
        Let $A = X\setminus U$.
        Hence $X\setminus A$ is open in $X$ with respect to $T$
            by \cref{open_in,topology_on,subseteq,pow_iff,double_relative_complement,pair_eq_iff}.
        Hence $A$ is closed in $X$ with respect to $T$ by \cref{closed_in,setminus_subseteq}.
        Therefore $x\notin A$ by \cref{setminus_elim_right}.
        Take $g$ such that
            $g$ is continuous from $X$ to $I_0$ 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_0\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$
            by \cref{continuous,funs_is_function,funs}.
        Hence $g_1\in\pow{X\times\reals}$ by \cref{funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
        For all $y\in X$ we have $g_1(y) = g(y)$
            by \cref{continuous,funs,continuous,funs_type_apply,function_apply_elim,id_iff,circ_elem_intro,pair_eq_iff,function_apply_intro,funs_is_function}.
        Therefore $\img{g_1}{X}\subseteq \intervalclosed{0}{1}$
            by \cref{img_iff,function_apply_intro,subseteq,continuous,funs_type_apply,pair_eq_iff}.
        Hence there exist $a,b\in\reals$ such that $a \leq b$ and $\img{g_1}{X}\subseteq\intervalclosed{a}{b}$
            by \cref{pair_eq_iff}.
        Therefore $g_1\in J$ by \cref{bounded_real_function_family_member}.
        Take $\alpha\in J$ such that $\alpha = g_1$.
        We have $\apply{f}{\alpha} = g_1$ by \cref{id_apply,id_elem_funs,pair_eq_iff}.
        Therefore $\apply{\apply{f}{\alpha}}{x} = g_1(x)$ by \cref{pair_eq_iff}.
        Therefore $g_1(x) = g(x)$.
        We have $g(x) = 1$.
        Hence $0 < \apply{\apply{f}{\alpha}}{x}$ by \cref{pair_eq_iff,real_zero_lt_one}.
        For all $y\in X\setminus U$ we have $\apply{\apply{f}{\alpha}}{y} = 0$.
    \end{subproof}

    Let $R = \{(\alpha,\reals) \mid \alpha\in J\}$.
    Let $T_0 = \{(\alpha,\standardTopologyR) \mid \alpha\in J\}$.
    For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in R$ and $(\alpha,y_2)\in R$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
    Hence $R$ is a function on $J$ by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
    For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in T_0$ and $(\alpha,y_2)\in T_0$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
    Therefore $T_0$ is a function on $J$ by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
    We have $\dom{R} = J$ and $\dom{T_0} = J$ by \cref{funs}.
    For all $\alpha\in J$ we have $R(\alpha) = \reals$ and $T_0(\alpha) = \standardTopologyR$ by \cref{function_apply_intro}.

    Let $P_0 = \productTopologyIndexed{T_0}{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}\}$.
    Therefore $F$ is a topological embedding from $X$ to $\productFamily{R}$ with respect to $T$ and $P_0$
        by \cref{urysohn_embedding_theorem_real_power}.

    Let $M = \{w\in J\times\pow{\reals} \mid \text{there exists $\alpha\in J$ such that
        there exist $a,b\in\reals$ such that
        $w = (\alpha,\intervalclosed{a}{b})$ and $a \leq b$ and $\img{\alpha}{X}\subseteq\intervalclosed{a}{b}$}\}$.
    $M$ is a relation by \cref{times_elem_is_tuple,relation}.
    For all $\alpha\in J$ there exists $I$ such that $\alpha\mathrel{M} I$
        by \cref{subseteq,times_tuple_intro,intervalclosed,powerset_intro,pair_eq_iff}.
    Take $C$ such that $C$ is a function on $J$ and for all $\alpha\in J$ we have $\alpha\mathrel{M}\apply{C}{\alpha}$
        by \cref{axiom_of_choice}.
    Hence $C$ is a function and $\dom{C} = J$ by \cref{funs}.
    Let $S_0 = \{(\alpha,\subspaceTopology{\standardTopologyR}{C(\alpha)}) \mid \alpha\in J\}$.
    For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in S_0$ and $(\alpha,y_2)\in S_0$ we have $y_1 = y_2$
        by \cref{pair_eq_iff}.
    Hence $S_0$ is a function on $J$ by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
    We have $\dom{S_0} = J$ and for all $\alpha\in J$ we have $S_0(\alpha) = \subspaceTopology{\standardTopologyR}{C(\alpha)}$
        by \cref{funs,function_apply_intro}.

    For all $\alpha\in J$ we have $C(\alpha)\subseteq\reals$
        by \cref{axiom_of_choice,pair_eq_iff,intervalclosed,subseteq}.

    Show that for all $u$ such that $u\in\img{F}{X}$ we have $u\in \productFamily{C}$.
    \begin{subproof}
        Fix $u$ such that $u\in\img{F}{X}$.
        Take $x\in X$ such that $(x,u)\in F$ by \cref{img_iff}.
        Hence $u\in\funs{\dom{R}}{\unions{\ran{R}}}$ by \cref{pair_eq_iff,indexed_product}.
        Therefore $u$ is a function and $\dom{u} = J$ by \cref{funs_is_function,funs,pair_eq_iff}.
        For all $\alpha\in J$ we have $u(\alpha)\in C(\alpha)$
            by \cref{pair_eq_iff,id_apply,id_elem_funs,axiom_of_choice,continuous,funs,subseteq,function_apply_elim,funs_is_function,img_iff}.
        For all $\alpha\in\dom{u}$ we have $u(\alpha)\in\unions{\ran{C}}$
            by \cref{subseteq,function_apply_elim,ran_intro,unions_iff,pair_eq_iff,id_apply,id_elem_funs,axiom_of_choice,continuous,funs,img_iff,funs_is_function}.
        Hence $u\in\funs{J}{\unions{\ran{C}}}$ by \cref{funs_intro}.
        Therefore $u\in\productFamily{C}$ by \cref{indexed_product,pair_eq_iff}.
    \end{subproof}
    Hence $\img{F}{X}\subseteq \productFamily{C}$ by \cref{subseteq}.

    Let $P = \productTopologyIndexed{S_0}{C}$.
    We have $\dom{S_0} = \dom{C}$ and $\dom{R} = \dom{C}$ and $\dom{T_0} = \dom{C}$ and $\dom{C}$ is inhabited by \cref{pair_eq_iff}.
    Hence $P = \subspaceTopology{P_0}{\productFamily{C}}$
        by \cref{indexed_real_product_subspace_topology,pair_eq_iff}.
    Therefore $\productFamily{C}$ is a subspace of $\productFamily{R}$ with respect to $P_0$
        by \cref{product_subspace_product,pair_eq_iff,subseteq}.
    Hence $F$ is a topological embedding from $X$ to $\productFamily{C}$ with respect to $T$ and $P$
        by \cref{topological_embedding_restrict_codomain,pair_eq_iff,subseteq}.

    For all $\alpha\in J$ we have $C(\alpha)$ is compact with respect to $S_0(\alpha)$
        by \cref{axiom_of_choice,pair_eq_iff,function_apply_intro,real_intervalclosed_compact_standard}.

    We have $\reals$ is Hausdorff with respect to $\standardTopologyR$
        by \cref{standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology}.
    For all $\alpha\in J$ we have $C(\alpha)$ is Hausdorff with respect to $S_0(\alpha)$
        by \cref{subseteq,function_apply_intro,subspace_hausdorff,pair_eq_iff}.
    For all $\alpha\in\dom{C}$ we have $S_0(\alpha)$ is a topology on $C(\alpha)$
        by \cref{pair_eq_iff,subseteq,function_apply_intro,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,subspace_topology_is_topology}.
    Hence $\productFamily{C}$ is compact with respect to $P$ by \cref{tychonoff_theorem,pair_eq_iff}.
    Therefore $\productFamily{C}$ is Hausdorff with respect to $P$ by \cref{product_hausdorff_product,pair_eq_iff}.

    Take $Y,S,H$ such that
        $Y$ compactifies $X$ with respect to $S$ and $T$ and
        $H$ is a topological embedding from $Y$ to $\productFamily{C}$ with respect to $S$ and $P$ and
        for all $x\in X$ we have $H(x) = F(x)$
        by \cref{induced_compactification_existence}.

    Show that for all $g$ if
        $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        $\img{g}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$
    then there exists $h$ such that
        $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
        for all $x\in X$ we have $h(x) = g(x)$ and
        for all $k$ if
            $k$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
            for all $x\in X$ we have $k(x) = g(x)$
        then $k = h$.
    \begin{subproof}
        Fix $g$ such that
            $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
            $\img{g}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$.
            Hence $g\in\pow{X\times\reals}$
                by \cref{continuous,funs_is_function,funs,funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
            Take $a,b$ such that
                $a\in\reals$ and
                $b\in\reals$ and
                $a \leq b$ and
                $\img{g}{X}\subseteq\intervalclosed{a}{b}$ by \cref{bounded_reals_subset_closed_interval}.
            Therefore $g\in J$ by \cref{bounded_real_function_family_member}.
            We have $g\in\dom{C}$ and $g\in\dom{S_0}$ by \cref{funs,subseteq}.
            Let $p = \piIndex{C}{g}\circ H$.
            We have $\piIndex{C}{g}$ is continuous from $\productFamily{C}$ to $C(g)$ with respect to $P$ and $S_0(g)$
                by \cref{projection_map_indexed_continuous}.
            Hence $p$ is continuous from $Y$ to $C(g)$ with respect to $S$ and $S_0(g)$ by \cref{continuous_composite,topological_embedding}.
            Let $j = \identity{C(g)}$.
            We have $C(g)$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by \cref{subspace_of,subseteq}.
            Let $h = j\circ p$.
            Hence $\ran{p}\subseteq C(g)$ by \cref{funs_ran,continuous,subseteq}.
            Therefore $\ran{p}\subseteq \dom{j}$ by \cref{id_dom,pair_eq_iff}.
            Therefore $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$
                by \cref{function_apply_intro,continuous_expand_range,continuous,pair_eq_iff}.
            Show that for all $x\in X$ we have $h(x) = g(x)$.
            \begin{subproof}
                Fix $x\in X$.
                Hence $x\in Y$ by \cref{compactifies,subspace_of,subseteq}.
                Therefore $(x,p(x))\in p$ by \cref{function_apply_elim,continuous,funs,funs_is_function,subseteq}.
                Thus $(p(x),p(x))\in j$ by \cref{continuous,funs_type_apply,id_iff}.
                Therefore $(x,p(x))\in h$ by \cref{circ_elem_intro,pair_eq_iff}.
                Therefore $h(x) = p(x)$ by \cref{function_apply_intro,continuous,funs_is_function}.
                Let $u = H(x)$.
                $\piIndex{C}{g}\in\funs{\productFamily{C}}{C(g)}$ by \cref{projection_map_indexed_function}.
                Hence $\ran{H}\subseteq \dom{\piIndex{C}{g}}$
                    by \cref{funs,topological_embedding,funs_ran,pair_eq_iff}.
                We have $(x,u)\in H$ by \cref{function_apply_elim,topological_embedding,funs,funs_is_function,subseteq}.
                Therefore $(u,\apply{u}{g})\in\piIndex{C}{g}$
                    by \cref{projection_map_indexed,function_apply_elim,topological_embedding,funs_type_apply}.
                Thus $(x,\apply{u}{g})\in p$ by \cref{circ_elem_intro,pair_eq_iff}.
                Hence $p(x) = \apply{u}{g}$ by \cref{function_apply_intro,continuous,funs_is_function}.
                We have $p(x) = \apply{\apply{F}{x}}{g}$ by \cref{pair_eq_iff}.
                We have $(x,F(x))\in F$ by \cref{function_apply_elim,topological_embedding,funs,funs_is_function}.
                Hence $\apply{\apply{F}{x}}{g} = \apply{\apply{f}{g}}{x}$ by \cref{pair_eq_iff}.
                Thus $\apply{\apply{F}{x}}{g} = g(x)$ by \cref{id_apply,id_elem_funs,pair_eq_iff}.
                Therefore $p(x) = g(x)$ by \cref{pair_eq_iff}.
                Hence $h(x) = g(x)$ by \cref{pair_eq_iff}.
            \end{subproof}
            Show that for all $k$ if
                $k$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
                for all $x\in X$ we have $k(x) = g(x)$
            then $k = h$.
            \begin{subproof}
                Follows by \cref{subseteq,pair_eq_iff,compactification_real_extension_unique}.
            \end{subproof}
            Thus there exists $u$ such that
                $u$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
                for all $x\in X$ we have $u(x) = g(x)$ and
                for all $k$ if
                    $k$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
                    for all $x\in X$ we have $k(x) = g(x)$
                then $k = u$.
    \end{subproof}
    Therefore $Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$
        by \cref{bounded_real_extension_property,compactifies}.
    Hence there exist $Y_0,S_1$ such that $Y_0$ has the bounded real extension property over $X$ with respect to $S_1$ and $T$.
\end{proof}
Lemma 588
extension_to_closure_unique

Assume $T$ is a topology on $X$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Assume $f$ is continuous from $A$ to $Z$ with respect to $\subspaceTopology{T}{A}$ and $U$.
Assume $Z$ is Hausdorff with respect to $U$.
Assume $g$ is continuous from $\closure{A}{X}{T}$ to $Z$ with respect to $\subspaceTopology{T}{\closure{A}{X}{T}}$ and $U$.
Assume $h$ is continuous from $\closure{A}{X}{T}$ to $Z$ with respect to $\subspaceTopology{T}{\closure{A}{X}{T}}$ and $U$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(x) = f(x)$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(x) = f(x)$.
Then $g = h$.

LaTeX source
\begin{lemma}
\label{extension_to_closure_unique}
    Assume $T$ is a topology on $X$.
    Assume $A\subseteq X$.
    Assume $f$ is continuous from $A$ to $Z$ with respect to $\subspaceTopology{T}{A}$ and $U$.
    Assume $Z$ is Hausdorff with respect to $U$.
    Assume $g$ is continuous from $\closure{A}{X}{T}$ to $Z$ with respect to $\subspaceTopology{T}{\closure{A}{X}{T}}$ and $U$.
    Assume $h$ is continuous from $\closure{A}{X}{T}$ to $Z$ with respect to $\subspaceTopology{T}{\closure{A}{X}{T}}$ and $U$.
    Suppose for all $x\in A$ we have $g(x) = f(x)$.
    Suppose for all $x\in A$ we have $h(x) = f(x)$.
    Then $g = h$.
\end{lemma}
Proof

Let $B = \closure{A}{X}{T}$.
Let $T_B = \subspaceTopology{T}{B}$.
$B$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 147, Definition 151.
$T_B$ is a topology on $B$ by Definition 147, Definition 151, Lemma 131.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Lemma 146.
$\closure{A}{B}{T_B} = B$ by Definition 147, Proposition 67 [Idempotence of intersection], Theorem 10.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{B}{Z}$ and $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{B}{Z}$ by Definition 55, Definition 160.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $g(x) = h(x)$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Suppose not.
$g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ and $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ by Definition 160, Proposition 361.
Take $N_1,N_2$ such that $N_1$ is a neighborhood of $g(x)$ in $Z$ with respect to $U$ and $N_2$ is a neighborhood of $h(x)$ in $Z$ with respect to $U$ and $N_1$ is disjoint from $N_2$ by Definition 156.
Let $W_1 = \preimg{g}{N_1}$.
Let $W_2 = \preimg{h}{N_2}$.
$W_1$ is open in $B$ with respect to $T_B$ and $W_2$ is open in $B$ with respect to $T_B$ by Definition 153, Definition 160.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_1$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_2$ by Definition 55, Definition 153, Definition 160, Proposition 246, Proposition 348, Proposition 356.
Let $C = \{W_1,W_2\}$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_B$ and $C$ is finite and $C$ is inhabited by Definition 1, Definition 103, Lemma 40, Lemma 323, Proposition 16, Proposition 19.
Let $W = \inters{C}$.
$W$ is open in $B$ with respect to $T_B$ by Definition 103, Lemma 124.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 19, Proposition 31.
$W$ intersects $A$ by Theorem 11.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter A$ by Definition 152, Proposition 10.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 5.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} W_1$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W_2$ by Definition 1, Proposition 19, Proposition 35.
Take $z_1\class{latex-symbol-tip latex-symbol-id-in}{\in} N_1$ such that $(y,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Proposition 246.
Take $z_2\class{latex-symbol-tip latex-symbol-id-in}{\in} N_2$ such that $(y,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Proposition 246.
$g(y) = z_1$ and $h(y) = z_2$ by Definition 1, Proposition 249, Proposition 349, Proposition 356.
$g(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} N_1$ and $h(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} N_2$.
$f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} N_1$ and $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} N_2$ by Definition 1.
Contradiction by Definition 3.

$g = h$ by Lemma 438.

LaTeX source
\begin{proof}
    Let $B = \closure{A}{X}{T}$.
    Let $T_B = \subspaceTopology{T}{B}$.
    $B$ is a subspace of $X$ with respect to $T$ by \cref{closure,subseteq,subspace_of}.
    $T_B$ is a topology on $B$ by \cref{subspace_topology_is_topology,subspace_of,closure}.
    $A\subseteq B$ by \cref{subseteq_closure}.
    $\closure{A}{B}{T_B} = B$ by \cref{closure_in_subspace,subspace_of,inter_idempotent}.
    $g\in\funs{B}{Z}$ and $h\in\funs{B}{Z}$ by \cref{continuous,funs}.

    Show that for all $x\in B$ we have $g(x) = h(x)$.
    \begin{subproof}
        Fix $x\in B$.
        Suppose not.
        $g(x)\in Z$ and $h(x)\in Z$ by \cref{funs_type_apply,continuous}.
        Take $N_1,N_2$ such that
            $N_1$ is a neighborhood of $g(x)$ in $Z$ with respect to $U$ and
            $N_2$ is a neighborhood of $h(x)$ in $Z$ with respect to $U$ and
            $N_1$ is disjoint from $N_2$
            by \cref{hausdorff}.
        Let $W_1 = \preimg{g}{N_1}$.
        Let $W_2 = \preimg{h}{N_2}$.
        $W_1$ is open in $B$ with respect to $T_B$ and $W_2$ is open in $B$ with respect to $T_B$
            by \cref{continuous,neighborhood}.
        $x\in W_1$ and $x\in W_2$
            by \cref{function_apply_elim,continuous,funs,funs_is_function,neighborhood,preimg_iff}.
        Let $C = \{W_1,W_2\}$.
        $C\subseteq T_B$ and $C$ is finite and $C$ is inhabited
            by \cref{upair_iff,open_in,subseteq,pair_is_finite,upair_intro_left,inhabited_nonempty}.
        Let $W = \inters{C}$.
        $W$ is open in $B$ with respect to $T_B$
            by \cref{finite_intersections_open_in_topology,open_in}.
        $x\in W$ by \cref{inters_intro,upair_iff}.
        $W$ intersects $A$ by \cref{closure_iff_intersects_open}.
        Take $y$ such that $y\in W\inter A$ by \cref{intersects,nonempty_inhabited}.
        $y\in W$ and $y\in A$ by \cref{inter}.
        $y\in W_1$ and $y\in W_2$ by \cref{upair_iff,inters_subseteq_elem,subseteq}.
        Take $z_1\in N_1$ such that $(y,z_1)\in g$ by \cref{preimg_iff}.
        Take $z_2\in N_2$ such that $(y,z_2)\in h$ by \cref{preimg_iff}.
        $g(y) = z_1$ and $h(y) = z_2$
            by \cref{subseteq,preimg_subseteq_dom,function_apply_iff,funs_is_function}.
        $g(y)\in N_1$ and $h(y)\in N_2$.
        $f(y)\in N_1$ and $f(y)\in N_2$ by \cref{subseteq}.
        Contradiction by \cref{disjoint}.
    \end{subproof}
    $g = h$ by \cref{functions_eq_iff}.
\end{proof}
Definition 306
compact_hausdorff_extension_property

$Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$ iff $Y$ compactifies $X$ with respect to $S$ and $T$ and for all $C, U, f$ if $U$ is a topology on $C$ and $C$ is compact with respect to $U$ and $C$ is Hausdorff with respect to $U$ and $f$ is continuous from $X$ to $C$ with respect to $T$ and $U$ then there exists $g$ such that $g$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x) = f(x)$ and for all $h$ if $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = f(x)$ then $h = g$.

LaTeX source
\begin{definition}
\label{compact_hausdorff_extension_property}
    $Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$ iff
        $Y$ compactifies $X$ with respect to $S$ and $T$ and
        for all $C, U, f$ if
            $U$ is a topology on $C$ and
            $C$ is compact with respect to $U$ and
            $C$ is Hausdorff with respect to $U$ and
            $f$ is continuous from $X$ to $C$ with respect to $T$ and $U$
        then there exists $g$ such that
            $g$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and
            for all $x\in X$ we have $g(x) = f(x)$ and
            for all $h$ if
                $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and
                for all $x\in X$ we have $h(x) = f(x)$
            then $h = g$.
\end{definition}
Lemma 589
compact_hausdorff_implies_completely_regular

Assume $U$ is a topology on $C$.
Assume $C$ is compact with respect to $U$.
Assume $C$ is Hausdorff with respect to $U$.
Then $C$ is completely regular with respect to $U$.

LaTeX source
\begin{lemma}
\label{compact_hausdorff_implies_completely_regular}
    Assume $U$ is a topology on $C$.
    Assume $C$ is compact with respect to $U$.
    Assume $C$ is Hausdorff with respect to $U$.
    Then $C$ is completely regular with respect to $U$.
\end{lemma}
Proof

$C$ has closed singletons with respect to $U$ by Definition 1, Definition 275, Lemma 40, Lemma 44, Proposition 19, Proposition 22, Proposition 25, Theorem 14.
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} C$ and $A$ is closed in $C$ with respect to $U$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ there exists $f$ such that $f$ is continuous from $C$ to $I$ with respect to $U$ 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} C$ and $A$ is closed in $C$ with respect to $U$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$.
Take $f$ such that $f$ is continuous from $C$ to $I$ with respect to $U$ and $T_I$ and $\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{f}{\{x\}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ by Definition 3, Definition 275, Lemma 510, Proposition 22, Proposition 25, Theorem 82.
$f(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(y) = 0$ by Definition 1, Definition 55, Definition 149, Definition 160, Definition 160, Proposition 20, Proposition 21, Proposition 235, Proposition 348, Proposition 356.

$C$ is completely regular with respect to $U$ by Definition 286.

LaTeX source
\begin{proof}
    $C$ has closed singletons with respect to $U$
        by \cref{one_point_closed,singleton_subset_intro,singleton_iff,upair_iff,subseteq,pair_is_finite,subseteq_finite_is_finite,finite_point_set_closed_hausdorff}.
    Let $I = \intervalclosed{0}{1}$.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Show that for all $x,A$ such that $x\in C$ and $A$ is closed in $C$ with respect to $U$ and $x\notin A$
        there exists $f$ such that
            $f$ is continuous from $C$ to $I$ with respect to $U$ 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 C$ and $A$ is closed in $C$ with respect to $U$ and $x\notin A$.
        Take $f$ such that
            $f$ is continuous from $C$ to $I$ with respect to $U$ and $T_I$ and
            $\img{f}{A}\subseteq \{0\}$ and
            $\img{f}{\{x\}}\subseteq \{1\}$
            by \cref{one_point_closed,singleton_subset_intro,singleton_iff,disjoint,compact_hausdorff_normal,urysohn_unit_interval}.
        $f(x) = 1$ and for all $y\in A$ we have $f(y) = 0$
            by \cref{closed_in,singleton_intro,continuous,funs,continuous,funs_is_function,function_apply_elim,img_iff,subseteq,singleton_elim}.
    \end{subproof}
    $C$ is completely regular with respect to $U$ by \cref{completely_regular_space}.
\end{proof}
Lemma 590
continuous_real_family_map

Assume $J$ is inhabited.
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 $T_0 = \{(\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{T_0}{R}$.
Assume $b$ 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{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.
Let $G = \{(y,z) \mid y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y, z\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. z(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \apply{\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}\}$.
Then $G$ is continuous from $Y$ to $\productFamily{R}$ with respect to $S$ and $P$.

LaTeX source
\begin{lemma}
\label{continuous_real_family_map}
    Assume $J$ is inhabited.
    Let $R = \{(\alpha,\reals) \mid \alpha\in J\}$.
    Let $T_0 = \{(\alpha,\standardTopologyR) \mid \alpha\in J\}$.
    Let $P = \productTopologyIndexed{T_0}{R}$.
    Assume $b$ is a function on $J$.
    Suppose for all $\alpha\in J$ we have $\apply{b}{\alpha}$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.
    Let $G = \{(y,z) \mid y\in Y, z\in\productFamily{R} \mid
        \forall \alpha\in J. z(\alpha) = \apply{\apply{b}{\alpha}}{y}\}$.
    Then $G$ is continuous from $Y$ to $\productFamily{R}$ with respect to $S$ and $P$.
\end{lemma}
Proof

$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
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} R$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $y_1 = y_2$ by Axiom 6.
$R$ 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} T_0$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ we have $y_1 = y_2$ by Axiom 6.
$T_0$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{R} = J$ and $\dom{T_0} = 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 $R(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \reals$ and $T_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \standardTopologyR$ by Proposition 346.
$\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.

For all $y,z_1,z_2$ such that $(y,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $(y,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z_1 = z_2$ by Axiom 6, Definition 1, Definition 55, Definition 166, Definition 191, Lemma 209, Lemma 438, Proposition 356.
$G$ is a function by Definition 12, Definition 51.

Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ there exists $z$ such that $(y,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.

Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$.
Let $z = \{(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},\apply{\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}) \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},r_1,r_2$ such that $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},r_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},r_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} z$ we have $r_1 = r_2$ by Axiom 6.
$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 1, Definition 160, 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{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}$ by Proposition 346.
$(y,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 6.

$\dom{G} = Y$ by Axiom 6, Definition 1, Proposition 3, Proposition 199.
$G\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{\productFamily{R}}$ by Axiom 6, Proposition 349, Proposition 358.

Claim: For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ we have $\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} G$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.

Fix $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$.
$\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} G\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{\reals}$ by Lemma 191, Proposition 359, Proposition 382.
$\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{\reals}$ and $\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a function and $\dom{\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}} = Y$ by Axiom 6, Definition 1, Definition 55, Definition 160, Proposition 356.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $\apply{\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} G}{y} = \apply{\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}$ by Axiom 6, Definition 55, Definition 170, Proposition 255, Proposition 346, Proposition 348, Proposition 356, Proposition 359, Proposition 361.
$\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} G = \apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 438.
$\piIndex{R}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} G$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ by Definition 1, Lemma 367.

For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ we have $T_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ is a topology on $R(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Axiom 6, Proposition 346.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}_0$ such that $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}_0\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
$\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}_0}$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ by assumption.
$S$ is a topology on $Y$ by Definition 160.
$G$ is continuous from $Y$ to $\productFamily{R}$ with respect to $S$ and $P$ by Axiom 6, Lemma 193.

LaTeX source
\begin{proof}
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in R$ and $(\alpha,y_2)\in R$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
    $R$ 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 T_0$ and $(\alpha,y_2)\in T_0$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
    $T_0$ is a function on $J$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
    $\dom{R} = J$ and $\dom{T_0} = J$ by \cref{funs}.
    For all $\alpha\in J$ we have $R(\alpha) = \reals$ and $T_0(\alpha) = \standardTopologyR$ by \cref{function_apply_intro}.
    $\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}.

    For all $y,z_1,z_2$ such that $(y,z_1)\in G$ and $(y,z_2)\in G$ we have $z_1 = z_2$
        by \cref{pair_eq_iff,product_family_reals_power,subseteq,reals_power,tuple_power,funs_is_function,funs,functions_eq_iff}.
    $G$ is a function by \cref{rightunique,relation}.
    Show that for all $y\in Y$ there exists $z$ such that $(y,z)\in G$.
    \begin{subproof}
        Fix $y\in Y$.
        Let $z = \{(\alpha,\apply{\apply{b}{\alpha}}{y}) \mid \alpha\in J\}$.
        For all $\alpha,r_1,r_2$ such that $(\alpha,r_1)\in z$ and $(\alpha,r_2)\in z$ we have $r_1 = r_2$ by \cref{pair_eq_iff}.
        $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{subseteq,continuous,funs_type_apply,function_apply_intro,pair_eq_iff}.
        $z\in\productFamily{R}$ by \cref{funs_intro,reals_power,tuple_power,subseteq}.
        For all $\alpha\in J$ we have $z(\alpha) = \apply{\apply{b}{\alpha}}{y}$ by \cref{function_apply_intro}.
        $(y,z)\in G$ by \cref{pair_eq_iff}.
    \end{subproof}
    $\dom{G} = Y$ by \cref{subseteq,dom_iff,pair_eq_iff,subseteq_antisymmetric}.
    $G\in\funs{Y}{\productFamily{R}}$ by \cref{funs_intro,function_apply_iff,pair_eq_iff}.

    Show that for all $\alpha\in\dom{R}$ we have $\piIndex{R}{\alpha}\circ G$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$.
    \begin{subproof}
        Fix $\alpha\in\dom{R}$.
        $\piIndex{R}{\alpha}\circ G\in\funs{Y}{\reals}$ by \cref{projection_map_indexed_function,funs_circ,funs_elim}.
        $\apply{b}{\alpha}\in\funs{Y}{\reals}$ and $\apply{b}{\alpha}$ is a function and $\dom{\apply{b}{\alpha}} = Y$
            by \cref{continuous,funs_is_function,funs,subseteq,pair_eq_iff}.
        For all $y\in Y$ we have $\apply{\piIndex{R}{\alpha}\circ G}{y} = \apply{\apply{b}{\alpha}}{y}$ by
            \cref{function_apply_elim,funs_is_function,funs,pair_eq_iff,funs_type_apply,projection_map_indexed,circ_elem_intro,funs_elim,function_apply_intro}.
        $\piIndex{R}{\alpha}\circ G = \apply{b}{\alpha}$ by \cref{functions_eq_iff}.
        $\piIndex{R}{\alpha}\circ G$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$
            by \cref{continuous_eq_subst,subseteq}.
    \end{subproof}
    For all $\alpha\in\dom{R}$ we have $T_0(\alpha)$ is a topology on $R(\alpha)$
        by \cref{pair_eq_iff,function_apply_intro}.
    Take $\alpha_0$ such that $\alpha_0\in J$.
    $\apply{b}{\alpha_0}$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ by assumption.
    $S$ is a topology on $Y$ by \cref{continuous}.
    $G$ is continuous from $Y$ to $\productFamily{R}$ with respect to $S$ and $P$
        by \cref{continuous_map_into_indexed_product,pair_eq_iff}.
\end{proof}
Lemma 591
metric_bounded_subset

Assume $A$ is bounded in $X$ with respect to $d$.
Suppose $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$.
Then $B$ is bounded in $X$ with respect to $d$.

LaTeX source
\begin{lemma}
\label{metric_bounded_subset}
    Assume $A$ is bounded in $X$ with respect to $d$.
    Suppose $B\subseteq A$.
    Then $B$ is bounded in $X$ with respect to $d$.
\end{lemma}
Proof

Follows by Definition 1, Definition 187, Proposition 6.

LaTeX source
\begin{proof}
    Follows by \cref{metric_bounded,subseteq,subseteq_transitive}.
\end{proof}
Lemma 592
intervalclosed_subset_bounded_standard

Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\intervalclosed{a}{b}$.
Then $A$ is bounded in $\reals$ with respect to $\standardMetricR$.

LaTeX source
\begin{lemma}
\label{intervalclosed_subset_bounded_standard}
    Assume $a\in\reals$.
    Assume $b\in\reals$.
    Assume $a \leq b$.
    Suppose $A\subseteq\intervalclosed{a}{b}$.
    Then $A$ is bounded in $\reals$ with respect to $\standardMetricR$.
\end{lemma}
Proof

$\standardMetricR$ is a metric on $\reals$ by Lemma 198.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75, Proposition 6.
Let $M = b - a$.
$M\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.

Claim: For all $u, v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $\apply{\standardMetricR}{(u,v)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$.

Fix $u$.
Fix $v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 1.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u$ and $u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v$ and $v \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1, Definition 75.
$b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v + (b - a)$ by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 24.
$v + (b - a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v + (b - a)$ by Lemma 23.
$v + M = v + (b - a)$ by Axiom 6.
$v + M\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v + M$ by Axiom 6.
$\neg{v}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$u + \neg{v}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$u + \neg{v} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (v + M) + \neg{v}$ by Lemma 24.
$(v + M) + \neg{v} = M$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18.
$u + \neg{v} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Axiom 6, Lemma 23.
$u - v \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Definition 64.
$u - v\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u + (b - a)$ by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 24.
$u + M = u + (b - a)$ by Axiom 6.
$u + M\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u + M$ by Axiom 6.
$v \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u + M$ by Lemma 23.
$\neg{u}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$v + \neg{u}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$v + \neg{u} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (u + M) + \neg{u}$ by Lemma 24.
$(u + M) + \neg{u} = M$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18.
$v + \neg{u} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Axiom 6, Lemma 23.
$v - u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Definition 64.
$v - u = \neg{(u - v)}$ by Lemma 14.
$\neg{(u - v)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$.
$\abs{u - v} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Proposition 484.
$\apply{\standardMetricR}{(u,v)} = \abs{u - v}$ by Lemma 274.
$\apply{\standardMetricR}{(u,v)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} M$ by Axiom 6.

$A$ is bounded in $\reals$ with respect to $\standardMetricR$ by Definition 187.

LaTeX source
\begin{proof}
    $\standardMetricR$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
    $A\subseteq\reals$ by \cref{intervalclosed,subseteq,subseteq_transitive}.
    Let $M = b - a$.
    $M\in\reals$ by \cref{real_add_inverse,real_sub,real_add_closed}.
    Show that for all $u, v$ such that $u\in A$ and $v\in A$ we have $\apply{\standardMetricR}{(u,v)} \leq M$.
    \begin{subproof}
        Fix $u$.
        Fix $v$ such that $u\in A$ and $v\in A$.
        $u\in\intervalclosed{a}{b}$ and $v\in\intervalclosed{a}{b}$ by \cref{subseteq}.
        $u\in\reals$ and $a \leq u$ and $u \leq b$ and
            $v\in\reals$ and $a \leq v$ and $v \leq b$ by \cref{intervalclosed,subseteq}.
        $b \leq v + (b - a)$
            by \cref{real_add_closed,real_leq_add,real_sub,real_add_assoc,real_add_inverse,real_add_ident,real_add_comm}.
        $v + (b - a)\in\reals$ by \cref{real_add_closed,real_sub}.
        $u \leq v + (b - a)$ by \cref{real_leq_trans}.
        $v + M = v + (b - a)$ by \cref{pair_eq_iff}.
        $v + M\in\reals$ by \cref{real_add_closed}.
        $u \leq v + M$ by \cref{pair_eq_iff}.
        $\neg{v}\in\reals$ by \cref{real_add_inverse}.
        $u + \neg{v}\in\reals$ by \cref{real_add_closed}.
        $u + \neg{v} \leq (v + M) + \neg{v}$ by \cref{real_leq_add}.
        $(v + M) + \neg{v} = M$ by \cref{real_add_assoc,real_add_inverse,real_add_comm,real_add_ident}.
        $u + \neg{v} \leq M$ by \cref{real_leq_trans,pair_eq_iff}.
        $u - v \leq M$ by \cref{real_sub}.
        $u - v\in\reals$ by \cref{real_sub,real_add_closed}.
        $b \leq u + (b - a)$
            by \cref{real_add_closed,real_leq_add,real_sub,real_add_assoc,real_add_inverse,real_add_ident,real_add_comm}.
        $u + M = u + (b - a)$ by \cref{pair_eq_iff}.
        $u + M\in\reals$ by \cref{real_add_closed}.
        $b \leq u + M$ by \cref{pair_eq_iff}.
        $v \leq u + M$ by \cref{real_leq_trans}.
        $\neg{u}\in\reals$ by \cref{real_add_inverse}.
        $v + \neg{u}\in\reals$ by \cref{real_add_closed}.
        $v + \neg{u} \leq (u + M) + \neg{u}$ by \cref{real_leq_add}.
        $(u + M) + \neg{u} = M$ by \cref{real_add_assoc,real_add_inverse,real_add_comm,real_add_ident}.
        $v + \neg{u} \leq M$ by \cref{real_leq_trans,pair_eq_iff}.
        $v - u \leq M$ by \cref{real_sub}.
        $v - u = \neg{(u - v)}$ by \cref{real_sub_swap_neg}.
        $\neg{(u - v)} \leq M$.
        $\abs{u - v} \leq M$ by \cref{real_abs_leq_if_pm_leq}.
        $\apply{\standardMetricR}{(u,v)} = \abs{u - v}$ by \cref{standard_metric_value}.
        $\apply{\standardMetricR}{(u,v)} \leq M$ by \cref{pair_eq_iff}.
    \end{subproof}
    $A$ is bounded in $\reals$ with respect to $\standardMetricR$ by \cref{metric_bounded}.
\end{proof}
Theorem 97
bounded_real_property_implies_compact_hausdorff_property

Assume $Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$.
Then $Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$.

LaTeX source
\begin{theorem}
\label{bounded_real_property_implies_compact_hausdorff_property}
    Assume $Y$ has the bounded real extension property over $X$ with respect to $S$ and $T$.
    Then $Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$.
\end{theorem}
Proof

We have $Y$ compactifies $X$ with respect to $S$ and $T$ by Definition 305.

Claim: For all $C, U, f$ if $U$ is a topology on $C$ and $C$ is compact with respect to $U$ and $C$ is Hausdorff with respect to $U$ and $f$ is continuous from $X$ to $C$ with respect to $T$ and $U$ then there exists $g$ such that $g$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x) = f(x)$ and for all $h$ if $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = f(x)$ then $h = g$.

Fix $C$.
Fix $U$.
Fix $f$ such that $U$ is a topology on $C$ and $C$ is compact with respect to $U$ and $C$ is Hausdorff with respect to $U$ and $f$ is continuous from $X$ to $C$ with respect to $T$ and $U$.
$C$ is completely regular with respect to $U$ and $C$ has closed singletons with respect to $U$ by Definition 286, Lemma 589.
Let $J = \{g\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{C\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals} \mid \text{$g$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$ and $\img{g}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$}\}$.
Let $z = \{(c,0) \mid c\class{latex-symbol-tip latex-symbol-id-in}{\in} C\}$.
$z$ is a function from $C$ to $\reals$ by Axiom 17, Lemma 309.
For all $c\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $z(c) = 0$ by Lemma 309, Proposition 346, Proposition 356.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$z$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$ by Axiom 17, Lemma 163.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{C\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.
$\img{z}{C}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{0}{0}$ by Axiom 6, Definition 1, Definition 75, Proposition 235, Proposition 346, Proposition 356.
$\img{z}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$ by Axiom 17, Lemma 592.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Axiom 6.
$J$ is inhabited.

Let $e = \identity{J}$.
$e$ is a function on $J$ by Definition 1, Definition 12, Definition 51, Proposition 3, 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$ we have $\apply{e}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$ by Proposition 405, Proposition 406.

Claim: For all $c,V$ such that $c\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $V$ is a neighborhood of $c$ in $C$ with respect to $U$ 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{e}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{c}$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} V$ we have $\apply{\apply{e}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$.

Fix $c$.
Fix $V$ such that $c\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $V$ is a neighborhood of $c$ in $C$ with respect to $U$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
Let $j_0 = \identity{I_0}$.
$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.
$I_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 1, Definition 75, Definition 147, Lemma 231.
$T_I$ is a topology on $I_0$ by Lemma 131.
$V$ is open in $C$ with respect to $U$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 153.
Let $A = C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} V$.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A = V$ by Axiom 6, Proposition 92.
$C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is open in $C$ with respect to $U$ by Axiom 6, Definition 103.
$A$ is closed in $C$ with respect to $U$ by Definition 149, Proposition 97.
$c\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ by Proposition 87.
Take $g$ such that $g$ is continuous from $C$ to $I_0$ with respect to $U$ and $T_I$ and $g(c) = 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_0\class{latex-symbol-tip latex-symbol-id-circ}{\circ} g$.
$g_1$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$ by Lemma 168.
$g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{C}{\reals}$ and $g_1$ is a function and $\dom{g_1} = C$ by Definition 55, Definition 160, Proposition 356.
$g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{C\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals}$ by Definition 1, Proposition 155, Proposition 282, Proposition 357.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $g_1(y) = g(y)$ by Axiom 6, Definition 55, Definition 160, Definition 160, Definition 160, Proposition 255, Proposition 293, Proposition 346, Proposition 348, Proposition 356, Proposition 361.
$\img{g_1}{C}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{0}{1}$ by Axiom 6, Definition 1, Definition 160, Proposition 235, Proposition 346, Proposition 361.
$\img{g_1}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Lemma 592, Proposition 462.
$g_1\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Axiom 6.
Take $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha} = g_1$.
$\apply{e}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = g_1$ by Axiom 6, Proposition 405, Proposition 406.
$0 < \apply{\apply{e}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{c}$ by Axiom 6, Proposition 462.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} V$ we have $\apply{\apply{e}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y} = 0$ by Axiom 6, Definition 1, Proposition 86.

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 $T_0 = \{(\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\}$.
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} R$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $y_1 = y_2$ by Axiom 6.
$R$ 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} T_0$ and $(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ we have $y_1 = y_2$ by Axiom 6.
$T_0$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{R} = J$ and $\dom{T_0} = 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 $R(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \reals$ and $T_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \standardTopologyR$ by Proposition 346.

Let $P = \productTopologyIndexed{T_0}{R}$.
Let $F = \{(c,y) \mid c\class{latex-symbol-tip latex-symbol-id-in}{\in} C, 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{e}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{c}\}$.
$F$ is a topological embedding from $C$ to $\productFamily{R}$ with respect to $U$ and $P$ by Theorem 88.
$F$ is continuous from $C$ to $\productFamily{R}$ with respect to $U$ and $P$ and $P$ is a topology on $\productFamily{R}$ by Definition 160, Definition 164.

$\reals$ is Hausdorff with respect to $\standardTopologyR$ by Lemma 198, Lemma 200, Lemma 395.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ we have $T_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ is a topology on $R(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Axiom 6, Proposition 346.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ we have $R(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ is Hausdorff with respect to $T_0(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha})$ by Axiom 6, Proposition 346.
$\productFamily{R}$ is Hausdorff with respect to $P$ by Axiom 6, Lemma 188.

$\img{F}{C}$ is compact with respect to $\subspaceTopology{P}{\img{F}{C}}$ by Theorem 61.
$\img{F}{C}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Definition 164, Proposition 6, Proposition 237, Proposition 363.
$\img{F}{C}$ is closed in $\productFamily{R}$ with respect to $P$ by Theorem 60.

Let $M = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} J\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{Y\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals} \mid \text{there exists $\alpha\in J$ such that there exists $h$ such that $w = (\alpha,h)$ and $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\in X$ we have $h(x) = \apply{\alpha}{f(x)}$}\}$.
$M$ is a relation by Definition 12, Proposition 121.

Claim: For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ there exists $h$ such that $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\mathrel{M} h$.

Fix $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
$\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$ and $\img{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$ by Axiom 6.
Let $k = \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$k$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 165.

Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{k}{X}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}{C}$.

Fix $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{k}{X}$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $(x,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} k$ by Proposition 235.
$u = k(x)$ by Definition 160, Proposition 346, Proposition 356.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 160, Proposition 361.
$k(x) = \apply{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}{f(x)}$ by Axiom 6, Definition 1, Definition 55, Definition 160, Definition 160, Definition 160, Proposition 356, Proposition 361, Proposition 363, Proposition 373.
$(f(x),\apply{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}{f(x)})\class{latex-symbol-tip latex-symbol-id-in}{\in} \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}$ by Definition 1, Definition 55, Definition 160, Proposition 348, Proposition 356.
$(f(x),u)\class{latex-symbol-tip latex-symbol-id-in}{\in} \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}$ by Axiom 6.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}{C}$ by Proposition 235.

$\img{k}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}{C}$ by Definition 1.
$\img{k}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$ by Lemma 591.
Take $h$ such that $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = k(x)$ by Definition 305.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{Y\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.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = \class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}(f(x))$ by Axiom 6, Definition 1, Definition 55, Definition 160, Proposition 356, Proposition 363, Proposition 373.
$(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},h)\class{latex-symbol-tip latex-symbol-id-in}{\in} J\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{Y\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals}$ by Proposition 115.
$(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha},h)\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ by Axiom 6.
$\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\mathrel{M} h$.

Take $b$ such that $b$ 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 $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\mathrel{M}\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 54.
$b$ is a function and $\dom{b} = 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 $\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ by Axiom 6, Axiom 54.

Let $G = \{(y,z) \mid y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y, z\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. z(\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}) = \apply{\apply{b}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}}{y}\}$.
$G$ is continuous from $Y$ to $\productFamily{R}$ with respect to $S$ and $P$ by Lemma 590.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $G(x) = F(f(x))$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Definition 147, Definition 303.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 160, Proposition 361.
$G(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ and $F(f(x))\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Definition 160, Definition 164, Proposition 361, Proposition 361.
$G(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{\reals}$ and $F(f(x))\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{\reals}$ by Definition 1, Definition 166, Definition 191, Lemma 209.
$(x,G(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 1, Definition 55, Definition 160, Proposition 348, Proposition 356.
$(f(x),F(f(x)))\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 1, Definition 55, Definition 164, Proposition 348, Proposition 356.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\apply{\apply{G}{x}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}} = \apply{\apply{F}{f(x)}}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Axiom 6, Axiom 54, Definition 1, Proposition 405, Proposition 406.
$G(x) = F(f(x))$ by Lemma 438.

For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{G}{X}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{F}{C}$ by Axiom 6, Definition 1, Definition 55, Definition 160, Definition 160, Definition 164, Definition 164, Proposition 235, Proposition 346, Proposition 348, Proposition 356, Proposition 356, Proposition 361.
$\img{G}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{F}{C}$ by Definition 1.

$X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 147, Definition 303.
$\closure{X}{Y}{S} = Y$ by Definition 303.
$\img{G}{Y}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{G}{X}}{\productFamily{R}}{P}$ by Axiom 6, Lemma 158.
$\closure{\img{G}{X}}{\productFamily{R}}{P}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{F}{C}$ by Definition 160, Lemma 147, Proposition 6, Proposition 237, Proposition 363.
$\img{G}{Y}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{F}{C}$ by Proposition 6.

Let $P_C = \subspaceTopology{P}{\img{F}{C}}$.
$G$ is continuous from $Y$ to $\img{F}{C}$ with respect to $S$ and $P_C$ by Definition 1, Definition 147, Lemma 167.
$F$ is a homeomorphism between $C$ and $\img{F}{C}$ with respect to $U$ and $P_C$ by Definition 164.
$\converse{F}$ is continuous from $\img{F}{C}$ to $C$ with respect to $P_C$ and $U$ by Definition 162.
Let $g = \converse{F}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} G$.
$g$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ by Lemma 165.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x) = f(x)$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Definition 147, Definition 303.
$G(x) = F(f(x))$ by Definition 1.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 160, Proposition 361.
$\converse{F}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\img{F}{C}}{C}$ and $\dom{\converse{F}} = \img{F}{C}$ by Definition 55, Definition 58, Definition 162, Proposition 396.
$(x,G(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 1, Definition 55, Definition 160, Proposition 348, Proposition 356.
$G(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\converse{F}}$ by Axiom 6, Definition 160, Proposition 361.
$(G(x),\apply{\converse{F}}{G(x)})\class{latex-symbol-tip latex-symbol-id-in}{\in}\converse{F}$ by Definition 58, Definition 162, Proposition 348, Proposition 356, Proposition 396.
$(x,\apply{\converse{F}}{G(x)})\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Axiom 6, Definition 1, Definition 55, Definition 58, Definition 160, Definition 162, Proposition 255, Proposition 356, Proposition 363, Proposition 396.
$g(x) = \apply{\converse{F}}{G(x)}$ by Definition 160, Proposition 346, Proposition 356.
$g(x) = \apply{\converse{F}}{F(f(x))}$ by Axiom 6.
$(f(x),F(f(x)))\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 1, Definition 55, Definition 164, Proposition 348, Proposition 356.
$(F(f(x)),f(x))\class{latex-symbol-tip latex-symbol-id-in}{\in}\converse{F}$ by Proposition 186.
$\apply{\converse{F}}{F(f(x))} = f(x)$ by Definition 58, Definition 162, Proposition 346, Proposition 356, Proposition 396.
$g(x) = f(x)$ by Axiom 6.

Let $S_Y = \subspaceTopology{S}{Y}$.
$S_Y = S$ by Axiom 12, Definition 1, Definition 101, Definition 146, Definition 303, Proposition 3, Proposition 70.
$f$ is continuous from $X$ to $C$ with respect to $\subspaceTopology{S}{X}$ and $U$ and $g$ is continuous from $Y$ to $C$ with respect to $S_Y$ and $U$ by Axiom 6, Definition 303.
$S$ is a topology on $Y$ and $X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ and $\closure{X}{Y}{S} = Y$ by Definition 147, Definition 303.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x) = f(x)$ by Definition 1.

Claim: For all $h$ if $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = f(x)$ then $h = g$.

Follows by Axiom 6, Lemma 588.

There exists $g_1$ such that $g_1$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g_1(x) = f(x)$ and for all $h$ if $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = f(x)$ then $h = g_1$.

$Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$ by Definition 305, Definition 306.

LaTeX source
\begin{proof}
    We have $Y$ compactifies $X$ with respect to $S$ and $T$ by \cref{bounded_real_extension_property}.
    Show that for all $C, U, f$ if
        $U$ is a topology on $C$ and
        $C$ is compact with respect to $U$ and
        $C$ is Hausdorff with respect to $U$ and
        $f$ is continuous from $X$ to $C$ with respect to $T$ and $U$
    then there exists $g$ such that
        $g$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and
        for all $x\in X$ we have $g(x) = f(x)$ and
        for all $h$ if
            $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and
            for all $x\in X$ we have $h(x) = f(x)$
        then $h = g$.
    \begin{subproof}
        Fix $C$.
        Fix $U$.
        Fix $f$ such that
            $U$ is a topology on $C$ and
            $C$ is compact with respect to $U$ and
            $C$ is Hausdorff with respect to $U$ and
            $f$ is continuous from $X$ to $C$ with respect to $T$ and $U$.
        $C$ is completely regular with respect to $U$
            and $C$ has closed singletons with respect to $U$
            by \cref{compact_hausdorff_implies_completely_regular,completely_regular_space}.
        Let $J = \{g\in\pow{C\times\reals} \mid \text{$g$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$ and
            $\img{g}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$}\}$.
        Let $z = \{(c,0) \mid c\in C\}$.
        $z$ is a function from $C$ to $\reals$ by \cref{constant_map_function,real_add_ident}.
        For all $c\in C$ we have $z(c) = 0$ by \cref{constant_map_function,funs_is_function,function_apply_intro}.
        $\standardTopologyR$ is a topology on $\reals$
            by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
        $z$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$
            by \cref{real_add_ident,constant_continuous}.
        $0\in\reals$ by \cref{real_add_ident}.
        $z\in\pow{C\times\reals}$
            by \cref{continuous,funs_is_function,funs,funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
        $\img{z}{C}\subseteq \intervalclosed{0}{0}$
            by \cref{img_iff,function_apply_intro,funs_is_function,pair_eq_iff,intervalclosed,subseteq}.
        $\img{z}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$
            by \cref{intervalclosed_subset_bounded_standard,real_add_ident}.
        $z\in J$ by \cref{pair_eq_iff}.
        $J$ is inhabited.

        Let $e = \identity{J}$.
        $e$ is a function on $J$ by \cref{id_is_relation,id_rightunique,id_dom,relation,rightunique,subseteq,subseteq_antisymmetric}.
        For all $\alpha\in J$ we have $\apply{e}{\alpha}$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$
            by \cref{id_apply,id_elem_funs}.
        Show that for all $c,V$ such that $c\in C$ and $V$ is a neighborhood of $c$ in $C$ with respect to $U$
            there exists $\alpha\in J$ such that
                $0 < \apply{\apply{e}{\alpha}}{c}$ and
                for all $y\in C\setminus V$ we have $\apply{\apply{e}{\alpha}}{y} = 0$.
        \begin{subproof}
            Fix $c$.
            Fix $V$ such that $c\in C$ and $V$ is a neighborhood of $c$ in $C$ with respect to $U$.
            Let $I_0 = \intervalclosed{0}{1}$.
            Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
            Let $j_0 = \identity{I_0}$.
            $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}.
            $I_0\subseteq\reals$ and $I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$
                by \cref{real_lt_imp_leq,intervalclosed,subseteq,subspace_of}.
            $T_I$ is a topology on $I_0$ by \cref{subspace_topology_is_topology}.
            $V$ is open in $C$ with respect to $U$ and $c\in V$ by \cref{neighborhood}.
            Let $A = C\setminus V$.
            $V\subseteq C$ by \cref{open_in,topology_on,subseteq,pow_iff}.
            $C\setminus A = V$ by \cref{double_relative_complement,pair_eq_iff}.
            $C\setminus A$ is open in $C$ with respect to $U$ by \cref{open_in,pair_eq_iff}.
            $A$ is closed in $C$ with respect to $U$ by \cref{closed_in,setminus_subseteq}.
            $c\notin A$ by \cref{setminus_elim_right}.
            Take $g$ such that
                $g$ is continuous from $C$ to $I_0$ with respect to $U$ and $T_I$ and
                $g(c) = 1$ and
                for all $y\in A$ we have $g(y) = 0$
                by \cref{completely_regular_space}.
            Let $g_1 = j_0\circ g$.
            $g_1$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$
                by \cref{continuous_expand_range}.
            $g_1\in\funs{C}{\reals}$ and $g_1$ is a function and $\dom{g_1} = C$
                by \cref{continuous,funs_is_function,funs}.
            $g_1\in\pow{C\times\reals}$
                by \cref{funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
            For all $y\in C$ we have $g_1(y) = g(y)$
                by \cref{continuous,funs,continuous,funs_type_apply,function_apply_elim,id_iff,circ_elem_intro,pair_eq_iff,function_apply_intro,continuous,funs_is_function}.
            $\img{g_1}{C}\subseteq \intervalclosed{0}{1}$
                by \cref{img_iff,function_apply_intro,subseteq,continuous,funs_type_apply,pair_eq_iff}.
            $\img{g_1}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$
                by \cref{intervalclosed_subset_bounded_standard,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq}.
            $g_1\in J$ by \cref{pair_eq_iff}.
            Take $\alpha\in J$ such that $\alpha = g_1$.
            $\apply{e}{\alpha} = g_1$ by \cref{id_apply,id_elem_funs,pair_eq_iff}.
            $0 < \apply{\apply{e}{\alpha}}{c}$ by \cref{pair_eq_iff,real_zero_lt_one}.
            For all $y\in C\setminus V$ we have $\apply{\apply{e}{\alpha}}{y} = 0$
                by \cref{pair_eq_iff,setminus_elim_left,subseteq}.
        \end{subproof}

        Let $R = \{(\alpha,\reals) \mid \alpha\in J\}$.
        Let $T_0 = \{(\alpha,\standardTopologyR) \mid \alpha\in J\}$.
        For all $\alpha,y_1,y_2$ such that $(\alpha,y_1)\in R$ and $(\alpha,y_2)\in R$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
        $R$ 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 T_0$ and $(\alpha,y_2)\in T_0$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
        $T_0$ is a function on $J$ by \cref{rightunique,relation,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
        $\dom{R} = J$ and $\dom{T_0} = J$ by \cref{funs}.
        For all $\alpha\in J$ we have $R(\alpha) = \reals$ and $T_0(\alpha) = \standardTopologyR$ by \cref{function_apply_intro}.

        Let $P = \productTopologyIndexed{T_0}{R}$.
        Let $F = \{(c,y) \mid c\in C, y\in\productFamily{R} \mid
            \forall \alpha\in J. \apply{y}{\alpha} = \apply{\apply{e}{\alpha}}{c}\}$.
        $F$ is a topological embedding from $C$ to $\productFamily{R}$ with respect to $U$ and $P$
            by \cref{urysohn_embedding_theorem_real_power}.
        $F$ is continuous from $C$ to $\productFamily{R}$ with respect to $U$ and $P$
            and $P$ is a topology on $\productFamily{R}$ by \cref{topological_embedding,continuous}.

        $\reals$ is Hausdorff with respect to $\standardTopologyR$
            by \cref{standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology}.
        For all $\alpha\in\dom{R}$ we have $T_0(\alpha)$ is a topology on $R(\alpha)$
            by \cref{pair_eq_iff,function_apply_intro}.
        For all $\alpha\in\dom{R}$ we have $R(\alpha)$ is Hausdorff with respect to $T_0(\alpha)$
            by \cref{pair_eq_iff,function_apply_intro}.
        $\productFamily{R}$ is Hausdorff with respect to $P$ by \cref{product_hausdorff_product,pair_eq_iff}.

        $\img{F}{C}$ is compact with respect to $\subspaceTopology{P}{\img{F}{C}}$ by \cref{continuous_image_compact}.
        $\img{F}{C}\subseteq\productFamily{R}$ by \cref{img_subseteq_ran,funs_ran,topological_embedding,subseteq_transitive}.
        $\img{F}{C}$ is closed in $\productFamily{R}$ with respect to $P$ by \cref{compact_subspace_closed}.

        Let $M = \{w\in J\times\pow{Y\times\reals} \mid \text{there exists $\alpha\in J$ such that there exists $h$ such that
            $w = (\alpha,h)$ and
            $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
            for all $x\in X$ we have $h(x) = \apply{\alpha}{f(x)}$}\}$.
        $M$ is a relation by \cref{times_elem_is_tuple,relation}.
        Show that for all $\alpha\in J$ there exists $h$ such that $\alpha\mathrel{M} h$.
        \begin{subproof}
            Fix $\alpha\in J$.
            $\alpha$ is continuous from $C$ to $\reals$ with respect to $U$ and $\standardTopologyR$ and
                $\img{\alpha}{C}$ is bounded in $\reals$ with respect to $\standardMetricR$ by \cref{pair_eq_iff}.
            Let $k = \alpha\circ f$.
            $k$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
                by \cref{continuous_composite}.
            Show that for all $u$ such that $u\in\img{k}{X}$ we have $u\in\img{\alpha}{C}$.
            \begin{subproof}
                Fix $u$ such that $u\in\img{k}{X}$.
                Take $x\in X$ such that $(x,u)\in k$ by \cref{img_iff}.
                $u = k(x)$ by \cref{function_apply_intro,continuous,funs_is_function}.
                $f(x)\in C$ by \cref{continuous,funs_type_apply}.
                $k(x) = \apply{\alpha}{f(x)}$
                    by \cref{circ_apply,continuous,funs_is_function,continuous,funs,subseteq,continuous,funs_type_apply,funs_ran,pair_eq_iff}.
                $(f(x),\apply{\alpha}{f(x)})\in \alpha$
                    by \cref{function_apply_elim,continuous,funs_is_function,funs,subseteq}.
                $(f(x),u)\in \alpha$ by \cref{pair_eq_iff}.
                $u\in\img{\alpha}{C}$ by \cref{img_iff}.
            \end{subproof}
            $\img{k}{X}\subseteq \img{\alpha}{C}$ by \cref{subseteq}.
            $\img{k}{X}$ is bounded in $\reals$ with respect to $\standardMetricR$ by \cref{metric_bounded_subset}.
            Take $h$ such that
                $h$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$ and
                for all $x\in X$ we have $h(x) = k(x)$
                by \cref{bounded_real_extension_property}.
            $h\in\pow{Y\times\reals}$
                by \cref{continuous,funs_is_function,funs,funs_subseteq_rels,subseteq,rels_elim,powerset_intro}.
            For all $x\in X$ we have $h(x) = \alpha(f(x))$
                by \cref{subseteq,circ_apply,continuous,funs,funs_is_function,funs_ran,pair_eq_iff}.
            $(\alpha,h)\in J\times\pow{Y\times\reals}$ by \cref{times_tuple_intro}.
            $(\alpha,h)\in M$ by \cref{pair_eq_iff}.
            $\alpha\mathrel{M} h$.
        \end{subproof}
        Take $b$ such that $b$ is a function on $J$ and for all $\alpha\in J$ we have $\alpha\mathrel{M}\apply{b}{\alpha}$
            by \cref{axiom_of_choice}.
        $b$ is a function and $\dom{b} = J$ by \cref{funs}.
        For all $\alpha\in J$ we have $\apply{b}{\alpha}$ is continuous from $Y$ to $\reals$ with respect to $S$ and $\standardTopologyR$
            by \cref{axiom_of_choice,pair_eq_iff}.

        Let $G = \{(y,z) \mid y\in Y, z\in\productFamily{R} \mid
            \forall \alpha\in J. z(\alpha) = \apply{\apply{b}{\alpha}}{y}\}$.
        $G$ is continuous from $Y$ to $\productFamily{R}$ with respect to $S$ and $P$
            by \cref{continuous_real_family_map}.

        Show that for all $x\in X$ we have $G(x) = F(f(x))$.
        \begin{subproof}
            Fix $x\in X$.
            $x\in Y$ by \cref{compactifies,subspace_of,subseteq}.
            $f(x)\in C$ by \cref{continuous,funs_type_apply}.
            $G(x)\in\productFamily{R}$ and $F(f(x))\in\productFamily{R}$
                by \cref{continuous,funs_type_apply,topological_embedding,funs_type_apply}.
            $G(x)\in\funs{J}{\reals}$ and $F(f(x))\in\funs{J}{\reals}$
                by \cref{product_family_reals_power,reals_power,tuple_power,subseteq}.
            $(x,G(x))\in G$ by \cref{function_apply_elim,continuous,funs_is_function,funs,subseteq}.
            $(f(x),F(f(x)))\in F$ by \cref{function_apply_elim,topological_embedding,funs_is_function,funs,subseteq}.
            For all $\alpha\in J$ we have $\apply{\apply{G}{x}}{\alpha} = \apply{\apply{F}{f(x)}}{\alpha}$
                by \cref{pair_eq_iff,axiom_of_choice,subseteq,id_apply,id_elem_funs}.
            $G(x) = F(f(x))$ by \cref{functions_eq_iff}.
        \end{subproof}

        For all $u$ such that $u\in\img{G}{X}$ we have $u\in \img{F}{C}$
            by \cref{img_iff,function_apply_intro,continuous,funs_is_function,subseteq,continuous,funs_type_apply,pair_eq_iff,topological_embedding,funs,function_apply_elim,topological_embedding,funs_is_function}.
        $\img{G}{X}\subseteq \img{F}{C}$ by \cref{subseteq}.

        $X\subseteq Y$ by \cref{compactifies,subspace_of}.
        $\closure{X}{Y}{S} = Y$ by \cref{compactifies}.
        $\img{G}{Y}\subseteq \closure{\img{G}{X}}{\productFamily{R}}{P}$ by \cref{continuous_closure_image_subset,pair_eq_iff}.
        $\closure{\img{G}{X}}{\productFamily{R}}{P}\subseteq \img{F}{C}$ by \cref{img_subseteq_ran,funs_ran,continuous,subseteq_transitive,closure_subseteq_closed}.
        $\img{G}{Y}\subseteq \img{F}{C}$ by \cref{subseteq_transitive}.

        Let $P_C = \subspaceTopology{P}{\img{F}{C}}$.
        $G$ is continuous from $Y$ to $\img{F}{C}$ with respect to $S$ and $P_C$ by \cref{subspace_of,subseteq,continuous_restrict_range}.
        $F$ is a homeomorphism between $C$ and $\img{F}{C}$ with respect to $U$ and $P_C$ by \cref{topological_embedding}.
        $\converse{F}$ is continuous from $\img{F}{C}$ to $C$ with respect to $P_C$ and $U$ by \cref{homeomorphism}.
        Let $g = \converse{F}\circ G$.
        $g$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ by \cref{continuous_composite}.

        Show that for all $x\in X$ we have $g(x) = f(x)$.
        \begin{subproof}
            Fix $x\in X$.
            $x\in Y$ by \cref{compactifies,subspace_of,subseteq}.
            $G(x) = F(f(x))$ by \cref{subseteq}.
            $f(x)\in C$ by \cref{continuous,funs_type_apply}.
            $\converse{F}\in\funs{\img{F}{C}}{C}$ and $\dom{\converse{F}} = \img{F}{C}$
                by \cref{homeomorphism,bijections,bijective_converse_are_funs,funs}.
            $(x,G(x))\in G$ by \cref{function_apply_elim,continuous,funs_is_function,funs,subseteq}.
            $G(x)\in\dom{\converse{F}}$ by \cref{continuous,funs_type_apply,pair_eq_iff}.
            $(G(x),\apply{\converse{F}}{G(x)})\in\converse{F}$ by \cref{function_apply_elim,bijective_converse_are_funs,funs_is_function,homeomorphism,bijections}.
            $(x,\apply{\converse{F}}{G(x)})\in g$ by \cref{circ_elem_intro,pair_eq_iff,continuous,funs,bijective_converse_are_funs,homeomorphism,bijections,funs_is_function,funs_ran,subseteq}.
            $g(x) = \apply{\converse{F}}{G(x)}$ by \cref{function_apply_intro,continuous,funs_is_function}.
            $g(x) = \apply{\converse{F}}{F(f(x))}$ by \cref{pair_eq_iff}.
            $(f(x),F(f(x)))\in F$ by \cref{function_apply_elim,topological_embedding,funs_is_function,funs,subseteq}.
            $(F(f(x)),f(x))\in\converse{F}$ by \cref{converse_iff}.
            $\apply{\converse{F}}{F(f(x))} = f(x)$
                by \cref{function_apply_intro,bijective_converse_are_funs,funs_is_function,homeomorphism,bijections}.
            $g(x) = f(x)$ by \cref{pair_eq_iff}.
        \end{subproof}

        Let $S_Y = \subspaceTopology{S}{Y}$.
        $S_Y = S$
            by \cref{compactifies,subspace_topology,topology_on,pow_iff,subseteq,inter_absorb_supseteq_left,subseteq_antisymmetric}.
        $f$ is continuous from $X$ to $C$ with respect to $\subspaceTopology{S}{X}$ and $U$
            and $g$ is continuous from $Y$ to $C$ with respect to $S_Y$ and $U$ by \cref{compactifies,pair_eq_iff}.
        $S$ is a topology on $Y$ and $X\subseteq Y$ and $\closure{X}{Y}{S} = Y$ by \cref{compactifies,subspace_of}.
        For all $x\in X$ we have $g(x) = f(x)$ by \cref{subseteq}.
        Show that for all $h$ if
            $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and
            for all $x\in X$ we have $h(x) = f(x)$
        then $h = g$.
        \begin{subproof}
            Follows by \cref{pair_eq_iff,extension_to_closure_unique}.
        \end{subproof}
        There exists $g_1$ such that
            $g_1$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and
            for all $x\in X$ we have $g_1(x) = f(x)$ and
            for all $h$ if
                $h$ is continuous from $Y$ to $C$ with respect to $S$ and $U$ and
                for all $x\in X$ we have $h(x) = f(x)$
            then $h = g_1$.
    \end{subproof}
    $Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$
        by \cref{compact_hausdorff_extension_property,bounded_real_extension_property}.
\end{proof}
Theorem 98
bounded_real_property_unique_up_to_equivalence

Assume $Y_1$ has the bounded real extension property over $X$ with respect to $S_1$ and $T$.
Assume $Y_2$ has the bounded real extension property over $X$ with respect to $S_2$ and $T$.
Then $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$.

LaTeX source
\begin{theorem}
\label{bounded_real_property_unique_up_to_equivalence}
    Assume $Y_1$ has the bounded real extension property over $X$ with respect to $S_1$ and $T$.
    Assume $Y_2$ has the bounded real extension property over $X$ with respect to $S_2$ and $T$.
    Then $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$.
\end{theorem}
Proof

We have $Y_1$ has the compact Hausdorff extension property over $X$ with respect to $S_1$ and $T$ by Theorem 97.
$Y_2$ has the compact Hausdorff extension property over $X$ with respect to $S_2$ and $T$ by Theorem 97.
$Y_1$ compactifies $X$ with respect to $S_1$ and $T$ and $Y_2$ compactifies $X$ with respect to $S_2$ and $T$ by Definition 306.
$S_1$ is a topology on $Y_1$ and $X$ is a subspace of $Y_1$ with respect to $S_1$ and $Y_1$ is compact with respect to $S_1$ and $Y_1$ is Hausdorff with respect to $S_1$ by Definition 303.
$S_2$ is a topology on $Y_2$ and $X$ is a subspace of $Y_2$ with respect to $S_2$ and $Y_2$ is compact with respect to $S_2$ and $Y_2$ is Hausdorff with respect to $S_2$ by Definition 303.

Let $j = \identity{X}$.
$j$ is continuous from $X$ to $Y_1$ with respect to $T$ and $S_1$ and $j$ is continuous from $X$ to $Y_2$ with respect to $T$ and $S_2$ by Axiom 6, Definition 303, Lemma 164.

Take $h_{12}$ such that $h_{12}$ is continuous from $Y_1$ to $Y_2$ with respect to $S_1$ and $S_2$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h_{12}(x) = j(x)$ and for all $h$ if $h$ is continuous from $Y_1$ to $Y_2$ with respect to $S_1$ and $S_2$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = j(x)$ then $h = h_{12}$ by Definition 306.
Take $h_{21}$ such that $h_{21}$ is continuous from $Y_2$ to $Y_1$ with respect to $S_2$ and $S_1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h_{21}(x) = j(x)$ and for all $h$ if $h$ is continuous from $Y_2$ to $Y_1$ with respect to $S_2$ and $S_1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x) = j(x)$ then $h = h_{21}$ by Definition 306.

$\subspaceTopology{S_1}{Y_1} = S_1$ by Axiom 12, Definition 1, Definition 101, Definition 146, Proposition 3, Proposition 70.

Let $i_1 = \identity{Y_1}$.
$i_1$ is continuous from $Y_1$ to $Y_1$ with respect to $S_1$ and $S_1$ and $h_{21}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{12}$ is continuous from $Y_1$ to $Y_1$ with respect to $S_1$ and $S_1$ by Lemma 165, Lemma 308.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $i_1(x) = j(x)$ by Axiom 6, Definition 1, Definition 147, Definition 303, Proposition 405, Proposition 406.
$h_{12}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y_1}{Y_2}$ and $h_{21}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y_2}{Y_1}$ and $h_{12}$ is a function and $h_{21}$ is a function by Definition 55, Definition 160, Proposition 356.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h_{12}(x) = j(x)$ by assumption.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(h_{21}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{12})(x) = h_{21}(h_{12}(x))$ by Definition 1, Definition 55, Definition 147, Definition 160, Definition 303, Proposition 356, Proposition 363, Proposition 373.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h_{21}(x) = j(x)$ by assumption.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(h_{21}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{12})(x) = j(x)$ by Axiom 6, Proposition 405, Proposition 406.
$i_1$ is continuous from $\closure{X}{Y_1}{S_1}$ to $Y_1$ with respect to $\subspaceTopology{S_1}{\closure{X}{Y_1}{S_1}}$ and $S_1$ and $h_{21}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{12}$ is continuous from $\closure{X}{Y_1}{S_1}$ to $Y_1$ with respect to $\subspaceTopology{S_1}{\closure{X}{Y_1}{S_1}}$ and $S_1$ by Axiom 6, Definition 303.

Claim: $h_{21}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{12} = i_1$.

$\subspaceTopology{S_2}{Y_2} = S_2$ by Axiom 12, Definition 1, Definition 101, Definition 146, Proposition 3, Proposition 70.

Let $i_2 = \identity{Y_2}$.
$i_2$ is continuous from $Y_2$ to $Y_2$ with respect to $S_2$ and $S_2$ and $h_{12}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{21}$ is continuous from $Y_2$ to $Y_2$ with respect to $S_2$ and $S_2$ by Lemma 165, Lemma 308.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $i_2(x) = j(x)$ by Axiom 6, Definition 1, Definition 147, Definition 303, Proposition 405, Proposition 406.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h_{21}(x) = j(x)$ by assumption.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(h_{12}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{21})(x) = h_{12}(h_{21}(x))$ by Definition 1, Definition 55, Definition 147, Definition 160, Definition 303, Proposition 356, Proposition 363, Proposition 373.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h_{12}(x) = j(x)$ by assumption.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(h_{12}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{21})(x) = j(x)$ by Axiom 6, Proposition 405, Proposition 406.
$i_2$ is continuous from $\closure{X}{Y_2}{S_2}$ to $Y_2$ with respect to $\subspaceTopology{S_2}{\closure{X}{Y_2}{S_2}}$ and $S_2$ and $h_{12}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{21}$ is continuous from $\closure{X}{Y_2}{S_2}$ to $Y_2$ with respect to $\subspaceTopology{S_2}{\closure{X}{Y_2}{S_2}}$ and $S_2$ by Axiom 6, Definition 303.

Claim: $h_{12}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h_{21} = i_2$.

For all $y_1,y_2$ such that $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h_{12}}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h_{12}}$ and $h_{12}(y_1) = h_{12}(y_2)$ we have $y_1 = y_2$ by Axiom 6, Definition 1, Definition 55, Definition 160, Proposition 356, Proposition 363, Proposition 373, Proposition 405, Proposition 406.
$h_{12}$ is injective by Proposition 386.

For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y_2$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\ran{h_{12}}$ by Axiom 6, Definition 1, Definition 55, Definition 160, Definition 160, Proposition 209, Proposition 348, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 405, Proposition 406.
$\ran{h_{12}} = Y_2$ by Definition 1, Definition 160, Proposition 3, Proposition 363.
$h_{12}\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{Y_1}{Y_2}$ by Definition 55, Definition 160, Corollary 8.

$h_{12}$ is a homeomorphism between $Y_1$ and $Y_2$ with respect to $S_1$ and $S_2$ by Definition 58, Proposition 386, Theorem 62.

For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h_{12}(x) = x$ by Axiom 6, Proposition 405, Proposition 406.

$Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$ by Definition 304.

LaTeX source
\begin{proof}
    We have $Y_1$ has the compact Hausdorff extension property over $X$ with respect to $S_1$ and $T$
        by \cref{bounded_real_property_implies_compact_hausdorff_property}.
    $Y_2$ has the compact Hausdorff extension property over $X$ with respect to $S_2$ and $T$
        by \cref{bounded_real_property_implies_compact_hausdorff_property}.
    $Y_1$ compactifies $X$ with respect to $S_1$ and $T$ and
        $Y_2$ compactifies $X$ with respect to $S_2$ and $T$
        by \cref{compact_hausdorff_extension_property}.
    $S_1$ is a topology on $Y_1$ and
        $X$ is a subspace of $Y_1$ with respect to $S_1$ and
        $Y_1$ is compact with respect to $S_1$ and
        $Y_1$ is Hausdorff with respect to $S_1$
        by \cref{compactifies}.
    $S_2$ is a topology on $Y_2$ and
        $X$ is a subspace of $Y_2$ with respect to $S_2$ and
        $Y_2$ is compact with respect to $S_2$ and
        $Y_2$ is Hausdorff with respect to $S_2$
        by \cref{compactifies}.

    Let $j = \identity{X}$.
    $j$ is continuous from $X$ to $Y_1$ with respect to $T$ and $S_1$
        and $j$ is continuous from $X$ to $Y_2$ with respect to $T$ and $S_2$
        by \cref{inclusion_continuous,compactifies,pair_eq_iff}.

    Take $h_{12}$ such that
        $h_{12}$ is continuous from $Y_1$ to $Y_2$ with respect to $S_1$ and $S_2$ and
        for all $x\in X$ we have $h_{12}(x) = j(x)$ and
        for all $h$ if
            $h$ is continuous from $Y_1$ to $Y_2$ with respect to $S_1$ and $S_2$ and
            for all $x\in X$ we have $h(x) = j(x)$
        then $h = h_{12}$
        by \cref{compact_hausdorff_extension_property}.
    Take $h_{21}$ such that
        $h_{21}$ is continuous from $Y_2$ to $Y_1$ with respect to $S_2$ and $S_1$ and
        for all $x\in X$ we have $h_{21}(x) = j(x)$ and
        for all $h$ if
            $h$ is continuous from $Y_2$ to $Y_1$ with respect to $S_2$ and $S_1$ and
            for all $x\in X$ we have $h(x) = j(x)$
        then $h = h_{21}$
        by \cref{compact_hausdorff_extension_property}.

    $\subspaceTopology{S_1}{Y_1} = S_1$
        by \cref{subspace_topology,topology_on,pow_iff,subseteq,inter_absorb_supseteq_left,subseteq_antisymmetric}.

    Let $i_1 = \identity{Y_1}$.
    $i_1$ is continuous from $Y_1$ to $Y_1$ with respect to $S_1$ and $S_1$
        and $h_{21}\circ h_{12}$ is continuous from $Y_1$ to $Y_1$ with respect to $S_1$ and $S_1$
        by \cref{identity_continuous,continuous_composite}.
    For all $x\in X$ we have $i_1(x) = j(x)$
        by \cref{compactifies,subspace_of,subseteq,id_apply,id_elem_funs,pair_eq_iff}.
    $h_{12}\in\funs{Y_1}{Y_2}$ and $h_{21}\in\funs{Y_2}{Y_1}$ and $h_{12}$ is a function and $h_{21}$ is a function
        by \cref{continuous,funs,funs_is_function}.
    For all $x\in X$ we have $h_{12}(x) = j(x)$ by assumption.
    For all $x\in X$ we have $(h_{21}\circ h_{12})(x) = h_{21}(h_{12}(x))$
        by \cref{circ_apply,continuous,funs,funs_is_function,funs_ran,compactifies,subspace_of,subseteq}.
    For all $x\in X$ we have $h_{21}(x) = j(x)$ by assumption.
    For all $x\in X$ we have $(h_{21}\circ h_{12})(x) = j(x)$ by \cref{pair_eq_iff,id_apply,id_elem_funs}.
    $i_1$ is continuous from $\closure{X}{Y_1}{S_1}$ to $Y_1$
        with respect to $\subspaceTopology{S_1}{\closure{X}{Y_1}{S_1}}$ and $S_1$
        and $h_{21}\circ h_{12}$ is continuous from $\closure{X}{Y_1}{S_1}$ to $Y_1$
        with respect to $\subspaceTopology{S_1}{\closure{X}{Y_1}{S_1}}$ and $S_1$
        by \cref{compactifies,pair_eq_iff}.
    Show that $h_{21}\circ h_{12} = i_1$.
    \begin{subproof}
        Follows by \cref{compactifies,subspace_of,extension_to_closure_unique,subseteq}.
    \end{subproof}

    $\subspaceTopology{S_2}{Y_2} = S_2$
        by \cref{subspace_topology,topology_on,pow_iff,subseteq,inter_absorb_supseteq_left,subseteq_antisymmetric}.

    Let $i_2 = \identity{Y_2}$.
    $i_2$ is continuous from $Y_2$ to $Y_2$ with respect to $S_2$ and $S_2$
        and $h_{12}\circ h_{21}$ is continuous from $Y_2$ to $Y_2$ with respect to $S_2$ and $S_2$
        by \cref{identity_continuous,continuous_composite}.
    For all $x\in X$ we have $i_2(x) = j(x)$
        by \cref{compactifies,subspace_of,subseteq,id_apply,id_elem_funs,pair_eq_iff}.
    For all $x\in X$ we have $h_{21}(x) = j(x)$ by assumption.
    For all $x\in X$ we have $(h_{12}\circ h_{21})(x) = h_{12}(h_{21}(x))$
        by \cref{circ_apply,continuous,funs,funs_is_function,funs_ran,compactifies,subspace_of,subseteq}.
    For all $x\in X$ we have $h_{12}(x) = j(x)$ by assumption.
    For all $x\in X$ we have $(h_{12}\circ h_{21})(x) = j(x)$ by \cref{pair_eq_iff,id_apply,id_elem_funs}.
    $i_2$ is continuous from $\closure{X}{Y_2}{S_2}$ to $Y_2$
        with respect to $\subspaceTopology{S_2}{\closure{X}{Y_2}{S_2}}$ and $S_2$
        and $h_{12}\circ h_{21}$ is continuous from $\closure{X}{Y_2}{S_2}$ to $Y_2$
        with respect to $\subspaceTopology{S_2}{\closure{X}{Y_2}{S_2}}$ and $S_2$
        by \cref{compactifies,pair_eq_iff}.
    Show that $h_{12}\circ h_{21} = i_2$.
    \begin{subproof}
        Follows by \cref{compactifies,subspace_of,extension_to_closure_unique,subseteq}.
    \end{subproof}

    For all $y_1,y_2$ such that $y_1\in\dom{h_{12}}$ and $y_2\in\dom{h_{12}}$ and $h_{12}(y_1) = h_{12}(y_2)$
        we have $y_1 = y_2$
        by \cref{circ_apply,continuous,funs,funs_is_function,funs_ran,pair_eq_iff,id_apply,id_elem_funs,subseteq}.
    $h_{12}$ is injective by \cref{injective_function}.

    For all $y$ such that $y\in Y_2$ we have $y\in\ran{h_{12}}$
        by \cref{continuous,funs_type_apply,continuous,funs,subseteq,circ_apply,pair_eq_iff,id_apply,id_elem_funs,function_apply_elim,funs_is_function,funs_ran,ran_intro}.
    $\ran{h_{12}} = Y_2$ by \cref{subseteq,funs_ran,continuous,subseteq_antisymmetric}.
    $h_{12}\in\surj{Y_1}{Y_2}$ by \cref{funs_surj_iff,continuous,funs}.

    $h_{12}$ is a homeomorphism between $Y_1$ and $Y_2$ with respect to $S_1$ and $S_2$
        by \cref{bijections,injective_function,compact_hausdorff_bijection_homeomorphism}.

    For all $x\in X$ we have $h_{12}(x) = x$ by \cref{id_apply,id_elem_funs,pair_eq_iff}.

    $Y_1$ is equivalent to $Y_2$ over $X$ with respect to $S_1$ and $S_2$ and $T$
        by \cref{compactification_equivalence_over_x}.
\end{proof}
Definition 307
stone_cech_compactification

$Y$ is a Stone-Cech compactification of $X$ with respect to $S$ and $T$ iff $Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$.

LaTeX source
\begin{definition}
\label{stone_cech_compactification}
    $Y$ is a Stone-Cech compactification of $X$ with respect to $S$ and $T$ iff
        $Y$ has the compact Hausdorff extension property over $X$ with respect to $S$ and $T$.
\end{definition}