Topology (Munkres)

§35 The Tietze Extension Theorem

Lemma 524
real_intervalclosed_closed_standard

Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $I = \intervalclosed{a}{b}$.
Then $I$ is closed in $\reals$ with respect to $\standardTopologyR$.

LaTeX source
\begin{lemma}
\label{real_intervalclosed_closed_standard}
    Suppose $a\in\reals$.
    Suppose $b\in\reals$.
    Suppose $a \leq b$.
    Let $I = \intervalclosed{a}{b}$.
    Then $I$ is closed in $\reals$ with respect to $\standardTopologyR$.
\end{lemma}
Proof

Follows by Definition 1, Definition 75, Definition 118, Lemma 76, Lemma 93, Lemma 198, Lemma 200, Lemma 365, Lemma 395, Theorem 60.

LaTeX source
\begin{proof}
    Follows by \cref{real_intervalclosed_compact_standard,intervalclosed,subseteq,standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,compact_subspace_closed}.
\end{proof}
Lemma 525
continuous_interval_expand_range

Assume $I = \intervalclosed{a}{b}$.
Assume $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Assume $f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
Let $j = \identity{I}$.
Then $j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.

LaTeX source
\begin{lemma}
\label{continuous_interval_expand_range}
    Assume $I = \intervalclosed{a}{b}$.
    Assume $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Assume $f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
    Let $j = \identity{I}$.
    Then $j\circ f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
\end{lemma}
Proof

Follows by Definition 1, Definition 75, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 168.

LaTeX source
\begin{proof}
    Follows by \cref{intervalclosed,subseteq,subspace_of,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,continuous_expand_range}.
\end{proof}
Lemma 526
tietze_interval_double_step_width_leq_error

Assume $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Let $r = (1 + 1) / (n + 1)$.
Let $e = (1 + 1) / ((n + 1) + 1)$.
Let $d = r - e$.
Then $d + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$.

LaTeX source
\begin{lemma}
\label{tietze_interval_double_step_width_leq_error}
    Assume $n\in\naturalsPlus$.
    Let $r = (1 + 1) / (n + 1)$.
    Let $e = (1 + 1) / ((n + 1) + 1)$.
    Let $d = r - e$.
    Then $d + d \leq e$.
\end{lemma}
Proof

$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17, Axiom 41, Axiom 42, Axiom 45, Definition 1.
$0 < n$ and $0 < n + 1$ and $0 < ((n + 1) + 1)$ by Axiom 45, Definition 1, Lemma 89.
Hence $n + 1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $((n + 1) + 1) \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
We have $\inv{(n + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\inv{((n + 1) + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22.
Hence $0 < \inv{(n + 1)}$ and $0 < \inv{((n + 1) + 1)}$ by Proposition 463.
Let $c = \inv{(n + 1)} \rmul \inv{((n + 1) + 1)}$.
$c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < c$ by Axiom 14, Proposition 454.
$1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1$ by Axiom 13, Axiom 21, Proposition 448, Proposition 462.
Let $u = (1 + 1) \rmul c$.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < u$ by Axiom 14, Proposition 454.
Thus $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Definition 65.

$((n + 1) \rmul c) = ((n + 1) \rmul \inv{(n + 1)}) \rmul \inv{((n + 1) + 1)}$ by Axiom 19.
Hence $(n + 1) \rmul c = 1 \rmul \inv{((n + 1) + 1)}$ by Axiom 22.
We have $(n + 1) \rmul c = \inv{((n + 1) + 1)}$ by Axiom 21.
Therefore $(n + 1) \rmul c = 1 / ((n + 1) + 1)$ by Axiom 21, Definition 65.
$((n + 1) \rmul u) = ((n + 1) \rmul c) \rmul (1 + 1)$ by Axiom 19, Axiom 20, Lemma 280.
$(n + 1) \rmul u = (1 / ((n + 1) + 1)) \rmul (1 + 1)$ by Lemma 280.
Hence $(n + 1) \rmul u = e$ by Axiom 20, Definition 65.

$(((n + 1) + 1) \rmul c) = (((n + 1) + 1) \rmul \inv{((n + 1) + 1)}) \rmul \inv{(n + 1)}$ by Axiom 19, Axiom 20.
Hence $((n + 1) + 1) \rmul c = 1 \rmul \inv{(n + 1)}$ by Axiom 22.
We have $((n + 1) + 1) \rmul c = \inv{(n + 1)}$ by Axiom 21.
Therefore $((n + 1) + 1) \rmul c = 1 / (n + 1)$ by Axiom 21, Definition 65.
$(((n + 1) + 1) \rmul u) = (((n + 1) + 1) \rmul c) \rmul (1 + 1)$ by Axiom 19, Axiom 20, Lemma 280.
$((n + 1) + 1) \rmul u = (1 / (n + 1)) \rmul (1 + 1)$ by Lemma 280.
Hence $((n + 1) + 1) \rmul u = r$ by Axiom 20, Definition 65.

$(((n + 1) + 1) \rmul u) = ((n + 1) \rmul u) + (1 \rmul u)$ by Lemma 9.
Hence $r = e + u$ by Axiom 21, Lemma 280.
We have $d = u$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Proposition 437.

We have $1 + 1 < n + 1$ or $1 + 1 = n + 1$ by Axiom 43, Lemma 24, Lemma 81.
Hence $(1 + 1) \rmul u = u + u$ by Axiom 21, Lemma 9, Proposition 437.
Therefore $d + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ by Axiom 38, Definition 1, Lemma 82, Lemma 83, Lemma 231, Lemma 280, Proposition 437.

LaTeX source
\begin{proof}
    $n + 1\in\naturalsPlus$ and $((n + 1) + 1)\in\naturalsPlus$
        by \cref{real_naturals_closed_succ}.
    $0\in\reals$ and $1\in\reals$ and $n\in\reals$ and $(n + 1)\in\reals$ and $((n + 1) + 1)\in\reals$
        by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_naturals_closed_succ}.
    $0 < n$ and $0 < n + 1$ and $0 < ((n + 1) + 1)$
        by \cref{naturalsplus_positive_real,real_naturals_closed_succ,subseteq}.
    Hence $n + 1 \neq 0$ and $((n + 1) + 1) \neq 0$ by \cref{real_pos_nonzero}.
    We have $\inv{(n + 1)}\in\reals$ and $\inv{((n + 1) + 1)}\in\reals$
        by \cref{real_mul_inverse}.
    Hence $0 < \inv{(n + 1)}$ and $0 < \inv{((n + 1) + 1)}$ by \cref{real_inv_pos}.
    Let $c = \inv{(n + 1)} \rmul \inv{((n + 1) + 1)}$.
    $c\in\reals$ and $0 < c$ by \cref{real_mul_closed,real_mul_pos_pos_gt}.
    $1 + 1\in\reals$ and $0 < 1 + 1$
        by \cref{real_add_closed,real_zero_lt_one,real_pos_add,real_mul_ident}.
    Let $u = (1 + 1) \rmul c$.
    $u\in\reals$ and $0 < u$ by \cref{real_mul_closed,real_mul_pos_pos_gt}.
    Thus $e\in\reals$ by \cref{real_div,real_mul_closed}.

    $((n + 1) \rmul c) = ((n + 1) \rmul \inv{(n + 1)}) \rmul \inv{((n + 1) + 1)}$
        by \cref{real_mul_assoc}.
    Hence $(n + 1) \rmul c = 1 \rmul \inv{((n + 1) + 1)}$ by \cref{real_mul_inverse}.
    We have $(n + 1) \rmul c = \inv{((n + 1) + 1)}$ by \cref{real_mul_ident}.
    Therefore $(n + 1) \rmul c = 1 / ((n + 1) + 1)$ by \cref{real_div,real_mul_ident}.
    $((n + 1) \rmul u) = ((n + 1) \rmul c) \rmul (1 + 1)$
        by \cref{real_mul_assoc,real_mul_comm,real_mul_eq_subst}.
    $(n + 1) \rmul u = (1 / ((n + 1) + 1)) \rmul (1 + 1)$ by \cref{real_mul_eq_subst}.
    Hence $(n + 1) \rmul u = e$ by \cref{real_mul_comm,real_div}.

    $(((n + 1) + 1) \rmul c) = (((n + 1) + 1) \rmul \inv{((n + 1) + 1)}) \rmul \inv{(n + 1)}$
        by \cref{real_mul_assoc,real_mul_comm}.
    Hence $((n + 1) + 1) \rmul c = 1 \rmul \inv{(n + 1)}$ by \cref{real_mul_inverse}.
    We have $((n + 1) + 1) \rmul c = \inv{(n + 1)}$ by \cref{real_mul_ident}.
    Therefore $((n + 1) + 1) \rmul c = 1 / (n + 1)$ by \cref{real_div,real_mul_ident}.
    $(((n + 1) + 1) \rmul u) = (((n + 1) + 1) \rmul c) \rmul (1 + 1)$
        by \cref{real_mul_assoc,real_mul_comm,real_mul_eq_subst}.
    $((n + 1) + 1) \rmul u = (1 / (n + 1)) \rmul (1 + 1)$ by \cref{real_mul_eq_subst}.
    Hence $((n + 1) + 1) \rmul u = r$ by \cref{real_mul_comm,real_div}.

    $(((n + 1) + 1) \rmul u) = ((n + 1) \rmul u) + (1 \rmul u)$ by \cref{real_right_distrib}.
    Hence $r = e + u$ by \cref{real_mul_eq_subst,real_mul_ident}.
    We have $d = u$
        by \cref{real_sub,real_add_eq_subst,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident}.

    We have $1 + 1 < n + 1$ or $1 + 1 = n + 1$
        by \cref{real_one_leq_naturalsplus,real_leq_add,real_leq_split}.
    Hence $(1 + 1) \rmul u = u + u$ by \cref{real_right_distrib,real_mul_ident,real_add_eq_subst}.
    Therefore $d + d \leq e$
        by \cref{real_lt_mul_pos,real_mul_eq_subst,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst,real_lt_imp_leq,subseteq}.
\end{proof}
Lemma 527
tietze_interval_approximation_step

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Let $r = (1 + 1) / (n + 1)$.
Let $e = (1 + 1) / ((n + 1) + 1)$.
Let $d = r - e$.
Let $I = \intervalclosed{\neg{r}}{r}$.
Let $J = \intervalclosed{\neg{d}}{d}$.
Let $K = \intervalclosed{\neg{e}}{e}$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
Then there exists $g$ such that $g$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(a) - g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.

LaTeX source
\begin{lemma}
\label{tietze_interval_approximation_step}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Assume $n\in\naturalsPlus$.
    Let $r = (1 + 1) / (n + 1)$.
    Let $e = (1 + 1) / ((n + 1) + 1)$.
    Let $d = r - e$.
    Let $I = \intervalclosed{\neg{r}}{r}$.
    Let $J = \intervalclosed{\neg{d}}{d}$.
    Let $K = \intervalclosed{\neg{e}}{e}$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
    Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
    Then there exists $g$ such that
        $g$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and
        for all $a\in A$ we have $f(a) - g(a)\in K$.
\end{lemma}
Proof

$T$ is a topology on $X$ by Definition 277.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17, Axiom 41, Axiom 42, Axiom 45, Definition 1.
$0 < n$ and $0 < n + 1$ and $0 < ((n + 1) + 1)$ by Axiom 45, Definition 1, Lemma 89.
Hence $n + 1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $((n + 1) + 1) \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
$\inv{(n + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\inv{((n + 1) + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22.
Hence $0 < \inv{(n + 1)}$ and $0 < \inv{((n + 1) + 1)}$ by Proposition 463.
$1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1$ by Axiom 13, Axiom 21, Proposition 448, Proposition 462.
$1 / (n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / ((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Definition 65.
Thus $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Definition 65.

We have $1 / ((n + 1) + 1) < 1 / (n + 1)$ by Lemma 258.
$(1 / ((n + 1) + 1)) \rmul (1 + 1) < (1 / (n + 1)) \rmul (1 + 1)$ by Axiom 38.
$(1 / ((n + 1) + 1)) \rmul (1 + 1) = (1 \rmul \inv{((n + 1) + 1)}) \rmul (1 + 1)$ by Definition 65.
Thus $(1 / ((n + 1) + 1)) \rmul (1 + 1) = (1 + 1) \rmul \inv{((n + 1) + 1)}$ by Axiom 19, Axiom 20, Axiom 21.
Therefore $(1 / ((n + 1) + 1)) \rmul (1 + 1) = e$ by Definition 65.
$(1 / (n + 1)) \rmul (1 + 1) = (1 \rmul \inv{(n + 1)}) \rmul (1 + 1)$ by Definition 65.
Hence $(1 / (n + 1)) \rmul (1 + 1) = (1 + 1) \rmul \inv{(n + 1)}$ by Axiom 19, Axiom 20, Axiom 21.
Therefore $(1 / (n + 1)) \rmul (1 + 1) = r$ by Definition 65.
Hence $e < r$ by Lemma 82, Lemma 83.
We have $d$ is positive by Lemma 26.
$\neg{e}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
We have $d \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
We have $e$ is positive by Axiom 38, Definition 65, Lemma 82, Proposition 439.
Therefore $0 < r$ by Axiom 36.
We have $d < r$ by Lemma 27.
We have $d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$ by Lemma 231.
Hence $\neg{r} < \neg{d}$ by Proposition 465.
$\neg{r} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{d}$ by Lemma 231.
We have $\neg{d}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
We have $\neg{d} < 0$ by Lemma 83, Lemma 84, Proposition 465.
Thus $\neg{d} < r$ by Axiom 36.
We have $\neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$ by Lemma 231.
We have $\neg{r} < 0$ by Lemma 83, Lemma 84, Proposition 465.
Thus $\neg{r} < d$ by Axiom 36.
We have $\neg{r} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ by Lemma 231.
Hence $I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $K\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and $J$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 118, Definition 147, Lemma 76, Lemma 93.

Let $I_1 = \intervalclosed{\neg{r}}{\neg{d}}$.
Let $I_3 = \intervalclosed{d}{r}$.
$I_1$ is closed in $\reals$ with respect to $\standardTopologyR$ and $I_3$ is closed in $\reals$ with respect to $\standardTopologyR$ by Lemma 524.

$I_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Definition 75, Lemma 23.

$I_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Definition 75, Lemma 23.

$I_1$ is closed in $I$ with respect to $T_I$ and $I_3$ is closed in $I$ with respect to $T_I$ by Definition 1, Definition 147, Proposition 69, Theorem 8.

Let $B = \preimg{f}{I_1}$.
Let $C = \preimg{f}{I_3}$.
Let $D_1 = I\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} I_1$.
Let $D_3 = I\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} I_3$.
$D_1$ is open in $I$ with respect to $T_I$ and $D_3$ is open in $I$ with respect to $T_I$ by Definition 149.
Hence $\preimg{f}{D_1}$ is open in $A$ with respect to $T_A$ and $\preimg{f}{D_3}$ is open in $A$ with respect to $T_A$ by Definition 160.
$\preimg{f}{D_1} = A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $\preimg{f}{D_3} = A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} C$ by Definition 149, Definition 160, Lemma 157, Proposition 97.
Hence $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ and $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 55, Definition 160, Proposition 249.
Thus $B = A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{D_1}$ and $C = A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \preimg{f}{D_3}$ by Definition 1, Proposition 70, Proposition 91.
Thus $B$ is closed in $A$ with respect to $T_A$ and $C$ is closed in $A$ with respect to $T_A$ by Definition 149.
Therefore $B$ is closed in $X$ with respect to $T$ and $C$ is closed in $X$ with respect to $T$ by Definition 149, Definition 277, Theorem 9.

Claim: $B$ is disjoint from $C$.

Suppose not.
Take $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $a\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 3.
Hence $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1.
Thus $f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1$ and $f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ by Definition 55, Definition 160, Proposition 246, Proposition 349, Proposition 356.
Hence $d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a)$ and $f(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{d}$ by Definition 75, Lemma 23.
Hence $f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 75.
We have $d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{d}$ by Lemma 23.
Thus $d < \neg{d}$ or $d = \neg{d}$ by Lemma 81.
Hence $d < 0$ by Axiom 36, Lemma 83.
Contradiction by Axiom 36, Axiom 39.

Hence $\neg{d} < d$ by Axiom 36, Lemma 82, Lemma 84, Proposition 465.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Take $u$ such that $u$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and $\img{u}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{u}{C}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ by Lemma 510.
Let $c = d + d$.
Let $j = \identity{I_0}$.
Let $u_1 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} u$.
$u_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Definition 118, Lemma 76, Lemma 93, Lemma 525.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ and $u$ is a function by Definition 160, Proposition 356.
Hence $u$ is right-unique and $u$ is a relation and $\dom{u} = X$ by Proposition 345, Proposition 355, Proposition 359.
Therefore $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{X}{I_0}$ by Definition 1, Proposition 357.
We have $\ran{u}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$ by Proposition 284.
We have $\dom{j} = I_0$ by Proposition 297.
Hence $\ran{u}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{j}$.
$j$ is right-unique and $j$ is a relation by Proposition 296, Proposition 400.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $u_1(x) = u(x)$ by Proposition 359, Proposition 373, Proposition 405.
Let $k = \{(x,\neg{d}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $h = \{(x,c) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
We have $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c$ is positive by Axiom 13, Proposition 448.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$k$ is a function from $X$ to $\reals$ and $h$ is a function from $X$ to $\reals$ by Lemma 309.
Hence for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $k(x) = \neg{d}$ and $h(x) = c$ by Lemma 309, Proposition 346, Proposition 356.
$k$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 163.
Let $m = \{(x, h(x) \rmul u_1(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $g = \{(x, k(x) + m(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 34.
$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 32.
$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $m$ is a function and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $g$ is a function by Definition 160, Proposition 356.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $u_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Proposition 359, Proposition 373, Proposition 405.
Hence $u_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 75.
We have $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u_1(x)$ and $u_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 75.
Thus $(x, h(x) \rmul u_1(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} m$.
Hence $m(x) = c \rmul u_1(x)$ by Proposition 349.
$u_1(x) = 0$ or $0 < u_1(x)$ by Axiom 34.
Hence $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c \rmul u_1(x)$ by Axiom 20, Lemma 26, Lemma 231, Proposition 439, Proposition 454.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m(x)$.
$u_1(x) = 1$ or $u_1(x) < 1$ by Axiom 34.
Hence $c \rmul u_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$ by Axiom 20, Axiom 21, Axiom 38, Axiom 41, Axiom 42, Definition 1, Lemma 26.
$m(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.
We have $m(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
Thus $(x, k(x) + m(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} g$.
Hence $g(x) = m(x) + \neg{d}$ by Axiom 16, Proposition 349, Proposition 437.
We have $m(x) + \neg{d}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m(x) + \neg{d}$ by Axiom 13, Lemma 24.
Hence $\neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m(x) + \neg{d}$ by Axiom 17.
Hence $c + \neg{d} = d$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Proposition 437.
Hence $m(x) + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c + \neg{d}$ by Lemma 24.
Therefore $m(x) + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ by Lemma 23.
Hence $m(x) + \neg{d}\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 75.
$g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Proposition 346.

Hence $\img{g}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Definition 1, Definition 160, Proposition 235, Proposition 349, Proposition 356.

Claim: $g$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$.

Follows by Lemma 167.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 149.
Hence $u(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{u}{B}$ by Definition 160, Proposition 235, Proposition 348, Proposition 359.
$u(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0\}$ by Definition 1.
Thus $u(x) = 0$ by Proposition 21.
Hence $u_1(x) = u(x)$ by Proposition 359, Proposition 373, Proposition 405.
$u_1(x) = 0$.
Therefore $(x, h(x) \rmul u_1(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} m$.
Hence $m(x) = c \rmul 0$ by Proposition 349.
$m(x) = 0$ by Axiom 20, Proposition 439.
Therefore $(x, k(x) + m(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} g$.
Hence $g(x) = \neg{d} + 0$ by Proposition 349.
$g(x) = \neg{d}$ by Axiom 16, Axiom 17.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 149.
Hence $u(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{u}{C}$ by Definition 160, Proposition 235, Proposition 348, Proposition 359.
$u(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}$ by Definition 1.
Thus $u(x) = 1$ by Proposition 21.
Hence $u_1(x) = u(x)$ by Proposition 359, Proposition 373, Proposition 405.
$u_1(x) = 1$.
Therefore $(x, h(x) \rmul u_1(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} m$.
Hence $m(x) = c \rmul 1$ by Proposition 349.
$m(x) = c$ by Axiom 20, Axiom 21.
Therefore $(x, k(x) + m(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} g$.
Hence $g(x) = \neg{d} + c$ by Proposition 349.
$g(x) = c + \neg{d}$ by Axiom 16.
Hence $c + \neg{d} = d$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Proposition 437.
Hence $g(x) = d$.

We have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{J}$ and $g$ is a function and $\dom{g} = X$ by Definition 55, Definition 160, Proposition 356.
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{I}$ and $f$ is a function and $\dom{f} = A$ by Definition 55, Definition 160, Proposition 356.

Claim: For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(a) - g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.

Fix $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Hence $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 149.
$f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Proposition 361.
$f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 75.
Thus $f(a) - g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.

Case. $a\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.

We have $g(a) = \neg{d}$.
$f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1$ by Proposition 246, Proposition 349.
Thus $\neg{r} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a)$ and $f(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{d}$ by Definition 75.
Hence $\neg{r} + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) + d$ and $f(a) + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{d} + d$ by Lemma 24.
$f(a) - g(a) = f(a) + d$ by Definition 64, Proposition 437, Proposition 441.
$\neg{r} + d = d + \neg{r}$ by Axiom 16.
We have $d + \neg{r} = d - r$ by Definition 64.
Hence $d - r = \neg{e}$ by Lemma 13, Lemma 14, Proposition 437, Proposition 441.
Hence $\neg{e} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) - g(a)$ by Axiom 16, Axiom 17, Axiom 18, Lemma 23, Lemma 24, Proposition 437.
$\neg{d} + d = 0$ by Axiom 16, Axiom 18.
Hence $f(a) - g(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 0$ by Axiom 17, Lemma 24, Proposition 437.
We have $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ by Lemma 83, Lemma 231.
Hence $f(a) - g(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ by Lemma 23.
Hence $f(a) - g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 75.

Case. $a\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.

We have $g(a) = d$.
$f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ by Proposition 246, Proposition 349.
Thus $d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a)$ and $f(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$ by Definition 75.
Hence $d + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) + \neg{d}$ and $f(a) + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r + \neg{d}$ by Lemma 24.
$f(a) - g(a) = f(a) + \neg{d}$ by Definition 64, Proposition 437.
$d + \neg{d} = 0$ by Axiom 16, Axiom 18.
Hence $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) - g(a)$ by Axiom 17, Proposition 437.
We have $\neg{e} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 0$ by Lemma 83, Lemma 84, Lemma 231, Proposition 465.
Hence $\neg{e} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) - g(a)$ by Lemma 23.
We have $r + \neg{d} = r - d$ by Definition 64.
Hence $f(a) - g(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ by Lemma 13, Lemma 23, Proposition 437.
Hence $f(a) - g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 75.

Case. $a\class{latex-symbol-tip latex-symbol-id-notin}{\notin} B$ and $a\class{latex-symbol-tip latex-symbol-id-notin}{\notin} C$.

Hence $f(a) < d$ by Axiom 34, Definition 75, Lemma 231, Proposition 246, Proposition 348.
We have $\neg{d} < f(a)$ by Axiom 34, Definition 75, Lemma 231, Proposition 246, Proposition 348.
Hence $\neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a)$ and $f(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ by Lemma 231.
$\neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(a)$ and $g(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ by Definition 75.
We have $\neg{(g(a))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
Hence $\neg{(g(a))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ by Lemma 22, Lemma 231, Proposition 441.
Thus $\neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(g(a))}$ by Lemma 22, Proposition 441.
Hence $f(a) + \neg{(g(a))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d + \neg{(g(a))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{d} + \neg{(g(a))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d + d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{d} + \neg{d}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Hence $f(a) + \neg{(g(a))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d + \neg{(g(a))}$ and $\neg{d} + \neg{(g(a))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) + \neg{(g(a))}$ by Lemma 24.
$d + \neg{(g(a))} = \neg{(g(a))} + d$ and $\neg{(g(a))} + \neg{d} = \neg{d} + \neg{(g(a))}$ by Axiom 16.
We have $\neg{(g(a))} + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d + d$ by Lemma 24.
Hence $\neg{d} + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(g(a))} + \neg{d}$ by Lemma 24.
Therefore $d + \neg{(g(a))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d + d$ and $\neg{d} + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{d} + \neg{(g(a))}$ by Lemma 23.
Hence $f(a) + \neg{(g(a))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d + d$ by Lemma 23.
Hence $\neg{d} + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) + \neg{(g(a))}$ by Lemma 23.
We have $d + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ by Lemma 526.
Hence $f(a) + \neg{(g(a))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ by Lemma 23.
$\neg{(d + d)} = \neg{d} + \neg{d}$ by Lemma 12.
We have $\neg{e} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(d + d)}$ by Lemma 22.
Hence $\neg{e} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{d} + \neg{d}$ by Proposition 437.
Thus $\neg{e} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(a) + \neg{(g(a))}$ by Lemma 23.
Hence $f(a) - g(a) = f(a) + \neg{(g(a))}$ by Definition 64.
Therefore $f(a) - g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 75, Lemma 23, Proposition 437.

LaTeX source
\begin{byCase}
        \caseOf{$a\in B$.}
            We have $g(a) = \neg{d}$.
            $f(a)\in I_1$ by \cref{preimg_iff,function_apply_iff}.
            Thus $\neg{r} \leq f(a)$ and $f(a) \leq \neg{d}$ by \cref{intervalclosed}.
        Hence $\neg{r} + d \leq f(a) + d$ and $f(a) + d \leq \neg{d} + d$
            by \cref{real_leq_add}.
        $f(a) - g(a) = f(a) + d$ by \cref{real_sub,real_neg_neg,real_add_eq_subst}.
        $\neg{r} + d = d + \neg{r}$ by \cref{real_add_comm}.
        We have $d + \neg{r} = d - r$ by \cref{real_sub}.
        Hence $d - r = \neg{e}$ by \cref{real_sub_sub_cancel,real_sub_swap_neg,real_neg_neg,real_add_eq_subst}.
        Hence $\neg{e} \leq f(a) - g(a)$ by \cref{real_leq_trans,real_leq_add,real_add_inverse,real_add_comm,real_add_ident,real_add_eq_subst}.
        $\neg{d} + d = 0$ by \cref{real_add_inverse,real_add_comm}.
        Hence $f(a) - g(a) \leq 0$ by \cref{real_leq_add,real_add_eq_subst,real_add_ident}.
            We have $0 \leq e$ by \cref{real_lt_imp_leq,real_lt_subst_right}.
            Hence $f(a) - g(a) \leq e$ by \cref{real_leq_trans}.
            Hence $f(a) - g(a)\in K$ by \cref{intervalclosed}.
        \caseOf{$a\in C$.}
            We have $g(a) = d$.
            $f(a)\in I_3$ by \cref{preimg_iff,function_apply_iff}.
            Thus $d \leq f(a)$ and $f(a) \leq r$ by \cref{intervalclosed}.
        Hence $d + \neg{d} \leq f(a) + \neg{d}$ and $f(a) + \neg{d} \leq r + \neg{d}$
            by \cref{real_leq_add}.
        $f(a) - g(a) = f(a) + \neg{d}$ by \cref{real_sub,real_add_eq_subst}.
        $d + \neg{d} = 0$ by \cref{real_add_inverse,real_add_comm}.
        Hence $0 \leq f(a) - g(a)$ by \cref{real_add_eq_subst,real_add_ident}.
        We have $\neg{e} \leq 0$ by \cref{real_lt_imp_leq,real_lt_neg,real_neg_zero,real_lt_subst_right}.
        Hence $\neg{e} \leq f(a) - g(a)$ by \cref{real_leq_trans}.
        We have $r + \neg{d} = r - d$ by \cref{real_sub}.
        Hence $f(a) - g(a) \leq e$ by \cref{real_sub_sub_cancel,real_leq_trans,real_add_eq_subst}.
        Hence $f(a) - g(a)\in K$ by \cref{intervalclosed}.
        \caseOf{$a\notin B$ and $a\notin C$.}
            Hence $f(a) < d$ by \cref{intervalclosed,preimg_iff,function_apply_elim,real_lt_trichotomy,real_lt_imp_leq}.
            We have $\neg{d} < f(a)$ by \cref{intervalclosed,preimg_iff,function_apply_elim,real_lt_trichotomy,real_lt_imp_leq}.
            Hence $\neg{d} \leq f(a)$ and $f(a) \leq d$ by \cref{real_lt_imp_leq}.
            $\neg{d} \leq g(a)$ and $g(a) \leq d$ by \cref{intervalclosed}.
            We have $\neg{(g(a))}\in\reals$ by \cref{real_add_inverse}.
            Hence $\neg{(g(a))} \leq d$ by \cref{real_leq_neg,real_neg_neg,real_lt_imp_leq}.
            Thus $\neg{d} \leq \neg{(g(a))}$ by \cref{real_leq_neg,real_neg_neg}.
            Hence $f(a) + \neg{(g(a))}\in\reals$ and $d + \neg{(g(a))}\in\reals$ and
                $\neg{d} + \neg{(g(a))}\in\reals$ and $d + d\in\reals$ and $\neg{d} + \neg{d}\in\reals$
                by \cref{real_add_closed}.
            Hence $f(a) + \neg{(g(a))} \leq d + \neg{(g(a))}$ and
                $\neg{d} + \neg{(g(a))} \leq f(a) + \neg{(g(a))}$ by \cref{real_leq_add}.
            $d + \neg{(g(a))} = \neg{(g(a))} + d$ and
                $\neg{(g(a))} + \neg{d} = \neg{d} + \neg{(g(a))}$ by \cref{real_add_comm}.
            We have $\neg{(g(a))} + d \leq d + d$ by \cref{real_leq_add}.
            Hence $\neg{d} + \neg{d} \leq \neg{(g(a))} + \neg{d}$ by \cref{real_leq_add}.
            Therefore $d + \neg{(g(a))} \leq d + d$ and
                $\neg{d} + \neg{d} \leq \neg{d} + \neg{(g(a))}$ by \cref{real_leq_trans}.
            Hence $f(a) + \neg{(g(a))} \leq d + d$ by \cref{real_leq_trans}.
            Hence $\neg{d} + \neg{d} \leq f(a) + \neg{(g(a))}$ by \cref{real_leq_trans}.
            We have $d + d \leq e$ by \cref{tietze_interval_double_step_width_leq_error}.
            Hence $f(a) + \neg{(g(a))} \leq e$ by \cref{real_leq_trans}.
            $\neg{(d + d)} = \neg{d} + \neg{d}$ by \cref{real_neg_addition}.
            We have $\neg{e} \leq \neg{(d + d)}$ by \cref{real_leq_neg}.
            Hence $\neg{e} \leq \neg{d} + \neg{d}$ by \cref{real_add_eq_subst}.
            Thus $\neg{e} \leq f(a) + \neg{(g(a))}$ by \cref{real_leq_trans}.
            Hence $f(a) - g(a) = f(a) + \neg{(g(a))}$ by \cref{real_sub}.
            Therefore $f(a) - g(a)\in K$ by \cref{intervalclosed,real_leq_trans,real_add_eq_subst}.
        
\end{byCase}

Take $h_0$ such that $h_0 = g$.
Follows by Axiom 6.

LaTeX source
\begin{proof}
    $T$ is a topology on $X$ by \cref{normal_space}.
    $n + 1\in\naturalsPlus$ and $((n + 1) + 1)\in\naturalsPlus$
        by \cref{real_naturals_closed_succ}.
    $0\in\reals$ and $1\in\reals$ and $n\in\reals$ and $(n + 1)\in\reals$ and $((n + 1) + 1)\in\reals$
        by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_naturals_closed_succ}.
    $0 < n$ and $0 < n + 1$ and $0 < ((n + 1) + 1)$
        by \cref{naturalsplus_positive_real,real_naturals_closed_succ,subseteq}.
    Hence $n + 1 \neq 0$ and $((n + 1) + 1) \neq 0$ by \cref{real_pos_nonzero}.
    $\inv{(n + 1)}\in\reals$ and $\inv{((n + 1) + 1)}\in\reals$
        by \cref{real_mul_inverse}.
    Hence $0 < \inv{(n + 1)}$ and $0 < \inv{((n + 1) + 1)}$ by \cref{real_inv_pos}.
    $1 + 1\in\reals$ and $0 < 1 + 1$
        by \cref{real_add_closed,real_zero_lt_one,real_pos_add,real_mul_ident}.
    $1 / (n + 1)\in\reals$ and $1 / ((n + 1) + 1)\in\reals$
        by \cref{real_div,real_mul_closed}.
    Thus $r\in\reals$ and $e\in\reals$ by \cref{real_div,real_mul_closed}.

    We have $1 / ((n + 1) + 1) < 1 / (n + 1)$ by \cref{naturalsplus_reciprocal_step}.
    $(1 / ((n + 1) + 1)) \rmul (1 + 1) < (1 / (n + 1)) \rmul (1 + 1)$
        by \cref{real_lt_mul_pos}.
    $(1 / ((n + 1) + 1)) \rmul (1 + 1) = (1 \rmul \inv{((n + 1) + 1)}) \rmul (1 + 1)$
        by \cref{real_div}.
    Thus $(1 / ((n + 1) + 1)) \rmul (1 + 1) = (1 + 1) \rmul \inv{((n + 1) + 1)}$
        by \cref{real_mul_assoc,real_mul_comm,real_mul_ident}.
    Therefore $(1 / ((n + 1) + 1)) \rmul (1 + 1) = e$ by \cref{real_div}.
    $(1 / (n + 1)) \rmul (1 + 1) = (1 \rmul \inv{(n + 1)}) \rmul (1 + 1)$ by \cref{real_div}.
    Hence $(1 / (n + 1)) \rmul (1 + 1) = (1 + 1) \rmul \inv{(n + 1)}$
        by \cref{real_mul_assoc,real_mul_comm,real_mul_ident}.
    Therefore $(1 / (n + 1)) \rmul (1 + 1) = r$ by \cref{real_div}.
    Hence $e < r$ by \cref{real_lt_subst_left,real_lt_subst_right}.
    We have $d$ is positive by \cref{real_lt_imp_pos_diff}.
    $\neg{e}\in\reals$ by \cref{real_add_inverse}.
    $d\in\reals$ by \cref{real_sub,real_add_closed}.
    We have $d \neq 0$ by \cref{real_pos_nonzero}.
    We have $e$ is positive by \cref{real_div,real_mul_zero,real_lt_mul_pos,real_lt_subst_left}.
    Therefore $0 < r$ by \cref{real_lt_trans}.
    We have $d < r$ by \cref{real_sub_pos_lt}.
    We have $d \leq r$ by \cref{real_lt_imp_leq}.
    Hence $\neg{r} < \neg{d}$ by \cref{real_lt_neg}.
    $\neg{r} \leq \neg{d}$ by \cref{real_lt_imp_leq}.
    We have $\neg{d}\in\reals$ and $\neg{r}\in\reals$ by \cref{real_add_inverse}.
    We have $\neg{d} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
    Thus $\neg{d} < r$ by \cref{real_lt_trans}.
    We have $\neg{d} \leq r$ by \cref{real_lt_imp_leq}.
    We have $\neg{r} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
    Thus $\neg{r} < d$ by \cref{real_lt_trans}.
    We have $\neg{r} \leq d$ by \cref{real_lt_imp_leq}.
    Hence $I\subseteq\reals$ and $J\subseteq\reals$ and $K\subseteq\reals$ by \cref{intervalclosed,subseteq}.
    Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ and
        $J$ is a subspace of $\reals$ with respect to $\standardTopologyR$
        by \cref{subspace_of,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.

    Let $I_1 = \intervalclosed{\neg{r}}{\neg{d}}$.
    Let $I_3 = \intervalclosed{d}{r}$.
    $I_1$ is closed in $\reals$ with respect to $\standardTopologyR$ and
        $I_3$ is closed in $\reals$ with respect to $\standardTopologyR$
        by \cref{real_intervalclosed_closed_standard}.

    $I_1\subseteq I$ by \cref{intervalclosed,real_leq_trans,subseteq}.

    $I_3\subseteq I$ by \cref{intervalclosed,real_leq_trans,subseteq}.

    $I_1$ is closed in $I$ with respect to $T_I$ and
        $I_3$ is closed in $I$ with respect to $T_I$
        by \cref{inter_absorb_supseteq_right,subseteq,closed_in_subspace_iff,subspace_of}.

    Let $B = \preimg{f}{I_1}$.
    Let $C = \preimg{f}{I_3}$.
    Let $D_1 = I\setminus I_1$.
    Let $D_3 = I\setminus I_3$.
    $D_1$ is open in $I$ with respect to $T_I$ and $D_3$ is open in $I$ with respect to $T_I$
        by \cref{closed_in}.
    Hence $\preimg{f}{D_1}$ is open in $A$ with respect to $T_A$ and
        $\preimg{f}{D_3}$ is open in $A$ with respect to $T_A$ by \cref{continuous}.
    $\preimg{f}{D_1} = A\setminus B$ and $\preimg{f}{D_3} = A\setminus C$ by
        \cref{continuous,closed_in,setminus_subseteq,preimg_setminus_function}.
    Hence $B\subseteq A$ and $C\subseteq A$ by \cref{continuous,preimg_subseteq_dom,funs}.
    Thus $B = A\setminus \preimg{f}{D_1}$ and $C = A\setminus \preimg{f}{D_3}$
        by \cref{subseteq,setminus_setminus,inter_absorb_supseteq_left}.
    Thus $B$ is closed in $A$ with respect to $T_A$ and $C$ is closed in $A$ with respect to $T_A$
        by \cref{closed_in}.
    Therefore $B$ is closed in $X$ with respect to $T$ and $C$ is closed in $X$ with respect to $T$
        by \cref{closed_in_closed_subspace,normal_space,closed_in}.

    Show that $B$ is disjoint from $C$.
    \begin{subproof}
        Suppose not.
        Take $a$ such that $a\in B$ and $a\in C$ by \cref{disjoint}.
        Hence $a\in A$ by \cref{subseteq}.
        Thus $f(a)\in I_1$ and $f(a)\in I_3$
            by \cref{continuous,funs_is_function,funs,preimg_iff,function_apply_iff}.
        Hence $d \leq f(a)$ and $f(a) \leq \neg{d}$ by \cref{intervalclosed,real_leq_trans}.
        Hence $f(a)\in\reals$ by \cref{intervalclosed}.
        We have $d \leq \neg{d}$ by \cref{real_leq_trans}.
        Thus $d < \neg{d}$ or $d = \neg{d}$ by \cref{real_leq_split}.
        Hence $d < 0$ by \cref{real_lt_trans,real_lt_subst_right}.
        Contradiction by \cref{real_lt_trans,real_lt_irreflexive}.
    \end{subproof}

    Hence $\neg{d} < d$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_left,real_lt_trans}.
    Let $I_0 = \intervalclosed{0}{1}$.
    Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
    Take $u$ such that
        $u$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and
        $\img{u}{B}\subseteq \{0\}$ and
        $\img{u}{C}\subseteq \{1\}$
        by \cref{urysohn_unit_interval}.
    Let $c = d + d$.
    Let $j = \identity{I_0}$.
    Let $u_1 = j\circ u$.
    $u_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,continuous_interval_expand_range}.
    $u\in\funs{X}{I_0}$ and $u$ is a function by \cref{continuous,funs_is_function}.
    Hence $u$ is right-unique and $u$ is a relation and $\dom{u} = X$
        by \cref{function_rightunique,funs_is_relation,funs_elim}.
    Therefore $u\in\rels{X}{I_0}$ by \cref{funs_subseteq_rels,subseteq}.
    We have $\ran{u}\subseteq I_0$ by \cref{rels_ran_subseteq}.
    We have $\dom{j} = I_0$ by \cref{id_dom}.
    Hence $\ran{u}\subseteq\dom{j}$.
    $j$ is right-unique and $j$ is a relation by \cref{id_rightunique,id_is_relation}.
    For all $x\in X$ we have $u_1(x) = u(x)$ by \cref{circ_apply,funs_elim,id_apply}.
    Let $k = \{(x,\neg{d}) \mid x\in X\}$.
    Let $h = \{(x,c) \mid x\in X\}$.
    We have $c\in\reals$ and $c$ is positive by \cref{real_add_closed,real_pos_add}.
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    $k$ is a function from $X$ to $\reals$ and $h$ is a function from $X$ to $\reals$
        by \cref{constant_map_function}.
    Hence for all $x\in X$ we have $k(x) = \neg{d}$ and $h(x) = c$
        by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $k$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{constant_continuous}.
    Let $m = \{(x, h(x) \rmul u_1(x)) \mid x\in X\}$.
    Let $g = \{(x, k(x) + m(x)) \mid x\in X\}$.
    $m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_multiplication_continuous}.
    $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_addition_continuous}.
    $m\in\funs{X}{\reals}$ and $m$ is a function and
        $g\in\funs{X}{\reals}$ and $g$ is a function
        by \cref{continuous,funs_is_function}.

    Show that for all $x\in X$ we have $g(x)\in J$.
    \begin{subproof}
        Fix $x\in X$.
        We have $u_1(x)\in I_0$ by \cref{circ_apply,funs_elim,id_apply}.
        Hence $u_1(x)\in\reals$ by \cref{intervalclosed}.
        We have $0 \leq u_1(x)$ and $u_1(x) \leq 1$ by \cref{intervalclosed}.
        Thus $(x, h(x) \rmul u_1(x))\in m$.
        Hence $m(x) = c \rmul u_1(x)$ by \cref{function_apply_iff}.
        $u_1(x) = 0$ or $0 < u_1(x)$ by \cref{real_lt_trichotomy}.
        Hence $0 \leq c \rmul u_1(x)$
            by \cref{real_mul_zero,real_mul_comm,real_lt_imp_pos_diff,real_mul_pos_pos_gt,real_lt_imp_leq}.
        $0 \leq m(x)$.
        $u_1(x) = 1$ or $u_1(x) < 1$ by \cref{real_lt_trichotomy}.
        Hence $c \rmul u_1(x) \leq c$
            by \cref{real_mul_comm,real_mul_ident,real_lt_imp_pos_diff,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_lt_mul_pos}.
        $m(x) \leq c$.
        We have $m(x)\in\reals$ by \cref{real_mul_closed}.
        Thus $(x, k(x) + m(x))\in g$.
        Hence $g(x) = m(x) + \neg{d}$ by \cref{function_apply_iff,real_add_eq_subst,real_add_comm}.
        We have $m(x) + \neg{d}\in\reals$ and $0 + \neg{d} \leq m(x) + \neg{d}$ by
            \cref{real_add_closed,real_leq_add}.
        Hence $\neg{d} \leq m(x) + \neg{d}$ by \cref{real_add_ident}.
        Hence $c + \neg{d} = d$
            by \cref{real_add_eq_subst,real_add_assoc,real_add_inverse,real_add_comm,real_add_ident}.
        Hence $m(x) + \neg{d} \leq c + \neg{d}$ by \cref{real_leq_add}.
        Therefore $m(x) + \neg{d} \leq d$ by \cref{real_leq_trans}.
        Hence $m(x) + \neg{d}\in J$ by \cref{intervalclosed}.
        $g(x)\in J$ by \cref{function_apply_intro}.
    \end{subproof}
    Hence $\img{g}{X}\subseteq J$
        by \cref{subseteq,img_iff,continuous,funs_is_function,function_apply_iff}.
    Show that $g$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$.
    \begin{subproof}
        Follows by \cref{continuous_restrict_range}.
    \end{subproof}

    Show that for all $x\in B$ we have $g(x) = \neg{d}$.
    \begin{subproof}
        Fix $x\in B$.
        We have $x\in X$ by \cref{closed_in,subseteq}.
        Hence $u(x)\in\img{u}{B}$ by \cref{function_apply_elim,img_iff,continuous,funs_elim}.
        $u(x)\in\{0\}$ by \cref{subseteq}.
        Thus $u(x) = 0$ by \cref{singleton_elim}.
        Hence $u_1(x) = u(x)$ by \cref{circ_apply,funs_elim,id_apply}.
        $u_1(x) = 0$.
        Therefore $(x, h(x) \rmul u_1(x))\in m$.
        Hence $m(x) = c \rmul 0$ by \cref{function_apply_iff}.
        $m(x) = 0$ by \cref{real_mul_comm,real_mul_zero}.
        Therefore $(x, k(x) + m(x))\in g$.
        Hence $g(x) = \neg{d} + 0$ by \cref{function_apply_iff}.
        $g(x) = \neg{d}$ by \cref{real_add_comm,real_add_ident}.
    \end{subproof}
    Show that for all $x\in C$ we have $g(x) = d$.
    \begin{subproof}
        Fix $x\in C$.
        We have $x\in X$ by \cref{closed_in,subseteq}.
        Hence $u(x)\in\img{u}{C}$ by \cref{function_apply_elim,img_iff,continuous,funs_elim}.
        $u(x)\in\{1\}$ by \cref{subseteq}.
        Thus $u(x) = 1$ by \cref{singleton_elim}.
        Hence $u_1(x) = u(x)$ by \cref{circ_apply,funs_elim,id_apply}.
        $u_1(x) = 1$.
        Therefore $(x, h(x) \rmul u_1(x))\in m$.
        Hence $m(x) = c \rmul 1$ by \cref{function_apply_iff}.
        $m(x) = c$ by \cref{real_mul_comm,real_mul_ident}.
        Therefore $(x, k(x) + m(x))\in g$.
        Hence $g(x) = \neg{d} + c$ by \cref{function_apply_iff}.
        $g(x) = c + \neg{d}$ by \cref{real_add_comm}.
        Hence $c + \neg{d} = d$
            by \cref{real_add_eq_subst,real_add_assoc,real_add_inverse,real_add_comm,real_add_ident}.
        Hence $g(x) = d$.
    \end{subproof}
    We have $g\in\funs{X}{J}$ and $g$ is a function and $\dom{g} = X$ by \cref{continuous,funs_is_function,funs}.
    We have $f\in\funs{A}{I}$ and $f$ is a function and $\dom{f} = A$ by \cref{continuous,funs_is_function,funs}.

    Show that for all $a\in A$ we have $f(a) - g(a)\in K$.
    \begin{subproof}
        Fix $a\in A$.
        Hence $a\in X$ by \cref{subseteq,closed_in}.
        $f(a)\in I$ and $g(a)\in J$ by \cref{funs_type_apply}.
        $f(a)\in\reals$ and $g(a)\in\reals$ by \cref{intervalclosed}.
        Thus $f(a) - g(a)\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
        \begin{byCase}
        \caseOf{$a\in B$.}
            We have $g(a) = \neg{d}$.
            $f(a)\in I_1$ by \cref{preimg_iff,function_apply_iff}.
            Thus $\neg{r} \leq f(a)$ and $f(a) \leq \neg{d}$ by \cref{intervalclosed}.
        Hence $\neg{r} + d \leq f(a) + d$ and $f(a) + d \leq \neg{d} + d$
            by \cref{real_leq_add}.
        $f(a) - g(a) = f(a) + d$ by \cref{real_sub,real_neg_neg,real_add_eq_subst}.
        $\neg{r} + d = d + \neg{r}$ by \cref{real_add_comm}.
        We have $d + \neg{r} = d - r$ by \cref{real_sub}.
        Hence $d - r = \neg{e}$ by \cref{real_sub_sub_cancel,real_sub_swap_neg,real_neg_neg,real_add_eq_subst}.
        Hence $\neg{e} \leq f(a) - g(a)$ by \cref{real_leq_trans,real_leq_add,real_add_inverse,real_add_comm,real_add_ident,real_add_eq_subst}.
        $\neg{d} + d = 0$ by \cref{real_add_inverse,real_add_comm}.
        Hence $f(a) - g(a) \leq 0$ by \cref{real_leq_add,real_add_eq_subst,real_add_ident}.
            We have $0 \leq e$ by \cref{real_lt_imp_leq,real_lt_subst_right}.
            Hence $f(a) - g(a) \leq e$ by \cref{real_leq_trans}.
            Hence $f(a) - g(a)\in K$ by \cref{intervalclosed}.
        \caseOf{$a\in C$.}
            We have $g(a) = d$.
            $f(a)\in I_3$ by \cref{preimg_iff,function_apply_iff}.
            Thus $d \leq f(a)$ and $f(a) \leq r$ by \cref{intervalclosed}.
        Hence $d + \neg{d} \leq f(a) + \neg{d}$ and $f(a) + \neg{d} \leq r + \neg{d}$
            by \cref{real_leq_add}.
        $f(a) - g(a) = f(a) + \neg{d}$ by \cref{real_sub,real_add_eq_subst}.
        $d + \neg{d} = 0$ by \cref{real_add_inverse,real_add_comm}.
        Hence $0 \leq f(a) - g(a)$ by \cref{real_add_eq_subst,real_add_ident}.
        We have $\neg{e} \leq 0$ by \cref{real_lt_imp_leq,real_lt_neg,real_neg_zero,real_lt_subst_right}.
        Hence $\neg{e} \leq f(a) - g(a)$ by \cref{real_leq_trans}.
        We have $r + \neg{d} = r - d$ by \cref{real_sub}.
        Hence $f(a) - g(a) \leq e$ by \cref{real_sub_sub_cancel,real_leq_trans,real_add_eq_subst}.
        Hence $f(a) - g(a)\in K$ by \cref{intervalclosed}.
        \caseOf{$a\notin B$ and $a\notin C$.}
            Hence $f(a) < d$ by \cref{intervalclosed,preimg_iff,function_apply_elim,real_lt_trichotomy,real_lt_imp_leq}.
            We have $\neg{d} < f(a)$ by \cref{intervalclosed,preimg_iff,function_apply_elim,real_lt_trichotomy,real_lt_imp_leq}.
            Hence $\neg{d} \leq f(a)$ and $f(a) \leq d$ by \cref{real_lt_imp_leq}.
            $\neg{d} \leq g(a)$ and $g(a) \leq d$ by \cref{intervalclosed}.
            We have $\neg{(g(a))}\in\reals$ by \cref{real_add_inverse}.
            Hence $\neg{(g(a))} \leq d$ by \cref{real_leq_neg,real_neg_neg,real_lt_imp_leq}.
            Thus $\neg{d} \leq \neg{(g(a))}$ by \cref{real_leq_neg,real_neg_neg}.
            Hence $f(a) + \neg{(g(a))}\in\reals$ and $d + \neg{(g(a))}\in\reals$ and
                $\neg{d} + \neg{(g(a))}\in\reals$ and $d + d\in\reals$ and $\neg{d} + \neg{d}\in\reals$
                by \cref{real_add_closed}.
            Hence $f(a) + \neg{(g(a))} \leq d + \neg{(g(a))}$ and
                $\neg{d} + \neg{(g(a))} \leq f(a) + \neg{(g(a))}$ by \cref{real_leq_add}.
            $d + \neg{(g(a))} = \neg{(g(a))} + d$ and
                $\neg{(g(a))} + \neg{d} = \neg{d} + \neg{(g(a))}$ by \cref{real_add_comm}.
            We have $\neg{(g(a))} + d \leq d + d$ by \cref{real_leq_add}.
            Hence $\neg{d} + \neg{d} \leq \neg{(g(a))} + \neg{d}$ by \cref{real_leq_add}.
            Therefore $d + \neg{(g(a))} \leq d + d$ and
                $\neg{d} + \neg{d} \leq \neg{d} + \neg{(g(a))}$ by \cref{real_leq_trans}.
            Hence $f(a) + \neg{(g(a))} \leq d + d$ by \cref{real_leq_trans}.
            Hence $\neg{d} + \neg{d} \leq f(a) + \neg{(g(a))}$ by \cref{real_leq_trans}.
            We have $d + d \leq e$ by \cref{tietze_interval_double_step_width_leq_error}.
            Hence $f(a) + \neg{(g(a))} \leq e$ by \cref{real_leq_trans}.
            $\neg{(d + d)} = \neg{d} + \neg{d}$ by \cref{real_neg_addition}.
            We have $\neg{e} \leq \neg{(d + d)}$ by \cref{real_leq_neg}.
            Hence $\neg{e} \leq \neg{d} + \neg{d}$ by \cref{real_add_eq_subst}.
            Thus $\neg{e} \leq f(a) + \neg{(g(a))}$ by \cref{real_leq_trans}.
            Hence $f(a) - g(a) = f(a) + \neg{(g(a))}$ by \cref{real_sub}.
            Therefore $f(a) - g(a)\in K$ by \cref{intervalclosed,real_leq_trans,real_add_eq_subst}.
        \end{byCase}
    \end{subproof}

    Take $h_0$ such that $h_0 = g$.
    Follows by \cref{pair_eq_iff}.
\end{proof}
Definition 289
tietze_unit_state

$s$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ iff $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $s$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(a) - s(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{((1 + 1) / (n + 1))}}{(1 + 1) / (n + 1)}$.

LaTeX source
\begin{definition}
\label{tietze_unit_state}
    $s$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ iff
        $n\in\naturalsPlus$ and
        $s$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        for all $a\in A$ we have
            $f(a) - s(a)\in \intervalclosed{\neg{((1 + 1) / (n + 1))}}{(1 + 1) / (n + 1)}$.
\end{definition}
Lemma 528
tietze_unit_state_successor

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Let $T_A = \subspaceTopology{T}{A}$.
Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
Assume $s$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$.
Let $r = (1 + 1) / (n + 1)$.
Let $e = (1 + 1) / ((n + 1) + 1)$.
Let $d = r - e$.
Let $I = \intervalclosed{\neg{r}}{r}$.
Let $J = \intervalclosed{\neg{d}}{d}$.
Then there exists $t$ such that $t$ is a Tietze unit state on $n + 1$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $t(x) - s(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.

LaTeX source
\begin{lemma}
\label{tietze_unit_state_successor}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
    Assume $s$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$.
    Let $r = (1 + 1) / (n + 1)$.
    Let $e = (1 + 1) / ((n + 1) + 1)$.
    Let $d = r - e$.
    Let $I = \intervalclosed{\neg{r}}{r}$.
    Let $J = \intervalclosed{\neg{d}}{d}$.
    Then there exists $t$ such that
        $t$ is a Tietze unit state on $n + 1$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have $t(x) - s(x)\in J$.
\end{lemma}
Proof

$T$ is a topology on $X$ by Definition 277.
Hence $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 149.
Thus $A$ is a subspace of $X$ with respect to $T$ by Definition 147.
Therefore $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $s$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(a) - s(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 289.
We have $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $s$ is a function and $\dom{s} = X$ by Definition 55, Definition 160, Proposition 356.
Let $s_A = \restrl{s}{A}$.
Hence $s_A$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 166.
We have $s_A\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $s_A$ is a function and $\dom{s_A} = A$ by Definition 55, Definition 160, Proposition 356.
Let $h = \{(a, f(a) - s_A(a)) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
Hence $h$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Theorem 33.
We have $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $h$ is a function and $\dom{h} = A$ by Definition 55, Definition 160, Proposition 356.
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $s_A(a) = s(a)$ and $h(a) = f(a) - s(a)$ by Definition 1, Definition 55, Definition 160, Proposition 262, Proposition 346, Proposition 348, Proposition 349.
Hence $h$ is continuous from $A$ to $I$ with respect to $T_A$ and $\subspaceTopology{\standardTopologyR}{I}$ by Definition 1, Definition 15, Definition 55, Definition 75, Definition 118, Definition 289, Lemma 76, Lemma 93, Lemma 131, Lemma 470, Proposition 235, Proposition 349, Proposition 437.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
Take $g$ such that $g$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(a) - g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{e}}{e}$ by Lemma 527.
Let $j = \identity{J}$.
Let $g_1 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} g$.
Hence $g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 525.
We have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{J}$ and $g$ is a function and $\dom{g} = X$ and $\ran{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Definition 55, Definition 160, Proposition 356, Proposition 363.
We have $\dom{j} = J$ by Proposition 297.
We have $j$ is right-unique and $j$ is a relation by Proposition 296, Proposition 400.
Let $t = \{(x, s(x) + g_1(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Hence $t$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 32.
We have $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $t$ is a function and $\dom{t} = X$ by Definition 55, Definition 160, Proposition 356.
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $s_A(a) = s(a)$ and $h(a) = f(a) - s(a)$ and $g_1(a) = g(a)$ and $t(a) = s(a) + g(a)$ and $f(a) - t(a) = h(a) - g(a)$ by Axiom 15, Axiom 18, Definition 1, Definition 55, Definition 64, Definition 75, Definition 160, Lemma 12, Proposition 262, Proposition 346, Proposition 348, Proposition 349, Proposition 359, Proposition 361, Proposition 373, Proposition 405, Proposition 437.

Claim: $t$ is a Tietze unit state on $n + 1$ for $f$ over $A$ in $X$ with respect to $T$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $t(x) - s(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
LaTeX source
\begin{proof}
    $T$ is a topology on $X$ by \cref{normal_space}.
    Hence $A\subseteq X$ by \cref{closed_in}.
    Thus $A$ is a subspace of $X$ with respect to $T$ by \cref{subspace_of}.
    Therefore $n\in\naturalsPlus$ and
        $s$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        for all $a\in A$ we have $f(a) - s(a)\in I$ by \cref{tietze_unit_state}.
    We have $s\in\funs{X}{\reals}$ and $s$ is a function and $\dom{s} = X$
        by \cref{continuous,funs_is_function,funs}.
    Let $s_A = \restrl{s}{A}$.
    Hence $s_A$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{continuous_restrict_domain}.
    We have $s_A\in\funs{A}{\reals}$ and $s_A$ is a function and $\dom{s_A} = A$
        by \cref{continuous,funs_is_function,funs}.
    Let $h = \{(a, f(a) - s_A(a)) \mid a\in A\}$.
    Hence $h$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{real_function_subtraction_continuous}.
    We have $h\in\funs{A}{\reals}$ and $h$ is a function and $\dom{h} = A$ by \cref{continuous,funs_is_function,funs}.
    For all $a\in A$ we have $s_A(a) = s(a)$ and $h(a) = f(a) - s(a)$
        by \cref{continuous,funs,subseteq,function_apply_elim,restrl_iff,function_apply_iff,function_apply_intro}.
    Hence $h$ is continuous from $A$ to $I$ with respect to $T_A$ and $\subspaceTopology{\standardTopologyR}{I}$
        by \cref{tietze_unit_state,img_iff,funs,dom,function_apply_iff,real_add_eq_subst,subseteq,intervalclosed,continuous_subspace_range,subspace_topology_is_topology,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
    Take $g$ such that
        $g$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and
        for all $a\in A$ we have $h(a) - g(a)\in \intervalclosed{\neg{e}}{e}$
        by \cref{tietze_interval_approximation_step}.
    Let $j = \identity{J}$.
    Let $g_1 = j\circ g$.
    Hence $g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_interval_expand_range}.
    We have $g\in\funs{X}{J}$ and $g$ is a function and $\dom{g} = X$ and $\ran{g}\subseteq J$
        by \cref{continuous,funs_is_function,funs,funs_ran}.
    We have $\dom{j} = J$ by \cref{id_dom}.
    We have $j$ is right-unique and $j$ is a relation by \cref{id_rightunique,id_is_relation}.
    Let $t = \{(x, s(x) + g_1(x)) \mid x\in X\}$.
    Hence $t$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_addition_continuous}.
    We have $t\in\funs{X}{\reals}$ and $t$ is a function and $\dom{t} = X$ by \cref{continuous,funs_is_function,funs}.
    For all $a\in A$ we have $s_A(a) = s(a)$ and $h(a) = f(a) - s(a)$ and
        $g_1(a) = g(a)$ and $t(a) = s(a) + g(a)$ and $f(a) - t(a) = h(a) - g(a)$
        by \cref{continuous,funs,subseteq,function_apply_elim,restrl_iff,function_apply_iff,function_apply_intro,circ_apply,funs_elim,id_apply,real_add_eq_subst,real_sub,real_add_inverse,real_neg_addition,real_add_assoc,funs_type_apply,intervalclosed}.
    Show that $t$ is a Tietze unit state on $n + 1$ for $f$ over $A$ in $X$ with respect to $T$.
    \begin{subproof}
        Follows by \cref{real_add_eq_subst,tietze_unit_state,real_naturals_closed_succ}.
    \end{subproof}
    Show that for all $x\in X$ we have $t(x) - s(x)\in J$.
    \begin{subproof}
        Follows by \cref{continuous,funs_type_apply,intervalclosed,real_sub,real_add_inverse,real_add_closed,function_apply_intro,circ_apply,funs_elim,id_apply,real_add_eq_subst,real_add_sub_cancel_right,real_add_cancel,real_add_comm}.
    \end{subproof}
\end{proof}
Lemma 529
tietze_unit_state_zero

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Let $I = \intervalclosed{\neg{1}}{1}$.
Let $T_A = \subspaceTopology{T}{A}$.
Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
Assume for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $z = \{(x,0) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Then $z$ is a Tietze unit state on $1$ for $f$ over $A$ in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{tietze_unit_state_zero}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Let $I = \intervalclosed{\neg{1}}{1}$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
    Assume for all $a\in A$ we have $f(a)\in I$.
    Let $z = \{(x,0) \mid x\in X\}$.
    Then $z$ is a Tietze unit state on $1$ for $f$ over $A$ in $X$ with respect to $T$.
\end{lemma}
Proof

$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
$z$ is a function from $X$ to $\reals$ by Lemma 309.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $z(x) = 0$ by Lemma 309, Proposition 346, Proposition 356.
$z$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Definition 118, Definition 277, Lemma 76, Lemma 93, Lemma 163.
$((1 + 1) / (1 + 1)) = 1$ by Axiom 13, Axiom 19, Axiom 20, Axiom 21, Axiom 22, Axiom 41, Axiom 42, Definition 1, Definition 65, Lemma 20, Proposition 448, Proposition 462.
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(a) - z(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{((1 + 1) / (1 + 1))}}{(1 + 1) / (1 + 1)}$ by Axiom 16, Axiom 17, Definition 1, Definition 64, Definition 75, Definition 149, Definition 160, Lemma 84, Proposition 361, Proposition 437.
$z$ is a Tietze unit state on $1$ for $f$ over $A$ in $X$ with respect to $T$ by Axiom 42, Definition 289.

LaTeX source
\begin{proof}
    $0\in\reals$ by \cref{real_add_ident}.
    $z$ is a function from $X$ to $\reals$ by \cref{constant_map_function}.
    For all $x\in X$ we have $z(x) = 0$ by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $z$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{normal_space,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,constant_continuous}.
    $((1 + 1) / (1 + 1)) = 1$ by
        \cref{real_div,real_mul_assoc,real_mul_comm,real_mul_inverse,real_mul_ident,real_add_closed,real_zero_lt_one,real_pos_add,real_pos_nonzero,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
    For all $a\in A$ we have $f(a) - z(a)\in \intervalclosed{\neg{((1 + 1) / (1 + 1))}}{(1 + 1) / (1 + 1)}$
        by \cref{subseteq,closed_in,continuous,funs_type_apply,intervalclosed,real_neg_zero,real_sub,real_add_eq_subst,real_add_comm,real_add_ident}.
    $z$ is a Tietze unit state on $1$ for $f$ over $A$ in $X$ with respect to $T$
        by \cref{tietze_unit_state,real_one_in_naturals}.
\end{proof}
Lemma 530
tietze_unit_state_iteration

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Let $I = \intervalclosed{\neg{1}}{1}$.
Let $T_A = \subspaceTopology{T}{A}$.
Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
Assume for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Then there exists $u$ such that $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(1)}}{x} = 0$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.

LaTeX source
\begin{lemma}
\label{tietze_unit_state_iteration}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Let $I = \intervalclosed{\neg{1}}{1}$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
    Assume for all $a\in A$ we have $f(a)\in I$.
    Then there exists $u$ such that
        $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$ and
        for all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$ and
        for all $n\in\naturalsPlus$ we have
            $\fst{u(n)} = n$ and
            $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
            for all $x\in X$ we have
                $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                    \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
\end{lemma}
Proof

$T$ is a topology on $X$ by Definition 277.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $\dom{f} = A$ by Definition 55, Definition 160.
We have $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 1, Definition 75, Definition 147, Definition 160.
$\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Definition 15, Definition 160, Proposition 235, Proposition 345, Proposition 349, Proposition 355, Proposition 356, Proposition 437.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
$f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$ by Lemma 167.

Let $G = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals} \mid \text{$\snd{w}$ is a Tietze unit state on $\fst{w}$ for $f$ over $A$ in $X$ with respect to $T$}\}$.

Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \text{$\fst{w} = \fst{z} + 1$ and for all $x\in X$ we have $\apply{\snd{w}}{x} - \apply{\snd{z}}{x}\in \intervalclosed{\neg{(((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1)))}}{((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1))}$}\}$.

Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ there exists $w$ such that $z\mathrel{R} w$.

Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Take $n,s$ such that $z = (n,s)$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Definition 1, Proposition 121.
$\fst{z} = n$ and $\snd{z} = s$ by Axiom 6, Axiom 10, Axiom 11.
$s$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ by Definition 1, Proposition 437.
Let $r = (1 + 1) / (n + 1)$.
Let $e = (1 + 1) / ((n + 1) + 1)$.
Let $d = r - e$.
Let $J = \intervalclosed{\neg{d}}{d}$.
Take $t$ such that $t$ is a Tietze unit state on $n + 1$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $t(x) - s(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Lemma 528.
Take $w$ such that $w = (n + 1,t)$.
$(n + 1,t)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$ by Axiom 45, Definition 55, Definition 160, Definition 289, Proposition 115.
$\fst{w} = n + 1$ and $\snd{w} = t$ by Axiom 6, Axiom 10, Axiom 11.
$\snd{w}$ is a Tietze unit state on $\fst{w}$ for $f$ over $A$ in $X$ with respect to $T$ by Definition 289, Proposition 437.
$w\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 1.
$z\mathrel{R} w$ by Axiom 6, Definition 1, Definition 12.

We have $R$ is a relation by Definition 12.

Take $c$ such that $c$ is a function on $G$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{c}{z}$ by Axiom 54.

Let $z_0 = \{(x,0) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $a_0 = (1,z_0)$.
$z_0$ is a Tietze unit state on $1$ for $f$ over $A$ in $X$ with respect to $T$ by Lemma 529.
$(1,z_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$ by Axiom 42, Definition 55, Definition 160, Definition 289, Proposition 115.
$a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 289, Proposition 437.

$c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ by Axiom 6, Axiom 54, Definition 1, Definition 12, Proposition 358.

For all $z,w$ such that $z\mathrel{R} w$ we have $\fst{w} = \fst{z} + 1$ by Axiom 6, Definition 12, Proposition 437.

Take $u$ such that $u$ is a sequence in $G$ and $u(1) = a_0$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$ by Lemma 407.

Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u(n)} = n\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 10, Axiom 42, Lemma 407.
For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 45, Axiom 54, Definition 1, Definition 12, Definition 158, Proposition 361, Proposition 437.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Proposition 445.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.

Claim: $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(1)}}{x} = 0$.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
We have $\fst{u(n)} = n$.
$u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 158, Proposition 361.
$\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ by Definition 1, Proposition 437.
$u(n + 1) = c(u(n))$ by Definition 1.
$u(n)\mathrel{R} u(n + 1)$ by Axiom 54, Definition 158, Proposition 361.
Take $z,w$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $(z,w) = (u(n),u(n + 1))$ and $\fst{w} = \fst{z} + 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{w}}{y} - \apply{\snd{z}}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1)))}}{((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1))}$ by Definition 12.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$ by Axiom 6, Axiom 11, Definition 1, Proposition 437.

Follows by Axiom 6.

LaTeX source
\begin{proof}
    $T$ is a topology on $X$ by \cref{normal_space}.
    $f\in\funs{A}{\reals}$ and $\dom{f} = A$ by \cref{continuous,funs}.
    We have $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$
        by \cref{continuous,intervalclosed,subseteq,subspace_of}.
    $\img{f}{A}\subseteq I$
        by \cref{img_iff,dom,continuous,funs_is_function,function_rightunique,funs_is_relation,function_apply_iff,real_add_eq_subst,subseteq}.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$
        by \cref{continuous_restrict_range}.

    Let $G = \{w\in\naturalsPlus\times\funs{X}{\reals} \mid
        \text{$\snd{w}$ is a Tietze unit state on $\fst{w}$ for $f$ over $A$ in $X$ with respect to $T$}\}$.

    Let $R = \{(z,w) \mid z\in G, w\in G \mid \text{$\fst{w} = \fst{z} + 1$ and
        for all $x\in X$ we have
            $\apply{\snd{w}}{x} - \apply{\snd{z}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1)))}}{((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1))}$}\}$.

    Show that for all $z\in G$ there exists $w$ such that $z\mathrel{R} w$.
    \begin{subproof}
        Fix $z\in G$.
        Take $n,s$ such that $z = (n,s)$ and $n\in\naturalsPlus$ and $s\in\funs{X}{\reals}$
            by \cref{subseteq,times_elem_is_tuple}.
        $\fst{z} = n$ and $\snd{z} = s$ by \cref{pair_eq_iff,fst_eq,snd_eq}.
        $s$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$
            by \cref{subseteq,real_add_eq_subst}.
        Let $r = (1 + 1) / (n + 1)$.
        Let $e = (1 + 1) / ((n + 1) + 1)$.
        Let $d = r - e$.
        Let $J = \intervalclosed{\neg{d}}{d}$.
        Take $t$ such that
            $t$ is a Tietze unit state on $n + 1$ for $f$ over $A$ in $X$ with respect to $T$ and
            for all $x\in X$ we have $t(x) - s(x)\in J$
            by \cref{tietze_unit_state_successor}.
        Take $w$ such that $w = (n + 1,t)$.
        $(n + 1,t)\in\naturalsPlus\times\funs{X}{\reals}$
            by \cref{real_naturals_closed_succ,tietze_unit_state,continuous,funs,times_tuple_intro}.
        $\fst{w} = n + 1$ and $\snd{w} = t$ by \cref{pair_eq_iff,fst_eq,snd_eq}.
        $\snd{w}$ is a Tietze unit state on $\fst{w}$ for $f$ over $A$ in $X$ with respect to $T$
            by \cref{tietze_unit_state,real_add_eq_subst}.
        $w\in G$ by \cref{subseteq}.
        $z\mathrel{R} w$ by \cref{relation,pair_eq_iff,subseteq}.
    \end{subproof}

    We have $R$ is a relation by \cref{relation}.

    Take $c$ such that $c$ is a function on $G$ and for all $z\in G$ we have $z\mathrel{R}\apply{c}{z}$
        by \cref{axiom_of_choice}.

    Let $z_0 = \{(x,0) \mid x\in X\}$.
    Let $a_0 = (1,z_0)$.
    $z_0$ is a Tietze unit state on $1$ for $f$ over $A$ in $X$ with respect to $T$
        by \cref{tietze_unit_state_zero}.
    $(1,z_0)\in\naturalsPlus\times\funs{X}{\reals}$
        by \cref{tietze_unit_state,continuous,funs,times_tuple_intro,real_one_in_naturals}.
    $a_0\in G$ by \cref{subseteq,pair_eq_iff,fst_eq,snd_eq,tietze_unit_state,real_add_eq_subst}.

    $c\in\funs{G}{G}$ by \cref{axiom_of_choice,funs_intro,relation,pair_eq_iff,subseteq}.

    For all $z,w$ such that $z\mathrel{R} w$ we have $\fst{w} = \fst{z} + 1$
        by \cref{relation,pair_eq_iff,real_add_eq_subst}.

    Take $u$ such that
        $u$ is a sequence in $G$ and
        $u(1) = a_0$ and
        for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$
        by \cref{iteration_sequence_naturalsplus}.

    Let $A_0 = \{n\in\naturalsPlus \mid \fst{u(n)} = n\}$.
    $A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
    $1\in A_0$ by \cref{iteration_sequence_naturalsplus,real_one_in_naturals,pair_eq_iff,fst_eq}.
    For all $k\in A_0$ we have $k + 1\in A_0$
        by \cref{subseteq,sequence_in,funs_type_apply,axiom_of_choice,real_add_eq_subst,relation,pair_eq_iff,real_naturals_closed_succ}.
    For all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
    For all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
    Show that $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    \begin{subproof}
        Follows by \cref{sequence_in,funs_weaken_codom,subseteq}.
    \end{subproof}
    Show that for all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$.
    \begin{subproof}
        Follows by \cref{iteration_sequence_naturalsplus,pair_eq_iff,snd_eq,subseteq,continuous,funs,tietze_unit_state,real_add_eq_subst,funs_is_function,function_rightunique,funs_is_relation,function_apply_iff}.
    \end{subproof}

    Show that for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    \begin{subproof}
        Fix $n\in\naturalsPlus$.
        We have $\fst{u(n)} = n$.
        $u(n)\in G$ by \cref{sequence_in,funs_type_apply}.
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$
            by \cref{subseteq,real_add_eq_subst}.
        $u(n + 1) = c(u(n))$ by \cref{subseteq}.
        $u(n)\mathrel{R} u(n + 1)$ by \cref{axiom_of_choice,sequence_in,funs_type_apply}.
        Take $z,w$ such that $z\in G$ and $w\in G$ and $(z,w) = (u(n),u(n + 1))$ and
            $\fst{w} = \fst{z} + 1$ and
            for all $y\in X$ we have
                $\apply{\snd{w}}{y} - \apply{\snd{z}}{y}\in
                    \intervalclosed{\neg{(((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1)))}}{((1 + 1) / (\fst{z} + 1)) - ((1 + 1) / ((\fst{z} + 1) + 1))}$
            by \cref{relation}.
        For all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$
                by \cref{pair_eq_iff,subseteq,snd_eq,real_add_eq_subst}.
    \end{subproof}
    Follows by \cref{pair_eq_iff}.
\end{proof}
Definition 290
tietze_lower_set

$\tietzeLowerSet{u}{x} = \{\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.

LaTeX source
\begin{definition}
\label{tietze_lower_set}
    $\tietzeLowerSet{u}{x} =
        \{\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \mid n\in\naturalsPlus\}$.
\end{definition}
Definition 291
tietze_upper_set

$\tietzeUpperSet{u}{x} = \{\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1)) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.

LaTeX source
\begin{definition}
\label{tietze_upper_set}
    $\tietzeUpperSet{u}{x} =
        \{\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1)) \mid n\in\naturalsPlus\}$.
\end{definition}
Lemma 531
tietze_small_error

Assume $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Then there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

LaTeX source
\begin{lemma}
\label{tietze_small_error}
    Assume $\epsilon\in\reals$ and $0 < \epsilon$.
    Then there exists $N\in\naturalsPlus$ such that $((1 + 1) / (N + 1)) < \epsilon$.
\end{lemma}
Proof

We have $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 41, Axiom 42, Definition 1, Proposition 462.
$1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1$ and $(1 + 1)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 13, Lemma 20, Proposition 448.
Let $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} / (1 + 1)$.
$\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 14, Axiom 22, Definition 65, Lemma 17, Proposition 463.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Proposition 476.
$N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < N + 1$ and $N + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 41, Axiom 45, Definition 1, Lemma 20, Lemma 89.
$N < N + 1$ by Lemma 399.
$1 / (N + 1) < 1 / N$ by Lemma 258.
$1 / (N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\inv{(N + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22, Definition 1, Lemma 90.
$1 / (N + 1) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 36.
$(\inv{(N + 1)} \rmul (1 + 1)) < (\class{latex-symbol-tip latex-symbol-id-delta}{\delta} \rmul (1 + 1))$ by Axiom 21, Axiom 38, Definition 65, Lemma 82.
$(\inv{(N + 1)} \rmul (1 + 1)) = ((1 + 1) / (N + 1))$ by Axiom 20, Definition 65.
$(\class{latex-symbol-tip latex-symbol-id-delta}{\delta} \rmul (1 + 1)) = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65.
$((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 82, Lemma 83.

LaTeX source
\begin{proof}
    We have $1\in\reals$ and $0 < 1$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one}.
    $1 + 1\in\reals$ and $0 < 1 + 1$ and $(1 + 1)\neq 0$
        by \cref{real_add_closed,real_pos_add,real_pos_nonzero}.
    Let $\delta = \epsilon / (1 + 1)$.
    $\delta\in\reals$ and $0 < \delta$ by \cref{real_div,real_mul_closed,real_mul_inverse,real_inv_pos,real_mul_pos_pos}.
    Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < \delta$ by \cref{real_small_reciprocal}.
    $N + 1\in\naturalsPlus$ and $N + 1\in\reals$ and $0 < N + 1$ and $N + 1\neq 0$
        by \cref{real_naturals_closed_succ,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero}.
    $N < N + 1$ by \cref{real_naturals_lt_succ_local}.
    $1 / (N + 1) < 1 / N$ by \cref{naturalsplus_reciprocal_step}.
    $1 / (N + 1)\in\reals$ and $1 / N\in\reals$ and $\inv{(N + 1)}\in\reals$
        by \cref{naturalsplus_reciprocal_real,subseteq,real_mul_inverse}.
    $1 / (N + 1) < \delta$ by \cref{real_lt_trans}.
    $(\inv{(N + 1)} \rmul (1 + 1)) < (\delta \rmul (1 + 1))$
        by \cref{real_div,real_mul_ident,real_lt_subst_left,real_lt_mul_pos}.
    $(\inv{(N + 1)} \rmul (1 + 1)) = ((1 + 1) / (N + 1))$ by \cref{real_div,real_mul_comm}.
    $(\delta \rmul (1 + 1)) = \epsilon$ by
        \cref{real_div,real_mul_assoc,real_mul_comm,real_mul_inverse,real_mul_ident}.
    $((1 + 1) / (N + 1)) < \epsilon$ by \cref{real_lt_subst_left,real_lt_subst_right}.
\end{proof}
Lemma 532
tietze_small_double_error

Assume $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Then there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

LaTeX source
\begin{lemma}
\label{tietze_small_double_error}
    Assume $\epsilon\in\reals$ and $0 < \epsilon$.
    Then there exists $N\in\naturalsPlus$ such that
        $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$.
\end{lemma}
Proof

Take $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ such that $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} + \class{latex-symbol-tip latex-symbol-id-delta}{\delta} = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 275.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 531.
$((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 13, Axiom 14, Axiom 22, Axiom 41, Axiom 42, Axiom 45, Definition 1, Definition 65, Lemma 20, Lemma 83, Lemma 89, Proposition 450.

LaTeX source
\begin{proof}
    Take $\delta$ such that $\delta\in\reals$ and $0 < \delta$ and $\delta + \delta = \epsilon$
        by \cref{real_half_of_positive}.
    Take $N\in\naturalsPlus$ such that $((1 + 1) / (N + 1)) < \delta$ by \cref{tietze_small_error}.
    $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$
        by \cref{real_naturals_closed_succ,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_one_in_naturals,real_add_closed,real_div,real_mul_closed,real_mul_inverse,real_lt_add_two,real_lt_subst_right}.
\end{proof}
Lemma 533
tietze_endpoint_successive_nesting

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n + 1)}}{x} - ((1 + 1) / ((n + 1) + 1))$ and $\apply{\snd{u(n + 1)}}{x} + ((1 + 1) / ((n + 1) + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.

LaTeX source
\begin{lemma}
\label{tietze_endpoint_successive_nesting}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Then for all $n\in\naturalsPlus$ we have
        for all $x\in X$ we have
            $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))
                \leq \apply{\snd{u(n + 1)}}{x} - ((1 + 1) / ((n + 1) + 1))$
            and
            $\apply{\snd{u(n + 1)}}{x} + ((1 + 1) / ((n + 1) + 1))
                \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.
\end{lemma}
Proof

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $r = (1 + 1) / (n + 1)$.
Let $e = (1 + 1) / ((n + 1) + 1)$.
Let $d = r - e$.
We have $\snd{u(n)}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Definition 289.
$\snd{u(n + 1)}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Axiom 45, Definition 289.
$\apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n + 1)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 361.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$0 < n + 1$ and $0 < ((n + 1) + 1)$ by Definition 1, Lemma 89.
$n + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $((n + 1) + 1)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
$1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 14, Axiom 18, Axiom 22, Definition 64, Definition 65.
$\neg{d}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{e}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\apply{\snd{u(n)}}{x} + \neg{d}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n + 1)}}{x} + \neg{e}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(\apply{\snd{u(n)}}{x} + \neg{d}) + \neg{e}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d + \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n)}}{x} + d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(\apply{\snd{u(n)}}{x} + d) + e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{d}}{d}$ by Definition 1.
$\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}$ and $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ by Definition 75.

Claim: $\apply{\snd{u(n)}}{x} - r \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n + 1)}}{x} - e$.

$\apply{\snd{u(n)}}{x} + \neg{d} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n + 1)}}{x}$ by Axiom 16, Lemma 24, Lemma 343, Proposition 437.
$(\apply{\snd{u(n)}}{x} + \neg{d}) + \neg{e} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n + 1)}}{x} + \neg{e}$ by Lemma 24.
We have $\neg{d} + \neg{e} = \neg{(d + e)}$ by Lemma 12.
$d + e = r$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Proposition 437.
$\neg{d} + \neg{e} = \neg{r}$ by Proposition 437.
$\apply{\snd{u(n)}}{x} + \neg{r} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n + 1)}}{x} + \neg{e}$ by Axiom 15, Proposition 437.
$\apply{\snd{u(n)}}{x} - r \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n + 1)}}{x} - e$ by Definition 64.

Claim: $\apply{\snd{u(n + 1)}}{x} + e \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + r$.

$\apply{\snd{u(n + 1)}}{x} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + d$ by Axiom 16, Lemma 24, Lemma 343, Proposition 437.
$\apply{\snd{u(n + 1)}}{x} + e \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (\apply{\snd{u(n)}}{x} + d) + e$ by Lemma 24.
We have $d + e = r$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Proposition 437.
$(\apply{\snd{u(n)}}{x} + d) + e = \apply{\snd{u(n)}}{x} + r$ by Axiom 15, Proposition 437.
$\apply{\snd{u(n + 1)}}{x} + e \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + r$ by Proposition 437.

LaTeX source
\begin{proof}
    Fix $n\in\naturalsPlus$.
    Fix $x\in X$.
    Let $r = (1 + 1) / (n + 1)$.
    Let $e = (1 + 1) / ((n + 1) + 1)$.
    Let $d = r - e$.
    We have $\snd{u(n)}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{tietze_unit_state}.
    $\snd{u(n + 1)}$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_naturals_closed_succ,tietze_unit_state}.
    $\apply{\snd{u(n)}}{x}\in\reals$ and $\apply{\snd{u(n + 1)}}{x}\in\reals$
        by \cref{continuous,funs_type_apply}.
    $n + 1\in\naturalsPlus$ and $((n + 1) + 1)\in\naturalsPlus$
        by \cref{real_naturals_closed_succ}.
    $n + 1\in\reals$ and $((n + 1) + 1)\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
    $0 < n + 1$ and $0 < ((n + 1) + 1)$ by \cref{naturalsplus_positive_real,subseteq}.
    $n + 1\neq 0$ and $((n + 1) + 1)\neq 0$ by \cref{real_pos_nonzero}.
    $1 + 1\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed}.
    $r\in\reals$ and $e\in\reals$ and $d\in\reals$ by \cref{real_div,real_mul_closed,real_mul_inverse,real_sub,real_add_inverse,real_add_closed}.
    $\neg{d}\in\reals$ and $\neg{e}\in\reals$ and $\neg{r}\in\reals$ by \cref{real_add_inverse}.
    $\apply{\snd{u(n)}}{x} + \neg{d}\in\reals$ and $\apply{\snd{u(n + 1)}}{x} + \neg{e}\in\reals$ and
        $(\apply{\snd{u(n)}}{x} + \neg{d}) + \neg{e}\in\reals$ and
        $d + \apply{\snd{u(n)}}{x}\in\reals$ and $\apply{\snd{u(n)}}{x} + d\in\reals$ and
        $(\apply{\snd{u(n)}}{x} + d) + e\in\reals$ by \cref{real_add_closed}.
    $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in \intervalclosed{\neg{d}}{d}$ by \cref{subseteq}.
    $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in\reals$ and
        $\neg{d} \leq \apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}$ and
        $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x} \leq d$ by \cref{intervalclosed}.

    Show that $\apply{\snd{u(n)}}{x} - r \leq \apply{\snd{u(n + 1)}}{x} - e$.
    \begin{subproof}
        $\apply{\snd{u(n)}}{x} + \neg{d} \leq \apply{\snd{u(n + 1)}}{x}$ by
            \cref{real_leq_add,real_add_comm,real_add_sub_cancel_right,real_add_eq_subst}.
        $(\apply{\snd{u(n)}}{x} + \neg{d}) + \neg{e} \leq \apply{\snd{u(n + 1)}}{x} + \neg{e}$ by \cref{real_leq_add}.
        We have $\neg{d} + \neg{e} = \neg{(d + e)}$ by \cref{real_neg_addition}.
        $d + e = r$
            by \cref{real_sub,real_add_assoc,real_add_inverse,real_add_comm,real_add_ident,real_add_eq_subst}.
        $\neg{d} + \neg{e} = \neg{r}$ by \cref{real_add_eq_subst}.
        $\apply{\snd{u(n)}}{x} + \neg{r} \leq \apply{\snd{u(n + 1)}}{x} + \neg{e}$
            by \cref{real_add_assoc,real_add_eq_subst}.
        $\apply{\snd{u(n)}}{x} - r \leq \apply{\snd{u(n + 1)}}{x} - e$ by \cref{real_sub}.
    \end{subproof}

    Show that $\apply{\snd{u(n + 1)}}{x} + e \leq \apply{\snd{u(n)}}{x} + r$.
    \begin{subproof}
        $\apply{\snd{u(n + 1)}}{x} \leq \apply{\snd{u(n)}}{x} + d$ by
            \cref{real_leq_add,real_add_sub_cancel_right,real_add_comm,real_add_eq_subst}.
        $\apply{\snd{u(n + 1)}}{x} + e \leq (\apply{\snd{u(n)}}{x} + d) + e$ by \cref{real_leq_add}.
        We have $d + e = r$
            by \cref{real_sub,real_add_assoc,real_add_inverse,real_add_comm,real_add_ident,real_add_eq_subst}.
        $(\apply{\snd{u(n)}}{x} + d) + e = \apply{\snd{u(n)}}{x} + r$ by \cref{real_add_assoc,real_add_eq_subst}.
        $\apply{\snd{u(n + 1)}}{x} + e \leq \apply{\snd{u(n)}}{x} + r$
            by \cref{real_add_eq_subst}.
    \end{subproof}
\end{proof}
Lemma 534
tietze_endpoint_monotone

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Then for all $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ and $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$.

LaTeX source
\begin{lemma}
\label{tietze_endpoint_monotone}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Then for all $m,n\in\naturalsPlus$ if $m \leq n$ then
        for all $x\in X$ we have
            $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                \leq \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$
            and
            $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))
                \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$.
\end{lemma}
Proof

Fix $m$.
Fix $n$.
Assume $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $A_0 = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $m \leq k$ then $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \leq \apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))$ and $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1)) \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.

Claim: If $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ then $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(1)}}{x} - ((1 + 1) / (1 + 1))$ and $\apply{\snd{u(1)}}{x} + ((1 + 1) / (1 + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$.

$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42.

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.

Fix $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
$k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45, Definition 1.

Claim: If $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k + 1$ then $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$.

Assume $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k + 1$.
$m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k$ or $m = k + 1$ by Lemma 29.

Case. $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k$.

We have $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))$ and $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by definition.
$\apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))$ by Lemma 533.
$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 14, Axiom 18, Axiom 22, Axiom 41, Axiom 42, Axiom 45, Definition 1, Definition 64, Definition 65, Definition 160, Definition 289, Lemma 20, Lemma 89, Proposition 361.
$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by Lemma 23.

Case. $m = k + 1$.

$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by Proposition 437.

LaTeX source
\begin{byCase}
            \caseOf{$m \leq k$.}
                We have $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                    \leq \apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))$ and
                    $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))
                        \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by definition.
                $\apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))
                    \leq \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))
                        \leq \apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))$
                    by \cref{tietze_endpoint_successive_nesting}.
                $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))\in\reals$ and
                    $\apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))\in\reals$ and
                    $\apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))\in\reals$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))\in\reals$ and
                    $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))\in\reals$ and
                    $\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))\in\reals$ by
                    \cref{tietze_unit_state,continuous,funs_type_apply,real_naturals_closed_succ,real_one_in_naturals,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_add_closed,real_div,real_mul_closed,real_mul_inverse,real_sub,real_add_inverse}.
                $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                    \leq \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))
                        \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$
                    by \cref{real_leq_trans}.
            \caseOf{$m = k + 1$.}
                $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                    \leq \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))
                        \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by \cref{real_add_eq_subst}.
            
\end{byCase}

$k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by definition.

For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Proposition 445.
$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ and $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by Definition 1.

LaTeX source
\begin{proof}
    Fix $m$.
    Fix $n$.
    Assume $m\in\naturalsPlus$ and $n\in\naturalsPlus$.
    Assume $m \leq n$.
    Fix $x\in X$.
    Let $A_0 = \{k\in\naturalsPlus \mid \text{if $m \leq k$ then
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))$ and
        $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))
            \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$}\}$.
    $A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
    Show that if $m \leq 1$ then
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(1)}}{x} - ((1 + 1) / (1 + 1))$ and
        $\apply{\snd{u(1)}}{x} + ((1 + 1) / (1 + 1))
            \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$.
    \begin{subproof}
        Follows by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_one_leq_naturalsplus,real_leq_antisym,real_add_eq_subst}.
    \end{subproof}
    $1\in A_0$ by \cref{real_one_in_naturals}.
    Show that for all $k\in A_0$ we have $k + 1\in A_0$.
    \begin{subproof}
        Fix $k$ such that $k\in A_0$.
        $k + 1\in\naturalsPlus$ by \cref{subseteq,real_naturals_closed_succ}.
        Show that if $m \leq k + 1$ then
            $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                \leq \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and
            $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))
                \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$.
        \begin{subproof}
            Assume $m \leq k + 1$.
            $m \leq k$ or $m = k + 1$ by \cref{real_naturals_leq_succ_elim}.
            \begin{byCase}
            \caseOf{$m \leq k$.}
                We have $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                    \leq \apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))$ and
                    $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))
                        \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by definition.
                $\apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))
                    \leq \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))
                        \leq \apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))$
                    by \cref{tietze_endpoint_successive_nesting}.
                $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))\in\reals$ and
                    $\apply{\snd{u(k)}}{x} - ((1 + 1) / (k + 1))\in\reals$ and
                    $\apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))\in\reals$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))\in\reals$ and
                    $\apply{\snd{u(k)}}{x} + ((1 + 1) / (k + 1))\in\reals$ and
                    $\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))\in\reals$ by
                    \cref{tietze_unit_state,continuous,funs_type_apply,real_naturals_closed_succ,real_one_in_naturals,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_add_closed,real_div,real_mul_closed,real_mul_inverse,real_sub,real_add_inverse}.
                $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                    \leq \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))
                        \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$
                    by \cref{real_leq_trans}.
            \caseOf{$m = k + 1$.}
                $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                    \leq \apply{\snd{u(k + 1)}}{x} - ((1 + 1) / ((k + 1) + 1))$ and
                    $\apply{\snd{u(k + 1)}}{x} + ((1 + 1) / ((k + 1) + 1))
                        \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by \cref{real_add_eq_subst}.
            \end{byCase}
        \end{subproof}
        $k + 1\in A_0$ by definition.
    \end{subproof}
    For all $k\in\naturalsPlus$ we have $k\in A_0$ by \cref{real_naturals_induction}.
    $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
        \leq \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ and
        $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))
            \leq \apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))$ by \cref{subseteq}.
\end{proof}
Lemma 535
tietze_lower_leq_upper

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.

LaTeX source
\begin{lemma}
\label{tietze_lower_leq_upper}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Then for all $n\in\naturalsPlus$ we have
        for all $x\in X$ we have
            $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))
                \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.
\end{lemma}
Proof

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $r = (1 + 1) / (n + 1)$.
We have $\apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < r$ by Axiom 13, Axiom 14, Axiom 22, Axiom 41, Axiom 42, Axiom 45, Definition 1, Definition 65, Definition 160, Definition 289, Lemma 17, Lemma 20, Lemma 89, Proposition 361, Proposition 448, Proposition 462, Proposition 463.
$\neg{r} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$ by Axiom 17, Axiom 18, Lemma 23, Lemma 83, Lemma 84, Lemma 231, Proposition 465.
$\apply{\snd{u(n)}}{x} - r \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + r$ by Axiom 13, Axiom 16, Axiom 18, Definition 64, Lemma 24, Proposition 437.

LaTeX source
\begin{proof}
    Fix $n\in\naturalsPlus$.
    Fix $x\in X$.
    Let $r = (1 + 1) / (n + 1)$.
    We have $\apply{\snd{u(n)}}{x}\in\reals$ and $r\in\reals$ and $0 < r$ by
        \cref{tietze_unit_state,continuous,funs_type_apply,real_naturals_closed_succ,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_one_in_naturals,real_add_closed,real_pos_add,real_zero_lt_one,real_div,real_mul_closed,real_mul_inverse,real_inv_pos,real_mul_pos_pos}.
    $\neg{r} \leq r$ by
        \cref{real_add_inverse,real_add_ident,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_imp_leq,real_leq_trans}.
    $\apply{\snd{u(n)}}{x} - r \leq \apply{\snd{u(n)}}{x} + r$ by
        \cref{real_add_inverse,real_add_closed,real_leq_add,real_add_comm,real_add_eq_subst,real_sub}.
\end{proof}
Lemma 536
tietze_lower_leq_upper_cross

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Then for all $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.

LaTeX source
\begin{lemma}
\label{tietze_lower_leq_upper_cross}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Then for all $m,n\in\naturalsPlus$ we have
        for all $x\in X$ we have
            $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
                \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.
\end{lemma}
Proof

Fix $m$.
Fix $n$.
Assume $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 14, Axiom 18, Axiom 22, Axiom 41, Axiom 42, Axiom 45, Definition 1, Definition 64, Definition 65, Definition 160, Definition 289, Lemma 20, Lemma 89, Proposition 361.
$m < n$ or $m = n$ or $n < m$ by Axiom 34, Axiom 41, Definition 1.

Case. $m < n$.

$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ by Lemma 231, Lemma 534.
$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by Lemma 23, Lemma 535.

Case. $m = n$.

$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by Lemma 535, Proposition 437.

Case. $n < m$.

$\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by Lemma 231, Lemma 534.
$\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by Lemma 23, Lemma 535.

LaTeX source
\begin{byCase}
    \caseOf{$m < n$.}
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$
            by \cref{real_lt_imp_leq,tietze_endpoint_monotone}.
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by \cref{real_leq_trans,tietze_lower_leq_upper}.
    \caseOf{$m = n$.}
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by \cref{tietze_lower_leq_upper,real_add_eq_subst}.
    \caseOf{$n < m$.}
        $\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$
            by \cref{real_lt_imp_leq,tietze_endpoint_monotone}.
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by \cref{real_leq_trans,tietze_lower_leq_upper}.
    
\end{byCase}
LaTeX source
\begin{proof}
    Fix $m$.
    Fix $n$.
    Assume $m\in\naturalsPlus$ and $n\in\naturalsPlus$.
    Fix $x\in X$.
    We have $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))\in\reals$ and
        $\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))\in\reals$ and
        $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))\in\reals$ and
        $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))\in\reals$ by
        \cref{tietze_unit_state,continuous,funs_type_apply,real_naturals_closed_succ,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_one_in_naturals,real_add_closed,real_div,real_mul_closed,real_mul_inverse,real_sub,real_add_inverse}.
    $m < n$ or $m = n$ or $n < m$ by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy}.
    \begin{byCase}
    \caseOf{$m < n$.}
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$
            by \cref{real_lt_imp_leq,tietze_endpoint_monotone}.
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by \cref{real_leq_trans,tietze_lower_leq_upper}.
    \caseOf{$m = n$.}
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by \cref{tietze_lower_leq_upper,real_add_eq_subst}.
    \caseOf{$n < m$.}
        $\apply{\snd{u(m)}}{x} + ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$
            by \cref{real_lt_imp_leq,tietze_endpoint_monotone}.
        $\apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))
            \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by \cref{real_leq_trans,tietze_lower_leq_upper}.
    \end{byCase}
\end{proof}
Lemma 537
tietze_lower_set_subset_reals

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\tietzeLowerSet{u}{x}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$.

LaTeX source
\begin{lemma}
\label{tietze_lower_set_subset_reals}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Then for all $x\in X$ we have $\tietzeLowerSet{u}{x}\subseteq\reals$.
\end{lemma}
Proof

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $\tietzeLowerSet{u}{x}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 13, Axiom 14, Axiom 18, Axiom 22, Axiom 41, Axiom 42, Axiom 45, Definition 1, Definition 64, Definition 65, Definition 160, Definition 289, Definition 290, Lemma 20, Lemma 89, Proposition 361.

LaTeX source
\begin{proof}
    Fix $x\in X$.
    We have $\tietzeLowerSet{u}{x}\subseteq\reals$
        by \cref{tietze_lower_set,tietze_unit_state,continuous,funs_type_apply,real_naturals_closed_succ,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_one_in_naturals,real_add_closed,real_div,real_mul_closed,real_mul_inverse,real_sub,real_add_inverse}.
\end{proof}
Lemma 538
real_two_over_two_local

$((1 + 1) / (1 + 1)) = 1$.

LaTeX source
\begin{lemma}
\label{real_two_over_two_local}
    $((1 + 1) / (1 + 1)) = 1$.
\end{lemma}
Proof

Follows by Axiom 13, Axiom 19, Axiom 20, Axiom 21, Axiom 22, Axiom 41, Axiom 42, Definition 1, Definition 65, Lemma 20, Proposition 448, Proposition 462.

LaTeX source
\begin{proof}
    Follows by \cref{real_div,real_mul_assoc,real_mul_comm,real_mul_inverse,real_mul_ident,real_add_closed,real_zero_lt_one,real_pos_add,real_pos_nonzero,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
\end{proof}
Lemma 539
tietze_lower_set_has_supremum

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(1)}}{x} = 0$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $r$ such that $r$ is a supremum of $\tietzeLowerSet{u}{x}$.

LaTeX source
\begin{lemma}
\label{tietze_lower_set_has_supremum}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Then for all $x\in X$ there exists $r$ such that $r$ is a supremum of $\tietzeLowerSet{u}{x}$.
\end{lemma}
Proof

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $\tietzeLowerSet{u}{x}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Lemma 537.
$\tietzeLowerSet{u}{x}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Axiom 42, Definition 290.

Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\tietzeLowerSet{u}{x}$ we have $y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$.

Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\tietzeLowerSet{u}{x}$.
Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $y = \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ by Definition 290.
$y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(1)}}{x} + ((1 + 1) / (1 + 1))$ by Axiom 42, Lemma 536, Proposition 437.
$\apply{\snd{u(1)}}{x} = 0$ by assumption.
$y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 81, Lemma 83, Lemma 231, Lemma 538, Proposition 437.

$\tietzeLowerSet{u}{x}$ is bounded above by Axiom 41, Axiom 42, Definition 1, Definition 66, Definition 67.
There exists $r$ such that $r$ is a supremum of $\tietzeLowerSet{u}{x}$ by Axiom 40.

LaTeX source
\begin{proof}
    Fix $x\in X$.
    We have $\tietzeLowerSet{u}{x}\subseteq\reals$ by \cref{tietze_lower_set_subset_reals}.
    $\tietzeLowerSet{u}{x}\neq\emptyset$ by \cref{real_one_in_naturals,tietze_lower_set,emptyset}.
    Show that for all $y\in\tietzeLowerSet{u}{x}$ we have $y \leq 1$.
    \begin{subproof}
        Fix $y\in\tietzeLowerSet{u}{x}$.
        Take $n\in\naturalsPlus$ such that
            $y = \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ by \cref{tietze_lower_set}.
        $y \leq \apply{\snd{u(1)}}{x} + ((1 + 1) / (1 + 1))$
            by \cref{tietze_lower_leq_upper_cross,real_one_in_naturals,real_add_eq_subst}.
        $\apply{\snd{u(1)}}{x} = 0$ by assumption.
        $y \leq 1$ by
            \cref{real_two_over_two_local,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_leq_split,real_lt_subst_right,real_lt_imp_leq,real_add_eq_subst}.
    \end{subproof}
    $\tietzeLowerSet{u}{x}$ is bounded above
        by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_upper_bound,real_bounded_above}.
    There exists $r$ such that $r$ is a supremum of $\tietzeLowerSet{u}{x}$ by \cref{real_completeness_axiom}.
\end{proof}
Lemma 540
tietze_lower_set_supremum_function

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(1)}}{x} = 0$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Then there exists $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$.

LaTeX source
\begin{lemma}
\label{tietze_lower_set_supremum_function}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Then there exists $g$ such that
        $g\in\funs{X}{\reals}$ and
        for all $x\in X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$.
\end{lemma}
Proof

Let $R = \{(x,r) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$r$ is a supremum of $\tietzeLowerSet{u}{x}$}\}$.
We have $R$ is a relation by Definition 12.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $r$ such that $x\mathrel{R} r$ by Axiom 6, Definition 1, Definition 12, Definition 66, Definition 71, Lemma 537, Lemma 539.
Take $g$ such that $g$ is a function on $X$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\mathrel{R}\apply{g}{x}$ by Axiom 54.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 6, Definition 12, Definition 66, Definition 71, Lemma 537.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Definition 55, Proposition 358.
Follows by Definition 1.

LaTeX source
\begin{proof}
    Let $R = \{(x,r) \mid x\in X, r\in\reals \mid \text{$r$ is a supremum of $\tietzeLowerSet{u}{x}$}\}$.
    We have $R$ is a relation by \cref{relation}.
    For all $x\in X$ there exists $r$ such that $x\mathrel{R} r$
        by \cref{tietze_lower_set_has_supremum,tietze_lower_set_subset_reals,real_supremum,real_upper_bound,relation,pair_eq_iff,subseteq}.
    Take $g$ such that $g$ is a function on $X$ and for all $x\in X$ we have $x\mathrel{R}\apply{g}{x}$
        by \cref{axiom_of_choice}.
    For all $x\in X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$ and $g(x)\in\reals$ by
        \cref{relation,pair_eq_iff,tietze_lower_set_subset_reals,real_supremum,real_upper_bound}.
    $g\in\funs{X}{\reals}$ by \cref{funs_intro,funs}.
    Follows by \cref{subseteq}.
\end{proof}
Lemma 541
tietze_supremum_between_endpoints

Assume $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Assume $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$ and $g(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.

LaTeX source
\begin{lemma}
\label{tietze_supremum_between_endpoints}
    Assume $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Assume for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Assume $g\in\funs{X}{\reals}$.
    Assume for all $x\in X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$.
    Then for all $n\in\naturalsPlus$ we have
        for all $x\in X$ we have
            $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \leq g(x)$ and
            $g(x) \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.
\end{lemma}
Proof

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
$\apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Axiom 45, Definition 1, Definition 160, Definition 289, Lemma 265, Proposition 361.
$\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.

Claim: $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\tietzeLowerSet{u}{x}$ we have $y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.

Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\tietzeLowerSet{u}{x}$.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $y = \apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))$ by Definition 290.
$y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by Lemma 536, Proposition 437.

$g(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by Definition 66, Definition 71, Lemma 537.

LaTeX source
\begin{proof}
    Fix $n\in\naturalsPlus$.
    Fix $x\in X$.
    We have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$ and $g(x)\in\reals$
        by \cref{funs_type_apply}.
    $\apply{\snd{u(n)}}{x}\in\reals$ and $((1 + 1) / (n + 1))\in\reals$ by
        \cref{tietze_unit_state,continuous,funs_type_apply,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed,real_naturals_closed_succ,real_div_naturalsplus_real}.
    $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))\in\reals$ and
        $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))\in\reals$ by
        \cref{real_sub,real_add_inverse,real_add_closed}.
    Show that $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \leq g(x)$.
    \begin{subproof}
        Follows by \cref{tietze_lower_set,real_supremum_pred,real_supremum,real_upper_bound}.
    \end{subproof}
    Show that for all $y\in\tietzeLowerSet{u}{x}$ we have
        $y \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$.
    \begin{subproof}
        Fix $y\in\tietzeLowerSet{u}{x}$.
        Take $m\in\naturalsPlus$ such that
            $y = \apply{\snd{u(m)}}{x} - ((1 + 1) / (m + 1))$ by \cref{tietze_lower_set}.
        $y \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$
            by \cref{tietze_lower_leq_upper_cross,real_add_eq_subst}.
    \end{subproof}
    $g(x) \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$
        by \cref{tietze_lower_set_subset_reals,real_upper_bound,real_supremum}.
\end{proof}
Lemma 542
real_leq_subst_left_local

Suppose $a = b$ and $b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.

LaTeX source
\begin{lemma}
\label{real_leq_subst_left_local}
    Suppose $a = b$ and $b \leq c$.
    Then $a \leq c$.
\end{lemma}
Proof

Follows by Definition 1, Lemma 81, Lemma 82, Lemma 231.

LaTeX source
\begin{proof}
    Follows by \cref{real_leq_split,real_lt_subst_left,real_lt_imp_leq,subseteq}.
\end{proof}
Lemma 543
real_leq_subst_right_local

Suppose $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $b = c$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.

LaTeX source
\begin{lemma}
\label{real_leq_subst_right_local}
    Suppose $a \leq b$ and $b = c$.
    Then $a \leq c$.
\end{lemma}
Proof

Follows by Definition 1, Lemma 81, Lemma 83, Lemma 231.

LaTeX source
\begin{proof}
    Follows by \cref{real_leq_split,real_lt_subst_right,real_lt_imp_leq,subseteq}.
\end{proof}
Lemma 544
real_lt_leq_trans_local

Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$ and $b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.
Then $a < c$.

LaTeX source
\begin{lemma}
\label{real_lt_leq_trans_local}
    Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $a < b$ and $b \leq c$.
    Then $a < c$.
\end{lemma}
Proof

Follows by Axiom 36, Lemma 81, Lemma 83.

LaTeX source
\begin{proof}
    Follows by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
\end{proof}
Lemma 545
tietze_lower_set_uniform_convergence

Suppose $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$.
Let $s = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Then $s$ converges uniformly to $g$ from $X$ to $\reals$ with respect to $\standardMetricR$.

LaTeX source
\begin{lemma}
\label{tietze_lower_set_uniform_convergence}
    Suppose $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$.
    Suppose for all $n\in\naturalsPlus$ we have
        $\fst{u(n)} = n$ and
        $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ and
        for all $x\in X$ we have
            $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$.
    Suppose $g\in\funs{X}{\reals}$.
    Suppose for all $x\in X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$.
    Let $s = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
    Then $s$ converges uniformly to $g$ from $X$ to $\reals$ with respect to $\standardMetricR$.
\end{lemma}
Proof

$s$ is a relation by Definition 12.
For all $n,v,w$ such that $(n,v)\class{latex-symbol-tip latex-symbol-id-in}{\in} s$ and $(n,w)\class{latex-symbol-tip latex-symbol-id-in}{\in} s$ we have $v = w$ by Axiom 6.
$s$ is a function by Definition 12, Definition 51.
$\dom{s} = \naturalsPlus$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{s}$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Axiom 6, Definition 1, Definition 55, Definition 160, Definition 289, Proposition 349.
$s$ is a sequence in $\funs{X}{\reals}$ by Definition 158, Proposition 358.

Claim: For all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 531.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ by assumption.
$\apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Definition 289, Proposition 361.
$\apply{\apply{s}{n}}{x} = \apply{\snd{u(n)}}{x}$ by Proposition 346, Proposition 349.
$\apply{\apply{s}{n}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 158, Proposition 361.
$g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$N + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $n + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Definition 1, Lemma 20, Lemma 89.
$1 / (N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / (n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(1 + 1) / (N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Axiom 22, Definition 65.
$N + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Lemma 24.
$1 / (n + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (N + 1)$ by Lemma 259.
$(1 / (n + 1)) \rmul (1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (1 / (N + 1)) \rmul (1 + 1)$ by Axiom 38, Definition 1, Lemma 81, Lemma 231, Lemma 280, Proposition 448, Proposition 462.
$(1 / (n + 1)) \rmul (1 + 1) = (1 + 1) \rmul (1 / (n + 1))$ and $(1 / (N + 1)) \rmul (1 + 1) = (1 + 1) \rmul (1 / (N + 1))$ by Axiom 20.
$1 / (n + 1) + 1 / (n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / (N + 1) + 1 / (n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / (n + 1) + 1 / (N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / (N + 1) + 1 / (N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$1 / (n + 1) + 1 / (n + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (N + 1) + 1 / (n + 1)$ by Lemma 24.
$1 / (n + 1) + 1 / (N + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (N + 1) + 1 / (N + 1)$ by Lemma 24.
$1 / (n + 1) + 1 / (n + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1) + 1 / (N + 1)$ by Axiom 16, Lemma 543.
$1 / (n + 1) + 1 / (n + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (N + 1) + 1 / (N + 1)$ by Lemma 23.
$(1 + 1) / (n + 1) = 1 / (n + 1) + 1 / (n + 1)$ and $(1 + 1) / (N + 1) = 1 / (N + 1) + 1 / (N + 1)$ by Axiom 21, Lemma 82, Lemma 83, Lemma 262.
$((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Lemma 542, Lemma 543.
$\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$ and $g(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by Lemma 541.
$\neg{(((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{(((1 + 1) / (n + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\neg{(((1 + 1) / (N + 1)))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(((1 + 1) / (n + 1)))}$ by Lemma 22.
$\apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (n + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$\neg{(((1 + 1) / (N + 1)))} + \apply{\snd{u(n)}}{x} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(((1 + 1) / (n + 1)))} + \apply{\snd{u(n)}}{x}$ by Lemma 24.
$\apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (N + 1)))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (n + 1)))}$ by Axiom 16, Lemma 542, Lemma 543.
$\apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ by Definition 64.
$\apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 64.
$\apply{\apply{s}{n}}{x} - ((1 + 1) / (N + 1)) = \apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1))$ by Definition 64.
$\apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$ by Lemma 23.
$\apply{\apply{s}{n}}{x} - ((1 + 1) / (N + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$ by Lemma 542.
$((1 + 1) / (n + 1)) + \apply{\snd{u(n)}}{x} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1)) + \apply{\snd{u(n)}}{x}$ by Lemma 24.
$\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (N + 1))$ by Axiom 16, Lemma 542, Lemma 543.
$\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(n)}}{x} + ((1 + 1) / (N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$g(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(n)}}{x} + ((1 + 1) / (N + 1))$ by Lemma 23.
$g(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\apply{s}{n}}{x} + ((1 + 1) / (N + 1))$ by Lemma 543, Proposition 437.
$\apply{\apply{s}{n}}{x} - ((1 + 1) / (N + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$ and $g(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\apply{s}{n}}{x} + ((1 + 1) / (N + 1))$ by Definition 1.
$\neg{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\neg{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}} < \neg{(((1 + 1) / (N + 1)))}$ by Lemma 83, Proposition 465.
$\neg{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}} + \apply{\apply{s}{n}}{x} < \neg{(((1 + 1) / (N + 1)))} + \apply{\apply{s}{n}}{x}$ by Axiom 37.
$\apply{\apply{s}{n}}{x} + \neg{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\apply{s}{n}}{x} + \neg{(((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\apply{s}{n}}{x} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$\apply{\apply{s}{n}}{x} + \neg{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}} < \apply{\apply{s}{n}}{x} + \neg{(((1 + 1) / (N + 1)))}$ by Axiom 16, Lemma 82, Lemma 83.
$\apply{\apply{s}{n}}{x} + \neg{(((1 + 1) / (N + 1)))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$ by Definition 1, Definition 64, Lemma 542.
$\apply{\apply{s}{n}}{x} + \neg{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}} < g(x)$ by Lemma 544.
$\apply{\apply{s}{n}}{x} - \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < g(x)$ by Definition 64, Lemma 82.
$((1 + 1) / (N + 1)) + \apply{\apply{s}{n}}{x} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \apply{\apply{s}{n}}{x}$ by Axiom 37.
$\apply{\apply{s}{n}}{x} + ((1 + 1) / (N + 1)) < \apply{\apply{s}{n}}{x} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 16, Lemma 82, Lemma 83.
$g(x) < \apply{\apply{s}{n}}{x} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 266.
$\abs{\apply{\apply{s}{n}}{x} - g(x)} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 212.
$\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 82, Lemma 274.

Follows by Definition 1.

We have $s$ is a sequence in $\funs{X}{\reals}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and for all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 1, Definition 55.
$s$ converges uniformly to $g$ from $X$ to $\reals$ with respect to $\standardMetricR$ by Definition 216.

LaTeX source
\begin{proof}
    $s$ is a relation by \cref{relation}.
    For all $n,v,w$ such that $(n,v)\in s$ and $(n,w)\in s$ we have $v = w$ by \cref{pair_eq_iff}.
    $s$ is a function by \cref{rightunique,relation}.
    $\dom{s} = \naturalsPlus$ by \cref{dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
    For all $n\in\dom{s}$ we have $s(n)\in\funs{X}{\reals}$
        by \cref{function_apply_iff,subseteq,pair_eq_iff,tietze_unit_state,continuous,funs}.
    $s$ is a sequence in $\funs{X}{\reals}$ by \cref{funs_intro,sequence_in}.

    Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$ there exists $N\in\naturalsPlus$ such that
        for all $n\in\naturalsPlus$ if $N\leq n$ then
            for all $x\in X$ we have $\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \epsilon$.
    \begin{subproof}
        Fix $\epsilon\in\reals$.
        Assume $0 < \epsilon$.
        Take $N\in\naturalsPlus$ such that $((1 + 1) / (N + 1)) < \epsilon$ by \cref{tietze_small_error}.
        Show that for all $n\in\naturalsPlus$ if $N\leq n$ then
            for all $x\in X$ we have $\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \epsilon$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            Assume $N \leq n$.
            Fix $x\in X$.
            We have $\snd{u(n)}$ is a Tietze unit state on $n$ for $f$ over $A$ in $X$ with respect to $T$ by assumption.
            $\apply{\snd{u(n)}}{x}\in\reals$ by \cref{tietze_unit_state,continuous,funs_type_apply}.
            $\apply{\apply{s}{n}}{x} = \apply{\snd{u(n)}}{x}$ by \cref{function_apply_intro,function_apply_iff}.
            $\apply{\apply{s}{n}}{x}\in\reals$ by \cref{sequence_in,funs_type_apply}.
            $g(x)\in\reals$ by \cref{funs_type_apply}.
            $N\in\reals$ and $n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $N + 1\in\naturalsPlus$ and $n + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $1\in\reals$ and $N + 1\in\reals$ and $n + 1\in\reals$ and $1 + 1\in\reals$ by
                \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
            $N + 1\neq 0$ and $n + 1\neq 0$ by \cref{naturalsplus_positive_real,subseteq,real_pos_nonzero}.
            $1 / (N + 1)\in\reals$ and $1 / (n + 1)\in\reals$ and
                $(1 + 1) / (N + 1)\in\reals$ and $((1 + 1) / (n + 1))\in\reals$ by
                \cref{real_div,real_mul_closed,real_mul_inverse}.
            $N + 1 \leq n + 1$ by \cref{real_leq_add}.
            $1 / (n + 1) \leq 1 / (N + 1)$ by \cref{naturalsplus_reciprocal_antitone}.
            $(1 / (n + 1)) \rmul (1 + 1) \leq (1 / (N + 1)) \rmul (1 + 1)$
                by \cref{real_zero_lt_one,real_pos_add,real_leq_split,real_lt_mul_pos,real_lt_imp_leq,real_mul_eq_subst,subseteq}.
            $(1 / (n + 1)) \rmul (1 + 1) = (1 + 1) \rmul (1 / (n + 1))$ and
                $(1 / (N + 1)) \rmul (1 + 1) = (1 + 1) \rmul (1 / (N + 1))$ by \cref{real_mul_comm}.
            $1 / (n + 1) + 1 / (n + 1)\in\reals$ and
                $1 / (N + 1) + 1 / (n + 1)\in\reals$ and
                $1 / (n + 1) + 1 / (N + 1)\in\reals$ and
                $1 / (N + 1) + 1 / (N + 1)\in\reals$ by \cref{real_add_closed}.
            $1 / (n + 1) + 1 / (n + 1) \leq 1 / (N + 1) + 1 / (n + 1)$ by \cref{real_leq_add}.
            $1 / (n + 1) + 1 / (N + 1) \leq 1 / (N + 1) + 1 / (N + 1)$ by \cref{real_leq_add}.
            $1 / (n + 1) + 1 / (n + 1) \leq 1 / (n + 1) + 1 / (N + 1)$
                by \cref{real_add_comm,real_leq_subst_right_local}.
            $1 / (n + 1) + 1 / (n + 1) \leq 1 / (N + 1) + 1 / (N + 1)$ by \cref{real_leq_trans}.
            $(1 + 1) / (n + 1) = 1 / (n + 1) + 1 / (n + 1)$ and
                $(1 + 1) / (N + 1) = 1 / (N + 1) + 1 / (N + 1)$ by
                \cref{real_div_add_same_denom,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
            $((1 + 1) / (n + 1)) \leq ((1 + 1) / (N + 1))$ by
                \cref{real_leq_subst_left_local,real_leq_subst_right_local}.
            $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1)) \leq g(x)$ and
                $g(x) \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))$ by \cref{tietze_supremum_between_endpoints}.
            $\neg{(((1 + 1) / (N + 1)))}\in\reals$ and $\neg{(((1 + 1) / (n + 1)))}\in\reals$
                by \cref{real_add_inverse}.
            $\neg{(((1 + 1) / (N + 1)))} \leq \neg{(((1 + 1) / (n + 1)))}$ by \cref{real_leq_neg}.
            $\apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ and
                $\apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (n + 1)))}\in\reals$ by \cref{real_add_closed}.
            $\neg{(((1 + 1) / (N + 1)))} + \apply{\snd{u(n)}}{x} \leq
                \neg{(((1 + 1) / (n + 1)))} + \apply{\snd{u(n)}}{x}$ by \cref{real_leq_add}.
            $\apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (N + 1)))} \leq
                \apply{\snd{u(n)}}{x} + \neg{(((1 + 1) / (n + 1)))}$ by
                \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $\apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1))
                \leq \apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))$ by \cref{real_sub}.
            $\apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1))\in\reals$ and
                $\apply{\snd{u(n)}}{x} - ((1 + 1) / (n + 1))\in\reals$ by \cref{real_sub}.
            $\apply{\apply{s}{n}}{x} - ((1 + 1) / (N + 1)) =
                \apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1))$ by \cref{real_sub}.
            $\apply{\snd{u(n)}}{x} - ((1 + 1) / (N + 1)) \leq g(x)$ by \cref{real_leq_trans}.
            $\apply{\apply{s}{n}}{x} - ((1 + 1) / (N + 1)) \leq g(x)$ by \cref{real_leq_subst_left_local}.
            $((1 + 1) / (n + 1)) + \apply{\snd{u(n)}}{x} \leq
                ((1 + 1) / (N + 1)) + \apply{\snd{u(n)}}{x}$ by \cref{real_leq_add}.
            $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1)) \leq
                \apply{\snd{u(n)}}{x} + ((1 + 1) / (N + 1))$ by
                \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $\apply{\snd{u(n)}}{x} + ((1 + 1) / (n + 1))\in\reals$ and
                $\apply{\snd{u(n)}}{x} + ((1 + 1) / (N + 1))\in\reals$ by \cref{real_add_closed}.
            $g(x) \leq \apply{\snd{u(n)}}{x} + ((1 + 1) / (N + 1))$ by \cref{real_leq_trans}.
            $g(x) \leq \apply{\apply{s}{n}}{x} + ((1 + 1) / (N + 1))$
                by \cref{real_add_eq_subst,real_leq_subst_right_local}.
            $\apply{\apply{s}{n}}{x} - ((1 + 1) / (N + 1)) \leq g(x)$ and
                $g(x) \leq \apply{\apply{s}{n}}{x} + ((1 + 1) / (N + 1))$ by \cref{subseteq}.
            $\neg{\epsilon}\in\reals$ by \cref{real_add_inverse}.
            $\neg{\epsilon} < \neg{(((1 + 1) / (N + 1)))}$ by \cref{real_lt_neg,real_lt_subst_right}.
            $\neg{\epsilon} + \apply{\apply{s}{n}}{x} < \neg{(((1 + 1) / (N + 1)))} + \apply{\apply{s}{n}}{x}$ by \cref{real_lt_add}.
            $\apply{\apply{s}{n}}{x} + \neg{\epsilon}\in\reals$ and
                $\apply{\apply{s}{n}}{x} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ and
                $\apply{\apply{s}{n}}{x} + \epsilon\in\reals$ by \cref{real_add_closed}.
            $\apply{\apply{s}{n}}{x} + \neg{\epsilon} < \apply{\apply{s}{n}}{x} + \neg{(((1 + 1) / (N + 1)))}$
                by \cref{real_add_comm,real_lt_subst_left,real_lt_subst_right}.
            $\apply{\apply{s}{n}}{x} + \neg{(((1 + 1) / (N + 1)))} \leq g(x)$
                by \cref{real_sub,subseteq,real_leq_subst_left_local}.
            $\apply{\apply{s}{n}}{x} + \neg{\epsilon} < g(x)$ by \cref{real_lt_leq_trans_local}.
            $\apply{\apply{s}{n}}{x} - \epsilon < g(x)$ by \cref{real_sub,real_lt_subst_left}.
            $((1 + 1) / (N + 1)) + \apply{\apply{s}{n}}{x} < \epsilon + \apply{\apply{s}{n}}{x}$ by \cref{real_lt_add}.
            $\apply{\apply{s}{n}}{x} + ((1 + 1) / (N + 1)) < \apply{\apply{s}{n}}{x} + \epsilon$
                by \cref{real_add_comm,real_lt_subst_left,real_lt_subst_right}.
            $g(x) < \apply{\apply{s}{n}}{x} + \epsilon$ by \cref{real_leq_lt_trans}.
            $\abs{\apply{\apply{s}{n}}{x} - g(x)} < \epsilon$ by \cref{real_abs_lt_from_interval}.
            $\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \epsilon$ by \cref{standard_metric_value,real_lt_subst_left}.
        \end{subproof}
        Follows by \cref{subseteq}.
    \end{subproof}
    We have $s$ is a sequence in $\funs{X}{\reals}$ and
        $g\in\funs{X}{\reals}$ and
        for all $\epsilon\in\reals$ such that $0 < \epsilon$ there exists $N\in\naturalsPlus$ such that
            for all $n\in\naturalsPlus$ if $N\leq n$ then
                for all $x\in X$ we have $\apply{\standardMetricR}{(\apply{\apply{s}{n}}{x}, g(x))} < \epsilon$
        by \cref{funs,subseteq}.
    $s$ converges uniformly to $g$ from $X$ to $\reals$ with respect to $\standardMetricR$
        by \cref{uniform_converges_to}.
\end{proof}
Lemma 546
tietze_extension_theorem_unit_interval

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Let $I = \intervalclosed{\neg{1}}{1}$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
Then there exists $g$ such that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(x) = f(x)$.

LaTeX source
\begin{lemma}
\label{tietze_extension_theorem_unit_interval}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Let $I = \intervalclosed{\neg{1}}{1}$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
    Then there exists $g$ such that
        $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $g(x) = f(x)$.
\end{lemma}
Proof
Case. $X = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

$T$ is a topology on $X$ by Definition 277.
We have $\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$T_I$ is a topology on $I$ by Definition 1, Definition 75, Definition 147, Lemma 131.
$A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 149, Proposition 12, Proposition 437.
$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.
$\neg{1}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{1} < 0$ by Axiom 18, Lemma 83, Lemma 84, Proposition 465.
$\neg{1} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 0$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Lemma 231.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75.
Let $g = \{(x,0) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$g$ is a function from $X$ to $I$ by Lemma 309.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x) = 0$ by Lemma 309, Proposition 346, Proposition 356.

Claim: $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.

Follows by Lemma 163.

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

Trivial.

There exists $h$ such that $h$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(x) = f(x)$ by Definition 1.

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

We have $X$ is inhabited by Proposition 10.
Let $j = \identity{I}$.
Let $f_1 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$f_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 525.
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f_1(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 1, Definition 55, Definition 160, Proposition 296, Proposition 297, Proposition 345, Proposition 355, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 400, Proposition 405, Proposition 437.
Take $u$ such that $u$ is a sequence in $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{X}{\reals}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ and $\snd{u(n)}$ is a Tietze unit state on $n$ for $f_1$ over $A$ in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(1)}}{x} = 0$ and $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$ by Lemma 530.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(1)}}{x} = 0$ by Axiom 42, Definition 1.
Take $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$ by Lemma 540.
Let $s = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
$s$ converges uniformly to $g$ from $X$ to $\reals$ with respect to $\standardMetricR$ by Lemma 545.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{\funs{X}{\reals}}$ by Definition 158, Definition 216.
$s$ is a function and $s$ is a relation and $\dom{s} = \naturalsPlus$ by Definition 55, Proposition 355, Proposition 356.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{s}$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Proposition 361.
$s$ is a sequence in $\funs{X}{\reals}$ by Definition 158.
$T$ is a topology on $X$ by Definition 277.
$\standardMetricR$ is a metric on $\reals$ by Lemma 198.
Let $T_M = \metricTopology{\standardMetricR}{\reals}$.
$T_M = \standardTopologyR$ by Lemma 200.
$\standardTopologyR = T_M$ by Definition 1.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is continuous from $X$ to $\reals$ with respect to $T$ and $T_M$ by Definition 289, Lemma 367, Lemma 368, Proposition 346.
$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $T_M$ by Theorem 36.
$g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 368.

For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{\snd{u(1)}}{x} = 0$ by assumption.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 17, Axiom 18, Axiom 41, Axiom 42, Definition 1, Definition 64, Definition 75, Lemma 538, Lemma 541, Lemma 542, Lemma 543, Proposition 361, Proposition 437.

Claim: $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
Claim: For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(a) = f_1(a)$.

Fix $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
We have $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $f_1(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 149, Definition 160, Proposition 361.
$f_1(a) < g(a)$ or $f_1(a) = g(a)$ or $g(a) < f_1(a)$ by Axiom 34.

Case. $f_1(a) = g(a)$.

$g(a) = f_1(a)$.

Case. $g(a) < f_1(a)$.

Suppose not.
Let $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = f_1(a) - g(a)$.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 532.
$\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
$f_1(a) - \apply{\snd{u(N)}}{a}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by Definition 289.
$f_1(a) - \apply{\snd{u(N)}}{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{((1 + 1) / (N + 1))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(a) - \apply{\snd{u(N)}}{a}$ and $f_1(a) - \apply{\snd{u(N)}}{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Definition 75.
$g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(N)}}{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Definition 289, Proposition 361.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$N + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Definition 1, Lemma 20, Lemma 89.
$((1 + 1) / (N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Axiom 22, Definition 65.
$\neg{(((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 64, Proposition 437.
$\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$0 < 1 + 1$ by Axiom 41, Axiom 42, Definition 1, Proposition 448, Proposition 462.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 + 1$ by Lemma 231.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Definition 1, Lemma 263.
$\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{\neg{(((1 + 1) / (N + 1)))}}$ by Lemma 22.
$\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Lemma 543, Proposition 441.
$\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Proposition 484.
$\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(a)$ and $g(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by Lemma 541.
$\neg{g(a)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by Lemma 22.
$\neg{g(a)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\neg{g(a)} + f_1(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} + f_1(a)$ by Lemma 24.
$f_1(a) + \neg{g(a)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by Axiom 16, Lemma 542, Lemma 543.
$f_1(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by Proposition 492.
$f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by Lemma 24.
$f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by Definition 64, Lemma 542.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by Lemma 23.
$\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
$\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) = \apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}$ by Definition 64.
$\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} = \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by Proposition 437.
$(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} = (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by Proposition 437.
$(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Lemma 12, Proposition 437.
$(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by Proposition 437.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by Lemma 23, Proposition 437.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 266.
Contradiction by Axiom 39.

Case. $f_1(a) < g(a)$.

Suppose not.
Let $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = g(a) - f_1(a)$.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 532.
$\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
$f_1(a) - \apply{\snd{u(N)}}{a}\class{latex-symbol-tip latex-symbol-id-in}{\in} \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by Definition 289.
$f_1(a) - \apply{\snd{u(N)}}{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{((1 + 1) / (N + 1))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(a) - \apply{\snd{u(N)}}{a}$ and $f_1(a) - \apply{\snd{u(N)}}{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Definition 75.
$g(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(N)}}{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Definition 289, Proposition 361.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$N + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Definition 1, Lemma 20, Lemma 89.
$((1 + 1) / (N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Axiom 22, Definition 65.
$\neg{(((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18.
$0 < 1 + 1$ by Axiom 41, Axiom 42, Definition 1, Proposition 448, Proposition 462.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 + 1$ by Lemma 231.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Definition 1, Lemma 263.
$\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{\neg{(((1 + 1) / (N + 1)))}}$ by Lemma 22.
$\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Lemma 543, Proposition 441.
$\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1))$ by Proposition 484.
$\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(a)$ and $g(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by Lemma 541.
$\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(a)$ by Proposition 491.
$\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(a)$ by Definition 64, Lemma 542.
$\neg{f_1(a)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\neg{f_1(a)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by Lemma 22.
$\neg{f_1(a)} + g(a) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} + g(a)$ by Lemma 24.
$g(a) + \neg{f_1(a)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by Axiom 16, Lemma 542, Lemma 543.
$g(a) + \neg{f_1(a)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by Lemma 24.
$(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$g(a) + \neg{f_1(a)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by Lemma 23.
$\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18.
$(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Lemma 12, Proposition 437.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = g(a) + \neg{f_1(a)}$ by Definition 64.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by Lemma 542.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by Lemma 23, Proposition 437.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 266.
Contradiction by Axiom 39.

LaTeX source
\begin{byCase}
        \caseOf{$f_1(a) = g(a)$.}
            $g(a) = f_1(a)$.
        \caseOf{$g(a) < f_1(a)$.}
            Suppose not.
            Let $\epsilon = f_1(a) - g(a)$.
            $\epsilon\in\reals$ and $0 < \epsilon$ by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
            Take $N\in\naturalsPlus$ such that
                $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$ by \cref{tietze_small_double_error}.
            $\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in
                \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by \cref{tietze_unit_state}.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in\reals$ and
                $\neg{((1 + 1) / (N + 1))} \leq f_1(a) - \apply{\snd{u(N)}}{a}$ and
                $f_1(a) - \apply{\snd{u(N)}}{a} \leq ((1 + 1) / (N + 1))$ by \cref{intervalclosed}.
            $g(a)\in\reals$ and $\apply{\snd{u(N)}}{a}\in\reals$ by
                \cref{funs_type_apply,tietze_unit_state,continuous}.
            $N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $N + 1\in\reals$ and $1 + 1\in\reals$ by
                \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
            $N + 1\neq 0$ by \cref{naturalsplus_positive_real,subseteq,real_pos_nonzero}.
            $((1 + 1) / (N + 1))\in\reals$ by \cref{real_div,real_mul_closed,real_mul_inverse}.
            $\neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_closed}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1))\in\reals$ by \cref{real_sub,real_add_eq_subst}.
            $\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\in\reals$ by \cref{real_add_closed}.
            $0 < 1 + 1$ by \cref{real_zero_lt_one,real_pos_add,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
            $0 \leq 1 + 1$ by \cref{real_lt_imp_leq}.
            $0 \leq ((1 + 1) / (N + 1))$ by \cref{real_div_naturalsplus_nonnegative,subseteq}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq \neg{\neg{(((1 + 1) / (N + 1)))}}$ by \cref{real_leq_neg}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq ((1 + 1) / (N + 1))$
                by \cref{real_neg_neg,real_leq_subst_right_local}.
            $\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \leq ((1 + 1) / (N + 1))$ by \cref{real_abs_leq_if_pm_leq}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq g(a)$ and
                $g(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{tietze_supremum_between_endpoints}.
            $\neg{g(a)} \leq \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by \cref{real_leq_neg}.
            $\neg{g(a)}\in\reals$ and
                $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\neg{g(a)} + f_1(a) \leq \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} + f_1(a)$
                by \cref{real_leq_add}.
            $f_1(a) + \neg{g(a)} \leq f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $f_1(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{real_abs_sub_leq_imp_right_bound}.
            $f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}
                \leq (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_leq_add}.
            $f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ and
                $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$
                by \cref{real_add_closed}.
            $\epsilon \leq f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_sub,real_leq_subst_left_local}.
            $\epsilon \leq (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by \cref{real_leq_trans}.
            $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) =
                \apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}$ by \cref{real_sub}.
            $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} =
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} =
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}
                = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_neg_addition,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_add_eq_subst}.
            $\epsilon \leq ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by \cref{real_leq_trans,real_add_eq_subst}.
            $\epsilon < \epsilon$ by \cref{real_leq_lt_trans}.
            Contradiction by \cref{real_lt_irreflexive}.
        \caseOf{$f_1(a) < g(a)$.}
            Suppose not.
            Let $\epsilon = g(a) - f_1(a)$.
            $\epsilon\in\reals$ and $0 < \epsilon$ by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
            Take $N\in\naturalsPlus$ such that
                $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$ by \cref{tietze_small_double_error}.
            $\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in
                \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by \cref{tietze_unit_state}.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in\reals$ and
                $\neg{((1 + 1) / (N + 1))} \leq f_1(a) - \apply{\snd{u(N)}}{a}$ and
                $f_1(a) - \apply{\snd{u(N)}}{a} \leq ((1 + 1) / (N + 1))$ by \cref{intervalclosed}.
            $g(a)\in\reals$ and $\apply{\snd{u(N)}}{a}\in\reals$ by
                \cref{funs_type_apply,tietze_unit_state,continuous}.
            $N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $N + 1\in\reals$ and $1 + 1\in\reals$ by
                \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
            $N + 1\neq 0$ by \cref{naturalsplus_positive_real,subseteq,real_pos_nonzero}.
            $((1 + 1) / (N + 1))\in\reals$ by \cref{real_div,real_mul_closed,real_mul_inverse}.
            $\neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ and
                $\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\in\reals$ by \cref{real_add_closed,real_add_inverse}.
            $0 < 1 + 1$ by \cref{real_zero_lt_one,real_pos_add,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
            $0 \leq 1 + 1$ by \cref{real_lt_imp_leq}.
            $0 \leq ((1 + 1) / (N + 1))$ by \cref{real_div_naturalsplus_nonnegative,subseteq}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq \neg{\neg{(((1 + 1) / (N + 1)))}}$ by \cref{real_leq_neg}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq ((1 + 1) / (N + 1))$
                by \cref{real_neg_neg,real_leq_subst_right_local}.
            $\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \leq ((1 + 1) / (N + 1))$ by \cref{real_abs_leq_if_pm_leq}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq g(a)$ and
                $g(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{tietze_supremum_between_endpoints}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq f_1(a)$ by \cref{real_abs_sub_leq_imp_left_bound}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))} \leq f_1(a)$
                by \cref{real_sub,real_leq_subst_left_local}.
            $\neg{f_1(a)}\in\reals$ and
                $\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by \cref{real_add_inverse}.
            $\neg{f_1(a)} \leq \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_leq_neg}.
            $\neg{f_1(a)} + g(a) \leq
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} + g(a)$ by \cref{real_leq_add}.
            $g(a) + \neg{f_1(a)} \leq
                g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by
                \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $g(a) + \neg{f_1(a)}\in\reals$ and
                $g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by \cref{real_add_closed}.
            $g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_add}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$
                by \cref{real_add_closed}.
            $g(a) + \neg{f_1(a)} \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_trans}.
            $\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by
                \cref{real_add_inverse,real_add_closed}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}
                = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_neg_addition,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
            $\epsilon = g(a) + \neg{f_1(a)}$ by \cref{real_sub}.
            $\epsilon \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_subst_left_local}.
            $\epsilon \leq ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by \cref{real_leq_trans,real_add_eq_subst}.
            $\epsilon < \epsilon$ by \cref{real_leq_lt_trans}.
            Contradiction by \cref{real_lt_irreflexive}.
        
\end{byCase}

For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(a) = f(a)$ by Definition 1, Definition 55, Definition 160, Proposition 296, Proposition 297, Proposition 359, Proposition 361, Proposition 363, Proposition 373, Proposition 400, Proposition 405.
There exists $h$ such that $h$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(x) = f(x)$ by Definition 1.

LaTeX source
\begin{byCase}
    \caseOf{$X = \emptyset$.}
        $T$ is a topology on $X$ by \cref{normal_space}.
        We have $\standardTopologyR$ is a topology on $\reals$
            by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
        $T_I$ is a topology on $I$ by \cref{intervalclosed,subseteq,subspace_topology_is_topology,subspace_of}.
        $A = \emptyset$ by \cref{closed_in,real_add_eq_subst,subseteq_emptyset_iff}.
        $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}.
        $\neg{1}\in\reals$ and $\neg{1} < 0$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_right}.
        $\neg{1} \leq 0$ and $0 \leq 1$ by \cref{real_lt_imp_leq}.
        $0\in I$ by \cref{intervalclosed}.
        Let $g = \{(x,0) \mid x\in X\}$.
        $g$ is a function from $X$ to $I$ by \cref{constant_map_function}.
        For all $x\in X$ we have $g(x) = 0$ by \cref{constant_map_function,funs_is_function,function_apply_intro}.
        Show that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
        \begin{subproof}
            Follows by \cref{constant_continuous}.
        \end{subproof}
        Show that for all $x\in A$ we have $g(x) = f(x)$.
        \begin{subproof}
            Trivial.
        \end{subproof}
        There exists $h$ such that
            $h$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
            for all $x\in A$ we have $h(x) = f(x)$ by \cref{subseteq}.
    \caseOf{$X \neq \emptyset$.}
        We have $X$ is inhabited by \cref{nonempty_inhabited}.
    Let $j = \identity{I}$.
    Let $f_1 = j\circ f$.
    $f_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{continuous_interval_expand_range}.
    For all $a\in A$ we have $f_1(a)\in I$ by
        \cref{continuous,funs_type_apply,funs_is_function,funs,function_rightunique,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,subseteq,id_apply,real_add_eq_subst}.
    Take $u$ such that
        $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$ and
        for all $n\in\naturalsPlus$ we have
            $\fst{u(n)} = n$ and
            $\snd{u(n)}$ is a Tietze unit state on $n$ for $f_1$ over $A$ in $X$ with respect to $T$ and
            for all $x\in X$ we have
                $\apply{\snd{u(1)}}{x} = 0$ and
                $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                    \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$
        by \cref{tietze_unit_state_iteration}.
    For all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$ by \cref{real_one_in_naturals,subseteq}.
    Take $g$ such that
        $g\in\funs{X}{\reals}$ and
        for all $x\in X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$
        by \cref{tietze_lower_set_supremum_function}.
    Let $s = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
    $s$ converges uniformly to $g$ from $X$ to $\reals$ with respect to $\standardMetricR$
        by \cref{tietze_lower_set_uniform_convergence}.
    $s\in\funs{\naturalsPlus}{\funs{X}{\reals}}$ by \cref{uniform_converges_to,sequence_in}.
    $s$ is a function and $s$ is a relation and $\dom{s} = \naturalsPlus$ by
        \cref{funs_is_function,funs_is_relation,funs}.
    For all $n\in\dom{s}$ we have $s(n)\in\funs{X}{\reals}$ by \cref{funs_type_apply}.
    $s$ is a sequence in $\funs{X}{\reals}$ by \cref{sequence_in}.
    $T$ is a topology on $X$ by \cref{normal_space}.
    $\standardMetricR$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
    Let $T_M = \metricTopology{\standardMetricR}{\reals}$.
    $T_M = \standardTopologyR$ by \cref{standard_metric_topology}.
    $\standardTopologyR = T_M$ by \cref{subseteq}.
    For all $n\in\naturalsPlus$ we have
        $s(n)$ is continuous from $X$ to $\reals$ with respect to $T$ and $T_M$
        by \cref{tietze_unit_state,function_apply_intro,continuous_eq_subst,continuous_eq_codomain}.
    $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $T_M$
        by \cref{uniform_limit_theorem}.
    $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_eq_codomain}.

    For all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$ by assumption.
    For all $x\in X$ we have $g(x)\in I$ by
        \cref{tietze_supremum_between_endpoints,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_two_over_two_local,real_add_inverse,real_sub,real_add_eq_subst,real_add_ident,real_leq_subst_left_local,real_leq_subst_right_local,intervalclosed,funs_type_apply}.
    Show that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
    \begin{subproof}
        Follows by \cref{img_iff,funs_is_function,function_rightunique,funs_is_relation,funs,function_apply_iff,pair_eq_iff,subseteq,continuous_subspace_range,intervalclosed,normal_space}.
    \end{subproof}

    Show that for all $a\in A$ we have $g(a) = f_1(a)$.
    \begin{subproof}
        Fix $a\in A$.
        We have $a\in X$ and $f_1(a)\in\reals$ and $g(a)\in\reals$
            by \cref{closed_in,subseteq,continuous,funs_type_apply}.
        $f_1(a) < g(a)$ or $f_1(a) = g(a)$ or $g(a) < f_1(a)$ by \cref{real_lt_trichotomy}.
        \begin{byCase}
        \caseOf{$f_1(a) = g(a)$.}
            $g(a) = f_1(a)$.
        \caseOf{$g(a) < f_1(a)$.}
            Suppose not.
            Let $\epsilon = f_1(a) - g(a)$.
            $\epsilon\in\reals$ and $0 < \epsilon$ by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
            Take $N\in\naturalsPlus$ such that
                $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$ by \cref{tietze_small_double_error}.
            $\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in
                \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by \cref{tietze_unit_state}.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in\reals$ and
                $\neg{((1 + 1) / (N + 1))} \leq f_1(a) - \apply{\snd{u(N)}}{a}$ and
                $f_1(a) - \apply{\snd{u(N)}}{a} \leq ((1 + 1) / (N + 1))$ by \cref{intervalclosed}.
            $g(a)\in\reals$ and $\apply{\snd{u(N)}}{a}\in\reals$ by
                \cref{funs_type_apply,tietze_unit_state,continuous}.
            $N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $N + 1\in\reals$ and $1 + 1\in\reals$ by
                \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
            $N + 1\neq 0$ by \cref{naturalsplus_positive_real,subseteq,real_pos_nonzero}.
            $((1 + 1) / (N + 1))\in\reals$ by \cref{real_div,real_mul_closed,real_mul_inverse}.
            $\neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_closed}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1))\in\reals$ by \cref{real_sub,real_add_eq_subst}.
            $\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\in\reals$ by \cref{real_add_closed}.
            $0 < 1 + 1$ by \cref{real_zero_lt_one,real_pos_add,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
            $0 \leq 1 + 1$ by \cref{real_lt_imp_leq}.
            $0 \leq ((1 + 1) / (N + 1))$ by \cref{real_div_naturalsplus_nonnegative,subseteq}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq \neg{\neg{(((1 + 1) / (N + 1)))}}$ by \cref{real_leq_neg}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq ((1 + 1) / (N + 1))$
                by \cref{real_neg_neg,real_leq_subst_right_local}.
            $\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \leq ((1 + 1) / (N + 1))$ by \cref{real_abs_leq_if_pm_leq}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq g(a)$ and
                $g(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{tietze_supremum_between_endpoints}.
            $\neg{g(a)} \leq \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by \cref{real_leq_neg}.
            $\neg{g(a)}\in\reals$ and
                $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\neg{g(a)} + f_1(a) \leq \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} + f_1(a)$
                by \cref{real_leq_add}.
            $f_1(a) + \neg{g(a)} \leq f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $f_1(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{real_abs_sub_leq_imp_right_bound}.
            $f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}
                \leq (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_leq_add}.
            $f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ and
                $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$
                by \cref{real_add_closed}.
            $\epsilon \leq f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_sub,real_leq_subst_left_local}.
            $\epsilon \leq (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by \cref{real_leq_trans}.
            $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) =
                \apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}$ by \cref{real_sub}.
            $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} =
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} =
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}
                = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_neg_addition,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_add_eq_subst}.
            $\epsilon \leq ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by \cref{real_leq_trans,real_add_eq_subst}.
            $\epsilon < \epsilon$ by \cref{real_leq_lt_trans}.
            Contradiction by \cref{real_lt_irreflexive}.
        \caseOf{$f_1(a) < g(a)$.}
            Suppose not.
            Let $\epsilon = g(a) - f_1(a)$.
            $\epsilon\in\reals$ and $0 < \epsilon$ by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
            Take $N\in\naturalsPlus$ such that
                $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$ by \cref{tietze_small_double_error}.
            $\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in
                \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by \cref{tietze_unit_state}.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in\reals$ and
                $\neg{((1 + 1) / (N + 1))} \leq f_1(a) - \apply{\snd{u(N)}}{a}$ and
                $f_1(a) - \apply{\snd{u(N)}}{a} \leq ((1 + 1) / (N + 1))$ by \cref{intervalclosed}.
            $g(a)\in\reals$ and $\apply{\snd{u(N)}}{a}\in\reals$ by
                \cref{funs_type_apply,tietze_unit_state,continuous}.
            $N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $N + 1\in\reals$ and $1 + 1\in\reals$ by
                \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
            $N + 1\neq 0$ by \cref{naturalsplus_positive_real,subseteq,real_pos_nonzero}.
            $((1 + 1) / (N + 1))\in\reals$ by \cref{real_div,real_mul_closed,real_mul_inverse}.
            $\neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ and
                $\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\in\reals$ by \cref{real_add_closed,real_add_inverse}.
            $0 < 1 + 1$ by \cref{real_zero_lt_one,real_pos_add,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
            $0 \leq 1 + 1$ by \cref{real_lt_imp_leq}.
            $0 \leq ((1 + 1) / (N + 1))$ by \cref{real_div_naturalsplus_nonnegative,subseteq}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq \neg{\neg{(((1 + 1) / (N + 1)))}}$ by \cref{real_leq_neg}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq ((1 + 1) / (N + 1))$
                by \cref{real_neg_neg,real_leq_subst_right_local}.
            $\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \leq ((1 + 1) / (N + 1))$ by \cref{real_abs_leq_if_pm_leq}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq g(a)$ and
                $g(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{tietze_supremum_between_endpoints}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq f_1(a)$ by \cref{real_abs_sub_leq_imp_left_bound}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))} \leq f_1(a)$
                by \cref{real_sub,real_leq_subst_left_local}.
            $\neg{f_1(a)}\in\reals$ and
                $\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by \cref{real_add_inverse}.
            $\neg{f_1(a)} \leq \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_leq_neg}.
            $\neg{f_1(a)} + g(a) \leq
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} + g(a)$ by \cref{real_leq_add}.
            $g(a) + \neg{f_1(a)} \leq
                g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by
                \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $g(a) + \neg{f_1(a)}\in\reals$ and
                $g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by \cref{real_add_closed}.
            $g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_add}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$
                by \cref{real_add_closed}.
            $g(a) + \neg{f_1(a)} \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_trans}.
            $\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by
                \cref{real_add_inverse,real_add_closed}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}
                = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_neg_addition,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
            $\epsilon = g(a) + \neg{f_1(a)}$ by \cref{real_sub}.
            $\epsilon \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_subst_left_local}.
            $\epsilon \leq ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by \cref{real_leq_trans,real_add_eq_subst}.
            $\epsilon < \epsilon$ by \cref{real_leq_lt_trans}.
            Contradiction by \cref{real_lt_irreflexive}.
        \end{byCase}
    \end{subproof}
    For all $a\in A$ we have $g(a) = f(a)$ by
        \cref{subseteq,continuous,funs_type_apply,funs,id_rightunique,id_is_relation,id_dom,funs_elim,funs_ran,circ_apply,id_apply}.
    There exists $h$ such that
        $h$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $h(x) = f(x)$ by \cref{subseteq}.
\end{byCase}
LaTeX source
\begin{proof}
    \begin{byCase}
    \caseOf{$X = \emptyset$.}
        $T$ is a topology on $X$ by \cref{normal_space}.
        We have $\standardTopologyR$ is a topology on $\reals$
            by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
        $T_I$ is a topology on $I$ by \cref{intervalclosed,subseteq,subspace_topology_is_topology,subspace_of}.
        $A = \emptyset$ by \cref{closed_in,real_add_eq_subst,subseteq_emptyset_iff}.
        $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}.
        $\neg{1}\in\reals$ and $\neg{1} < 0$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_right}.
        $\neg{1} \leq 0$ and $0 \leq 1$ by \cref{real_lt_imp_leq}.
        $0\in I$ by \cref{intervalclosed}.
        Let $g = \{(x,0) \mid x\in X\}$.
        $g$ is a function from $X$ to $I$ by \cref{constant_map_function}.
        For all $x\in X$ we have $g(x) = 0$ by \cref{constant_map_function,funs_is_function,function_apply_intro}.
        Show that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
        \begin{subproof}
            Follows by \cref{constant_continuous}.
        \end{subproof}
        Show that for all $x\in A$ we have $g(x) = f(x)$.
        \begin{subproof}
            Trivial.
        \end{subproof}
        There exists $h$ such that
            $h$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
            for all $x\in A$ we have $h(x) = f(x)$ by \cref{subseteq}.
    \caseOf{$X \neq \emptyset$.}
        We have $X$ is inhabited by \cref{nonempty_inhabited}.
    Let $j = \identity{I}$.
    Let $f_1 = j\circ f$.
    $f_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{continuous_interval_expand_range}.
    For all $a\in A$ we have $f_1(a)\in I$ by
        \cref{continuous,funs_type_apply,funs_is_function,funs,function_rightunique,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,subseteq,id_apply,real_add_eq_subst}.
    Take $u$ such that
        $u$ is a sequence in $\naturalsPlus\times\funs{X}{\reals}$ and
        for all $n\in\naturalsPlus$ we have
            $\fst{u(n)} = n$ and
            $\snd{u(n)}$ is a Tietze unit state on $n$ for $f_1$ over $A$ in $X$ with respect to $T$ and
            for all $x\in X$ we have
                $\apply{\snd{u(1)}}{x} = 0$ and
                $\apply{\snd{u(n + 1)}}{x} - \apply{\snd{u(n)}}{x}\in
                    \intervalclosed{\neg{(((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1)))}}{((1 + 1) / (n + 1)) - ((1 + 1) / ((n + 1) + 1))}$
        by \cref{tietze_unit_state_iteration}.
    For all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$ by \cref{real_one_in_naturals,subseteq}.
    Take $g$ such that
        $g\in\funs{X}{\reals}$ and
        for all $x\in X$ we have $g(x)$ is a supremum of $\tietzeLowerSet{u}{x}$
        by \cref{tietze_lower_set_supremum_function}.
    Let $s = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
    $s$ converges uniformly to $g$ from $X$ to $\reals$ with respect to $\standardMetricR$
        by \cref{tietze_lower_set_uniform_convergence}.
    $s\in\funs{\naturalsPlus}{\funs{X}{\reals}}$ by \cref{uniform_converges_to,sequence_in}.
    $s$ is a function and $s$ is a relation and $\dom{s} = \naturalsPlus$ by
        \cref{funs_is_function,funs_is_relation,funs}.
    For all $n\in\dom{s}$ we have $s(n)\in\funs{X}{\reals}$ by \cref{funs_type_apply}.
    $s$ is a sequence in $\funs{X}{\reals}$ by \cref{sequence_in}.
    $T$ is a topology on $X$ by \cref{normal_space}.
    $\standardMetricR$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
    Let $T_M = \metricTopology{\standardMetricR}{\reals}$.
    $T_M = \standardTopologyR$ by \cref{standard_metric_topology}.
    $\standardTopologyR = T_M$ by \cref{subseteq}.
    For all $n\in\naturalsPlus$ we have
        $s(n)$ is continuous from $X$ to $\reals$ with respect to $T$ and $T_M$
        by \cref{tietze_unit_state,function_apply_intro,continuous_eq_subst,continuous_eq_codomain}.
    $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $T_M$
        by \cref{uniform_limit_theorem}.
    $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_eq_codomain}.

    For all $x\in X$ we have $\apply{\snd{u(1)}}{x} = 0$ by assumption.
    For all $x\in X$ we have $g(x)\in I$ by
        \cref{tietze_supremum_between_endpoints,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_two_over_two_local,real_add_inverse,real_sub,real_add_eq_subst,real_add_ident,real_leq_subst_left_local,real_leq_subst_right_local,intervalclosed,funs_type_apply}.
    Show that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$.
    \begin{subproof}
        Follows by \cref{img_iff,funs_is_function,function_rightunique,funs_is_relation,funs,function_apply_iff,pair_eq_iff,subseteq,continuous_subspace_range,intervalclosed,normal_space}.
    \end{subproof}

    Show that for all $a\in A$ we have $g(a) = f_1(a)$.
    \begin{subproof}
        Fix $a\in A$.
        We have $a\in X$ and $f_1(a)\in\reals$ and $g(a)\in\reals$
            by \cref{closed_in,subseteq,continuous,funs_type_apply}.
        $f_1(a) < g(a)$ or $f_1(a) = g(a)$ or $g(a) < f_1(a)$ by \cref{real_lt_trichotomy}.
        \begin{byCase}
        \caseOf{$f_1(a) = g(a)$.}
            $g(a) = f_1(a)$.
        \caseOf{$g(a) < f_1(a)$.}
            Suppose not.
            Let $\epsilon = f_1(a) - g(a)$.
            $\epsilon\in\reals$ and $0 < \epsilon$ by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
            Take $N\in\naturalsPlus$ such that
                $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$ by \cref{tietze_small_double_error}.
            $\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in
                \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by \cref{tietze_unit_state}.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in\reals$ and
                $\neg{((1 + 1) / (N + 1))} \leq f_1(a) - \apply{\snd{u(N)}}{a}$ and
                $f_1(a) - \apply{\snd{u(N)}}{a} \leq ((1 + 1) / (N + 1))$ by \cref{intervalclosed}.
            $g(a)\in\reals$ and $\apply{\snd{u(N)}}{a}\in\reals$ by
                \cref{funs_type_apply,tietze_unit_state,continuous}.
            $N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $N + 1\in\reals$ and $1 + 1\in\reals$ by
                \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
            $N + 1\neq 0$ by \cref{naturalsplus_positive_real,subseteq,real_pos_nonzero}.
            $((1 + 1) / (N + 1))\in\reals$ by \cref{real_div,real_mul_closed,real_mul_inverse}.
            $\neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_closed}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1))\in\reals$ by \cref{real_sub,real_add_eq_subst}.
            $\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\in\reals$ by \cref{real_add_closed}.
            $0 < 1 + 1$ by \cref{real_zero_lt_one,real_pos_add,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
            $0 \leq 1 + 1$ by \cref{real_lt_imp_leq}.
            $0 \leq ((1 + 1) / (N + 1))$ by \cref{real_div_naturalsplus_nonnegative,subseteq}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq \neg{\neg{(((1 + 1) / (N + 1)))}}$ by \cref{real_leq_neg}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq ((1 + 1) / (N + 1))$
                by \cref{real_neg_neg,real_leq_subst_right_local}.
            $\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \leq ((1 + 1) / (N + 1))$ by \cref{real_abs_leq_if_pm_leq}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq g(a)$ and
                $g(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{tietze_supremum_between_endpoints}.
            $\neg{g(a)} \leq \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by \cref{real_leq_neg}.
            $\neg{g(a)}\in\reals$ and
                $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\neg{g(a)} + f_1(a) \leq \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} + f_1(a)$
                by \cref{real_leq_add}.
            $f_1(a) + \neg{g(a)} \leq f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $f_1(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{real_abs_sub_leq_imp_right_bound}.
            $f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}
                \leq (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_leq_add}.
            $f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ and
                $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$
                by \cref{real_add_closed}.
            $\epsilon \leq f_1(a) + \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$
                by \cref{real_sub,real_leq_subst_left_local}.
            $\epsilon \leq (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}$ by \cref{real_leq_trans}.
            $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) =
                \apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}$ by \cref{real_sub}.
            $\neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} =
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} =
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}
                = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_neg_addition,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) +
                \neg{(\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)))} = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_add_eq_subst}.
            $\epsilon \leq ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by \cref{real_leq_trans,real_add_eq_subst}.
            $\epsilon < \epsilon$ by \cref{real_leq_lt_trans}.
            Contradiction by \cref{real_lt_irreflexive}.
        \caseOf{$f_1(a) < g(a)$.}
            Suppose not.
            Let $\epsilon = g(a) - f_1(a)$.
            $\epsilon\in\reals$ and $0 < \epsilon$ by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
            Take $N\in\naturalsPlus$ such that
                $((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1)) < \epsilon$ by \cref{tietze_small_double_error}.
            $\snd{u(N)}$ is a Tietze unit state on $N$ for $f_1$ over $A$ in $X$ with respect to $T$ by assumption.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in
                \intervalclosed{\neg{((1 + 1) / (N + 1))}}{(1 + 1) / (N + 1)}$ by \cref{tietze_unit_state}.
            $f_1(a) - \apply{\snd{u(N)}}{a}\in\reals$ and
                $\neg{((1 + 1) / (N + 1))} \leq f_1(a) - \apply{\snd{u(N)}}{a}$ and
                $f_1(a) - \apply{\snd{u(N)}}{a} \leq ((1 + 1) / (N + 1))$ by \cref{intervalclosed}.
            $g(a)\in\reals$ and $\apply{\snd{u(N)}}{a}\in\reals$ by
                \cref{funs_type_apply,tietze_unit_state,continuous}.
            $N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $N + 1\in\reals$ and $1 + 1\in\reals$ by
                \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
            $N + 1\neq 0$ by \cref{naturalsplus_positive_real,subseteq,real_pos_nonzero}.
            $((1 + 1) / (N + 1))\in\reals$ by \cref{real_div,real_mul_closed,real_mul_inverse}.
            $\neg{(((1 + 1) / (N + 1)))}\in\reals$ by \cref{real_add_inverse}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))}\in\reals$ and
                $\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))\in\reals$ by \cref{real_add_closed,real_add_inverse}.
            $0 < 1 + 1$ by \cref{real_zero_lt_one,real_pos_add,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
            $0 \leq 1 + 1$ by \cref{real_lt_imp_leq}.
            $0 \leq ((1 + 1) / (N + 1))$ by \cref{real_div_naturalsplus_nonnegative,subseteq}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq \neg{\neg{(((1 + 1) / (N + 1)))}}$ by \cref{real_leq_neg}.
            $\neg{(f_1(a) - \apply{\snd{u(N)}}{a})} \leq ((1 + 1) / (N + 1))$
                by \cref{real_neg_neg,real_leq_subst_right_local}.
            $\abs{f_1(a) - \apply{\snd{u(N)}}{a}} \leq ((1 + 1) / (N + 1))$ by \cref{real_abs_leq_if_pm_leq}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq g(a)$ and
                $g(a) \leq \apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))$ by \cref{tietze_supremum_between_endpoints}.
            $\apply{\snd{u(N)}}{a} - ((1 + 1) / (N + 1)) \leq f_1(a)$ by \cref{real_abs_sub_leq_imp_left_bound}.
            $\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))} \leq f_1(a)$
                by \cref{real_sub,real_leq_subst_left_local}.
            $\neg{f_1(a)}\in\reals$ and
                $\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by \cref{real_add_inverse}.
            $\neg{f_1(a)} \leq \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by \cref{real_leq_neg}.
            $\neg{f_1(a)} + g(a) \leq
                \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} + g(a)$ by \cref{real_leq_add}.
            $g(a) + \neg{f_1(a)} \leq
                g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$ by
                \cref{real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
            $g(a) + \neg{f_1(a)}\in\reals$ and
                $g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by \cref{real_add_closed}.
            $g(a) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})} \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_add}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$
                by \cref{real_add_closed}.
            $g(a) + \neg{f_1(a)} \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_trans}.
            $\neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}\in\reals$ by
                \cref{real_add_inverse,real_add_closed}.
            $(\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}
                = ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$
                by \cref{real_neg_addition,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
            $\epsilon = g(a) + \neg{f_1(a)}$ by \cref{real_sub}.
            $\epsilon \leq
                (\apply{\snd{u(N)}}{a} + ((1 + 1) / (N + 1))) + \neg{(\apply{\snd{u(N)}}{a} + \neg{(((1 + 1) / (N + 1)))})}$
                by \cref{real_leq_subst_left_local}.
            $\epsilon \leq ((1 + 1) / (N + 1)) + ((1 + 1) / (N + 1))$ by \cref{real_leq_trans,real_add_eq_subst}.
            $\epsilon < \epsilon$ by \cref{real_leq_lt_trans}.
            Contradiction by \cref{real_lt_irreflexive}.
        \end{byCase}
    \end{subproof}
    For all $a\in A$ we have $g(a) = f(a)$ by
        \cref{subseteq,continuous,funs_type_apply,funs,id_rightunique,id_is_relation,id_dom,funs_elim,funs_ran,circ_apply,id_apply}.
    There exists $h$ such that
        $h$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $h(x) = f(x)$ by \cref{subseteq}.
\end{byCase}
\end{proof}
Theorem 91
tietze_extension_theorem_closed_interval

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $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 < b$.
Let $I = \intervalclosed{a}{b}$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
Then there exists $g$ such that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(x) = f(x)$.

LaTeX source
\begin{theorem}
\label{tietze_extension_theorem_closed_interval}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Assume $a\in\reals$ and $b\in\reals$ and $a < b$.
    Let $I = \intervalclosed{a}{b}$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
    Then there exists $g$ such that
        $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $g(x) = f(x)$.
\end{theorem}
Proof

Let $J = \intervalclosed{\neg{1}}{1}$.
Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
Let $j = \identity{I}$.
Let $f_1 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$f_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 525.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f_1(x) = f(x)$ by Definition 1, Definition 55, Definition 160, Proposition 296, Proposition 297, Proposition 355, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 400, Proposition 405.

Let $c = b - a$.
$c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < c$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Hence $c \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $\inv{c}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \inv{c}$ by Axiom 22, Lemma 20, Proposition 463.

$T$ is a topology on $X$ by Definition 277.
Hence $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 149.
$T_A$ is a topology on $A$ by Definition 147, Definition 149, Lemma 131.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.

Let $k_a = \{(x,a) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
Let $k_c = \{(x,c) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
$k_a$ is a function from $A$ to $\reals$ and $k_c$ is a function from $A$ to $\reals$ by Lemma 309.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $k_a(x) = a$ and $k_c(x) = c$ by Lemma 309, Proposition 346, Proposition 356.
$k_a$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ and $k_c$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 163.

Let $s = \{(x, f_1(x) - k_a(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
$s$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Theorem 33.
Let $u = \{(x, s(x) \rmul \inv{(k_c(x))}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $k_c(x)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Definition 1, Lemma 82.
Hence $u$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Theorem 35.
Let $r = \{(x, u(x) + u(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
$r$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Theorem 32.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
Let $k_1 = \{(x,1) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
$k_1$ is a function from $A$ to $\reals$ by Lemma 309.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $k_1(x) = 1$ by Lemma 309, Proposition 346, Proposition 356.
$k_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 163.
Let $h_0 = \{(x, r(x) - k_1(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
$h_0$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Theorem 33.
We have $h_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $h_0$ is a function and $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $u$ is a function and $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $s$ is a function and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $r$ is a function by Definition 160, Proposition 356.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
We have $f_1(x) = f(x)$ by Definition 1.
Hence $f_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 160, Proposition 361, Proposition 437.
We have $f_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(x)$ and $f_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 75.
$k_a(x) = a$ and $k_c(x) = c$ and $k_1(x) = 1$ by Definition 1.
$s(x) = f_1(x) - a$ and $s(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 346, Proposition 361.
$\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
We have $a + \neg{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f_1(x) + \neg{a}$ by Lemma 24.
Hence $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} s(x)$ by Axiom 18, Definition 64, Lemma 542, Lemma 543.
We have $f_1(x) + \neg{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b + \neg{a}$ by Lemma 24.
Hence $s(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$ by Definition 64, Lemma 542, Lemma 543.

We have $u(x) = s(x) \rmul \inv{c}$ and $u(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 346, Proposition 361.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
We have $0 < s(x)$ or $s(x) = 0$ by Lemma 81.
Therefore $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(x)$ by Axiom 38, Definition 1, Lemma 82, Lemma 83, Lemma 231, Lemma 280, Proposition 439.

We have $s(x) < c$ or $s(x) = c$ by Lemma 81.
Hence $u(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Axiom 22, Axiom 38, Definition 1, Lemma 82, Lemma 83, Lemma 231, Lemma 280.

We have $r(x) = u(x) + u(x)$ and $r(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 346, Proposition 361.
We have $u(x) = 0$ or $0 < u(x)$ by Lemma 81.
Therefore $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r(x)$ by Axiom 17, Definition 1, Lemma 83, Lemma 231, Proposition 437, Proposition 448.

We have $u(x) + u(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 + u(x)$ by Lemma 24.
$1 + u(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 + 1$ by Axiom 16, Lemma 24, Lemma 542.
Hence $r(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 + u(x)$ by Lemma 542.
We have $1 + u(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Hence $r(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 + 1$ by Lemma 23.

We have $h_0(x) = r(x) - 1$ and $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 346, Proposition 361.
$\neg{1}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
We have $0 + \neg{1} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r(x) + \neg{1}$ by Lemma 24.
Hence $\neg{1} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} h_0(x)$ by Axiom 17, Definition 64, Lemma 542, Lemma 543.
We have $r(x) + \neg{1} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (1 + 1) + \neg{1}$ by Lemma 24.
Hence $h_0(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 542, Lemma 543.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 75.

$h_0$ is continuous from $A$ to $J$ with respect to $T_A$ and $T_J$ by Axiom 6, Definition 1, Definition 55, Definition 75, Definition 160, Lemma 470, Proposition 235, Proposition 349, Proposition 356.

Take $e$ such that $e$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $e(x) = h_0(x)$ by Lemma 546.

Let $q = \{(x,a) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $v = \{(x,c) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $w = \{(x,1) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $z = \{(x,1 + 1) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$q$ is a function from $X$ to $\reals$ and $v$ is a function from $X$ to $\reals$ and $w$ is a function from $X$ to $\reals$ and $z$ is a function from $X$ to $\reals$ by Lemma 309.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $q(x) = a$ and $v(x) = c$ and $w(x) = 1$ and $z(x) = 1 + 1$ by Lemma 309, Proposition 346, Proposition 356.
$q$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $v$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $w$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $z$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 163.

Let $j_J = \identity{J}$.
Let $e_1 = j_J\class{latex-symbol-tip latex-symbol-id-circ}{\circ} e$.
$e_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 525.

Let $p = \{(x, e_1(x) + w(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$p$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 32.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $z(x)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 41, Axiom 42, Definition 1, Lemma 20, Lemma 89, Proposition 448.
Let $t = \{(x, p(x) \rmul \inv{(z(x))}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$t$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 35.
Let $m = \{(x, v(x) \rmul t(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 34.
Let $g_0 = \{(x, q(x) + m(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$g_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 32.
We have $g_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $g_0$ is a function and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $p$ is a function and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $t$ is a function and $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $m$ is a function and $e_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $e_1$ is a function by Definition 160, Proposition 356.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $e(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 160, Proposition 361.
Hence $e_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 1, Definition 55, Definition 160, Proposition 296, Proposition 297, Proposition 355, Proposition 356, Proposition 363, Proposition 373, Proposition 400, Proposition 405, Proposition 437.
We have $e_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{1} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e_1(x)$ and $e_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 75.
$w(x) = 1$ and $z(x) = 1 + 1$ and $v(x) = c$ and $q(x) = a$ by Definition 1.
$p(x) = e_1(x) + 1$ and $p(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 346, Proposition 361.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
We have $\neg{1} + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e_1(x) + 1$ by Axiom 18, Lemma 24.
Hence $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p(x)$ by Axiom 16, Axiom 18, Lemma 542.
We have $p(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 + 1$ by Lemma 24, Lemma 542.

$t(x) = p(x) \rmul \inv{(1 + 1)}$ by Proposition 346.
Hence $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42, Axiom 45.
We have $p(x) / (1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p(x) / (1 + 1)$ by Lemma 263, Lemma 265.
Hence $t(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} t(x)$ by Definition 65, Lemma 82, Lemma 83.
We have $p(x) / (1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (1 + 1) / (1 + 1)$ by Lemma 261.
Hence $t(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 65, Lemma 538, Lemma 542, Lemma 543.

We have $m(x) = c \rmul t(x)$ and $m(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 346, Proposition 361.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
We have $t(x) = 0$ or $0 < t(x)$ by Lemma 81.
Hence $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m(x)$ by Axiom 20, Axiom 38, Definition 1, Lemma 82, Lemma 231, Lemma 280, Proposition 439.

We have $t(x) < 1$ or $t(x) = 1$ by Lemma 81.
Therefore $m(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$ by Axiom 20, Axiom 21, Axiom 38, Definition 1, Lemma 82, Lemma 83, Lemma 231, Lemma 280.

We have $g_0(x) = a + m(x)$ and $a + m(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Proposition 346.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
Hence $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + m(x)$ by Axiom 16, Axiom 17, Lemma 24, Lemma 542, Lemma 543.
We have $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g_0(x)$ by Lemma 543.
We have $a + m(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + c$ by Axiom 16, Lemma 24, Lemma 542, Lemma 543.
We have $a + (b - a) = b$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64.
Hence $g_0(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 64, Lemma 542, Lemma 543.
Therefore $g_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75.

$g_0$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Axiom 6, Definition 1, Definition 55, Definition 75, Definition 160, Lemma 470, Proposition 235, Proposition 349, Proposition 356.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$e(x) = h_0(x)$ by assumption.
Hence $e_1(x) = h_0(x)$ by Definition 1, Definition 55, Definition 149, Definition 160, Proposition 296, Proposition 297, Proposition 355, Proposition 356, Proposition 363, Proposition 373, Proposition 400, Proposition 405.
$w(x) = 1$ and $z(x) = 1 + 1$ and $v(x) = c$ and $q(x) = a$ by Definition 1, Definition 149.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $p$ is a function and $\dom{p} = X$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $t$ is a function and $\dom{t} = X$ and $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $m$ is a function and $\dom{m} = X$ by Definition 55, Definition 160, Proposition 356.
$p(x) = e_1(x) + 1$ and $h_0(x) = r(x) - 1$ by Proposition 346.
$r(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1, Definition 160, Proposition 361.
Hence $p(x) = r(x)$ by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 1, Definition 64, Proposition 437.
$p(x) = u(x) + u(x)$ by Proposition 346, Proposition 437.
$u(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 361.
Hence $(1 + 1) \rmul u(x) = u(x) + u(x)$ by Axiom 21, Lemma 9, Proposition 437.
We have $p(x) = (1 + 1) \rmul u(x)$ by Proposition 437.
Hence $t(x) = u(x)$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65, Lemma 280, Proposition 346.
We have $s(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 361.
Hence $m(x) = c \rmul (s(x) / c)$ by Definition 65, Lemma 280, Proposition 346.
We have $m(x) = s(x)$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65.
We have $s(x) = f_1(x) - a$ by Proposition 346.
Hence $g_0(x) = f_1(x)$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Definition 160, Proposition 346, Proposition 361, Proposition 437.
Therefore $g_0(x) = f(x)$ by Definition 1.

Therefore there exists $g$ such that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(x) = f(x)$ by Definition 1.

LaTeX source
\begin{proof}
    Let $J = \intervalclosed{\neg{1}}{1}$.
    Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
    Let $j = \identity{I}$.
    Let $f_1 = j\circ f$.
    $f_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{continuous_interval_expand_range}.
    For all $x\in A$ we have $f_1(x) = f(x)$ by
        \cref{continuous,funs_type_apply,funs,funs_is_function,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,subseteq}.

    Let $c = b - a$.
    $c\in\reals$ and $0 < c$ by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
    Hence $c \neq 0$ and $\inv{c}\in\reals$ and $0 < \inv{c}$ by \cref{real_pos_nonzero,real_mul_inverse,real_inv_pos}.

    $T$ is a topology on $X$ by \cref{normal_space}.
    Hence $A\subseteq X$ by \cref{closed_in}.
    $T_A$ is a topology on $A$ by \cref{closed_in,subspace_topology_is_topology,subspace_of}.
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.

    Let $k_a = \{(x,a) \mid x\in A\}$.
    Let $k_c = \{(x,c) \mid x\in A\}$.
    $k_a$ is a function from $A$ to $\reals$ and $k_c$ is a function from $A$ to $\reals$
        by \cref{constant_map_function}.
    For all $x\in A$ we have $k_a(x) = a$ and $k_c(x) = c$
        by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $k_a$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ and
        $k_c$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{constant_continuous}.

    Let $s = \{(x, f_1(x) - k_a(x)) \mid x\in A\}$.
    $s$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{real_function_subtraction_continuous}.
    Let $u = \{(x, s(x) \rmul \inv{(k_c(x))}) \mid x\in A\}$.
    For all $x\in A$ we have $k_c(x)\neq 0$ by \cref{subseteq,real_lt_subst_left}.
    Hence $u$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{real_function_division_continuous}.
    Let $r = \{(x, u(x) + u(x)) \mid x\in A\}$.
    $r$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{real_function_addition_continuous}.
    $1\in\reals$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq}.
    Let $k_1 = \{(x,1) \mid x\in A\}$.
    $k_1$ is a function from $A$ to $\reals$ by \cref{constant_map_function}.
    For all $x\in A$ we have $k_1(x) = 1$
        by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $k_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{constant_continuous}.
    Let $h_0 = \{(x, r(x) - k_1(x)) \mid x\in A\}$.
    $h_0$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{real_function_subtraction_continuous}.
    We have $h_0\in\funs{A}{\reals}$ and $h_0$ is a function and
        $u\in\funs{A}{\reals}$ and $u$ is a function and
        $s\in\funs{A}{\reals}$ and $s$ is a function and
        $r\in\funs{A}{\reals}$ and $r$ is a function
        by \cref{continuous,funs_is_function}.

    Show that for all $x\in A$ we have $h_0(x)\in J$.
    \begin{subproof}
        Fix $x\in A$.
        We have $f_1(x) = f(x)$ by \cref{subseteq}.
        Hence $f_1(x)\in I$ by \cref{continuous,funs_type_apply,real_add_eq_subst}.
        We have $f_1(x)\in\reals$ and $a \leq f_1(x)$ and $f_1(x) \leq b$ by \cref{intervalclosed}.
        $k_a(x) = a$ and $k_c(x) = c$ and $k_1(x) = 1$ by \cref{subseteq}.
        $s(x) = f_1(x) - a$ and $s(x)\in\reals$ by \cref{function_apply_intro,continuous,funs_type_apply}.
        $\neg{a}\in\reals$ by \cref{real_add_inverse}.
        We have $a + \neg{a} \leq f_1(x) + \neg{a}$ by \cref{real_leq_add}.
        Hence $0 \leq s(x)$ by
            \cref{real_add_inverse,real_sub,real_leq_subst_left_local,real_leq_subst_right_local}.
        We have $f_1(x) + \neg{a} \leq b + \neg{a}$ by \cref{real_leq_add}.
        Hence $s(x) \leq c$ by \cref{real_sub,real_leq_subst_left_local,real_leq_subst_right_local}.

        We have $u(x) = s(x) \rmul \inv{c}$ and $u(x)\in\reals$ by \cref{function_apply_intro,continuous,funs_type_apply}.
        $0\in\reals$ by \cref{real_add_ident}.
        We have $0 < s(x)$ or $s(x) = 0$ by \cref{real_leq_split}.
        Therefore $0 \leq u(x)$ by
            \cref{real_lt_mul_pos,real_mul_zero,real_lt_subst_left,real_lt_subst_right,real_lt_imp_leq,real_mul_eq_subst,subseteq}.

        We have $s(x) < c$ or $s(x) = c$ by \cref{real_leq_split}.
        Hence $u(x) \leq 1$ by
            \cref{real_lt_mul_pos,real_lt_subst_left,real_lt_subst_right,real_mul_inverse,real_lt_imp_leq,real_mul_eq_subst,subseteq}.

        We have $r(x) = u(x) + u(x)$ and $r(x)\in\reals$ by \cref{function_apply_intro,continuous,funs_type_apply}.
        We have $u(x) = 0$ or $0 < u(x)$ by \cref{real_leq_split}.
        Therefore $0 \leq r(x)$ by
            \cref{real_add_eq_subst,real_add_ident,real_pos_add,real_lt_subst_right,real_lt_imp_leq,subseteq}.

        We have $u(x) + u(x) \leq 1 + u(x)$ by \cref{real_leq_add}.
        $1 + u(x) \leq 1 + 1$ by \cref{real_leq_add,real_add_comm,real_leq_subst_left_local}.
        Hence $r(x) \leq 1 + u(x)$ by \cref{real_leq_subst_left_local}.
        We have $1 + u(x)\in\reals$ and $1 + 1\in\reals$ by \cref{real_add_closed}.
        Hence $r(x) \leq 1 + 1$ by \cref{real_leq_trans}.

        We have $h_0(x) = r(x) - 1$ and $h_0(x)\in\reals$ by \cref{function_apply_intro,continuous,funs_type_apply}.
        $\neg{1}\in\reals$ by \cref{real_add_inverse}.
        We have $0 + \neg{1} \leq r(x) + \neg{1}$ by \cref{real_leq_add}.
        Hence $\neg{1} \leq h_0(x)$ by
            \cref{real_add_ident,real_sub,real_leq_subst_left_local,real_leq_subst_right_local}.
        We have $r(x) + \neg{1} \leq (1 + 1) + \neg{1}$ by \cref{real_leq_add}.
        Hence $h_0(x) \leq 1$ by
            \cref{real_add_assoc,real_add_inverse,real_add_comm,real_add_ident,real_sub,real_leq_subst_left_local,real_leq_subst_right_local}.
        Therefore $h_0(x)\in J$ by \cref{intervalclosed}.
    \end{subproof}
    $h_0$ is continuous from $A$ to $J$ with respect to $T_A$ and $T_J$
        by \cref{img_iff,continuous,funs,funs_is_function,function_apply_iff,pair_eq_iff,subseteq,continuous_subspace_range,intervalclosed}.

    Take $e$ such that
        $e$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and
        for all $x\in A$ we have $e(x) = h_0(x)$
        by \cref{tietze_extension_theorem_unit_interval}.

    Let $q = \{(x,a) \mid x\in X\}$.
    Let $v = \{(x,c) \mid x\in X\}$.
    Let $w = \{(x,1) \mid x\in X\}$.
    Let $z = \{(x,1 + 1) \mid x\in X\}$.
    $1\in\reals$ and $1 + 1\in\reals$ by
        \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed}.
    $q$ is a function from $X$ to $\reals$ and
        $v$ is a function from $X$ to $\reals$ and
        $w$ is a function from $X$ to $\reals$ and
        $z$ is a function from $X$ to $\reals$
        by \cref{constant_map_function}.
    For all $x\in X$ we have
        $q(x) = a$ and $v(x) = c$ and $w(x) = 1$ and $z(x) = 1 + 1$
        by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $q$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        $v$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        $w$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        $z$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{constant_continuous}.

    Let $j_J = \identity{J}$.
    Let $e_1 = j_J\circ e$.
    $e_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_interval_expand_range}.

    Let $p = \{(x, e_1(x) + w(x)) \mid x\in X\}$.
    $p$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_addition_continuous}.
    For all $x\in X$ we have $z(x)\neq 0$ by
        \cref{subseteq,real_one_in_naturals,real_naturals_subset_reals,naturalsplus_positive_real,real_pos_add,real_pos_nonzero}.
    Let $t = \{(x, p(x) \rmul \inv{(z(x))}) \mid x\in X\}$.
    $t$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_division_continuous}.
    Let $m = \{(x, v(x) \rmul t(x)) \mid x\in X\}$.
    $m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_multiplication_continuous}.
    Let $g_0 = \{(x, q(x) + m(x)) \mid x\in X\}$.
    $g_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_addition_continuous}.
    We have $g_0\in\funs{X}{\reals}$ and $g_0$ is a function and
        $p\in\funs{X}{\reals}$ and $p$ is a function and
        $t\in\funs{X}{\reals}$ and $t$ is a function and
        $m\in\funs{X}{\reals}$ and $m$ is a function and
        $e_1\in\funs{X}{\reals}$ and $e_1$ is a function
        by \cref{continuous,funs_is_function}.

    Show that for all $x\in X$ we have $g_0(x)\in I$.
    \begin{subproof}
        Fix $x\in X$.
        We have $e(x)\in J$ by \cref{continuous,funs_type_apply}.
        Hence $e_1(x)\in J$ by
            \cref{continuous,funs,funs_is_function,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,subseteq,real_add_eq_subst}.
        We have $e_1(x)\in\reals$ and $\neg{1} \leq e_1(x)$ and $e_1(x) \leq 1$ by \cref{intervalclosed}.
        $w(x) = 1$ and $z(x) = 1 + 1$ and $v(x) = c$ and $q(x) = a$ by \cref{subseteq}.
        $p(x) = e_1(x) + 1$ and $p(x)\in\reals$ by \cref{function_apply_intro,continuous,funs_type_apply}.
        $1\in\reals$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq}.
        We have $\neg{1} + 1 \leq e_1(x) + 1$ by \cref{real_add_inverse,real_leq_add}.
        Hence $0 \leq p(x)$ by \cref{real_add_inverse,real_add_comm,real_leq_subst_left_local}.
        We have $p(x) \leq 1 + 1$ by \cref{real_leq_add,real_leq_subst_left_local}.

        $t(x) = p(x) \rmul \inv{(1 + 1)}$ by \cref{function_apply_intro}.
        Hence $1 + 1\in\naturalsPlus$ by \cref{real_one_in_naturals,real_naturals_closed_succ}.
        We have $p(x) / (1 + 1)\in\reals$ and $0 \leq p(x) / (1 + 1)$
            by \cref{real_div_naturalsplus_real,real_div_naturalsplus_nonnegative}.
        Hence $t(x)\in\reals$ and $0 \leq t(x)$ by \cref{real_div,real_lt_subst_left,real_lt_subst_right}.
        We have $p(x) / (1 + 1) \leq (1 + 1) / (1 + 1)$ by \cref{real_div_leq_same_denom}.
        Hence $t(x) \leq 1$ by
            \cref{real_div,real_two_over_two_local,real_leq_subst_left_local,real_leq_subst_right_local}.

        We have $m(x) = c \rmul t(x)$ and $m(x)\in\reals$ by \cref{function_apply_intro,continuous,funs_type_apply}.
        $0\in\reals$ by \cref{real_add_ident}.
        We have $t(x) = 0$ or $0 < t(x)$ by \cref{real_leq_split}.
        Hence $0 \leq m(x)$ by
            \cref{real_mul_eq_subst,real_mul_comm,real_mul_zero,subseteq,real_lt_mul_pos,real_lt_subst_left,real_lt_imp_leq}.

        We have $t(x) < 1$ or $t(x) = 1$ by \cref{real_leq_split}.
        Therefore $m(x) \leq c$ by
            \cref{real_lt_mul_pos,real_mul_comm,real_lt_subst_left,real_lt_subst_right,real_mul_ident,real_lt_imp_leq,real_mul_eq_subst,subseteq}.

        We have $g_0(x) = a + m(x)$ and $a + m(x)\in\reals$ by \cref{function_apply_intro,real_add_closed}.
        $0\in\reals$ by \cref{real_add_ident}.
        Hence $a \leq a + m(x)$ by
            \cref{real_leq_add,real_add_ident,real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
        We have $a \leq g_0(x)$ by \cref{real_leq_subst_right_local}.
        We have $a + m(x) \leq a + c$ by
            \cref{real_leq_add,real_add_comm,real_leq_subst_left_local,real_leq_subst_right_local}.
        We have $a + (b - a) = b$ by
            \cref{real_sub,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident}.
        Hence $g_0(x) \leq b$ by \cref{real_sub,real_leq_subst_left_local,real_leq_subst_right_local}.
        Therefore $g_0(x)\in I$ by \cref{intervalclosed}.
    \end{subproof}
    $g_0$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
        by \cref{img_iff,continuous,funs,funs_is_function,function_apply_iff,pair_eq_iff,subseteq,continuous_subspace_range,intervalclosed}.

    Show that for all $x\in A$ we have $g_0(x) = f(x)$.
    \begin{subproof}
        Fix $x\in A$.
        We have $x\in X$ by \cref{subseteq}.
        $e(x) = h_0(x)$ by assumption.
        Hence $e_1(x) = h_0(x)$ by
            \cref{continuous,funs,funs_is_function,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,subseteq,closed_in}.
        $w(x) = 1$ and $z(x) = 1 + 1$ and $v(x) = c$ and $q(x) = a$
            by \cref{subseteq,closed_in}.
        We have $p\in\funs{X}{\reals}$ and $p$ is a function and $\dom{p} = X$ and
            $t\in\funs{X}{\reals}$ and $t$ is a function and $\dom{t} = X$ and
            $m\in\funs{X}{\reals}$ and $m$ is a function and $\dom{m} = X$
            by \cref{continuous,funs_is_function,funs}.
        $p(x) = e_1(x) + 1$ and $h_0(x) = r(x) - 1$ by \cref{function_apply_intro}.
        $r(x)\in\reals$ and $1\in\reals$ by
            \cref{continuous,funs_type_apply,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
        Hence $p(x) = r(x)$ by
            \cref{real_add_eq_subst,real_sub,real_add_inverse,real_add_closed,real_add_assoc,real_add_comm,real_add_ident,subseteq}.
        $p(x) = u(x) + u(x)$ by \cref{function_apply_intro,real_add_eq_subst}.
        $u(x)\in\reals$ by \cref{continuous,funs_type_apply}.
        Hence $(1 + 1) \rmul u(x) = u(x) + u(x)$ by
            \cref{real_mul_ident,real_right_distrib,real_add_eq_subst}.
        We have $p(x) = (1 + 1) \rmul u(x)$ by \cref{real_add_eq_subst}.
        Hence $t(x) = u(x)$ by
            \cref{function_apply_intro,real_div,real_mul_eq_subst,real_mul_assoc,real_mul_comm,real_mul_inverse,real_mul_ident}.
        We have $s(x)\in\reals$ by \cref{continuous,funs_type_apply}.
        Hence $m(x) = c \rmul (s(x) / c)$ by \cref{real_div,real_mul_eq_subst,function_apply_intro}.
        We have $m(x) = s(x)$ by \cref{real_div,real_mul_assoc,real_mul_comm,real_mul_inverse,real_mul_ident}.
        We have $s(x) = f_1(x) - a$ by \cref{function_apply_intro}.
        Hence $g_0(x) = f_1(x)$ by
            \cref{function_apply_intro,continuous,funs_type_apply,real_add_eq_subst,real_sub,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident}.
        Therefore $g_0(x) = f(x)$ by \cref{subseteq}.
    \end{subproof}
    Therefore there exists $g$ such that
        $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $g(x) = f(x)$ by \cref{subseteq}.
\end{proof}
Lemma 547
tietze_extension_theorem_open_interval

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Let $I = \intervalopen{\neg{1}}{1}$.
Let $J = \intervalclosed{\neg{1}}{1}$.
Let $T_A = \subspaceTopology{T}{A}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
Then there exists $g$ such that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(x) = f(x)$.

LaTeX source
\begin{lemma}
\label{tietze_extension_theorem_open_interval}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Let $I = \intervalopen{\neg{1}}{1}$.
    Let $J = \intervalclosed{\neg{1}}{1}$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Let $T_J = \subspaceTopology{\standardTopologyR}{J}$.
    Assume $f$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$.
    Then there exists $g$ such that
        $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $g(x) = f(x)$.
\end{lemma}
Proof

We have $I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Definition 1, Definition 75, Definition 76, Lemma 231.

Hence $\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Axiom 6, Definition 1, Definition 55, Definition 160, Proposition 235, Proposition 349, Proposition 356, Proposition 361.
We have $I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75, Definition 76.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
Let $j_I = \identity{I}$.
$j_I$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$ by Lemma 164.
Let $f_1 = j_I\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$f_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 165.
We have $f_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $T_A$ is a topology on $A$ by Definition 160.

Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f_1}{A}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.

$f_1$ is continuous from $A$ to $J$ with respect to $T_A$ and $T_J$ by Axiom 6, Definition 1, Definition 55, Definition 160, Lemma 470, Proposition 235, Proposition 296, Proposition 297, Proposition 345, Proposition 349, Proposition 355, Proposition 356, Proposition 361, Proposition 363, Proposition 373, Proposition 400, Proposition 405, Proposition 437.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Proposition 462.
Hence $\neg{1}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
We have $\neg{1} < 0$ by Lemma 83, Lemma 84, Proposition 465.
Therefore $\neg{1} < 1$ by Axiom 36, Proposition 462.

Take $g_0$ such that $g_0$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g_0(x) = f_1(x)$ by Theorem 91.

Let $j_J = \identity{J}$.
Let $g_1 = j_J\class{latex-symbol-tip latex-symbol-id-circ}{\circ} g_0$.
$g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 525.

$\standardMetricR$ is a metric on $\reals$ by Lemma 198.
Hence $\reals$ is Hausdorff with respect to $\metricTopology{\standardMetricR}{\reals}$ by Lemma 395.
Therefore $\reals$ is Hausdorff with respect to $\standardTopologyR$ by Lemma 200.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
Hence $\neg{1}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\{\neg{1}\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $\{1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Proposition 25.
$\{\neg{1}\}$ is closed in $\reals$ with respect to $\standardTopologyR$ and $\{1\}$ is closed in $\reals$ with respect to $\standardTopologyR$ by Lemma 40, Lemma 44, Proposition 16, Proposition 25, Theorem 14.

Let $D_1 = \preimg{g_1}{\{\neg{1}\}}$.
Let $D_2 = \preimg{g_1}{\{1\}}$.
Let $D = D_1\union D_2$.
Let $U_1 = \reals\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \{\neg{1}\}$.
Let $U_2 = \reals\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \{1\}$.
Hence $\preimg{g_1}{U_1}$ is open in $X$ with respect to $T$ and $\preimg{g_1}{U_2}$ is open in $X$ with respect to $T$ by Definition 149, Definition 160.
$T$ is a topology on $X$ by Definition 277.
$g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $g_1$ is a function by Definition 160, Proposition 356.
Hence $\preimg{g_1}{U_1} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_1$ and $\preimg{g_1}{U_2} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_2$ by Definition 1, Lemma 157.
Therefore $D_1$ is closed in $X$ with respect to $T$ and $D_2$ is closed in $X$ with respect to $T$ by Definition 55, Definition 149, Definition 160, Proposition 249.
Hence $(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 1, Definition 103, Definition 149.
We have $(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_1)\inter (X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_2)$ is open in $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103.
$(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_1)\inter (X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D_2) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} (D_1\union D_2)$ by Proposition 94.
Hence $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} D$ is open in $X$ with respect to $T$ by Proposition 437.
Thus $D$ is closed in $X$ with respect to $T$ by Definition 149, Proposition 44.

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

Suppose not.
Take $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $a\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 3.
We have $a\class{latex-symbol-tip latex-symbol-id-in}{\in} D_1$ or $a\class{latex-symbol-tip latex-symbol-id-in}{\in} D_2$ by Axiom 5.
We have $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $g_0(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ and $f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 1, Definition 149, Definition 160, Proposition 361.
We have $g_0(a) = f_1(a)$ by assumption.
Hence $g_1(a) = g_0(a)$ and $f_1(a) = f(a)$ by Definition 1, Definition 55, Definition 160, Proposition 296, Proposition 297, Proposition 355, Proposition 356, Proposition 363, Proposition 373, Proposition 400, Proposition 405.
$g_1(a) = f(a)$ by Definition 1.
$f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{1} < f(a)$ and $f(a) < 1$ by Definition 76.
Hence $a\class{latex-symbol-tip latex-symbol-id-notin}{\notin} D_1$ and $a\class{latex-symbol-tip latex-symbol-id-notin}{\notin} D_2$ by Axiom 39, Definition 1, Definition 160, Lemma 82, Lemma 83, Proposition 21, Proposition 246, Proposition 349, Proposition 356.
Contradiction by Axiom 5.

Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
$D$ is disjoint from $A$ by Proposition 13.
Take $\phi$ such that $\phi$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and $\img{\phi}{D}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{\phi}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ by Lemma 510.
Let $j_0 = \identity{I_0}$.
Let $\phi_1 = j_0\class{latex-symbol-tip latex-symbol-id-circ}{\circ} \phi$.
$\phi_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 525.
Let $h_0 = \{(x, \phi_1(x) \rmul g_1(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$h_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 34.
We have $h_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $h_0$ is a function and $\phi_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $\phi_1$ is a function by Definition 160, Proposition 356.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $g_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 160, Proposition 361.
Hence $g_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 1, Definition 55, Definition 160, Proposition 296, Proposition 297, Proposition 355, Proposition 356, Proposition 363, Proposition 373, Proposition 400, Proposition 405, Proposition 437.
We have $g_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{1} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g_1(x)$ and $g_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 75.

We have $\phi(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Definition 160, Proposition 361.
$\phi\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ and $\phi$ is right-unique and $\phi$ is a relation and $\dom{\phi} = X$ by Definition 55, Definition 160, Proposition 355, Proposition 356.
$j_0$ is right-unique and $j_0$ is a relation and $\dom{j_0} = I_0$ by Proposition 296, Proposition 297, Proposition 400.
$\phi_1(x) = \phi(x)$ and $\phi_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Definition 1, Proposition 363, Proposition 373, Proposition 405, Proposition 437.
$\phi_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \phi_1(x)$ and $\phi_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 75.

We have $h_0(x) = \phi_1(x) \rmul g_1(x)$ and $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 160, Proposition 346, Proposition 361.

Case. $x\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.

We have $\phi(x) = 0$ by Definition 1, Proposition 20, Proposition 21, Proposition 61, Proposition 364.
Hence $h_0(x) = 0$ by Definition 1, Lemma 280, Proposition 439.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 18, Definition 76, Lemma 82, Lemma 83, Lemma 84, Proposition 462, Proposition 465.

Case. $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} D$.

We have $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} D_1$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} D_2$ by Axiom 5.
We have $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(x)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \neg{1}$ by Definition 160, Proposition 20, Proposition 246, Proposition 349, Proposition 356.
We have $g_1(x)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 1$ by Definition 160, Proposition 20, Proposition 246, Proposition 349, Proposition 356.
We have $g_1(x) < 0$ or $g_1(x) = 0$ or $0 < g_1(x)$ by Axiom 34.

Case. $g_1(x) = 0$.

We have $h_0(x) = 0$ by Axiom 20, Lemma 280, Proposition 439.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 18, Definition 76, Lemma 82, Lemma 83, Lemma 84, Proposition 462, Proposition 465.

Case. $0 < g_1(x)$.

We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by Lemma 81.

Case. $\phi_1(x) = 0$.

We have $h_0(x) = 0$ by Lemma 280, Proposition 439.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 18, Definition 76, Lemma 82, Lemma 83, Lemma 84, Proposition 462, Proposition 465.

Case. $0 < \phi_1(x)$.

$\phi_1(x) < 1$ or $\phi_1(x) = 1$ by Lemma 81.

Case. $\phi_1(x) < 1$.

We have $\phi_1(x) \rmul g_1(x) < 1 \rmul g_1(x)$ by Axiom 38.
We have $h_0(x) < g_1(x)$ by Axiom 21, Lemma 82, Lemma 83.
Hence $h_0(x) < 1$ by Axiom 36.
We have $0 \rmul g_1(x) < \phi_1(x) \rmul g_1(x)$ by Axiom 38.
Hence $0 < h_0(x)$ by Lemma 82, Proposition 439.
Thus $\neg{1} < h_0(x)$ by Axiom 18, Axiom 36, Lemma 83, Lemma 84, Proposition 462, Proposition 465.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 76.

Case. $\phi_1(x) = 1$.

We have $h_0(x) = g_1(x)$ by Axiom 21, Lemma 280.
We have $h_0(x) < 1$ by Lemma 82.
Hence $0 \rmul g_1(x) < 1 \rmul g_1(x)$ by Axiom 38.
We have $0 < h_0(x)$ by Axiom 21, Lemma 82, Lemma 83, Proposition 439.
Thus $\neg{1} < h_0(x)$ by Axiom 18, Axiom 36, Lemma 83, Lemma 84, Proposition 462, Proposition 465.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 76.

LaTeX source
\begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $h_0(x) < g_1(x)$ by \cref{real_mul_ident,real_lt_subst_right,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans}.
                        We have $0 \rmul g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        Hence $0 < h_0(x)$ by \cref{real_mul_zero,real_lt_subst_left}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $h_0(x) < 1$ by \cref{real_lt_subst_left}.
                        Hence $0 \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $0 < h_0(x)$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    
\end{byCase}
LaTeX source
\begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $h_0(x) < g_1(x)$ by \cref{real_mul_ident,real_lt_subst_right,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans}.
                        We have $0 \rmul g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        Hence $0 < h_0(x)$ by \cref{real_mul_zero,real_lt_subst_left}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $h_0(x) < 1$ by \cref{real_lt_subst_left}.
                        Hence $0 \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $0 < h_0(x)$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                
\end{byCase}
Case. $g_1(x) < 0$.

Let $u = \neg{(g_1(x))}$.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < u$ by Axiom 18, Lemma 82, Lemma 84, Proposition 465.
We have $g_1(x) = \neg{u}$ by Proposition 441.
We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by Lemma 81.

Case. $\phi_1(x) = 0$.

We have $h_0(x) = 0$ by Lemma 280, Proposition 439.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Axiom 18, Definition 76, Lemma 82, Lemma 83, Lemma 84, Proposition 462, Proposition 465.

Case. $0 < \phi_1(x)$.

$\phi_1(x) < 1$ or $\phi_1(x) = 1$ by Lemma 81.

Case. $\phi_1(x) < 1$.

We have $\phi_1(x) \rmul u < 1 \rmul u$ by Axiom 38.
We have $\phi_1(x) \rmul u < u$ by Axiom 21, Lemma 83.
We have $\phi_1(x) \rmul u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
Hence $\neg{u} < \neg{(\phi_1(x) \rmul u)}$ by Proposition 465.
We have $g_1(x) < \neg{(\phi_1(x) \rmul u)}$ by Lemma 82.
Hence $\phi_1(x) \rmul \neg{u} = \neg{(\phi_1(x) \rmul u)}$ by Lemma 10.
Thus $g_1(x) < \phi_1(x) \rmul g_1(x)$ by Lemma 83, Lemma 280.
Hence $\neg{1} < h_0(x)$ by Axiom 36, Lemma 82.
We have $\phi_1(x) \rmul u > 0 \rmul u$ by Axiom 38.
Hence $\phi_1(x) \rmul u > 0$ by Lemma 83, Proposition 439.
Hence $\neg{(\phi_1(x) \rmul u)} < \neg{0}$ by Proposition 465.
We have $\neg{(\phi_1(x) \rmul u)} < 0$ by Lemma 83, Lemma 84.
Hence $\phi_1(x) \rmul \neg{u} < 0$ by Lemma 10, Lemma 82.
Hence $h_0(x) < 0$ by Lemma 82, Lemma 280.
Hence $h_0(x) < 1$ by Axiom 36, Proposition 462.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 76.

Case. $\phi_1(x) = 1$.

We have $h_0(x) = g_1(x)$ by Axiom 21, Lemma 280.
We have $\neg{1} < h_0(x)$ by Lemma 82.
Hence $1 \rmul u > 0 \rmul u$ by Axiom 38.
We have $u > 0$ by Axiom 21, Lemma 82, Lemma 83, Proposition 439.
Hence $\neg{u} < 0$ by Lemma 83, Lemma 84, Proposition 465.
We have $h_0(x) < 0$ by Lemma 82.
Hence $h_0(x) < 1$ by Axiom 36, Proposition 462.
Therefore $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 76.

LaTeX source
\begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul u < 1 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $\phi_1(x) \rmul u < u$ by \cref{real_mul_ident,real_lt_subst_right}.
                        We have $\phi_1(x) \rmul u\in\reals$ by \cref{real_mul_closed}.
                        Hence $\neg{u} < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_neg}.
                        We have $g_1(x) < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_subst_left}.
                        Hence $\phi_1(x) \rmul \neg{u} = \neg{(\phi_1(x) \rmul u)}$ by \cref{real_mul_neg_right}.
                        Thus $g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_mul_eq_subst,real_lt_subst_right}.
                        Hence $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left,real_lt_trans}.
                        We have $\phi_1(x) \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        Hence $\phi_1(x) \rmul u > 0$ by \cref{real_mul_zero,real_lt_subst_right}.
                        Hence $\neg{(\phi_1(x) \rmul u)} < \neg{0}$ by \cref{real_lt_neg}.
                        We have $\neg{(\phi_1(x) \rmul u)} < 0$ by \cref{real_neg_zero,real_lt_subst_right}.
                        Hence $\phi_1(x) \rmul \neg{u} < 0$ by \cref{real_mul_neg_right,real_lt_subst_left}.
                        Hence $h_0(x) < 0$ by \cref{real_mul_eq_subst,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left}.
                        Hence $1 \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $u > 0$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Hence $\neg{u} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
                        We have $h_0(x) < 0$ by \cref{real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    
\end{byCase}
LaTeX source
\begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul u < 1 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $\phi_1(x) \rmul u < u$ by \cref{real_mul_ident,real_lt_subst_right}.
                        We have $\phi_1(x) \rmul u\in\reals$ by \cref{real_mul_closed}.
                        Hence $\neg{u} < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_neg}.
                        We have $g_1(x) < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_subst_left}.
                        Hence $\phi_1(x) \rmul \neg{u} = \neg{(\phi_1(x) \rmul u)}$ by \cref{real_mul_neg_right}.
                        Thus $g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_mul_eq_subst,real_lt_subst_right}.
                        Hence $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left,real_lt_trans}.
                        We have $\phi_1(x) \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        Hence $\phi_1(x) \rmul u > 0$ by \cref{real_mul_zero,real_lt_subst_right}.
                        Hence $\neg{(\phi_1(x) \rmul u)} < \neg{0}$ by \cref{real_lt_neg}.
                        We have $\neg{(\phi_1(x) \rmul u)} < 0$ by \cref{real_neg_zero,real_lt_subst_right}.
                        Hence $\phi_1(x) \rmul \neg{u} < 0$ by \cref{real_mul_neg_right,real_lt_subst_left}.
                        Hence $h_0(x) < 0$ by \cref{real_mul_eq_subst,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left}.
                        Hence $1 \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $u > 0$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Hence $\neg{u} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
                        We have $h_0(x) < 0$ by \cref{real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                
\end{byCase}
LaTeX source
\begin{byCase}
            \caseOf{$g_1(x) = 0$.}
                We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_comm,real_mul_zero}.
                Therefore $h_0(x)\in I$ by
                    \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
            \caseOf{$0 < g_1(x)$.}
                We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by \cref{real_leq_split}.
                \begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $h_0(x) < g_1(x)$ by \cref{real_mul_ident,real_lt_subst_right,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans}.
                        We have $0 \rmul g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        Hence $0 < h_0(x)$ by \cref{real_mul_zero,real_lt_subst_left}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $h_0(x) < 1$ by \cref{real_lt_subst_left}.
                        Hence $0 \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $0 < h_0(x)$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                \end{byCase}
            \caseOf{$g_1(x) < 0$.}
                Let $u = \neg{(g_1(x))}$.
                Hence $u\in\reals$ and $0 < u$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_left}.
                We have $g_1(x) = \neg{u}$ by \cref{real_neg_neg}.
                We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by \cref{real_leq_split}.
                \begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul u < 1 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $\phi_1(x) \rmul u < u$ by \cref{real_mul_ident,real_lt_subst_right}.
                        We have $\phi_1(x) \rmul u\in\reals$ by \cref{real_mul_closed}.
                        Hence $\neg{u} < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_neg}.
                        We have $g_1(x) < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_subst_left}.
                        Hence $\phi_1(x) \rmul \neg{u} = \neg{(\phi_1(x) \rmul u)}$ by \cref{real_mul_neg_right}.
                        Thus $g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_mul_eq_subst,real_lt_subst_right}.
                        Hence $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left,real_lt_trans}.
                        We have $\phi_1(x) \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        Hence $\phi_1(x) \rmul u > 0$ by \cref{real_mul_zero,real_lt_subst_right}.
                        Hence $\neg{(\phi_1(x) \rmul u)} < \neg{0}$ by \cref{real_lt_neg}.
                        We have $\neg{(\phi_1(x) \rmul u)} < 0$ by \cref{real_neg_zero,real_lt_subst_right}.
                        Hence $\phi_1(x) \rmul \neg{u} < 0$ by \cref{real_mul_neg_right,real_lt_subst_left}.
                        Hence $h_0(x) < 0$ by \cref{real_mul_eq_subst,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left}.
                        Hence $1 \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $u > 0$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Hence $\neg{u} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
                        We have $h_0(x) < 0$ by \cref{real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                \end{byCase}
            
\end{byCase}
LaTeX source
\begin{byCase}
        \caseOf{$x\in D$.}
            We have $\phi(x) = 0$ by \cref{subseteq,inter_intro,singleton_intro,img_of_function_intro,singleton_elim}.
            Hence $h_0(x) = 0$ by \cref{subseteq,real_mul_eq_subst,real_mul_zero}.
            Therefore $h_0(x)\in I$ by
                \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
        \caseOf{$x\notin D$.}
            We have $x\notin D_1$ and $x\notin D_2$ by \cref{union_iff}.
            We have $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(x)\neq \neg{1}$ by \cref{continuous,funs_is_function,function_apply_iff,singleton_intro,preimg_iff}.
            We have $g_1(x)\neq 1$ by \cref{continuous,funs_is_function,function_apply_iff,singleton_intro,preimg_iff}.
            We have $g_1(x) < 0$ or $g_1(x) = 0$ or $0 < g_1(x)$ by \cref{real_lt_trichotomy}.
            \begin{byCase}
            \caseOf{$g_1(x) = 0$.}
                We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_comm,real_mul_zero}.
                Therefore $h_0(x)\in I$ by
                    \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
            \caseOf{$0 < g_1(x)$.}
                We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by \cref{real_leq_split}.
                \begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $h_0(x) < g_1(x)$ by \cref{real_mul_ident,real_lt_subst_right,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans}.
                        We have $0 \rmul g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        Hence $0 < h_0(x)$ by \cref{real_mul_zero,real_lt_subst_left}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $h_0(x) < 1$ by \cref{real_lt_subst_left}.
                        Hence $0 \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $0 < h_0(x)$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                \end{byCase}
            \caseOf{$g_1(x) < 0$.}
                Let $u = \neg{(g_1(x))}$.
                Hence $u\in\reals$ and $0 < u$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_left}.
                We have $g_1(x) = \neg{u}$ by \cref{real_neg_neg}.
                We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by \cref{real_leq_split}.
                \begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul u < 1 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $\phi_1(x) \rmul u < u$ by \cref{real_mul_ident,real_lt_subst_right}.
                        We have $\phi_1(x) \rmul u\in\reals$ by \cref{real_mul_closed}.
                        Hence $\neg{u} < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_neg}.
                        We have $g_1(x) < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_subst_left}.
                        Hence $\phi_1(x) \rmul \neg{u} = \neg{(\phi_1(x) \rmul u)}$ by \cref{real_mul_neg_right}.
                        Thus $g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_mul_eq_subst,real_lt_subst_right}.
                        Hence $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left,real_lt_trans}.
                        We have $\phi_1(x) \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        Hence $\phi_1(x) \rmul u > 0$ by \cref{real_mul_zero,real_lt_subst_right}.
                        Hence $\neg{(\phi_1(x) \rmul u)} < \neg{0}$ by \cref{real_lt_neg}.
                        We have $\neg{(\phi_1(x) \rmul u)} < 0$ by \cref{real_neg_zero,real_lt_subst_right}.
                        Hence $\phi_1(x) \rmul \neg{u} < 0$ by \cref{real_mul_neg_right,real_lt_subst_left}.
                        Hence $h_0(x) < 0$ by \cref{real_mul_eq_subst,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left}.
                        Hence $1 \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $u > 0$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Hence $\neg{u} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
                        We have $h_0(x) < 0$ by \cref{real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                \end{byCase}
            \end{byCase}
        
\end{byCase}

$h_0$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Axiom 6, Definition 1, Definition 55, Definition 76, Definition 160, Lemma 470, Proposition 235, Proposition 349, Proposition 356.

Claim: For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h_0(a) = f(a)$.

Therefore there exists $g$ such that $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(x) = f(x)$ by Definition 1.

LaTeX source
\begin{proof}
    We have $I\subseteq J$ by \cref{intervalopen,real_lt_imp_leq,intervalclosed,subseteq}.

    Hence $\img{f}{A}\subseteq J$ by
        \cref{img_iff,continuous,funs,funs_is_function,function_apply_iff,funs_type_apply,subseteq,pair_eq_iff}.
    We have $I\subseteq\reals$ and $J\subseteq\reals$ by \cref{intervalopen,intervalclosed,subseteq}.
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by \cref{subspace_of}.
    Let $j_I = \identity{I}$.
    $j_I$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$
        by \cref{inclusion_continuous}.
    Let $f_1 = j_I\circ f$.
    $f_1$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{continuous_composite}.
    We have $f_1\in\funs{A}{\reals}$ and $T_A$ is a topology on $A$ by \cref{continuous}.
    Show that for all $y$ such that $y\in\img{f_1}{A}$ we have $y\in J$.
    \begin{subproof}
        Follows by \cref{img_iff,continuous,funs,funs_is_function,function_apply_iff,funs_type_apply,function_rightunique,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,real_add_eq_subst,subseteq,pair_eq_iff}.
    \end{subproof}
    $f_1$ is continuous from $A$ to $J$ with respect to $T_A$ and $T_J$
        by \cref{img_iff,continuous,funs,funs_is_function,function_apply_iff,funs_type_apply,function_rightunique,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,real_add_eq_subst,subseteq,pair_eq_iff,continuous_subspace_range}.
    $1\in\reals$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq}.
    $0\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_zero_lt_one}.
    Hence $\neg{1}\in\reals$ by \cref{real_add_inverse}.
    We have $\neg{1} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
    Therefore $\neg{1} < 1$ by \cref{real_lt_trans,real_zero_lt_one}.

    Take $g_0$ such that
        $g_0$ is continuous from $X$ to $J$ with respect to $T$ and $T_J$ and
        for all $x\in A$ we have $g_0(x) = f_1(x)$
        by \cref{tietze_extension_theorem_closed_interval}.

    Let $j_J = \identity{J}$.
    Let $g_1 = j_J\circ g_0$.
    $g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_interval_expand_range}.

    $\standardMetricR$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
    Hence $\reals$ is Hausdorff with respect to $\metricTopology{\standardMetricR}{\reals}$
        by \cref{metric_space_hausdorff}.
    Therefore $\reals$ is Hausdorff with respect to $\standardTopologyR$
        by \cref{standard_metric_topology}.
    $1\in\reals$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq}.
    Hence $\neg{1}\in\reals$ by \cref{real_add_inverse}.
    $\{\neg{1}\}\subseteq\reals$ and $\{1\}\subseteq\reals$ by \cref{singleton_subset_intro}.
    $\{\neg{1}\}$ is closed in $\reals$ with respect to $\standardTopologyR$ and
        $\{1\}$ is closed in $\reals$ with respect to $\standardTopologyR$
        by \cref{singleton_subset_intro,pair_is_finite,upair_intro_left,subseteq_finite_is_finite,finite_point_set_closed_hausdorff}.

    Let $D_1 = \preimg{g_1}{\{\neg{1}\}}$.
    Let $D_2 = \preimg{g_1}{\{1\}}$.
    Let $D = D_1\union D_2$.
    Let $U_1 = \reals\setminus \{\neg{1}\}$.
    Let $U_2 = \reals\setminus \{1\}$.
    Hence $\preimg{g_1}{U_1}$ is open in $X$ with respect to $T$ and
        $\preimg{g_1}{U_2}$ is open in $X$ with respect to $T$ by \cref{closed_in,continuous}.
    $T$ is a topology on $X$ by \cref{normal_space}.
    $g_1\in\funs{X}{\reals}$ and $g_1$ is a function by \cref{continuous,funs_is_function}.
    Hence $\preimg{g_1}{U_1} = X\setminus D_1$ and $\preimg{g_1}{U_2} = X\setminus D_2$
        by \cref{preimg_setminus_function,subseteq}.
    Therefore $D_1$ is closed in $X$ with respect to $T$ and $D_2$ is closed in $X$ with respect to $T$
        by \cref{continuous,preimg_subseteq_dom,funs,closed_in}.
    Hence $(X\setminus D_1)\in T$ and $(X\setminus D_2)\in T$ by \cref{closed_in,open_in,subseteq}.
    We have $(X\setminus D_1)\inter (X\setminus D_2)$ is open in $X$ with respect to $T$ by \cref{topology_on,open_in,subseteq}.
    $(X\setminus D_1)\inter (X\setminus D_2) = X\setminus (D_1\union D_2)$ by \cref{setminus_union}.
    Hence $X\setminus D$ is open in $X$ with respect to $T$ by \cref{real_add_eq_subst}.
    Thus $D$ is closed in $X$ with respect to $T$ by \cref{union_subsets_is_subset,closed_in}.

    Show that $A$ is disjoint from $D$.
    \begin{subproof}
        Suppose not.
        Take $a$ such that $a\in A$ and $a\in D$ by \cref{disjoint}.
        We have $a\in D_1$ or $a\in D_2$ by \cref{union_iff}.
        We have $a\in X$ and $g_0(a)\in J$ and $f(a)\in I$
            by \cref{closed_in,subseteq,continuous,funs_type_apply}.
        We have $g_0(a) = f_1(a)$ by assumption.
        Hence $g_1(a) = g_0(a)$ and $f_1(a) = f(a)$ by
            \cref{continuous,funs,funs_is_function,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,subseteq}.
        $g_1(a) = f(a)$ by \cref{subseteq}.
        $f(a)\in\reals$ and $\neg{1} < f(a)$ and $f(a) < 1$ by \cref{intervalopen}.
        Hence $a\notin D_1$ and $a\notin D_2$ by
            \cref{preimg_iff,singleton_elim,continuous,funs_is_function,function_apply_iff,subseteq,real_lt_subst_right,real_lt_subst_left,real_lt_irreflexive}.
        Contradiction by \cref{union_iff}.
    \end{subproof}

    Let $I_0 = \intervalclosed{0}{1}$.
    Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
    $D$ is disjoint from $A$ by \cref{disjoint_symmetric}.
    Take $\phi$ such that
        $\phi$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and
        $\img{\phi}{D}\subseteq \{0\}$ and
        $\img{\phi}{A}\subseteq \{1\}$
        by \cref{urysohn_unit_interval}.
    Let $j_0 = \identity{I_0}$.
    Let $\phi_1 = j_0\circ \phi$.
    $\phi_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_interval_expand_range}.
    Let $h_0 = \{(x, \phi_1(x) \rmul g_1(x)) \mid x\in X\}$.
    $h_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_multiplication_continuous}.
    We have $h_0\in\funs{X}{\reals}$ and $h_0$ is a function and
        $\phi_1\in\funs{X}{\reals}$ and $\phi_1$ is a function
        by \cref{continuous,funs_is_function}.

    Show that for all $x\in X$ we have $h_0(x)\in I$.
    \begin{subproof}
        Fix $x\in X$.
        We have $g_0(x)\in J$ by \cref{continuous,funs_type_apply}.
        Hence $g_1(x)\in J$ by
            \cref{continuous,funs,funs_is_function,funs_is_relation,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,subseteq,real_add_eq_subst}.
        We have $g_1(x)\in\reals$ and $\neg{1} \leq g_1(x)$ and $g_1(x) \leq 1$ by \cref{intervalclosed}.

        We have $\phi(x)\in I_0$ by \cref{continuous,funs_type_apply}.
        $\phi\in\funs{X}{I_0}$ and $\phi$ is right-unique and $\phi$ is a relation and $\dom{\phi} = X$
            by \cref{continuous,funs,funs_is_function,funs_is_relation}.
        $j_0$ is right-unique and $j_0$ is a relation and $\dom{j_0} = I_0$
            by \cref{id_rightunique,id_is_relation,id_dom}.
        $\phi_1(x) = \phi(x)$ and $\phi_1(x)\in I_0$
            by \cref{circ_apply,funs_ran,subseteq,id_apply,real_add_eq_subst}.
        $\phi_1(x)\in\reals$ and $0 \leq \phi_1(x)$ and $\phi_1(x) \leq 1$ by \cref{intervalclosed}.

        We have $h_0(x) = \phi_1(x) \rmul g_1(x)$ and $h_0(x)\in\reals$ by \cref{function_apply_intro,continuous,funs_type_apply}.

        \begin{byCase}
        \caseOf{$x\in D$.}
            We have $\phi(x) = 0$ by \cref{subseteq,inter_intro,singleton_intro,img_of_function_intro,singleton_elim}.
            Hence $h_0(x) = 0$ by \cref{subseteq,real_mul_eq_subst,real_mul_zero}.
            Therefore $h_0(x)\in I$ by
                \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
        \caseOf{$x\notin D$.}
            We have $x\notin D_1$ and $x\notin D_2$ by \cref{union_iff}.
            We have $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(x)\neq \neg{1}$ by \cref{continuous,funs_is_function,function_apply_iff,singleton_intro,preimg_iff}.
            We have $g_1(x)\neq 1$ by \cref{continuous,funs_is_function,function_apply_iff,singleton_intro,preimg_iff}.
            We have $g_1(x) < 0$ or $g_1(x) = 0$ or $0 < g_1(x)$ by \cref{real_lt_trichotomy}.
            \begin{byCase}
            \caseOf{$g_1(x) = 0$.}
                We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_comm,real_mul_zero}.
                Therefore $h_0(x)\in I$ by
                    \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
            \caseOf{$0 < g_1(x)$.}
                We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by \cref{real_leq_split}.
                \begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $h_0(x) < g_1(x)$ by \cref{real_mul_ident,real_lt_subst_right,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans}.
                        We have $0 \rmul g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        Hence $0 < h_0(x)$ by \cref{real_mul_zero,real_lt_subst_left}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $h_0(x) < 1$ by \cref{real_lt_subst_left}.
                        Hence $0 \rmul g_1(x) < 1 \rmul g_1(x)$ by \cref{real_lt_mul_pos}.
                        We have $0 < h_0(x)$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Thus $\neg{1} < h_0(x)$ by
                            \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                \end{byCase}
            \caseOf{$g_1(x) < 0$.}
                Let $u = \neg{(g_1(x))}$.
                Hence $u\in\reals$ and $0 < u$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_left}.
                We have $g_1(x) = \neg{u}$ by \cref{real_neg_neg}.
                We have $\phi_1(x) = 0$ or $0 < \phi_1(x)$ by \cref{real_leq_split}.
                \begin{byCase}
                \caseOf{$\phi_1(x) = 0$.}
                    We have $h_0(x) = 0$ by \cref{real_mul_eq_subst,real_mul_zero}.
                    Therefore $h_0(x)\in I$ by
                        \cref{intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
                \caseOf{$0 < \phi_1(x)$.}
                    $\phi_1(x) < 1$ or $\phi_1(x) = 1$ by \cref{real_leq_split}.
                    \begin{byCase}
                    \caseOf{$\phi_1(x) < 1$.}
                        We have $\phi_1(x) \rmul u < 1 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $\phi_1(x) \rmul u < u$ by \cref{real_mul_ident,real_lt_subst_right}.
                        We have $\phi_1(x) \rmul u\in\reals$ by \cref{real_mul_closed}.
                        Hence $\neg{u} < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_neg}.
                        We have $g_1(x) < \neg{(\phi_1(x) \rmul u)}$ by \cref{real_lt_subst_left}.
                        Hence $\phi_1(x) \rmul \neg{u} = \neg{(\phi_1(x) \rmul u)}$ by \cref{real_mul_neg_right}.
                        Thus $g_1(x) < \phi_1(x) \rmul g_1(x)$ by \cref{real_mul_eq_subst,real_lt_subst_right}.
                        Hence $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left,real_lt_trans}.
                        We have $\phi_1(x) \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        Hence $\phi_1(x) \rmul u > 0$ by \cref{real_mul_zero,real_lt_subst_right}.
                        Hence $\neg{(\phi_1(x) \rmul u)} < \neg{0}$ by \cref{real_lt_neg}.
                        We have $\neg{(\phi_1(x) \rmul u)} < 0$ by \cref{real_neg_zero,real_lt_subst_right}.
                        Hence $\phi_1(x) \rmul \neg{u} < 0$ by \cref{real_mul_neg_right,real_lt_subst_left}.
                        Hence $h_0(x) < 0$ by \cref{real_mul_eq_subst,real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \caseOf{$\phi_1(x) = 1$.}
                        We have $h_0(x) = g_1(x)$ by \cref{real_mul_eq_subst,real_mul_ident}.
                        We have $\neg{1} < h_0(x)$ by \cref{real_lt_subst_left}.
                        Hence $1 \rmul u > 0 \rmul u$ by \cref{real_lt_mul_pos}.
                        We have $u > 0$ by \cref{real_mul_zero,real_mul_ident,real_lt_subst_left,real_lt_subst_right}.
                        Hence $\neg{u} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
                        We have $h_0(x) < 0$ by \cref{real_lt_subst_left}.
                        Hence $h_0(x) < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
                        Therefore $h_0(x)\in I$ by \cref{intervalopen}.
                    \end{byCase}
                \end{byCase}
            \end{byCase}
        \end{byCase}
    \end{subproof}
    $h_0$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
        by \cref{img_iff,continuous,funs,funs_is_function,function_apply_iff,pair_eq_iff,subseteq,continuous_subspace_range,intervalopen}.

    Show that for all $a\in A$ we have $h_0(a) = f(a)$.
    \begin{subproof}
        Follows by \cref{closed_in,subseteq,continuous,funs_is_function,funs,inter_intro,singleton_intro,img_of_function_intro,singleton_elim,funs_type_apply,id_rightunique,id_is_relation,id_dom,circ_apply,funs_ran,id_apply,intervalopen,function_rightunique,funs_is_relation,function_apply_intro,real_mul_eq_subst,real_mul_ident}.
    \end{subproof}
    Therefore there exists $g$ such that
        $g$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $g(x) = f(x)$ by \cref{subseteq}.
\end{proof}
Lemma 548
real_abs_function_continuous

Let $h = \{(x,\abs{x}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals\}$.
Then $h$ is continuous from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$.

LaTeX source
\begin{lemma}
\label{real_abs_function_continuous}
    Let $h = \{(x,\abs{x}) \mid x\in\reals\}$.
    Then $h$ is continuous from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$.
\end{lemma}
Proof

For all $x,z_1,z_2$ such that $(x,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ and $(x,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ we have $z_1 = z_2$ and for all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ there exist $x,y$ such that $w = (x,y)$.
Hence $h$ is a function by Definition 12, Definition 51.
For all $x,z$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ and $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $z = \abs{x}$ by Axiom 6.
We have for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 34, Proposition 199, Proposition 346.
Hence $h$ is a function to $\reals$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $(x,\abs{x})\class{latex-symbol-tip latex-symbol-id-in}{\in} h$.
Therefore $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\reals}{\reals}$ by Definition 1, Proposition 3, Proposition 200, Proposition 358.

Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $h$ is continuous at $p$ from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$.

Fix $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Let $d = \standardMetricR$.
Let $T_d = \metricTopology{d}{\reals}$.

Claim: For all $V$ such that $V$ is a neighborhood of $h(p)$ in $\reals$ with respect to $\standardTopologyR$ there exists a neighborhood $U$ of $p$ in $\reals$ with respect to $\standardTopologyR$ such that $\img{h}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.

Fix $V$ such that $V$ is a neighborhood of $h(p)$ in $\reals$ with respect to $\standardTopologyR$.
$T_d = \standardTopologyR$ and $T_d$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93, Lemma 200.
Hence $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 153.
$d$ is a metric on $\reals$ by Lemma 198.
Take $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ and $\metricBall{d}{\reals}{h(p)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}} \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 153, Lemma 195.
Let $U = \metricBall{d}{\reals}{p}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.
For all $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $h(q)\class{latex-symbol-tip latex-symbol-id-in}{\in} \metricBall{d}{\reals}{h(p)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Axiom 13, Axiom 18, Definition 64, Definition 180, Lemma 34, Lemma 82, Lemma 83, Lemma 266, Lemma 274, Proposition 346, Proposition 356, Proposition 482, Proposition 494.
We have $\img{h}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1, Proposition 6, Proposition 235, Proposition 346.
For all $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 180.
Hence $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Thus $U$ is open in $\reals$ with respect to $\standardTopologyR$ by Definition 1, Definition 103, Definition 115, Definition 181, Definition 182, Lemma 77, Lemma 194, Lemma 200, Proposition 155.
Therefore $U$ is a neighborhood of $p$ in $\reals$ with respect to $\standardTopologyR$ by Definition 153, Definition 176, Definition 179, Definition 180, Lemma 82, Lemma 198.

Therefore $h$ is continuous at $p$ from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$ by Definition 118, Definition 161, Lemma 76, Lemma 93.

Therefore $h$ is continuous from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$ by Definition 118, Lemma 76, Lemma 93, Lemma 162.

LaTeX source
\begin{proof}
    For all $x,z_1,z_2$ such that $(x,z_1)\in h$ and $(x,z_2)\in h$ we have $z_1 = z_2$ and
        for all $w$ such that $w\in h$ there exist $x,y$ such that $w = (x,y)$.
    Hence $h$ is a function by \cref{rightunique,relation}.
    For all $x,z$ such that $x\in\dom{h}$ and $(x,z)\in h$ we have $x\in\reals$ and $z = \abs{x}$ by \cref{pair_eq_iff}.
    We have for all $x\in\dom{h}$ we have $h(x)\in\reals$
        by \cref{dom_iff,function_apply_intro,real_abs_in_reals}.
    Hence $h$ is a function to $\reals$.
    For all $x\in\dom{h}$ we have $x\in\reals$ and for all $x\in\reals$ we have $(x,\abs{x})\in h$.
    Therefore $h\in\funs{\reals}{\reals}$ by \cref{subseteq,dom_intro,subseteq_antisymmetric,funs_intro}.

    Show that for all $p\in\reals$ we have
        $h$ is continuous at $p$ from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$.
    \begin{subproof}
        Fix $p\in\reals$.
        Let $d = \standardMetricR$.
        Let $T_d = \metricTopology{d}{\reals}$.
        Show that for all $V$ such that $V$ is a neighborhood of $h(p)$ in $\reals$ with respect to $\standardTopologyR$
            there exists a neighborhood $U$ of $p$ in $\reals$ with respect to $\standardTopologyR$
            such that $\img{h}{U}\subseteq V$.
        \begin{subproof}
            Fix $V$ such that $V$ is a neighborhood of $h(p)$ in $\reals$ with respect to $\standardTopologyR$.
            $T_d = \standardTopologyR$ and $T_d$ is a topology on $\reals$
                by \cref{standard_metric_topology,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
            Hence $V\subseteq\reals$ by \cref{neighborhood,open_in,topology_on,subseteq,pow_iff}.
            $d$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
            Take $\epsilon\in\reals$ such that $0 < \epsilon$ and
                $\metricBall{d}{\reals}{h(p)}{\epsilon} \subseteq V$ by \cref{neighborhood,metric_open_iff}.
            Let $U = \metricBall{d}{\reals}{p}{\epsilon}$.
            For all $q$ such that $q\in U$ we have $h(q)\in \metricBall{d}{\reals}{h(p)}{\epsilon}$ by
                \cref{metric_ball,standard_metric_value,real_abs_in_reals,real_sub,real_add_closed,real_add_inverse,real_reverse_triangle_inequality,real_leq_lt_trans,funs_is_function,function_apply_intro,real_abs_sub_swap,real_lt_subst_left,real_lt_subst_right}.
            We have $\img{h}{U}\subseteq V$ by \cref{img_iff,function_apply_intro,subseteq,subseteq_transitive}.
            For all $q$ such that $q\in U$ we have $q\in\reals$ by \cref{metric_ball}.
            Hence $U\subseteq\reals$ by \cref{subseteq}.
            $p\in\reals$ and $\epsilon\in\reals$ and $0 < \epsilon$.
            Thus $U$ is open in $\reals$ with respect to $\standardTopologyR$ by
                \cref{subseteq,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,basis_for_topology,metric_topology,standard_metric_topology,open_in}.
            Therefore $U$ is a neighborhood of $p$ in $\reals$ with respect to $\standardTopologyR$
                by \cref{metric_zero_characterization,standard_metric_is_metric,metric_on,real_lt_subst_left,metric_ball,neighborhood}.
        \end{subproof}
        Therefore $h$ is continuous at $p$ from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$
            by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,continuous_at}.
    \end{subproof}
    Therefore $h$ is continuous from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,continuous_at_implies_continuous}.
\end{proof}
Lemma 549
real_interval_compression

Suppose $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Let $s = r \rmul \inv{(1 + \abs{r})}$.
Then $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{\neg{1}}{1}$.

LaTeX source
\begin{lemma}
\label{real_interval_compression}
    Suppose $r\in\reals$.
    Let $s = r \rmul \inv{(1 + \abs{r})}$.
    Then $s\in\intervalopen{\neg{1}}{1}$.
\end{lemma}
Proof

$\abs{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\abs{r}\class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$ by Lemma 34, Proposition 480.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 41, Axiom 42, Definition 1, Proposition 462.
Hence $1 + \abs{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + \abs{r}$ by Axiom 13, Axiom 16, Lemma 279.
We have $\inv{(1 + \abs{r})}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22, Lemma 20.
Hence $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
We have $r < 0$ or $r = 0$ or $0 < r$ by Axiom 17, Axiom 34.

Case. $r = 0$.

$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{\neg{1}}{1}$ by Axiom 17, Axiom 18, Axiom 47, Definition 76, Lemma 82, Lemma 83, Lemma 84, Lemma 280, Proposition 439, Proposition 462, Proposition 465.

Case. $0 < r$.

We have $\abs{r} = r$ by Axiom 47, Lemma 231.
Thus $0 < \inv{(1 + \abs{r})}$ by Axiom 17, Axiom 37, Lemma 82, Proposition 437, Proposition 463.
We have $0 < s$ by Axiom 38, Lemma 82, Lemma 83, Proposition 439.
Thus $r < 1 + r$ by Axiom 17, Axiom 37.
Hence $s < 1$ by Axiom 22, Axiom 38, Lemma 20, Lemma 82, Lemma 83, Proposition 437.
Hence $\neg{1} < s$ by Axiom 18, Axiom 36, Lemma 83, Lemma 84, Proposition 462, Proposition 465.
Therefore $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{\neg{1}}{1}$ by Definition 76.

Case. $r < 0$.

Let $u = \neg{r}$.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < u$ by Axiom 18, Lemma 82, Lemma 84, Proposition 465.
We have $\abs{r} = u$ by Axiom 48, Lemma 231.
Thus $0 < \inv{(1 + \abs{r})}$ by Axiom 17, Axiom 37, Lemma 82, Proposition 437, Proposition 463.
$\neg{u}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
Hence $s < 0$ by Axiom 18, Axiom 38, Lemma 82, Lemma 83, Lemma 84, Proposition 439, Proposition 441, Proposition 463, Proposition 465.
We have $u < 1 + u$ by Axiom 17, Axiom 37.
Hence $u \rmul \inv{(1 + \abs{r})} < (1 + u) \rmul \inv{(1 + \abs{r})}$ by Axiom 38, Lemma 82.
Thus $u \rmul \inv{(1 + \abs{r})} < 1$ by Axiom 22, Lemma 20, Lemma 83, Proposition 437.
$\neg{1} < \neg{(u \rmul \inv{(1 + \abs{r})})}$ by Axiom 14, Lemma 83, Lemma 84, Proposition 465.
$\neg{u} \rmul \inv{(1 + \abs{r})} = \inv{(1 + \abs{r})} \rmul \neg{u}$ by Axiom 20.
$\inv{(1 + \abs{r})} \rmul \neg{u} = \neg{(\inv{(1 + \abs{r})} \rmul u)}$ by Lemma 10.
$\inv{(1 + \abs{r})} \rmul u = u \rmul \inv{(1 + \abs{r})}$ by Axiom 20.
$\neg{u} \rmul \inv{(1 + \abs{r})} = \neg{(u \rmul \inv{(1 + \abs{r})})}$ by Lemma 83.
Thus $\neg{1} < \neg{u} \rmul \inv{(1 + \abs{r})}$ by Lemma 83.
Hence $\neg{1} < s$ by Lemma 83, Proposition 441.
Hence $s < 1$ by Axiom 36, Proposition 462.
Therefore $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{\neg{1}}{1}$ by Definition 76.

LaTeX source
\begin{byCase}
    \caseOf{$r = 0$.}
        $s\in\intervalopen{\neg{1}}{1}$ by
            \cref{real_abs_nonneg,real_add_ident,real_mul_eq_subst,real_mul_zero,intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
    \caseOf{$0 < r$.}
        We have $\abs{r} = r$ by \cref{real_abs_nonneg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        We have $0 < s$ by
            \cref{real_lt_mul_pos,real_mul_zero,real_lt_subst_right,real_lt_subst_left}.
        Thus $r < 1 + r$ by \cref{real_lt_add,real_add_ident}.
        Hence $s < 1$ by
            \cref{real_lt_mul_pos,real_add_eq_subst,real_mul_inverse,real_lt_subst_left,real_lt_subst_right,real_pos_nonzero}.
        Hence $\neg{1} < s$ by \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
        Therefore $s\in\intervalopen{\neg{1}}{1}$ by \cref{intervalopen}.
    \caseOf{$r < 0$.}
        Let $u = \neg{r}$.
        Hence $u\in\reals$ and $0 < u$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_left}.
        We have $\abs{r} = u$ by \cref{real_abs_neg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        $\neg{u}\in\reals$ by \cref{real_add_inverse}.
        Hence $s < 0$ by
            \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_inv_pos,real_lt_mul_pos,real_mul_zero,real_lt_subst_left,real_lt_subst_right,real_neg_neg}.
        We have $u < 1 + u$ by \cref{real_lt_add,real_add_ident}.
        Hence $u \rmul \inv{(1 + \abs{r})} < (1 + u) \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_mul_pos,real_lt_subst_left}.
        Thus $u \rmul \inv{(1 + \abs{r})} < 1$ by \cref{real_add_eq_subst,real_mul_inverse,real_lt_subst_right,real_pos_nonzero}.
        $\neg{1} < \neg{(u \rmul \inv{(1 + \abs{r})})}$ by \cref{real_mul_closed,real_lt_neg,real_neg_zero,real_lt_subst_right}.
        $\neg{u} \rmul \inv{(1 + \abs{r})} = \inv{(1 + \abs{r})} \rmul \neg{u}$ by \cref{real_mul_comm}.
        $\inv{(1 + \abs{r})} \rmul \neg{u} = \neg{(\inv{(1 + \abs{r})} \rmul u)}$ by \cref{real_mul_neg_right}.
        $\inv{(1 + \abs{r})} \rmul u = u \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_comm}.
        $\neg{u} \rmul \inv{(1 + \abs{r})} = \neg{(u \rmul \inv{(1 + \abs{r})})}$ by \cref{real_lt_subst_right}.
        Thus $\neg{1} < \neg{u} \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_subst_right}.
        Hence $\neg{1} < s$ by \cref{real_neg_neg,real_lt_subst_right}.
        Hence $s < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
        Therefore $s\in\intervalopen{\neg{1}}{1}$ by \cref{intervalopen}.
    
\end{byCase}
LaTeX source
\begin{proof}
    $\abs{r}\in\reals$ and $\abs{r}\geq 0$ by \cref{real_abs_in_reals,real_abs_nonnegative}.
    $1\in\reals$ and $0 < 1$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one}.
    Hence $1 + \abs{r}\in\reals$ and $0 < 1 + \abs{r}$
        by \cref{real_add_closed,real_pos_add_nonneg,real_add_comm}.
    We have $\inv{(1 + \abs{r})}\in\reals$ by \cref{real_mul_inverse,real_pos_nonzero}.
    Hence $s\in\reals$ by \cref{real_mul_closed}.
    $0\in\reals$ by \cref{real_add_ident}.
    We have $r < 0$ or $r = 0$ or $0 < r$ by \cref{real_add_ident,real_lt_trichotomy}.
    \begin{byCase}
    \caseOf{$r = 0$.}
        $s\in\intervalopen{\neg{1}}{1}$ by
            \cref{real_abs_nonneg,real_add_ident,real_mul_eq_subst,real_mul_zero,intervalopen,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_subst_left}.
    \caseOf{$0 < r$.}
        We have $\abs{r} = r$ by \cref{real_abs_nonneg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        We have $0 < s$ by
            \cref{real_lt_mul_pos,real_mul_zero,real_lt_subst_right,real_lt_subst_left}.
        Thus $r < 1 + r$ by \cref{real_lt_add,real_add_ident}.
        Hence $s < 1$ by
            \cref{real_lt_mul_pos,real_add_eq_subst,real_mul_inverse,real_lt_subst_left,real_lt_subst_right,real_pos_nonzero}.
        Hence $\neg{1} < s$ by \cref{real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_trans}.
        Therefore $s\in\intervalopen{\neg{1}}{1}$ by \cref{intervalopen}.
    \caseOf{$r < 0$.}
        Let $u = \neg{r}$.
        Hence $u\in\reals$ and $0 < u$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_left}.
        We have $\abs{r} = u$ by \cref{real_abs_neg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        $\neg{u}\in\reals$ by \cref{real_add_inverse}.
        Hence $s < 0$ by
            \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_inv_pos,real_lt_mul_pos,real_mul_zero,real_lt_subst_left,real_lt_subst_right,real_neg_neg}.
        We have $u < 1 + u$ by \cref{real_lt_add,real_add_ident}.
        Hence $u \rmul \inv{(1 + \abs{r})} < (1 + u) \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_mul_pos,real_lt_subst_left}.
        Thus $u \rmul \inv{(1 + \abs{r})} < 1$ by \cref{real_add_eq_subst,real_mul_inverse,real_lt_subst_right,real_pos_nonzero}.
        $\neg{1} < \neg{(u \rmul \inv{(1 + \abs{r})})}$ by \cref{real_mul_closed,real_lt_neg,real_neg_zero,real_lt_subst_right}.
        $\neg{u} \rmul \inv{(1 + \abs{r})} = \inv{(1 + \abs{r})} \rmul \neg{u}$ by \cref{real_mul_comm}.
        $\inv{(1 + \abs{r})} \rmul \neg{u} = \neg{(\inv{(1 + \abs{r})} \rmul u)}$ by \cref{real_mul_neg_right}.
        $\inv{(1 + \abs{r})} \rmul u = u \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_comm}.
        $\neg{u} \rmul \inv{(1 + \abs{r})} = \neg{(u \rmul \inv{(1 + \abs{r})})}$ by \cref{real_lt_subst_right}.
        Thus $\neg{1} < \neg{u} \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_subst_right}.
        Hence $\neg{1} < s$ by \cref{real_neg_neg,real_lt_subst_right}.
        Hence $s < 1$ by \cref{real_lt_trans,real_zero_lt_one}.
        Therefore $s\in\intervalopen{\neg{1}}{1}$ by \cref{intervalopen}.
    \end{byCase}
\end{proof}
Lemma 550
real_interval_decompression

Suppose $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Let $s = r \rmul \inv{(1 + \abs{r})}$.
Then $s \rmul \inv{(1 - \abs{s})} = r$.

LaTeX source
\begin{lemma}
\label{real_interval_decompression}
    Suppose $r\in\reals$.
    Let $s = r \rmul \inv{(1 + \abs{r})}$.
    Then $s \rmul \inv{(1 - \abs{s})} = r$.
\end{lemma}
Proof

$\abs{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 34.
Hence $1 + \abs{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Proposition 462.
We have $0 < 1 + \abs{r}$ by Axiom 16, Lemma 83, Lemma 279, Proposition 480.
We have $\inv{(1 + \abs{r})}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22, Lemma 20.
Hence $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
We have $r < 0$ or $r = 0$ or $0 < r$ by Axiom 34.

Case. $r = 0$.

We have $s = 0$ by Axiom 17, Axiom 47, Lemma 280, Proposition 439.
We have $\abs{s} = 0$ by Axiom 47, Lemma 83.
Hence $1 - \abs{s} = 1$ by Axiom 16, Axiom 17, Definition 64, Lemma 83, Lemma 84, Proposition 437.
Thus $\inv{1}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22, Lemma 20, Proposition 462.
Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by Definition 1, Lemma 280, Proposition 439.

Case. $0 < r$.

We have $\abs{r} = r$ by Axiom 47, Lemma 231.
Thus $0 < \inv{(1 + \abs{r})}$ by Axiom 17, Axiom 37, Lemma 82, Proposition 437, Proposition 463.
We have $0 \rmul \inv{(1 + \abs{r})} < r \rmul \inv{(1 + \abs{r})}$ by Axiom 38.
Hence $0 < s$ by Lemma 82, Lemma 83, Proposition 439.
$\abs{s} = s$ by Axiom 47, Lemma 231.
$(1 + r) \rmul \inv{(1 + \abs{r})} = 1$ by Axiom 22, Lemma 20, Proposition 437.
$1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) - s$ by Lemma 82.
Hence $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) - (r \rmul \inv{(1 + \abs{r})})$ by Lemma 280, Proposition 437.
Thus $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) + \neg{(r \rmul \inv{(1 + \abs{r})})}$ by Definition 64.
$\neg{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\neg{(r \rmul \inv{(1 + \abs{r})})} = \neg{(\inv{(1 + \abs{r})} \rmul r)}$ by Axiom 20, Lemma 83.
We have $\inv{(1 + \abs{r})} \rmul \neg{r} = \neg{(\inv{(1 + \abs{r})} \rmul r)}$ by Lemma 10.
We have $\inv{(1 + \abs{r})} \rmul \neg{r} = (\neg{r}) \rmul \inv{(1 + \abs{r})}$ by Axiom 20.
We have $\neg{(r \rmul \inv{(1 + \abs{r})})} = (\neg{r}) \rmul \inv{(1 + \abs{r})}$ by Lemma 82.
Thus $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) + ((\neg{r}) \rmul \inv{(1 + \abs{r})})$ by Proposition 437.
We have $((1 + r) \rmul \inv{(1 + \abs{r})}) + ((\neg{r}) \rmul \inv{(1 + \abs{r})}) = ((1 + r) + \neg{r}) \rmul \inv{(1 + \abs{r})}$ by Lemma 9.
We have $1 - s = ((1 + r) + \neg{r}) \rmul \inv{(1 + \abs{r})}$ by Proposition 437.
Hence $(1 + r) + \neg{r} = 1$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Lemma 83, Proposition 437.
Thus $1 - s = 1 \rmul \inv{(1 + \abs{r})}$ by Lemma 280.
Hence $1 - s = \inv{(1 + \abs{r})}$ by Axiom 21.
We have $1 - \abs{s} = \inv{(1 + \abs{r})}$ by Definition 1.
We have $\inv{(1 + \abs{r})} \rmul (1 + \abs{r}) = 1$ by Axiom 20, Axiom 22, Lemma 20.
Thus $\inv{(1 + \abs{r})}\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20, Proposition 463.
Hence $\inv{\inv{(1 + \abs{r})}} = 1 + \abs{r}$ by Proposition 436.
We have $\inv{(1 - \abs{s})} = \inv{\inv{(1 + \abs{r})}}$ by Lemma 280.
Hence $\inv{(1 - \abs{s})} = 1 + \abs{r}$ by Lemma 83.
Thus $s \rmul \inv{(1 - \abs{s})} = s \rmul (1 + \abs{r})$ by Lemma 280.
Hence $s \rmul \inv{(1 - \abs{s})} = (r \rmul \inv{(1 + \abs{r})}) \rmul (1 + \abs{r})$ by Lemma 280.
We have $s \rmul \inv{(1 - \abs{s})} = r \rmul (\inv{(1 + \abs{r})} \rmul (1 + \abs{r}))$ by Axiom 19.
Hence $s \rmul \inv{(1 - \abs{s})} = r \rmul 1$ by Axiom 20, Axiom 22, Lemma 20, Lemma 280.
Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by Axiom 20, Axiom 21, Lemma 83.

Case. $r < 0$.

Let $u = \neg{r}$.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < u$ by Axiom 18, Lemma 82, Lemma 84, Proposition 465.
We have $\abs{r} = u$ by Axiom 48, Lemma 231.
Thus $0 < \inv{(1 + \abs{r})}$ by Axiom 17, Axiom 37, Lemma 82, Proposition 437, Proposition 463.
$\neg{u}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
Hence $\neg{u} < 0$ by Lemma 83, Lemma 84, Proposition 465.
We have $\neg{u} \rmul \inv{(1 + \abs{r})} < 0 \rmul \inv{(1 + \abs{r})}$ by Axiom 38.
Hence $s < 0$ by Lemma 82, Lemma 83, Proposition 439, Proposition 441.
Thus $\abs{s} = \neg{s}$ by Axiom 48, Lemma 231.
We have $(1 + u) \rmul \inv{(1 + \abs{r})} = 1$ by Axiom 22, Lemma 20, Proposition 437.
Hence $1 - \abs{s} = 1 + \neg{\abs{s}}$ by Definition 64.
We have $1 + \neg{\abs{s}} = 1 + \neg{\neg{s}}$ by Proposition 437.
Hence $\neg{\neg{s}} = s$ by Proposition 441.
Thus $1 + \neg{\neg{s}} = 1 + s$ by Proposition 437.
Hence $1 - \abs{s} = 1 + s$ by Lemma 83.
We have $1 + s = ((1 + u) \rmul \inv{(1 + \abs{r})}) + s$ by Lemma 82.
Hence $1 + s = ((1 + u) \rmul \inv{(1 + \abs{r})}) + (\neg{u} \rmul \inv{(1 + \abs{r})})$ by Lemma 280, Proposition 437, Proposition 441.
We have $((1 + u) \rmul \inv{(1 + \abs{r})}) + (\neg{u} \rmul \inv{(1 + \abs{r})}) = ((1 + u) + \neg{u}) \rmul \inv{(1 + \abs{r})}$ by Lemma 9.
Thus $1 + s = ((1 + u) + \neg{u}) \rmul \inv{(1 + \abs{r})}$ by Proposition 437.
Hence $(1 + u) + \neg{u} = 1$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Lemma 83, Proposition 437.
We have $1 + s = 1 \rmul \inv{(1 + \abs{r})}$ by Lemma 280.
Hence $1 + s = \inv{(1 + \abs{r})}$ by Axiom 21.
Thus $1 - \abs{s} = \inv{(1 + \abs{r})}$ by Definition 1.
We have $\inv{(1 + \abs{r})} \rmul (1 + \abs{r}) = 1$ by Axiom 20, Axiom 22, Lemma 20.
We have $\inv{(1 + \abs{r})}\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20, Proposition 463.
Hence $\inv{\inv{(1 + \abs{r})}} = 1 + \abs{r}$ by Proposition 436.
Thus $\inv{(1 - \abs{s})} = \inv{\inv{(1 + \abs{r})}}$ by Lemma 280.
Hence $\inv{(1 - \abs{s})} = 1 + \abs{r}$ by Lemma 83.
We have $s \rmul \inv{(1 - \abs{s})} = s \rmul (1 + \abs{r})$ by Lemma 280.
Hence $s \rmul \inv{(1 - \abs{s})} = (\neg{u} \rmul \inv{(1 + \abs{r})}) \rmul (1 + \abs{r})$ by Lemma 280, Proposition 441.
Thus $s \rmul \inv{(1 - \abs{s})} = \neg{u} \rmul (\inv{(1 + \abs{r})} \rmul (1 + \abs{r}))$ by Axiom 19.
Hence $s \rmul \inv{(1 - \abs{s})} = \neg{u} \rmul 1$ by Axiom 20, Axiom 22, Lemma 20, Lemma 280.
We have $s \rmul \inv{(1 - \abs{s})} = \neg{u}$ by Axiom 20, Axiom 21, Lemma 83.
Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by Proposition 441.

LaTeX source
\begin{byCase}
    \caseOf{$r = 0$.}
        We have $s = 0$ by \cref{real_abs_nonneg,real_add_ident,real_mul_eq_subst,real_mul_zero}.
        We have $\abs{s} = 0$ by \cref{real_abs_nonneg,real_lt_subst_right}.
        Hence $1 - \abs{s} = 1$ by
            \cref{real_sub,real_add_eq_subst,real_neg_zero,real_add_comm,real_add_ident,real_lt_subst_right}.
        Thus $\inv{1}\in\reals$ by \cref{real_mul_inverse,real_zero_lt_one,real_pos_nonzero}.
        Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by \cref{real_mul_eq_subst,real_mul_zero,subseteq}.
    \caseOf{$0 < r$.}
        We have $\abs{r} = r$ by \cref{real_abs_nonneg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        We have $0 \rmul \inv{(1 + \abs{r})} < r \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_mul_pos}.
        Hence $0 < s$ by \cref{real_mul_zero,real_lt_subst_right,real_lt_subst_left}.
        $\abs{s} = s$ by \cref{real_abs_nonneg,real_lt_imp_leq}.
        $(1 + r) \rmul \inv{(1 + \abs{r})} = 1$ by \cref{real_add_eq_subst,real_mul_inverse,real_pos_nonzero}.
        $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) - s$ by \cref{real_lt_subst_left}.
        Hence $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) - (r \rmul \inv{(1 + \abs{r})})$ by \cref{real_mul_eq_subst,real_add_eq_subst}.
        Thus $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) + \neg{(r \rmul \inv{(1 + \abs{r})})}$ by \cref{real_sub}.
        $\neg{r}\in\reals$ by \cref{real_add_inverse}.
        $\neg{(r \rmul \inv{(1 + \abs{r})})} = \neg{(\inv{(1 + \abs{r})} \rmul r)}$ by \cref{real_mul_comm,real_lt_subst_right}.
        We have $\inv{(1 + \abs{r})} \rmul \neg{r} = \neg{(\inv{(1 + \abs{r})} \rmul r)}$ by \cref{real_mul_neg_right}.
        We have $\inv{(1 + \abs{r})} \rmul \neg{r} = (\neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_comm}.
        We have $\neg{(r \rmul \inv{(1 + \abs{r})})} = (\neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_subst_left}.
        Thus $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) + ((\neg{r}) \rmul \inv{(1 + \abs{r})})$ by \cref{real_add_eq_subst}.
        We have $((1 + r) \rmul \inv{(1 + \abs{r})}) + ((\neg{r}) \rmul \inv{(1 + \abs{r})})
            = ((1 + r) + \neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_right_distrib}.
        We have $1 - s = ((1 + r) + \neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst}.
        Hence $(1 + r) + \neg{r} = 1$
            by \cref{real_add_assoc,real_add_inverse,real_add_eq_subst,real_add_comm,real_add_ident,real_lt_subst_right}.
        Thus $1 - s = 1 \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_eq_subst}.
        Hence $1 - s = \inv{(1 + \abs{r})}$ by \cref{real_mul_ident}.
        We have $1 - \abs{s} = \inv{(1 + \abs{r})}$ by \cref{subseteq}.
        We have $\inv{(1 + \abs{r})} \rmul (1 + \abs{r}) = 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_comm}.
        Thus $\inv{(1 + \abs{r})}\neq 0$ by \cref{real_inv_pos,real_pos_nonzero}.
        Hence $\inv{\inv{(1 + \abs{r})}} = 1 + \abs{r}$ by \cref{real_mul_inverse_unique}.
        We have $\inv{(1 - \abs{s})} = \inv{\inv{(1 + \abs{r})}}$ by \cref{real_mul_eq_subst}.
        Hence $\inv{(1 - \abs{s})} = 1 + \abs{r}$ by \cref{real_lt_subst_right}.
        Thus $s \rmul \inv{(1 - \abs{s})} = s \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst}.
        Hence $s \rmul \inv{(1 - \abs{s})} = (r \rmul \inv{(1 + \abs{r})}) \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst}.
        We have $s \rmul \inv{(1 - \abs{s})} = r \rmul (\inv{(1 + \abs{r})} \rmul (1 + \abs{r}))$ by \cref{real_mul_assoc}.
        Hence $s \rmul \inv{(1 - \abs{s})} = r \rmul 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_eq_subst,real_mul_comm}.
        Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by \cref{real_mul_comm,real_mul_ident,real_lt_subst_right}.
    \caseOf{$r < 0$.}
        Let $u = \neg{r}$.
        Hence $u\in\reals$ and $0 < u$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_left}.
        We have $\abs{r} = u$ by \cref{real_abs_neg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        $\neg{u}\in\reals$ by \cref{real_add_inverse}.
        Hence $\neg{u} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
        We have $\neg{u} \rmul \inv{(1 + \abs{r})} < 0 \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_mul_pos}.
        Hence $s < 0$ by \cref{real_mul_zero,real_lt_subst_right,real_lt_subst_left,real_neg_neg}.
        Thus $\abs{s} = \neg{s}$ by \cref{real_abs_neg,real_lt_imp_leq}.
        We have $(1 + u) \rmul \inv{(1 + \abs{r})} = 1$ by \cref{real_add_eq_subst,real_mul_inverse,real_pos_nonzero}.
        Hence $1 - \abs{s} = 1 + \neg{\abs{s}}$ by \cref{real_sub}.
        We have $1 + \neg{\abs{s}} = 1 + \neg{\neg{s}}$ by \cref{real_add_eq_subst}.
        Hence $\neg{\neg{s}} = s$ by \cref{real_neg_neg}.
        Thus $1 + \neg{\neg{s}} = 1 + s$ by \cref{real_add_eq_subst}.
        Hence $1 - \abs{s} = 1 + s$ by \cref{real_lt_subst_right}.
        We have $1 + s = ((1 + u) \rmul \inv{(1 + \abs{r})}) + s$ by \cref{real_lt_subst_left}.
        Hence $1 + s = ((1 + u) \rmul \inv{(1 + \abs{r})}) + (\neg{u} \rmul \inv{(1 + \abs{r})})$ by \cref{real_mul_eq_subst,real_add_eq_subst,real_neg_neg}.
        We have $((1 + u) \rmul \inv{(1 + \abs{r})}) + (\neg{u} \rmul \inv{(1 + \abs{r})})
            = ((1 + u) + \neg{u}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_right_distrib}.
        Thus $1 + s = ((1 + u) + \neg{u}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst}.
        Hence $(1 + u) + \neg{u} = 1$
            by \cref{real_add_assoc,real_add_inverse,real_add_eq_subst,real_add_comm,real_add_ident,real_lt_subst_right}.
        We have $1 + s = 1 \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_eq_subst}.
        Hence $1 + s = \inv{(1 + \abs{r})}$ by \cref{real_mul_ident}.
        Thus $1 - \abs{s} = \inv{(1 + \abs{r})}$ by \cref{subseteq}.
        We have $\inv{(1 + \abs{r})} \rmul (1 + \abs{r}) = 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_comm}.
        We have $\inv{(1 + \abs{r})}\neq 0$ by \cref{real_inv_pos,real_pos_nonzero}.
        Hence $\inv{\inv{(1 + \abs{r})}} = 1 + \abs{r}$ by \cref{real_mul_inverse_unique}.
        Thus $\inv{(1 - \abs{s})} = \inv{\inv{(1 + \abs{r})}}$ by \cref{real_mul_eq_subst}.
        Hence $\inv{(1 - \abs{s})} = 1 + \abs{r}$ by \cref{real_lt_subst_right}.
        We have $s \rmul \inv{(1 - \abs{s})} = s \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst}.
        Hence $s \rmul \inv{(1 - \abs{s})} = (\neg{u} \rmul \inv{(1 + \abs{r})}) \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst,real_neg_neg}.
        Thus $s \rmul \inv{(1 - \abs{s})} = \neg{u} \rmul (\inv{(1 + \abs{r})} \rmul (1 + \abs{r}))$ by \cref{real_mul_assoc}.
        Hence $s \rmul \inv{(1 - \abs{s})} = \neg{u} \rmul 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_eq_subst,real_mul_comm}.
        We have $s \rmul \inv{(1 - \abs{s})} = \neg{u}$ by \cref{real_mul_comm,real_mul_ident,real_lt_subst_right}.
        Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by \cref{real_neg_neg}.
    
\end{byCase}
LaTeX source
\begin{proof}
    $\abs{r}\in\reals$ by \cref{real_abs_in_reals}.
    Hence $1 + \abs{r}\in\reals$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed}.
    $1\in\reals$ and $0\in\reals$ and $0 < 1$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_zero_lt_one}.
    We have $0 < 1 + \abs{r}$ by \cref{real_abs_nonnegative,real_pos_add_nonneg,real_add_comm,real_lt_subst_right}.
    We have $\inv{(1 + \abs{r})}\in\reals$ by \cref{real_mul_inverse,real_pos_nonzero}.
    Hence $s\in\reals$ by \cref{real_mul_closed}.
    We have $r < 0$ or $r = 0$ or $0 < r$ by \cref{real_lt_trichotomy}.
    \begin{byCase}
    \caseOf{$r = 0$.}
        We have $s = 0$ by \cref{real_abs_nonneg,real_add_ident,real_mul_eq_subst,real_mul_zero}.
        We have $\abs{s} = 0$ by \cref{real_abs_nonneg,real_lt_subst_right}.
        Hence $1 - \abs{s} = 1$ by
            \cref{real_sub,real_add_eq_subst,real_neg_zero,real_add_comm,real_add_ident,real_lt_subst_right}.
        Thus $\inv{1}\in\reals$ by \cref{real_mul_inverse,real_zero_lt_one,real_pos_nonzero}.
        Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by \cref{real_mul_eq_subst,real_mul_zero,subseteq}.
    \caseOf{$0 < r$.}
        We have $\abs{r} = r$ by \cref{real_abs_nonneg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        We have $0 \rmul \inv{(1 + \abs{r})} < r \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_mul_pos}.
        Hence $0 < s$ by \cref{real_mul_zero,real_lt_subst_right,real_lt_subst_left}.
        $\abs{s} = s$ by \cref{real_abs_nonneg,real_lt_imp_leq}.
        $(1 + r) \rmul \inv{(1 + \abs{r})} = 1$ by \cref{real_add_eq_subst,real_mul_inverse,real_pos_nonzero}.
        $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) - s$ by \cref{real_lt_subst_left}.
        Hence $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) - (r \rmul \inv{(1 + \abs{r})})$ by \cref{real_mul_eq_subst,real_add_eq_subst}.
        Thus $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) + \neg{(r \rmul \inv{(1 + \abs{r})})}$ by \cref{real_sub}.
        $\neg{r}\in\reals$ by \cref{real_add_inverse}.
        $\neg{(r \rmul \inv{(1 + \abs{r})})} = \neg{(\inv{(1 + \abs{r})} \rmul r)}$ by \cref{real_mul_comm,real_lt_subst_right}.
        We have $\inv{(1 + \abs{r})} \rmul \neg{r} = \neg{(\inv{(1 + \abs{r})} \rmul r)}$ by \cref{real_mul_neg_right}.
        We have $\inv{(1 + \abs{r})} \rmul \neg{r} = (\neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_comm}.
        We have $\neg{(r \rmul \inv{(1 + \abs{r})})} = (\neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_subst_left}.
        Thus $1 - s = ((1 + r) \rmul \inv{(1 + \abs{r})}) + ((\neg{r}) \rmul \inv{(1 + \abs{r})})$ by \cref{real_add_eq_subst}.
        We have $((1 + r) \rmul \inv{(1 + \abs{r})}) + ((\neg{r}) \rmul \inv{(1 + \abs{r})})
            = ((1 + r) + \neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_right_distrib}.
        We have $1 - s = ((1 + r) + \neg{r}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst}.
        Hence $(1 + r) + \neg{r} = 1$
            by \cref{real_add_assoc,real_add_inverse,real_add_eq_subst,real_add_comm,real_add_ident,real_lt_subst_right}.
        Thus $1 - s = 1 \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_eq_subst}.
        Hence $1 - s = \inv{(1 + \abs{r})}$ by \cref{real_mul_ident}.
        We have $1 - \abs{s} = \inv{(1 + \abs{r})}$ by \cref{subseteq}.
        We have $\inv{(1 + \abs{r})} \rmul (1 + \abs{r}) = 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_comm}.
        Thus $\inv{(1 + \abs{r})}\neq 0$ by \cref{real_inv_pos,real_pos_nonzero}.
        Hence $\inv{\inv{(1 + \abs{r})}} = 1 + \abs{r}$ by \cref{real_mul_inverse_unique}.
        We have $\inv{(1 - \abs{s})} = \inv{\inv{(1 + \abs{r})}}$ by \cref{real_mul_eq_subst}.
        Hence $\inv{(1 - \abs{s})} = 1 + \abs{r}$ by \cref{real_lt_subst_right}.
        Thus $s \rmul \inv{(1 - \abs{s})} = s \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst}.
        Hence $s \rmul \inv{(1 - \abs{s})} = (r \rmul \inv{(1 + \abs{r})}) \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst}.
        We have $s \rmul \inv{(1 - \abs{s})} = r \rmul (\inv{(1 + \abs{r})} \rmul (1 + \abs{r}))$ by \cref{real_mul_assoc}.
        Hence $s \rmul \inv{(1 - \abs{s})} = r \rmul 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_eq_subst,real_mul_comm}.
        Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by \cref{real_mul_comm,real_mul_ident,real_lt_subst_right}.
    \caseOf{$r < 0$.}
        Let $u = \neg{r}$.
        Hence $u\in\reals$ and $0 < u$ by \cref{real_add_inverse,real_lt_neg,real_neg_zero,real_lt_subst_left}.
        We have $\abs{r} = u$ by \cref{real_abs_neg,real_lt_imp_leq}.
        Thus $0 < \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst,real_lt_add,real_add_ident,real_inv_pos,real_lt_subst_left}.
        $\neg{u}\in\reals$ by \cref{real_add_inverse}.
        Hence $\neg{u} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
        We have $\neg{u} \rmul \inv{(1 + \abs{r})} < 0 \rmul \inv{(1 + \abs{r})}$ by \cref{real_lt_mul_pos}.
        Hence $s < 0$ by \cref{real_mul_zero,real_lt_subst_right,real_lt_subst_left,real_neg_neg}.
        Thus $\abs{s} = \neg{s}$ by \cref{real_abs_neg,real_lt_imp_leq}.
        We have $(1 + u) \rmul \inv{(1 + \abs{r})} = 1$ by \cref{real_add_eq_subst,real_mul_inverse,real_pos_nonzero}.
        Hence $1 - \abs{s} = 1 + \neg{\abs{s}}$ by \cref{real_sub}.
        We have $1 + \neg{\abs{s}} = 1 + \neg{\neg{s}}$ by \cref{real_add_eq_subst}.
        Hence $\neg{\neg{s}} = s$ by \cref{real_neg_neg}.
        Thus $1 + \neg{\neg{s}} = 1 + s$ by \cref{real_add_eq_subst}.
        Hence $1 - \abs{s} = 1 + s$ by \cref{real_lt_subst_right}.
        We have $1 + s = ((1 + u) \rmul \inv{(1 + \abs{r})}) + s$ by \cref{real_lt_subst_left}.
        Hence $1 + s = ((1 + u) \rmul \inv{(1 + \abs{r})}) + (\neg{u} \rmul \inv{(1 + \abs{r})})$ by \cref{real_mul_eq_subst,real_add_eq_subst,real_neg_neg}.
        We have $((1 + u) \rmul \inv{(1 + \abs{r})}) + (\neg{u} \rmul \inv{(1 + \abs{r})})
            = ((1 + u) + \neg{u}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_right_distrib}.
        Thus $1 + s = ((1 + u) + \neg{u}) \rmul \inv{(1 + \abs{r})}$ by \cref{real_add_eq_subst}.
        Hence $(1 + u) + \neg{u} = 1$
            by \cref{real_add_assoc,real_add_inverse,real_add_eq_subst,real_add_comm,real_add_ident,real_lt_subst_right}.
        We have $1 + s = 1 \rmul \inv{(1 + \abs{r})}$ by \cref{real_mul_eq_subst}.
        Hence $1 + s = \inv{(1 + \abs{r})}$ by \cref{real_mul_ident}.
        Thus $1 - \abs{s} = \inv{(1 + \abs{r})}$ by \cref{subseteq}.
        We have $\inv{(1 + \abs{r})} \rmul (1 + \abs{r}) = 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_comm}.
        We have $\inv{(1 + \abs{r})}\neq 0$ by \cref{real_inv_pos,real_pos_nonzero}.
        Hence $\inv{\inv{(1 + \abs{r})}} = 1 + \abs{r}$ by \cref{real_mul_inverse_unique}.
        Thus $\inv{(1 - \abs{s})} = \inv{\inv{(1 + \abs{r})}}$ by \cref{real_mul_eq_subst}.
        Hence $\inv{(1 - \abs{s})} = 1 + \abs{r}$ by \cref{real_lt_subst_right}.
        We have $s \rmul \inv{(1 - \abs{s})} = s \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst}.
        Hence $s \rmul \inv{(1 - \abs{s})} = (\neg{u} \rmul \inv{(1 + \abs{r})}) \rmul (1 + \abs{r})$ by \cref{real_mul_eq_subst,real_neg_neg}.
        Thus $s \rmul \inv{(1 - \abs{s})} = \neg{u} \rmul (\inv{(1 + \abs{r})} \rmul (1 + \abs{r}))$ by \cref{real_mul_assoc}.
        Hence $s \rmul \inv{(1 - \abs{s})} = \neg{u} \rmul 1$ by \cref{real_mul_inverse,real_pos_nonzero,real_mul_eq_subst,real_mul_comm}.
        We have $s \rmul \inv{(1 - \abs{s})} = \neg{u}$ by \cref{real_mul_comm,real_mul_ident,real_lt_subst_right}.
        Therefore $s \rmul \inv{(1 - \abs{s})} = r$ by \cref{real_neg_neg}.
    \end{byCase}
\end{proof}
Theorem 92
tietze_extension_theorem_real_valued

Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Let $T_A = \subspaceTopology{T}{A}$.
Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
Then there exists $g$ such that $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(x) = f(x)$.

LaTeX source
\begin{theorem}
\label{tietze_extension_theorem_real_valued}
    Assume $X$ is normal with respect to $T$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Assume $f$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$.
    Then there exists $g$ such that
        $g$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
        for all $x\in A$ we have $g(x) = f(x)$.
\end{theorem}
Proof

Let $I = \intervalopen{\neg{1}}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $a = \{(x,\abs{x}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals\}$.
$a$ is continuous from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$ by Lemma 548.
Hence $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\reals}{\reals}$ and $a$ is a function and $\dom{a} = \reals$ by Definition 55, Definition 160, Proposition 356.

$T$ is a topology on $X$ by Definition 277.
We have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 149.
$T_A$ is a topology on $A$ by Definition 147, Lemma 131.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
We have $I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 1, Definition 76, Definition 147.
Hence $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $f$ is a function and $\dom{f} = A$ by Definition 55, Definition 160, Proposition 356.
We have $f$ is right-unique and $f$ is a relation and $\ran{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{a}$ by Definition 1, Proposition 345, Proposition 355, Proposition 363.

Let $b = a\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$b$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 165.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
Let $w_A = \{(x,1) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $w_A(x) = 1$ by Lemma 309, Proposition 346, Proposition 356.
$w_A$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Lemma 163, Lemma 309.
Let $d = \{(x, w_A(x) + b(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
$d$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Theorem 32.
We have $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $d$ is a function and $\dom{d} = A$ by Definition 55, Definition 160, Proposition 356.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $d(x) = 1 + \abs{f(x)}$ and $0 < d(x)$.

For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $d(x)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Definition 160, Lemma 20, Proposition 361.

Let $c = \{(x, f(x) \rmul \inv{(d(x))}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
$c$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$ by Theorem 35.
We have $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\reals}$ and $c$ is a function and $\dom{c} = A$ by Definition 55, Definition 160, Proposition 356.

Hence $\img{c}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Definition 55, Definition 160, Lemma 82, Lemma 83, Lemma 280, Lemma 549, Proposition 235, Proposition 346, Proposition 349, Proposition 356, Proposition 361, Proposition 373, Proposition 437.
$c$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$ by Definition 1, Lemma 167.

Take $u$ such that $u$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $u(x) = c(x)$ by Lemma 547.
We have $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I}$ and $u$ is a function and $\dom{u} = X$ by Definition 55, Definition 160, Proposition 356.

Let $j_I = \identity{I}$.
$j_I$ is right-unique and $j_I$ is a relation and $\dom{j_I} = I$ by Proposition 296, Proposition 297, Proposition 400.
Hence $\ran{u}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{j_I}$ by Definition 1, Proposition 297, Proposition 363.
Let $u_1 = j_I\class{latex-symbol-tip latex-symbol-id-circ}{\circ} u$.
$u_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 168.
We have $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $u_1$ is a function and $\dom{u_1} = X$ by Definition 55, Definition 160, Proposition 356.
Let $e = a\class{latex-symbol-tip latex-symbol-id-circ}{\circ} u_1$.
$e$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 165.
We have $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $e$ is a function and $\dom{e} = X$ by Definition 55, Definition 160, Proposition 356.
Let $w_X = \{(x,1) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
We have for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $w_X(x) = 1$ by Lemma 309, Proposition 346, Proposition 356.
$w_X$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 163, Lemma 309.
Let $m = \{(x, w_X(x) - e(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 33.
We have $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $m$ is a function and $\dom{m} = X$ by Definition 55, Definition 160, Proposition 356.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $u_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{1} < u_1(x)$ and $u_1(x) < 1$.

For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\abs{u_1(x)} < 1$ by Axiom 16, Axiom 17, Axiom 18, Axiom 37, Axiom 41, Axiom 42, Definition 1, Definition 64, Lemma 82, Lemma 83, Lemma 84, Lemma 212, Proposition 462.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $e(x) = \abs{u_1(x)}$ and $m(x) = 1 - \abs{u_1(x)}$.

We have for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $0 < m(x)$ by Axiom 18, Axiom 37, Definition 64, Lemma 34, Lemma 82, Lemma 83.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $m(x)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Definition 160, Lemma 20, Proposition 361.

Let $h = \{(x, u_1(x) \rmul \inv{(m(x))}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 35.
We have $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $h$ is a function and $\dom{h} = X$ by Definition 55, Definition 160, Proposition 356.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u_1(x) = f(x) \rmul \inv{(1 + \abs{f(x)})}$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(x) = u_1(x) \rmul \inv{(1 - \abs{u_1(x)})}$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(x) = f(x)$.

Follows by Lemma 83, Lemma 550.

Follows by Definition 1.

LaTeX source
\begin{proof}
    Let $I = \intervalopen{\neg{1}}{1}$.
    Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
    Let $a = \{(x,\abs{x}) \mid x\in\reals\}$.
    $a$ is continuous from $\reals$ to $\reals$ with respect to $\standardTopologyR$ and $\standardTopologyR$
        by \cref{real_abs_function_continuous}.
    Hence $a\in\funs{\reals}{\reals}$ and $a$ is a function and $\dom{a} = \reals$
        by \cref{continuous,funs_is_function,funs}.

    $T$ is a topology on $X$ by \cref{normal_space}.
    We have $A\subseteq X$ by \cref{closed_in}.
    $T_A$ is a topology on $A$ by \cref{subspace_topology_is_topology,subspace_of}.
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    We have $I\subseteq\reals$ and $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$
        by \cref{intervalopen,subseteq,subspace_of}.
    Hence $f\in\funs{A}{\reals}$ and $f$ is a function and $\dom{f} = A$
        by \cref{continuous,funs_is_function,funs}.
    We have $f$ is right-unique and $f$ is a relation and $\ran{f}\subseteq\dom{a}$
        by \cref{function_rightunique,funs_is_relation,funs_ran,subseteq}.

    Let $b = a\circ f$.
    $b$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{continuous_composite}.
    $1\in\reals$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq}.
    Let $w_A = \{(x,1) \mid x\in A\}$.
    For all $x\in A$ we have $w_A(x) = 1$
        by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $w_A$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{constant_map_function,constant_continuous}.
    Let $d = \{(x, w_A(x) + b(x)) \mid x\in A\}$.
    $d$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{real_function_addition_continuous}.
    We have $d\in\funs{A}{\reals}$ and $d$ is a function and $\dom{d} = A$
        by \cref{continuous,funs_is_function,funs}.

    Show that for all $x\in A$ we have $d(x) = 1 + \abs{f(x)}$ and $0 < d(x)$.
    \begin{subproof}
        Follows by \cref{funs_type_apply,circ_apply,function_apply_intro,real_lt_subst_right,real_add_eq_subst,real_abs_in_reals,real_abs_nonnegative,real_pos_add_nonneg,real_zero_lt_one,real_add_comm}.
    \end{subproof}
    For all $x\in A$ we have $d(x)\neq 0$ by \cref{continuous,funs_type_apply,real_pos_nonzero}.

    Let $c = \{(x, f(x) \rmul \inv{(d(x))}) \mid x\in A\}$.
    $c$ is continuous from $A$ to $\reals$ with respect to $T_A$ and $\standardTopologyR$
        by \cref{real_function_division_continuous}.
    We have $c\in\funs{A}{\reals}$ and $c$ is a function and $\dom{c} = A$
        by \cref{continuous,funs_is_function,funs}.

    Hence $\img{c}{A}\subseteq I$ by
        \cref{img_iff,continuous,funs,subseteq,funs_is_function,function_apply_iff,funs_type_apply,circ_apply,function_apply_intro,real_lt_subst_right,real_add_eq_subst,real_mul_eq_subst,real_interval_compression,real_lt_subst_left}.
    $c$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$
        by \cref{subseteq,continuous_restrict_range}.

    Take $u$ such that
        $u$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
        for all $x\in A$ we have $u(x) = c(x)$
        by \cref{tietze_extension_theorem_open_interval}.
    We have $u\in\funs{X}{I}$ and $u$ is a function and $\dom{u} = X$
        by \cref{continuous,funs_is_function,funs}.

    Let $j_I = \identity{I}$.
    $j_I$ is right-unique and $j_I$ is a relation and $\dom{j_I} = I$
        by \cref{id_rightunique,id_is_relation,id_dom}.
    Hence $\ran{u}\subseteq\dom{j_I}$ by \cref{funs_ran,id_dom,subseteq}.
    Let $u_1 = j_I\circ u$.
    $u_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_expand_range}.
    We have $u_1\in\funs{X}{\reals}$ and $u_1$ is a function and $\dom{u_1} = X$
        by \cref{continuous,funs_is_function,funs}.
    Let $e = a\circ u_1$.
    $e$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_composite}.
    We have $e\in\funs{X}{\reals}$ and $e$ is a function and $\dom{e} = X$
        by \cref{continuous,funs_is_function,funs}.
    Let $w_X = \{(x,1) \mid x\in X\}$.
    We have for all $x\in X$ we have $w_X(x) = 1$
        by \cref{constant_map_function,funs_is_function,function_apply_intro}.
    $w_X$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{constant_map_function,constant_continuous}.
    Let $m = \{(x, w_X(x) - e(x)) \mid x\in X\}$.
    $m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_subtraction_continuous}.
    We have $m\in\funs{X}{\reals}$ and $m$ is a function and $\dom{m} = X$
        by \cref{continuous,funs_is_function,funs}.

    Show that for all $x\in X$ we have $u_1(x)\in\reals$ and $\neg{1} < u_1(x)$ and $u_1(x) < 1$.
    \begin{subproof}
        Follows by \cref{continuous,funs_type_apply,circ_apply,id_apply,real_lt_subst_left,intervalopen}.
    \end{subproof}
    For all $x\in X$ we have $\abs{u_1(x)} < 1$ by
        \cref{real_add_ident,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one,real_add_inverse,real_lt_add,real_sub,real_lt_subst_left,real_lt_subst_right,real_add_comm,real_abs_lt_from_interval,real_neg_zero}.
    Show that for all $x\in X$ we have $e(x) = \abs{u_1(x)}$ and $m(x) = 1 - \abs{u_1(x)}$.
    \begin{subproof}
        Follows by \cref{circ_apply,funs_ran,subseteq,function_apply_intro,real_lt_subst_right,real_lt_subst_left}.
    \end{subproof}
    We have for all $x\in X$ we have $0 < m(x)$ by
        \cref{real_abs_in_reals,real_add_inverse,real_lt_add,real_sub,real_lt_subst_left,real_lt_subst_right}.
    For all $x\in X$ we have $m(x)\neq 0$ by \cref{continuous,funs_type_apply,real_pos_nonzero}.

    Let $h = \{(x, u_1(x) \rmul \inv{(m(x))}) \mid x\in X\}$.
    $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{real_function_division_continuous}.
    We have $h\in\funs{X}{\reals}$ and $h$ is a function and $\dom{h} = X$
        by \cref{continuous,funs_is_function,funs}.

    Show that for all $x\in A$ we have $f(x)\in\reals$ and $u_1(x) = f(x) \rmul \inv{(1 + \abs{f(x)})}$.
    \begin{subproof}
        Follows by \cref{subseteq,funs_type_apply,circ_apply,id_apply,real_lt_subst_right,function_apply_intro,real_add_eq_subst,real_mul_eq_subst}.
    \end{subproof}
    Show that for all $x\in A$ we have $h(x) = u_1(x) \rmul \inv{(1 - \abs{u_1(x)})}$.
    \begin{subproof}
        Follows by \cref{continuous,funs_type_apply,funs_ran,subseteq,circ_apply,function_apply_intro,real_lt_subst_right,real_lt_subst_left,real_mul_eq_subst}.
    \end{subproof}
    Show that for all $x\in A$ we have $h(x) = f(x)$.
    \begin{subproof}
        Follows by \cref{real_interval_decompression,real_lt_subst_right}.
    \end{subproof}
    Follows by \cref{subseteq}.
\end{proof}