Topology (Munkres)

§48 Baire Spaces

Definition 382
empty_interior

$A$ has empty interior in $X$ with respect to $T$ iff $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $\interior{A}{X}{T} = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

LaTeX source
\begin{definition}
\label{empty_interior}
    $A$ has empty interior in $X$ with respect to $T$ iff
        $A\subseteq X$ and
        $\interior{A}{X}{T} = \emptyset$.
\end{definition}
Lemma 917
empty_interior_iff_dense_complement

Assume $T$ is a topology on $X$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Then $A$ has empty interior in $X$ with respect to $T$ iff $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is dense in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{empty_interior_iff_dense_complement}
    Assume $T$ is a topology on $X$.
    Assume $A\subseteq X$.
    Then $A$ has empty interior in $X$ with respect to $T$ iff
        $X\setminus A$ is dense in $X$ with respect to $T$.
\end{lemma}
Proof
Claim: If $A$ has empty interior in $X$ with respect to $T$ then $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is dense in $X$ with respect to $T$.

Assume $A$ has empty interior in $X$ with respect to $T$.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A}{X}{T}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $U$ intersects $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$.

Fix $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Suppose not.
$U\inter (X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A) = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 152.
$U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Axiom 12, Definition 1, Definition 101, Definition 103, Proposition 4, Proposition 6, Proposition 92, Proposition 98.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Definition 103, Definition 150.
Contradiction by Axiom 2, Definition 382.

$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A}{X}{T}$ by Proposition 97, Theorem 11.

$\closure{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A}{X}{T} = X$ by Definition 1, Definition 149, Lemma 144, Proposition 3, Proposition 97.
$X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is dense in $X$ with respect to $T$ by Definition 272.

Claim: If $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is dense in $X$ with respect to $T$ then $A$ has empty interior in $X$ with respect to $T$.

Assume $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is dense in $X$ with respect to $T$.

Claim: $\interior{A}{X}{T} = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

Suppose not.
Take $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Axiom 2, Proposition 10.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 150.
$\closure{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A}{X}{T} = X$ by Definition 272.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A}{X}{T}$ by Definition 1.
$U$ intersects $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ by Definition 101, Definition 103, Proposition 97, Theorem 11.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter (X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A)$ by Definition 152, Proposition 10.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ by Definition 1, Definition 5, Proposition 87.
Contradiction.

$A$ has empty interior in $X$ with respect to $T$ by Definition 382.

LaTeX source
\begin{proof}
    Show that if $A$ has empty interior in $X$ with respect to $T$ then
        $X\setminus A$ is dense in $X$ with respect to $T$.
    \begin{subproof}
        Assume $A$ has empty interior in $X$ with respect to $T$.
        Show that for all $x\in X$ we have $x\in\closure{X\setminus A}{X}{T}$.
        \begin{subproof}
            Fix $x\in X$.
            Show that for all $U$ such that $U$ is open in $X$ with respect to $T$ and $x\in U$
                we have $U$ intersects $X\setminus A$.
            \begin{subproof}
                Fix $U$ such that $U$ is open in $X$ with respect to $T$ and $x\in U$.
                Suppose not.
                $U\inter (X\setminus A) = \emptyset$ by \cref{intersects}.
                $U\subseteq A$ by \cref{open_in,topology_on,pow_iff,elem_subseteq,subseteq_setminus,double_relative_complement,subseteq,subseteq_transitive}.
                $x\in\interior{A}{X}{T}$ by \cref{open_in,interior}.
                Contradiction by \cref{empty_interior,emptyset}.
            \end{subproof}
            $x\in\closure{X\setminus A}{X}{T}$ by \cref{closure_iff_intersects_open,setminus_subseteq}.
        \end{subproof}
        $\closure{X\setminus A}{X}{T} = X$
            by \cref{closure_closed_in,closed_in,setminus_subseteq,subseteq,subseteq_antisymmetric}.
        $X\setminus A$ is dense in $X$ with respect to $T$ by \cref{dense_in}.
    \end{subproof}
    Show that if $X\setminus A$ is dense in $X$ with respect to $T$ then
        $A$ has empty interior in $X$ with respect to $T$.
    \begin{subproof}
        Assume $X\setminus A$ is dense in $X$ with respect to $T$.
        Show that $\interior{A}{X}{T} = \emptyset$.
        \begin{subproof}
            Suppose not.
            Take $x$ such that $x\in\interior{A}{X}{T}$ by \cref{emptyset,nonempty_inhabited}.
            Take $U\in T$ such that $x\in U$ and $U\subseteq A$ by \cref{interior}.
            $\closure{X\setminus A}{X}{T} = X$ by \cref{dense_in}.
            $x\in\closure{X\setminus A}{X}{T}$ by \cref{subseteq}.
            $U$ intersects $X\setminus A$
                by \cref{closure_iff_intersects_open,setminus_subseteq,open_in,topology_on}.
            Take $y$ such that $y\in U\inter (X\setminus A)$ by \cref{intersects,nonempty_inhabited}.
            $y\in A$ and $y\notin A$ by \cref{inter,setminus_elim_right,subseteq}.
            Contradiction.
        \end{subproof}
        $A$ has empty interior in $X$ with respect to $T$ by \cref{empty_interior}.
    \end{subproof}
\end{proof}
Lemma 918
dense_subseteq_superset

Assume $T$ is a topology on $X$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$.
Assume $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Suppose $A$ is dense in $X$ with respect to $T$.
Then $B$ is dense in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{dense_subseteq_superset}
    Assume $T$ is a topology on $X$.
    Assume $A\subseteq B$.
    Assume $B\subseteq X$.
    Suppose $A$ is dense in $X$ with respect to $T$.
    Then $B$ is dense in $X$ with respect to $T$.
\end{lemma}
Proof

We have $\closure{A}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{B}{X}{T}$ by Lemma 144, Lemma 146, Lemma 147, Proposition 6.
$B$ is dense in $X$ with respect to $T$ by Definition 1, Definition 149, Definition 272, Lemma 82, Lemma 144, Proposition 3.

LaTeX source
\begin{proof}
    We have $\closure{A}{X}{T}\subseteq\closure{B}{X}{T}$ by \cref{subseteq_transitive,subseteq_closure,closure_subseteq_closed,closure_closed_in}.
    $B$ is dense in $X$ with respect to $T$ by \cref{dense_in,real_lt_subst_left,closure_closed_in,closed_in,subseteq,subseteq_antisymmetric}.
\end{proof}
Lemma 919
empty_interior_subset

Assume $T$ is a topology on $X$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$.
Assume $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Suppose $B$ has empty interior in $X$ with respect to $T$.
Then $A$ has empty interior in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{empty_interior_subset}
    Assume $T$ is a topology on $X$.
    Assume $A\subseteq B$.
    Assume $B\subseteq X$.
    Suppose $B$ has empty interior in $X$ with respect to $T$.
    Then $A$ has empty interior in $X$ with respect to $T$.
\end{lemma}
Proof

We have $A$ has empty interior in $X$ with respect to $T$ by Definition 1, Lemma 917, Lemma 918, Proposition 6, Proposition 97, Proposition 99.

LaTeX source
\begin{proof}
    We have $A$ has empty interior in $X$ with respect to $T$
        by \cref{empty_interior_iff_dense_complement,dense_subseteq_superset,setminus_subseteq,subseteq_transitive,subseteq_implies_setminus_supseteq,subseteq}.
\end{proof}
Lemma 920
complement_sequence_in_powerset_48

Assume $s$ is a sequence in $\pow{X}$.
Let $t = \{(n, X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} s(n)) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Then $t$ is a sequence in $\pow{X}$.

LaTeX source
\begin{lemma}
\label{complement_sequence_in_powerset_48}
    Assume $s$ is a sequence in $\pow{X}$.
    Let $t = \{(n, X\setminus s(n)) \mid n\in\naturalsPlus\}$.
    Then $t$ is a sequence in $\pow{X}$.
\end{lemma}
Proof

For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} t$ there exist $n,U$ such that $w = (n,U)$ by Axiom 6.
For all $n,U_1,U_2$ such that $(n,U_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} t$ and $(n,U_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} t$ we have $U_1 = U_2$ by Axiom 6.
$t$ is a function by Definition 12, Definition 51.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ we have $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Axiom 6, Proposition 97, Proposition 155, Proposition 199, Proposition 349.
$t$ is a sequence in $\pow{X}$ by Axiom 6, Definition 1, Definition 158, Proposition 3, Proposition 199, Proposition 200, Proposition 358.

LaTeX source
\begin{proof}
    For all $w\in t$ there exist $n,U$ such that $w = (n,U)$ by \cref{pair_eq_iff}.
    For all $n,U_1,U_2$ such that $(n,U_1)\in t$ and $(n,U_2)\in t$ we have $U_1 = U_2$
        by \cref{pair_eq_iff}.
    $t$ is a function by \cref{relation,rightunique}.
    For all $n\in\dom{t}$ we have $t(n)\in\pow{X}$
        by \cref{dom_iff,pair_eq_iff,setminus_subseteq,powerset_intro,function_apply_iff}.
    $t$ is a sequence in $\pow{X}$ by \cref{pair_eq_iff,dom_intro,dom_iff,subseteq,subseteq_antisymmetric,funs_intro,sequence_in}.
\end{proof}
Definition 383
baire_space

$X$ is a Baire space with respect to $T$ iff $T$ is a topology on $X$ and for all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is closed in $X$ with respect to $T$ and $s(n)$ has empty interior in $X$ with respect to $T$ then $\unions{\img{s}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$.

LaTeX source
\begin{definition}
\label{baire_space}
    $X$ is a Baire space with respect to $T$ iff
        $T$ is a topology on $X$ and
        for all $s$ if
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is closed in $X$ with respect to $T$ and
                $s(n)$ has empty interior in $X$ with respect to $T$
        then $\unions{\img{s}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$.
\end{definition}
Lemma 921
baire_space_open_set_characterization

Assume $T$ is a topology on $X$.
Then $X$ is a Baire space with respect to $T$ iff for all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$ then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{baire_space_open_set_characterization}
    Assume $T$ is a topology on $X$.
    Then $X$ is a Baire space with respect to $T$ iff
        for all $s$ if
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $X$ with respect to $T$ and
                $s(n)$ is dense in $X$ with respect to $T$
        then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.
\end{lemma}
Proof
Claim: If $X$ is a Baire space with respect to $T$ then for all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$ then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.

Assume $X$ is a Baire space with respect to $T$.
Fix $s$ such that $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$.
Let $t = \{(n, X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} s(n)) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
$t$ is a sequence in $\pow{X}$ by Lemma 920.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 158, Proposition 156, Proposition 359.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} s(n)$ by Axiom 6, Definition 158, Proposition 346, Proposition 359.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)$ is closed in $X$ with respect to $T$ by Definition 149, Definition 158, Proposition 92, Proposition 97, Proposition 156, Proposition 359.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)$ has empty interior in $X$ with respect to $T$ by Definition 149, Lemma 917, Proposition 92, Proposition 349.
$\unions{\img{t}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$ by Definition 383.
$X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \unions{\img{t}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ by Definition 158, Lemma 917, Proposition 6, Proposition 159, Proposition 237, Proposition 354, Proposition 359.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \unions{\img{t}{\naturalsPlus}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} \inters{\img{s}{\naturalsPlus}}$ by Axiom 4, Axiom 6, Axiom 42, Definition 158, Proposition 31, Proposition 85, Proposition 86, Proposition 87, Proposition 235, Proposition 346, Proposition 348, Proposition 349, Proposition 359.
$X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \unions{\img{t}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \inters{\img{s}{\naturalsPlus}}$ by Definition 1.
$\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 42, Definition 158, Proposition 6, Proposition 35, Proposition 156, Proposition 235, Proposition 348, Proposition 359.
$\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ by Lemma 918.

Claim: If for all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$ then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ then $X$ is a Baire space with respect to $T$.

Assume for all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$ then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.

Claim: For all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is closed in $X$ with respect to $T$ and $s(n)$ has empty interior in $X$ with respect to $T$ then $\unions{\img{s}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$.

Fix $s$ such that $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is closed in $X$ with respect to $T$ and $s(n)$ has empty interior in $X$ with respect to $T$.
Let $t = \{(n, X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} s(n)) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
$t$ is a sequence in $\pow{X}$ by Lemma 920.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 158, Proposition 156, Proposition 359.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} s(n)$ by Axiom 6, Definition 158, Proposition 346, Proposition 359.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)$ is open in $X$ with respect to $T$ by Definition 149.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)$ is dense in $X$ with respect to $T$ by Axiom 12, Definition 101, Definition 103, Lemma 917, Proposition 4, Proposition 92, Proposition 349.
$\inters{\img{t}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.
Let $B = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \inters{\img{t}{\naturalsPlus}}$.
$B$ has empty interior in $X$ with respect to $T$ by Axiom 42, Definition 158, Definition 272, Lemma 917, Proposition 6, Proposition 35, Proposition 92, Proposition 97, Proposition 156, Proposition 235, Proposition 348, Proposition 359.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{\img{s}{\naturalsPlus}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 4, Axiom 6, Definition 1, Definition 158, Proposition 35, Proposition 85, Proposition 87, Proposition 156, Proposition 235, Proposition 346, Proposition 348, Proposition 349, Proposition 359.
$\unions{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Definition 1.
$\unions{\img{s}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$ by Lemma 919, Proposition 97.

$X$ is a Baire space with respect to $T$ by Definition 383.

LaTeX source
\begin{proof}
    Show that if $X$ is a Baire space with respect to $T$ then
        for all $s$ if
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $X$ with respect to $T$ and
                $s(n)$ is dense in $X$ with respect to $T$
        then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.
    \begin{subproof}
        Assume $X$ is a Baire space with respect to $T$.
        Fix $s$ such that
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $X$ with respect to $T$ and
                $s(n)$ is dense in $X$ with respect to $T$.
        Let $t = \{(n, X\setminus s(n)) \mid n\in\naturalsPlus\}$.
        $t$ is a sequence in $\pow{X}$ by \cref{complement_sequence_in_powerset_48}.
        For all $n\in\naturalsPlus$ we have $s(n)\subseteq X$ by \cref{sequence_in,funs_elim,powerset_elim}.
        For all $n\in\naturalsPlus$ we have $t(n) = X\setminus s(n)$
            by \cref{pair_eq_iff,sequence_in,funs_elim,function_apply_intro}.
        For all $n\in\naturalsPlus$ we have $t(n)$ is closed in $X$ with respect to $T$
            by \cref{sequence_in,funs_elim,powerset_elim,setminus_subseteq,double_relative_complement,closed_in}.
        For all $n\in\naturalsPlus$ we have
            $t(n)$ has empty interior in $X$ with respect to $T$
            by \cref{function_apply_iff,closed_in,double_relative_complement,empty_interior_iff_dense_complement}.
        $\unions{\img{t}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$ by \cref{baire_space}.
        $X\setminus \unions{\img{t}{\naturalsPlus}}$ is dense in $X$ with respect to $T$
            by \cref{empty_interior_iff_dense_complement,unions_subseteq_of_powerset_is_subseteq,sequence_in,funs_elim,function_to_ran,img_subseteq_ran,subseteq_transitive}.
        For all $x$ such that $x\in X\setminus \unions{\img{t}{\naturalsPlus}}$
            we have $x\in \inters{\img{s}{\naturalsPlus}}$
            by \cref{img_iff,sequence_in,funs_elim,function_apply_iff,setminus_elim_left,setminus_elim_right,pair_eq_iff,function_apply_intro,setminus_intro,function_apply_elim,unions_iff,real_one_in_naturals,inters_intro}.
        $X\setminus \unions{\img{t}{\naturalsPlus}}\subseteq \inters{\img{s}{\naturalsPlus}}$ by \cref{subseteq}.
        $\inters{\img{s}{\naturalsPlus}}\subseteq X$
            by \cref{real_one_in_naturals,sequence_in,funs_elim,function_apply_elim,img_iff,powerset_elim,inters_subseteq_elem,subseteq_transitive}.
        $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$
            by \cref{dense_subseteq_superset}.
    \end{subproof}
    Show that if
        for all $s$ if
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $X$ with respect to $T$ and
                $s(n)$ is dense in $X$ with respect to $T$
        then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$
    then $X$ is a Baire space with respect to $T$.
    \begin{subproof}
        Assume for all $s$ if
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $X$ with respect to $T$ and
                $s(n)$ is dense in $X$ with respect to $T$
        then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.
        Show that for all $s$ if
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is closed in $X$ with respect to $T$ and
                $s(n)$ has empty interior in $X$ with respect to $T$
        then $\unions{\img{s}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$.
        \begin{subproof}
            Fix $s$ such that
                $s$ is a sequence in $\pow{X}$ and
                for all $n\in\naturalsPlus$ we have
                    $s(n)$ is closed in $X$ with respect to $T$ and
                    $s(n)$ has empty interior in $X$ with respect to $T$.
            Let $t = \{(n, X\setminus s(n)) \mid n\in\naturalsPlus\}$.
            $t$ is a sequence in $\pow{X}$ by \cref{complement_sequence_in_powerset_48}.
            For all $n\in\naturalsPlus$ we have $s(n)\subseteq X$ by \cref{sequence_in,funs_elim,powerset_elim}.
            For all $n\in\naturalsPlus$ we have $t(n) = X\setminus s(n)$
                by \cref{pair_eq_iff,sequence_in,funs_elim,function_apply_intro}.
            For all $n\in\naturalsPlus$ we have $t(n)$ is open in $X$ with respect to $T$ by \cref{closed_in}.
            For all $n\in\naturalsPlus$ we have $t(n)$ is dense in $X$ with respect to $T$
                by \cref{function_apply_iff,open_in,topology_on,pow_iff,elem_subseteq,double_relative_complement,empty_interior_iff_dense_complement}.
            $\inters{\img{t}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.
            Let $B = X\setminus \inters{\img{t}{\naturalsPlus}}$.
            $B$ has empty interior in $X$ with respect to $T$
                by \cref{dense_in,setminus_subseteq,double_relative_complement,empty_interior_iff_dense_complement,real_one_in_naturals,sequence_in,funs_elim,function_apply_elim,img_iff,powerset_elim,inters_subseteq_elem,subseteq_transitive}.
            For all $x$ such that $x\in\unions{\img{s}{\naturalsPlus}}$ we have $x\in B$
                by \cref{unions_iff,img_iff,sequence_in,funs_elim,function_apply_iff,powerset_elim,subseteq,function_apply_elim,inters_subseteq_elem,pair_eq_iff,function_apply_intro,setminus_elim_right,setminus_intro}.
            $\unions{\img{s}{\naturalsPlus}}\subseteq B$ by \cref{subseteq}.
            $\unions{\img{s}{\naturalsPlus}}$ has empty interior in $X$ with respect to $T$
                by \cref{empty_interior_subset,setminus_subseteq}.
        \end{subproof}
        $X$ is a Baire space with respect to $T$ by \cref{baire_space}.
    \end{subproof}
\end{proof}
Lemma 922
nested_sequence_monotone

Assume $s$ is a sequence in $\pow{X}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.
Then for all $n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $s(m)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.

LaTeX source
\begin{lemma}
\label{nested_sequence_monotone}
    Assume $s$ is a sequence in $\pow{X}$.
    Suppose for all $n\in\naturalsPlus$ we have $s(n + 1)\subseteq s(n)$.
    Then for all $n,m\in\naturalsPlus$ if $n \leq m$ then $s(m)\subseteq s(n)$.
\end{lemma}
Proof

Let $P = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $n\in\naturalsPlus$ if $n \leq m$ then $s(m)\subseteq s(n)$}\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ then $s(1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$ by Axiom 41, Axiom 42, Axiom 43, Definition 1, Lemma 25, Proposition 2.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 42.

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

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

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} k + 1$ then $s(k + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k + 1$.

Case. $n = k + 1$.

$s(k + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$ by Proposition 2.

Case. $n \class{latex-symbol-tip latex-symbol-id-neq}{\neq} k + 1$.

$s(k + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$ by Definition 1, Lemma 29, Proposition 6.

LaTeX source
\begin{byCase}
            \caseOf{$n = k + 1$.}
                $s(k + 1)\subseteq s(n)$ by \cref{subseteq_refl}.
            \caseOf{$n \neq k + 1$.}
                $s(k + 1)\subseteq s(n)$ by \cref{real_naturals_leq_succ_elim,subseteq,subseteq_transitive}.
            
\end{byCase}

$k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.

For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $m\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Proposition 445.
For all $n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $s(m)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$ by Definition 1.

LaTeX source
\begin{proof}
    Let $P = \{m\in\naturalsPlus \mid \text{for all $n\in\naturalsPlus$ if $n \leq m$ then $s(m)\subseteq s(n)$}\}$.
    $P\subseteq\naturalsPlus$ by \cref{subseteq}.
    For all $n\in\naturalsPlus$ if $n \leq 1$ then $s(1)\subseteq s(n)$
        by \cref{real_naturals_subset_reals,real_one_in_naturals,real_one_leq_naturalsplus,real_leq_antisym,subseteq_refl,subseteq}.
    $1\in P$ by \cref{real_one_in_naturals}.
    Show that for all $k\in P$ we have $k + 1\in P$.
    \begin{subproof}
        Fix $k$ such that $k\in P$.
        $k + 1\in\naturalsPlus$ by \cref{subseteq,real_naturals_closed_succ}.
        Show that for all $n\in\naturalsPlus$ if $n \leq k + 1$ then $s(k + 1)\subseteq s(n)$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            Assume $n \leq k + 1$.
            \begin{byCase}
            \caseOf{$n = k + 1$.}
                $s(k + 1)\subseteq s(n)$ by \cref{subseteq_refl}.
            \caseOf{$n \neq k + 1$.}
                $s(k + 1)\subseteq s(n)$ by \cref{real_naturals_leq_succ_elim,subseteq,subseteq_transitive}.
            \end{byCase}
        \end{subproof}
        $k + 1\in P$.
    \end{subproof}
    For all $m\in\naturalsPlus$ we have $m\in P$ by \cref{real_naturals_induction}.
    For all $n,m\in\naturalsPlus$ if $n \leq m$ then $s(m)\subseteq s(n)$ by \cref{subseteq}.
\end{proof}
Lemma 923
nested_sequence_image_fip

Assume $s$ is a sequence in $\pow{X}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.
Then $\img{s}{\naturalsPlus}$ has the finite intersection property.

LaTeX source
\begin{lemma}
\label{nested_sequence_image_fip}
    Assume $s$ is a sequence in $\pow{X}$.
    Suppose for all $n\in\naturalsPlus$ we have $s(n)\neq\emptyset$.
    Suppose for all $n\in\naturalsPlus$ we have $s(n + 1)\subseteq s(n)$.
    Then $\img{s}{\naturalsPlus}$ has the finite intersection property.
\end{lemma}
Proof
Claim: $\img{s}{\naturalsPlus}$ is inhabited.
Claim: For all $F$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\img{s}{\naturalsPlus}$ and $F$ is finite and inhabited we have $\inters{F}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

Fix $F$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\img{s}{\naturalsPlus}$ and $F$ is finite and inhabited.
Let $R = \{(A,n) \mid A\class{latex-symbol-tip latex-symbol-id-in}{\in} F, n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid A = s(n)\}$.
$R$ is a relation by Axiom 6, Definition 12.
For all $A\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exists $n$ such that $A\mathrel{R} n$ by Axiom 6, Definition 1, Definition 158, Proposition 235, Proposition 349, Proposition 356.
Take $q$ such that $q$ is a function on $F$ and for all $A\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $A\mathrel{R}\apply{q}{A}$ by Axiom 54.
Let $J = \img{q}{F}$.
We have $J$ is finite and $J$ is inhabited and $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Axiom 6, Axiom 54, Definition 1, Lemma 192, Proposition 10, Proposition 235, Proposition 349.
Take $m$ such that $m$ is a largest element of $J$ with respect to $\realOrderRel$ by Axiom 41, Definition 1, Lemma 322, Lemma 373, Proposition 6.
For all $A\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $s(m)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Axiom 6, Axiom 54, Definition 1, Definition 128, Lemma 83, Lemma 321, Lemma 922, Proposition 235, Proposition 348.
$s(m)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\inters{F}$ by Definition 1, Proposition 34.
Take $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} s(m)$ by Definition 1, Definition 128, Proposition 10.
Hence $\inters{F}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 1, Lemma 323, Proposition 10.

Therefore $\img{s}{\naturalsPlus}$ has the finite intersection property by Definition 91.

LaTeX source
\begin{proof}
    Show that $\img{s}{\naturalsPlus}$ is inhabited.
    \begin{subproof}
        Follows by \cref{real_one_in_naturals,sequence_in,funs,funs_is_function,function_apply_iff,img_iff,nonempty_inhabited,inhabited_nonempty}.
    \end{subproof}
    Show that for all $F$ such that $F\subseteq\img{s}{\naturalsPlus}$ and $F$ is finite and inhabited
        we have $\inters{F}\neq\emptyset$.
    \begin{subproof}
        Fix $F$ such that $F\subseteq\img{s}{\naturalsPlus}$ and $F$ is finite and inhabited.
        Let $R = \{(A,n) \mid A\in F, n\in\naturalsPlus \mid A = s(n)\}$.
        $R$ is a relation by \cref{relation,pair_eq_iff}.
        For all $A\in F$ there exists $n$ such that $A\mathrel{R} n$ by
            \cref{subseteq,img_iff,sequence_in,funs_is_function,function_apply_iff,pair_eq_iff}.
        Take $q$ such that $q$ is a function on $F$ and for all $A\in F$ we have $A\mathrel{R}\apply{q}{A}$
            by \cref{axiom_of_choice}.
        Let $J = \img{q}{F}$.
        We have $J$ is finite and $J$ is inhabited and $J\subseteq\naturalsPlus$
            by \cref{finite_image_function,axiom_of_choice,subseteq,function_apply_iff,img_iff,pair_eq_iff,nonempty_inhabited}.
        Take $m$ such that $m$ is a largest element of $J$ with respect to $\realOrderRel$
            by \cref{real_naturals_subset_reals,subseteq_transitive,subseteq,finite_inhabited_largest_element,real_order_relation_simple}.
        For all $A\in F$ we have $s(m)\subseteq A$ by \cref{axiom_of_choice,pair_eq_iff,function_apply_elim,img_iff,largest_element,subseteq,real_order_relation_elim,nested_sequence_monotone,real_lt_subst_right}.
        $s(m)\subseteq\inters{F}$ by \cref{subseteq_inters_iff,subseteq}.
        Take $z$ such that $z\in s(m)$ by \cref{subseteq,largest_element,nonempty_inhabited}.
        Hence $\inters{F}\neq\emptyset$ by \cref{subseteq,nonempty_inhabited,inhabited_nonempty}.
    \end{subproof}
    Therefore $\img{s}{\naturalsPlus}$ has the finite intersection property by \cref{finite_intersection_property}.
\end{proof}
Theorem 138
compact_hausdorff_space_baire

Assume $T$ is a topology on $X$.
Assume $X$ is compact with respect to $T$.
Assume $X$ is Hausdorff with respect to $T$.
Then $X$ is a Baire space with respect to $T$.

LaTeX source
\begin{theorem}
\label{compact_hausdorff_space_baire}
    Assume $T$ is a topology on $X$.
    Assume $X$ is compact with respect to $T$.
    Assume $X$ is Hausdorff with respect to $T$.
    Then $X$ is a Baire space with respect to $T$.
\end{theorem}
Proof

We have $X$ is regular with respect to $T$ by Lemma 447, Theorem 82.

Claim: For all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$ then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.

Fix $s$ such that $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$.
We have $\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 4, Definition 158, Proposition 4, Proposition 6, Proposition 159, Proposition 237, Proposition 363.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $U$ intersects $\inters{\img{s}{\naturalsPlus}}$.

Fix $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
We have $s(1)$ is open in $X$ with respect to $T$ and $s(1)$ is dense in $X$ with respect to $T$ by Axiom 42, Definition 1.
$s(1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{s(1)}{X}{T}$ by Definition 272, Lemma 83.
Hence $U$ intersects $s(1)$ by Theorem 11.
Take $y_0$ such that $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter s(1)$ by Definition 152, Proposition 10.
Let $W_0 = U\inter s(1)$.
$W_0$ is open in $X$ with respect to $T$ and $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} W_0$ by Definition 5, Definition 101, Definition 103, Definition 153.
$y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Axiom 12, Definition 1, Definition 1, Definition 101, Definition 103.
$W_0$ is a neighborhood of $y_0$ in $X$ with respect to $T$ by Definition 153.
Take $V_0$ such that $V_0$ is a neighborhood of $y_0$ in $X$ with respect to $T$ and $\closure{V_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} W_0$ by Lemma 448.
$V_0$ is open in $X$ with respect to $T$ and $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} V_0$ by Definition 153.
Let $a_0 = (1,V_0)$.
Let $A = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{X} \mid \snd{p}\class{latex-symbol-tip latex-symbol-id-in}{\in} T \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{p}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset} \class{latex-symbol-tip latex-symbol-id-land}{\land} \closure{\snd{p}}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(\fst{p})\}$.
$a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 2, Axiom 6, Axiom 10, Axiom 11, Axiom 12, Axiom 42, Definition 1, Definition 101, Definition 103, Definition 153, Proposition 6, Proposition 74, Proposition 115, Proposition 155.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-times}{\times} A \mid \fst{\snd{w}} = \fst{\fst{w}} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \closure{\snd{\snd{w}}}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{\fst{w}}\}$.
$R$ is a relation by Definition 1, Definition 12, Proposition 121.

Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ there exists $q$ such that $p\mathrel{R} q$.

Fix $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{X}$ and $\snd{p}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $\snd{p}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $\closure{\snd{p}}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(\fst{p})$ by Definition 1.
Take $n,W$ such that $p = (n,W)$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $W\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Definition 7.
$W = \snd{p}$ and $n = \fst{p}$ by Axiom 10, Axiom 11.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $W\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $\closure{W}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$ by Lemma 82, Lemma 83.
$W$ is open in $X$ with respect to $T$ by Definition 103.
Take $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 10.
$s(n + 1)$ is open in $X$ with respect to $T$ and $s(n + 1)$ is dense in $X$ with respect to $T$ by Axiom 45, Definition 1.
$s(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{s(n + 1)}{X}{T}$ by Definition 272, Lemma 83.
Therefore $W$ intersects $s(n + 1)$ by Theorem 11.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter s(n + 1)$ by Definition 152, Proposition 10.
Let $B = W\inter s(n + 1)$.
$B$ is open in $X$ with respect to $T$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 5, Definition 101, Definition 103, Definition 153.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Axiom 12, Definition 1, Definition 1, Definition 101, Definition 103.
$B$ is a neighborhood of $y$ in $X$ with respect to $T$ by Definition 153.
Take $V$ such that $V$ is a neighborhood of $y$ in $X$ with respect to $T$ and $\closure{V}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Lemma 448.
$V$ is open in $X$ with respect to $T$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 153.
Let $q = (n + 1,V)$.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 2, Axiom 6, Axiom 10, Axiom 11, Axiom 12, Axiom 45, Definition 1, Definition 101, Definition 103, Definition 153, Proposition 6, Proposition 74, Proposition 115, Proposition 155.
$\closure{\snd{q}}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{p}$ by Axiom 10, Axiom 11, Proposition 6, Proposition 73.
Hence $p\mathrel{R} q$ by Axiom 10, Axiom 11, Definition 12, Proposition 115.

Take $c$ such that $c$ is a function on $A$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $p\mathrel{R}\apply{c}{p}$ by Axiom 54.
We have $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{A}$ by Axiom 54, Definition 12, Proposition 114, Proposition 358.
Take $u$ such that $u$ is a sequence in $A$ 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 $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u(n)} = n\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 10, Axiom 42.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 10, Axiom 11, Axiom 45, Axiom 54, Definition 1, Definition 12, Definition 158, Lemma 83, Proposition 361.
Therefore 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} P$ by Proposition 445.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ by Definition 1.
Let $h = \{(n,\closure{\snd{u(n)}}{X}{T}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ we have $b_1 = b_2$ by Axiom 6.
$h$ is a function by Axiom 6, Definition 12, Definition 51.
We have $\dom{h} = \naturalsPlus$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $h(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Axiom 6, Definition 1, Definition 151, Lemma 83, Proposition 155, Proposition 349.
Therefore $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{\pow{X}}$ by Proposition 358.
$h$ is a sequence in $\pow{X}$ by Definition 158.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $h(n)\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $h(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} h(n)$.

Therefore $\img{h}{\naturalsPlus}$ has the finite intersection property by Lemma 923.

Claim: For all $C$ such that $C\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{h}{\naturalsPlus}$ we have $C$ is closed in $X$ with respect to $T$.

Hence $\inters{\img{h}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Theorem 64.
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{h}{\naturalsPlus}}$ by Proposition 10.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} h(1)$ by Axiom 42, Definition 158, Proposition 32, Proposition 235, Proposition 348.
$h(1) = \closure{\snd{u(1)}}{X}{T}$ by Axiom 42, Proposition 346.
$\snd{u(1)} = V_0$ by Axiom 11, Definition 1.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{V_0}{X}{T}$ by Lemma 82, Lemma 83.
$\closure{V_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} W_0$ by Definition 1.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1, Definition 5.

Claim: For all $A_1$ such that $A_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{\naturalsPlus}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1$.

Thus $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{s}{\naturalsPlus}}$ by Axiom 42, Definition 55, Definition 158, Proposition 31, Proposition 235, Proposition 349, Proposition 356.
Hence $U$ intersects $\inters{\img{s}{\naturalsPlus}}$ by Axiom 2, Definition 5, Definition 152, Proposition 61.

Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by Theorem 11.

$X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by Definition 1.
Hence $\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T} = X$ by Definition 1, Definition 151, Proposition 3.
$\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ by Definition 272.

Therefore $X$ is a Baire space with respect to $T$ by Lemma 921.

LaTeX source
\begin{proof}
    We have $X$ is regular with respect to $T$ by \cref{compact_hausdorff_normal,normal_implies_regular}.
    Show that for all $s$ if
        $s$ is a sequence in $\pow{X}$ and
        for all $n\in\naturalsPlus$ we have
            $s(n)$ is open in $X$ with respect to $T$ and
            $s(n)$ is dense in $X$ with respect to $T$
    then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.
    \begin{subproof}
        Fix $s$ such that
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $X$ with respect to $T$ and
                $s(n)$ is dense in $X$ with respect to $T$.
        We have $\inters{\img{s}{\naturalsPlus}}\subseteq X$ by
            \cref{unions_subseteq_of_powerset_is_subseteq,inters,elem_subseteq,subseteq,img_subseteq_ran,sequence_in,funs_ran,subseteq_transitive}.
        Show that for all $x\in X$ we have $x\in\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$.
        \begin{subproof}
            Fix $x\in X$.
            Show that for all $U$ such that
                $U$ is open in $X$ with respect to $T$ and
                $x\in U$
                we have $U$ intersects $\inters{\img{s}{\naturalsPlus}}$.
            \begin{subproof}
                Fix $U$ such that
                    $U$ is open in $X$ with respect to $T$ and
                    $x\in U$.
                We have $s(1)$ is open in $X$ with respect to $T$ and $s(1)$ is dense in $X$ with respect to $T$
                    by \cref{real_one_in_naturals,subseteq}.
                $s(1)\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
                $x\in\closure{s(1)}{X}{T}$ by \cref{dense_in,real_lt_subst_right}.
                Hence $U$ intersects $s(1)$ by \cref{closure_iff_intersects_open}.
                Take $y_0$ such that $y_0\in U\inter s(1)$ by \cref{intersects,nonempty_inhabited}.
                Let $W_0 = U\inter s(1)$.
                $W_0$ is open in $X$ with respect to $T$ and $y_0\in W_0$
                    by \cref{inter,open_in,topology_on,neighborhood}.
                $y_0\in X$ by \cref{open_in,topology_on,subseteq,pow_iff,subseteq}.
                $W_0$ is a neighborhood of $y_0$ in $X$ with respect to $T$ by \cref{neighborhood}.
                Take $V_0$ such that
                    $V_0$ is a neighborhood of $y_0$ in $X$ with respect to $T$ and
                    $\closure{V_0}{X}{T}\subseteq W_0$
                    by \cref{regular_closure_neighborhood}.
                $V_0$ is open in $X$ with respect to $T$ and $y_0\in V_0$ by \cref{neighborhood}.
                Let $a_0 = (1,V_0)$.
                Let $A = \{p\in\naturalsPlus\times\pow{X} \mid
                    \snd{p}\in T \land
                    \snd{p}\neq\emptyset \land
                    \closure{\snd{p}}{X}{T}\subseteq s(\fst{p})\}$.
                $a_0\in A$
                    by \cref{real_one_in_naturals,subseteq,neighborhood,open_in,topology_on,emptyset,pow_iff,powerset_intro,fst_eq,snd_eq,times_tuple_intro,pair_eq_iff,inter_lower_right,subseteq_transitive}.
                Let $R = \{w\in A\times A \mid \fst{\snd{w}} = \fst{\fst{w}} + 1 \land \closure{\snd{\snd{w}}}{X}{T}\subseteq \snd{\fst{w}}\}$.
                $R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
                Show that for all $p\in A$ there exists $q$ such that $p\mathrel{R} q$.
                \begin{subproof}
                    Fix $p\in A$.
                    We have $p\in\naturalsPlus\times\pow{X}$ and
                        $\snd{p}\in T$ and
                        $\snd{p}\neq\emptyset$ and
                        $\closure{\snd{p}}{X}{T}\subseteq s(\fst{p})$ by \cref{subseteq}.
                    Take $n,W$ such that
                        $p = (n,W)$ and
                        $n\in\naturalsPlus$ and
                        $W\in\pow{X}$ by \cref{times}.
                    $W = \snd{p}$ and $n = \fst{p}$ by \cref{fst_eq,snd_eq}.
                    $W\in T$ and $W\neq\emptyset$ and $\closure{W}{X}{T}\subseteq s(n)$
                        by \cref{real_lt_subst_left,real_lt_subst_right}.
                    $W$ is open in $X$ with respect to $T$ by \cref{open_in}.
                    Take $z$ such that $z\in W$ by \cref{nonempty_inhabited}.
                    $s(n + 1)$ is open in $X$ with respect to $T$ and $s(n + 1)$ is dense in $X$ with respect to $T$
                        by \cref{real_naturals_closed_succ,subseteq}.
                    $s(n + 1)\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
                    $z\in X$ by \cref{subseteq,open_in,topology_on,pow_iff}.
                    Hence $z\in\closure{s(n + 1)}{X}{T}$ by \cref{dense_in,real_lt_subst_right}.
                    Therefore $W$ intersects $s(n + 1)$ by \cref{closure_iff_intersects_open}.
                    Take $y$ such that $y\in W\inter s(n + 1)$ by \cref{intersects,nonempty_inhabited}.
                    Let $B = W\inter s(n + 1)$.
                    $B$ is open in $X$ with respect to $T$ and $y\in B$
                        by \cref{inter,open_in,topology_on,neighborhood}.
                    $y\in X$ by \cref{open_in,topology_on,subseteq,pow_iff,subseteq}.
                    $B$ is a neighborhood of $y$ in $X$ with respect to $T$ by \cref{neighborhood}.
                    Take $V$ such that
                        $V$ is a neighborhood of $y$ in $X$ with respect to $T$ and
                        $\closure{V}{X}{T}\subseteq B$
                        by \cref{regular_closure_neighborhood}.
                    $V$ is open in $X$ with respect to $T$ and $y\in V$ by \cref{neighborhood}.
                    Let $q = (n + 1,V)$.
                    $q\in A$
                        by \cref{real_naturals_closed_succ,subseteq,neighborhood,open_in,topology_on,emptyset,pow_iff,powerset_intro,fst_eq,snd_eq,times_tuple_intro,pair_eq_iff,inter_lower_right,subseteq_transitive}.
                    $\closure{\snd{q}}{X}{T}\subseteq \snd{p}$ by \cref{fst_eq,snd_eq,inter_lower_left,subseteq_transitive}.
                    Hence $p\mathrel{R} q$ by \cref{fst_eq,snd_eq,times_tuple_intro,relation}.
                \end{subproof}
                Take $c$ such that $c$ is a function on $A$ and for all $p\in A$ we have $p\mathrel{R}\apply{c}{p}$
                    by \cref{axiom_of_choice}.
                We have $c\in\funs{A}{A}$ by \cref{axiom_of_choice,relation,times_tuple_elim,funs_intro}.
                Take $u$ such that
                    $u$ is a sequence in $A$ 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 $P = \{n\in\naturalsPlus \mid \fst{u(n)} = n\}$.
                $P\subseteq\naturalsPlus$ by \cref{subseteq}.
                $1\in P$ by \cref{fst_eq,real_one_in_naturals}.
                For all $n\in P$ we have $n + 1\in P$ by \cref{subseteq,sequence_in,funs_type_apply,axiom_of_choice,real_lt_subst_right,relation,fst_eq,snd_eq,real_naturals_closed_succ}.
                Therefore for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
                For all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$ by \cref{subseteq}.
                Let $h = \{(n,\closure{\snd{u(n)}}{X}{T}) \mid n\in\naturalsPlus\}$.
                For all $a,b_1,b_2$ such that $(a,b_1)\in h$ and $(a,b_2)\in h$ we have $b_1 = b_2$
                    by \cref{pair_eq_iff}.
                $h$ is a function by \cref{pair_eq_iff,relation,rightunique}.
                We have $\dom{h} = \naturalsPlus$ by \cref{dom_intro,pair_eq_iff,dom_iff,subseteq,subseteq_antisymmetric}.
                For all $n$ such that $n\in\dom{h}$ we have $h(n)\in\pow{X}$
                    by \cref{subseteq,pair_eq_iff,function_apply_iff,real_lt_subst_right,closure,powerset_intro}.
                Therefore $h\in\funs{\naturalsPlus}{\pow{X}}$ by \cref{funs_intro}.
                $h$ is a sequence in $\pow{X}$ by \cref{sequence_in}.
                Show that for all $n\in\naturalsPlus$ we have $h(n)\neq\emptyset$.
                \begin{subproof}
                    Follows by \cref{sequence_in,funs_type_apply,subseteq,times,snd_eq,real_lt_subst_left,powerset_elim,pair_eq_iff,function_apply_iff,nonempty_inhabited,real_lt_subst_right,subseteq_closure,inhabited_nonempty}.
                \end{subproof}
                Show that for all $n\in\naturalsPlus$ we have $h(n + 1)\subseteq h(n)$.
                \begin{subproof}
                    Follows by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ,subseteq,axiom_of_choice,real_lt_subst_right,relation,fst_eq,snd_eq,times,powerset_elim,subseteq_closure,subseteq_transitive,function_apply_intro}.
                \end{subproof}
                Therefore $\img{h}{\naturalsPlus}$ has the finite intersection property by \cref{nested_sequence_image_fip}.
                Show that for all $C$ such that $C\in\img{h}{\naturalsPlus}$ we have
                    $C$ is closed in $X$ with respect to $T$.
                \begin{subproof}
                    Follows by \cref{img_iff,sequence_in,funs_is_function,function_apply_iff,sequence_in,funs_type_apply,subseteq,times,snd_eq,powerset_elim,real_lt_subst_right,function_apply_intro,closure_closed_in,real_lt_subst_left}.
                \end{subproof}
                Hence $\inters{\img{h}{\naturalsPlus}}\neq\emptyset$ by \cref{compact_iff_finite_intersection_property}.
                Take $p$ such that $p\in\inters{\img{h}{\naturalsPlus}}$ by \cref{nonempty_inhabited}.
                $p\in h(1)$ by \cref{sequence_in,function_apply_elim,img_iff,real_one_in_naturals,inters_destr}.
                $h(1) = \closure{\snd{u(1)}}{X}{T}$ by \cref{real_one_in_naturals,function_apply_intro}.
                $\snd{u(1)} = V_0$ by \cref{subseteq,snd_eq}.
                $p\in\closure{V_0}{X}{T}$ by \cref{real_lt_subst_left,real_lt_subst_right}.
                $\closure{V_0}{X}{T}\subseteq W_0$ by \cref{subseteq}.
                $p\in U$ by \cref{subseteq,inter}.
                Show that for all $A_1$ such that $A_1\in\img{s}{\naturalsPlus}$ we have
                    $p\in A_1$.
                \begin{subproof}
                    Follows by \cref{img_iff,sequence_in,funs_is_function,function_apply_iff,function_apply_elim,inters_destr,sequence_in,funs_type_apply,fst_eq,snd_eq,pair_eq_iff,function_apply_intro,subseteq,real_lt_subst_right,real_lt_subst_left}.
                \end{subproof}
                Thus $p\in\inters{\img{s}{\naturalsPlus}}$
                    by \cref{sequence_in,funs,funs_is_function,function_apply_iff,img_iff,real_one_in_naturals,inters_intro}.
                Hence $U$ intersects $\inters{\img{s}{\naturalsPlus}}$ by \cref{inter_intro,emptyset,intersects,inter}.
            \end{subproof}
            Thus $x\in\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by \cref{closure_iff_intersects_open}.
        \end{subproof}
        $X\subseteq\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by \cref{subseteq}.
        Hence $\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T} = X$
            by \cref{closure,subseteq,subseteq_antisymmetric}.
        $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ by \cref{dense_in}.
    \end{subproof}
    Therefore $X$ is a Baire space with respect to $T$ by \cref{baire_space_open_set_characterization}.
\end{proof}
Lemma 924
metric_half_ball_pair_bound

Assume $d$ is a metric on $X$.
Suppose $a,x,y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Suppose $\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}$.
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{a}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} / (1 + 1)}$.
Suppose $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{a}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} / (1 + 1)}$.
Then $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

LaTeX source
\begin{lemma}
\label{metric_half_ball_pair_bound}
    Assume $d$ is a metric on $X$.
    Suppose $a,x,y\in X$.
    Suppose $\epsilon\in\reals$ and $0 < \epsilon$.
    Suppose $x\in\metricBall{d}{X}{a}{\epsilon / (1 + 1)}$.
    Suppose $y\in\metricBall{d}{X}{a}{\epsilon / (1 + 1)}$.
    Then $d((x,y)) < \epsilon$.
\end{lemma}
Proof

We have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 177, Definition 179, Definition 180, Lemma 82, Lemma 83, Lemma 275, Lemma 828.

LaTeX source
\begin{proof}
    We have $d((x,y)) < \epsilon$ by
        \cref{real_half_of_positive,metric_ball,metric_on,metric_symmetric,metric_common_center_double_bound,real_lt_subst_left,real_lt_subst_right}.
\end{proof}
Lemma 925
half_reciprocal_naturalsplus_real_positive

Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $(1 / n) / (1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < (1 / n) / (1 + 1)$.

LaTeX source
\begin{lemma}
\label{half_reciprocal_naturalsplus_real_positive}
    Suppose $n\in\naturalsPlus$.
    Then $(1 / n) / (1 + 1)\in\reals$ and $0 < (1 / n) / (1 + 1)$.
\end{lemma}
Proof

Follows by Lemma 90, Lemma 267, Lemma 275.

LaTeX source
\begin{proof}
    Follows by \cref{naturalsplus_reciprocal_real,positive_reciprocal_naturalsplus,real_half_of_positive}.
\end{proof}
Definition 384
metric_stage_small_set

$W$ is stage-small at $n$ in $X$ with respect to $d$ iff there exists $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\metricBall{d}{X}{a}{(1 / n) / (1 + 1)}$.

LaTeX source
\begin{definition}
\label{metric_stage_small_set}
    $W$ is stage-small at $n$ in $X$ with respect to $d$ iff
        there exists $a\in X$ such that
            $W\subseteq\metricBall{d}{X}{a}{(1 / n) / (1 + 1)}$.
\end{definition}
Lemma 926
eventually_in_closed_limit

Assume $T$ is a topology on $X$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $s$ is a sequence in $X$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Suppose $s$ converges to $x$ in $X$ with respect to $T$.
Suppose 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 $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

LaTeX source
\begin{lemma}
\label{eventually_in_closed_limit}
    Assume $T$ is a topology on $X$.
    Assume $A$ is closed in $X$ with respect to $T$.
    Assume $s$ is a sequence in $X$.
    Assume $x\in X$.
    Suppose $s$ converges to $x$ in $X$ with respect to $T$.
    Suppose there exists $N\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N \leq n$ then $s(n)\in A$.
    Then $x\in A$.
\end{lemma}
Proof

Take $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 $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Claim: For all $O$ such that $O$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} O$ we have $O$ intersects $A$.

Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1, Definition 149, Lemma 147, Proposition 2, Theorem 11.

LaTeX source
\begin{proof}
    Take $N\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N \leq n$ then $s(n)\in A$.
    Show that for all $O$ such that
        $O$ is open in $X$ with respect to $T$ and
        $x\in O$
        we have $O$ intersects $A$.
    \begin{subproof}
        Follows by \cref{converges_to,neighborhood,naturalsplus_add_closed,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_add_ident,real_lt_add,real_add_comm,real_lt_subst_left,real_lt_subst_right,real_lt_imp_leq,inter_intro,emptyset,intersects,inter}.
    \end{subproof}
    Therefore $x\in A$ by \cref{closed_in,closure_iff_intersects_open,closure_subseteq_closed,subseteq_refl,subseteq}.
\end{proof}
Lemma 927
cauchy_witness_intro

Suppose $L\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose for all $n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $L \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $L \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((s(n),s(m))) < \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 for all $n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((s(n),s(m))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

LaTeX source
\begin{lemma}
\label{cauchy_witness_intro}
    Suppose $L\in\naturalsPlus$.
    Suppose for all $n,m\in\naturalsPlus$ if $L \leq n$ and $L \leq m$ then $d((s(n),s(m))) < \epsilon$.
    Then there exists $N\in\naturalsPlus$ such that
        for all $n,m\in\naturalsPlus$ if $N \leq n$ and $N \leq m$ then $d((s(n),s(m))) < \epsilon$.
\end{lemma}
Proof

Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $N = L$ and for all $n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((s(n),s(m))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

LaTeX source
\begin{proof}
    Take $N\in\naturalsPlus$ such that
        $N = L$ and
        for all $n,m\in\naturalsPlus$ if $N \leq n$ and $N \leq m$ then $d((s(n),s(m))) < \epsilon$.
\end{proof}
Lemma 928
metric_diameter_bound

Assume $d$ is a metric on $X$.
Assume $r$ is a diameter of $A$ in $X$ with respect to $d$.
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then $d((x,y)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.

LaTeX source
\begin{lemma}
\label{metric_diameter_bound}
    Assume $d$ is a metric on $X$.
    Assume $r$ is a diameter of $A$ in $X$ with respect to $d$.
    Suppose $x\in A$ and $y\in A$.
    Then $d((x,y)) \leq r$.
\end{lemma}
Proof

Follows by Definition 66, Definition 71, Definition 188, Definition 189.

LaTeX source
\begin{proof}
    Follows by \cref{metric_diameter,metric_distance_set,real_supremum,real_upper_bound}.
\end{proof}
Lemma 929
nested_member_sequence_small_tail

Assume $s$ is a sequence in $\pow{X}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n+1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.
Assume $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume 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,y\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Assume $t$ is a sequence in $X$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((t(n),t(m))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

LaTeX source
\begin{lemma}
\label{nested_member_sequence_small_tail}
    Assume $s$ is a sequence in $\pow{X}$.
    Assume for all $n\in\naturalsPlus$ we have $s(n+1)\subseteq s(n)$.
    Assume $N\in\naturalsPlus$.
    Assume for all $n\in\naturalsPlus$ if $N \leq n$ then
        for all $x,y\in s(n)$ we have $d((x,y)) < \epsilon$.
    Assume $t$ is a sequence in $X$.
    Assume for all $n\in\naturalsPlus$ we have $t(n)\in s(n)$.
    Then for all $n\in\naturalsPlus$ we have
        for all $m\in\naturalsPlus$ if $N \leq n$ and $N \leq m$ then
            $d((t(n),t(m))) < \epsilon$.
\end{lemma}
Proof
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((t(n),t(m))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Follows by Definition 1, Lemma 922.

LaTeX source
\begin{proof}
    Show that for all $n\in\naturalsPlus$ we have
        for all $m\in\naturalsPlus$ if $N \leq n$ and $N \leq m$ then
            $d((t(n),t(m))) < \epsilon$.
    \begin{subproof}
        Follows by \cref{subseteq,nested_sequence_monotone}.
    \end{subproof}
\end{proof}
Lemma 930
naturalsplus_sequence_strictly_increasing_majorant

Assume $v$ is a sequence in $\naturalsPlus$.
Then there exists $u$ such that $u$ is strictly increasing on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $v(n) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n)$.

LaTeX source
\begin{lemma}
\label{naturalsplus_sequence_strictly_increasing_majorant}
    Assume $v$ is a sequence in $\naturalsPlus$.
    Then there exists $u$ such that
        $u$ is strictly increasing on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $v(n) \leq u(n)$.
\end{lemma}
Proof

Let $D = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus \mid v(\fst{p}) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \snd{p}\}$.
Let $a_0 = (1,v(1))$.
$v(1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42, Definition 158, Proposition 361.
$v(1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$v(1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v(1)$.
$a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 10, Axiom 11, Axiom 42, Proposition 115.

Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} D\class{latex-symbol-tip latex-symbol-id-times}{\times} D \mid \fst{\snd{w}} = \fst{\fst{w}} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{\fst{w}} < \snd{\snd{w}}\}$.

Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ there exists $q$ such that $p\mathrel{R} q$.

Fix $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Take $n_0,m_0$ such that $p = (n_0,m_0)$ by Proposition 121.
We have $n_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $m_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Proposition 114.
$n_0 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$v(n_0 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 158, Proposition 361.
$v(n_0 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$m_0 < v(n_0 + 1)$ or $m_0 = v(n_0 + 1)$ or $v(n_0 + 1) < m_0$ by Axiom 34.

Case. $m_0 < v(n_0 + 1)$.

Let $k_1 = v(n_0 + 1)$.
$k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1, Lemma 82.
$v(n_0 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k_1$.
Let $q = (n_0 + 1,k_1)$.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 10, Axiom 11, Lemma 82, Lemma 83, Proposition 115.
Hence $p\mathrel{R} q$ by Axiom 10, Axiom 11, Definition 12, Lemma 82, Lemma 83, Proposition 115, Proposition 437.
Follows by definition.

Case. $m_0 = v(n_0 + 1)$.

Let $k_1 = m_0 + 1$.
$k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$m_0 < k_1$ by Lemma 399.
$v(n_0 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k_1$ by Lemma 83, Lemma 231.
Let $q = (n_0 + 1,k_1)$.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 10, Axiom 11, Lemma 82, Lemma 83, Proposition 115.
Thus $p\mathrel{R} q$ by Axiom 10, Axiom 11, Definition 12, Lemma 82, Lemma 83, Proposition 115, Proposition 437.
Follows by definition.

Case. $v(n_0 + 1) < m_0$.

Let $k_1 = m_0 + 1$.
$k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$m_0 < k_1$ by Lemma 399.
$v(n_0 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k_1$ by Lemma 23, Lemma 231, Lemma 399.
Let $q = (n_0 + 1,k_1)$.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 10, Axiom 11, Lemma 82, Lemma 83, Proposition 115.
Therefore $p\mathrel{R} q$ by Axiom 10, Axiom 11, Definition 12, Lemma 82, Lemma 83, Proposition 115, Proposition 437.
Follows by definition.

LaTeX source
\begin{byCase}
        \caseOf{$m_0 < v(n_0 + 1)$.}
            Let $k_1 = v(n_0 + 1)$.
            $k_1\in\naturalsPlus$ and $k_1\in\reals$
                by \cref{real_lt_subst_left,real_naturals_subset_reals,subseteq}.
            $v(n_0 + 1) \leq k_1$.
            Let $q = (n_0 + 1,k_1)$.
            $q\in D$ by \cref{real_lt_subst_left,real_lt_subst_right,times_tuple_intro,fst_eq,snd_eq}.
            Hence $p\mathrel{R} q$
                by \cref{times_tuple_intro,fst_eq,snd_eq,relation,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
            Follows by definition.
        \caseOf{$m_0 = v(n_0 + 1)$.}
            Let $k_1 = m_0 + 1$.
            $k_1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $m_0 < k_1$ by \cref{real_naturals_lt_succ_local}.
            $v(n_0 + 1) \leq k_1$ by \cref{real_lt_subst_right,real_lt_imp_leq}.
            Let $q = (n_0 + 1,k_1)$.
            $q\in D$ by \cref{times_tuple_intro,fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right}.
            Thus $p\mathrel{R} q$
                by \cref{times_tuple_intro,fst_eq,snd_eq,relation,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
            Follows by definition.
        \caseOf{$v(n_0 + 1) < m_0$.}
            Let $k_1 = m_0 + 1$.
            $k_1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $k_1\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $m_0 < k_1$ by \cref{real_naturals_lt_succ_local}.
            $v(n_0 + 1) \leq k_1$ by \cref{real_naturals_lt_succ_local,real_lt_imp_leq,real_leq_trans}.
            Let $q = (n_0 + 1,k_1)$.
            $q\in D$ by \cref{times_tuple_intro,fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right}.
            Therefore $p\mathrel{R} q$
                by \cref{times_tuple_intro,fst_eq,snd_eq,relation,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
            Follows by definition.
        
\end{byCase}

Take $f$ such that $f$ is a function on $D$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ we have $p\mathrel{R}\apply{f}{p}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
Therefore $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{D}{D}$ by Definition 1, Proposition 114, Proposition 358.
Take $w$ such that $w$ is a sequence in $D$ and $w(1) = a_0$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $w(n + 1) = \apply{f}{w(n)}$ by Lemma 407.

Let $g = \{(p,\snd{p}) \mid p\class{latex-symbol-tip latex-symbol-id-in}{\in} D\}$.
We have $g$ is a function by Axiom 6, Definition 12, Definition 51.
$\dom{g} = D$ by Axiom 6, Definition 1, Proposition 3, Proposition 199.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Axiom 11, Definition 1, Proposition 121, Proposition 346.
Thus $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{D}{\naturalsPlus}$ by Proposition 358.

Let $u = g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} w$.
We have $u$ is a sequence in $\naturalsPlus$ by Definition 158, Proposition 382.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n) = \snd{w(n)}$ by Definition 55, Definition 158, Proposition 257, Proposition 346, Proposition 348, Proposition 356, Proposition 361.

Let $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{w(n)} = n\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 10, Axiom 42, Proposition 113.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 10, Axiom 11, Axiom 45, Axiom 54, Definition 1, Definition 158, Lemma 82, Lemma 83, Lemma 407, Proposition 361.
Therefore 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} P$ by Proposition 445.

For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n) < u(n + 1)$ by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 158, Lemma 82, Lemma 83, Lemma 407, Proposition 114, Proposition 121, Proposition 361, Proposition 437.

Let $T_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$}\}$.
$T_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ by Axiom 36, Axiom 39, Axiom 41, Axiom 42, Axiom 43, Definition 1, Lemma 83.

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

Fix $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$.

Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m < n + 1$ we have $u(m) < u(n + 1)$.

Fix $m$ such that $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $m < n + 1$.
Suppose not.
We have $m < n$ or $m = n$ or $m = n + 1$ by Axiom 44.

Case. $m = n$.

Contradiction by Lemma 82.

Case. $m < n$.

$u(m) < u(n)$ by Definition 1.
Hence $u(m) < u(n + 1)$ by Axiom 36, Axiom 41, Axiom 45, Definition 1, Definition 158, Proposition 361.
Contradiction.

Case. $m = n + 1$.

Contradiction by Axiom 39, Axiom 41, Definition 1, Lemma 82.

LaTeX source
\begin{byCase}
            \caseOf{$m = n$.}
                Contradiction by \cref{real_lt_subst_left}.
            \caseOf{$m < n$.}
                $u(m) < u(n)$ by \cref{subseteq}.
                Hence $u(m) < u(n + 1)$
                    by \cref{sequence_in,real_naturals_closed_succ,funs_type_apply,real_naturals_subset_reals,subseteq,real_lt_trans}.
                Contradiction.
            \caseOf{$m = n + 1$.}
                Contradiction by \cref{real_lt_subst_left,real_naturals_subset_reals,subseteq,real_lt_irreflexive}.
            
\end{byCase}

$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$.

Therefore 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} T_0$ by Proposition 445.
For all $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$ by Definition 1.
Thus $u$ is strictly increasing on $\naturalsPlus$ by Definition 158, Definition 258.

Take $w_0$ such that $w_0 = u$ and $w_0$ is strictly increasing on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $v(n) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} w_0(n)$ by Definition 1, Definition 158, Lemma 82, Lemma 83, Proposition 361.

LaTeX source
\begin{proof}
    Let $D = \{p\in\naturalsPlus\times\naturalsPlus \mid v(\fst{p}) \leq \snd{p}\}$.
    Let $a_0 = (1,v(1))$.
    $v(1)\in\naturalsPlus$ by \cref{sequence_in,funs_type_apply,real_one_in_naturals}.
    $v(1)\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
    $v(1) \leq v(1)$.
    $a_0\in D$ by \cref{real_one_in_naturals,times_tuple_intro,fst_eq,snd_eq}.

    Let $R = \{w\in D\times D \mid
        \fst{\snd{w}} = \fst{\fst{w}} + 1 \land \snd{\fst{w}} < \snd{\snd{w}}\}$.

    Show that for all $p\in D$ there exists $q$ such that $p\mathrel{R} q$.
    \begin{subproof}
        Fix $p\in D$.
        Take $n_0,m_0$ such that $p = (n_0,m_0)$ by \cref{times_elem_is_tuple}.
        We have $n_0\in\naturalsPlus$ and $m_0\in\naturalsPlus$ by \cref{times_tuple_elim}.
        $n_0 + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
        $v(n_0 + 1)\in\naturalsPlus$ by \cref{sequence_in,funs_type_apply}.
        $v(n_0 + 1)\in\reals$ and $m_0\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
        $m_0 < v(n_0 + 1)$ or $m_0 = v(n_0 + 1)$ or $v(n_0 + 1) < m_0$ by \cref{real_lt_trichotomy}.
        \begin{byCase}
        \caseOf{$m_0 < v(n_0 + 1)$.}
            Let $k_1 = v(n_0 + 1)$.
            $k_1\in\naturalsPlus$ and $k_1\in\reals$
                by \cref{real_lt_subst_left,real_naturals_subset_reals,subseteq}.
            $v(n_0 + 1) \leq k_1$.
            Let $q = (n_0 + 1,k_1)$.
            $q\in D$ by \cref{real_lt_subst_left,real_lt_subst_right,times_tuple_intro,fst_eq,snd_eq}.
            Hence $p\mathrel{R} q$
                by \cref{times_tuple_intro,fst_eq,snd_eq,relation,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
            Follows by definition.
        \caseOf{$m_0 = v(n_0 + 1)$.}
            Let $k_1 = m_0 + 1$.
            $k_1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $m_0 < k_1$ by \cref{real_naturals_lt_succ_local}.
            $v(n_0 + 1) \leq k_1$ by \cref{real_lt_subst_right,real_lt_imp_leq}.
            Let $q = (n_0 + 1,k_1)$.
            $q\in D$ by \cref{times_tuple_intro,fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right}.
            Thus $p\mathrel{R} q$
                by \cref{times_tuple_intro,fst_eq,snd_eq,relation,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
            Follows by definition.
        \caseOf{$v(n_0 + 1) < m_0$.}
            Let $k_1 = m_0 + 1$.
            $k_1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            $k_1\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $m_0 < k_1$ by \cref{real_naturals_lt_succ_local}.
            $v(n_0 + 1) \leq k_1$ by \cref{real_naturals_lt_succ_local,real_lt_imp_leq,real_leq_trans}.
            Let $q = (n_0 + 1,k_1)$.
            $q\in D$ by \cref{times_tuple_intro,fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right}.
            Therefore $p\mathrel{R} q$
                by \cref{times_tuple_intro,fst_eq,snd_eq,relation,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
            Follows by definition.
        \end{byCase}
    \end{subproof}

    Take $f$ such that $f$ is a function on $D$ and for all $p\in D$ we have
        $p\mathrel{R}\apply{f}{p}$ by \cref{subseteq,times_elem_is_tuple,relation,axiom_of_choice}.
    Therefore $f\in\funs{D}{D}$ by \cref{funs_intro,subseteq,times_tuple_elim}.
    Take $w$ such that
        $w$ is a sequence in $D$ and
        $w(1) = a_0$ and
        for all $n\in\naturalsPlus$ we have $w(n + 1) = \apply{f}{w(n)}$
        by \cref{iteration_sequence_naturalsplus}.

    Let $g = \{(p,\snd{p}) \mid p\in D\}$.
    We have $g$ is a function by \cref{pair_eq_iff,rightunique,relation}.
    $\dom{g} = D$ by \cref{dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
    For all $p\in\dom{g}$ we have $g(p)\in\naturalsPlus$
        by \cref{pair_eq_iff,function_apply_intro,subseteq,times_elem_is_tuple,snd_eq}.
    Thus $g\in\funs{D}{\naturalsPlus}$ by \cref{funs_intro}.

    Let $u = g\circ w$.
    We have $u$ is a sequence in $\naturalsPlus$ by \cref{sequence_in,funs_circ}.
    For all $n\in\naturalsPlus$ we have $u(n) = \snd{w(n)}$
        by \cref{funs,sequence_in,funs_is_function,function_apply_elim,funs_type_apply,circ_iff,function_apply_intro}.

    Let $P = \{n\in\naturalsPlus \mid \fst{w(n)} = n\}$.
    $P\subseteq\naturalsPlus$ by \cref{subseteq}.
    $1\in P$ by \cref{real_one_in_naturals,fst_eq,pair_eq_pair_of_proj}.
    For all $n\in P$ we have $n + 1\in P$
        by \cref{subseteq,sequence_in,funs_type_apply,axiom_of_choice,fst_eq,snd_eq,real_naturals_closed_succ,iteration_sequence_naturalsplus,real_lt_subst_left,real_lt_subst_right}.
    Therefore for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.

    For all $n\in\naturalsPlus$ we have $u(n) < u(n + 1)$ by \cref{iteration_sequence_naturalsplus,sequence_in,funs_type_apply,times_elem_is_tuple,times_tuple_elim,fst_eq,snd_eq,pair_eq_iff,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst,real_naturals_closed_succ}.

    Let $T_0 = \{n\in\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$}\}$.
    $T_0\subseteq\naturalsPlus$ by \cref{subseteq}.
    $1\in T_0$ by \cref{real_one_in_naturals,real_one_leq_naturalsplus,real_naturals_subset_reals,subseteq,real_lt_subst_right,real_lt_trans,real_lt_irreflexive}.
    Show that for all $n\in T_0$ we have $n + 1\in T_0$.
    \begin{subproof}
        Fix $n$ such that $n\in T_0$.
        Show that for all $m\in\naturalsPlus$ such that $m < n + 1$ we have $u(m) < u(n + 1)$.
        \begin{subproof}
            Fix $m$ such that $m\in\naturalsPlus$ and $m < n + 1$.
            Suppose not.
            We have $m < n$ or $m = n$ or $m = n + 1$ by \cref{real_succ_discrete}.
            \begin{byCase}
            \caseOf{$m = n$.}
                Contradiction by \cref{real_lt_subst_left}.
            \caseOf{$m < n$.}
                $u(m) < u(n)$ by \cref{subseteq}.
                Hence $u(m) < u(n + 1)$
                    by \cref{sequence_in,real_naturals_closed_succ,funs_type_apply,real_naturals_subset_reals,subseteq,real_lt_trans}.
                Contradiction.
            \caseOf{$m = n + 1$.}
                Contradiction by \cref{real_lt_subst_left,real_naturals_subset_reals,subseteq,real_lt_irreflexive}.
            \end{byCase}
        \end{subproof}
        $n + 1\in T_0$.
    \end{subproof}
    Therefore for all $n\in\naturalsPlus$ we have $n\in T_0$ by \cref{real_naturals_induction}.
    For all $m,n\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$ by \cref{subseteq}.
    Thus $u$ is strictly increasing on $\naturalsPlus$ by \cref{sequence_in,strictly_increasing_on_set}.

    Take $w_0$ such that
        $w_0 = u$ and
        $w_0$ is strictly increasing on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $v(n) \leq w_0(n)$
        by \cref{subseteq,sequence_in,funs_type_apply,real_lt_subst_left,real_lt_subst_right}.
\end{proof}
Lemma 931
nested_member_sequence_cauchy

Assume $d$ is a metric on $X$.
Assume $s$ is a sequence in $\pow{X}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n+1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.
Assume $t$ is a sequence in $X$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$.
Suppose 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,y\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Then $t$ is a Cauchy sequence in $X$ with respect to $d$.

LaTeX source
\begin{lemma}
\label{nested_member_sequence_cauchy}
    Assume $d$ is a metric on $X$.
    Assume $s$ is a sequence in $\pow{X}$.
    Assume for all $n\in\naturalsPlus$ we have $s(n+1)\subseteq s(n)$.
    Assume $t$ is a sequence in $X$.
    Assume for all $n\in\naturalsPlus$ we have $t(n)\in s(n)$.
    Suppose 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,y\in s(n)$ we have $d((x,y)) < \epsilon$.
    Then $t$ is a Cauchy sequence in $X$ with respect to $d$.
\end{lemma}
Proof

We have $t$ is a Cauchy sequence in $X$ with respect to $d$ by Definition 1, Definition 342, Lemma 927, Lemma 929.

LaTeX source
\begin{proof}
    We have $t$ is a Cauchy sequence in $X$ with respect to $d$
        by \cref{subseteq,nested_member_sequence_small_tail,cauchy_witness_intro,cauchy_sequence}.
\end{proof}
Lemma 932
nested_closed_sets_eventually_small_nonempty_intersection

Assume $d$ is a metric on $X$.
Assume $X$ is complete with respect to $d$.
Assume $s$ is a sequence in $\pow{X}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is closed in $X$ with respect to $\metricTopology{d}{X}$ and $s(n)\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n+1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.
Suppose 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,y\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Then $\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

LaTeX source
\begin{lemma}
\label{nested_closed_sets_eventually_small_nonempty_intersection}
    Assume $d$ is a metric on $X$.
    Assume $X$ is complete with respect to $d$.
    Assume $s$ is a sequence in $\pow{X}$.
    Suppose for all $n\in\naturalsPlus$ we have
        $s(n)$ is closed in $X$ with respect to $\metricTopology{d}{X}$ and
        $s(n)\neq\emptyset$.
    Suppose for all $n\in\naturalsPlus$ we have
        $s(n+1)\subseteq s(n)$.
    Suppose 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,y\in s(n)$ we have $d((x,y)) < \epsilon$.
    Then $\inters{\img{s}{\naturalsPlus}}\neq\emptyset$.
\end{lemma}
Proof

Let $R = \{(n,x) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus, x\class{latex-symbol-tip latex-symbol-id-in}{\in} X \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)\}$.
$R$ is a relation by Axiom 6, Definition 12.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ there exists $x$ such that $n\mathrel{R} x$ by Axiom 6, Definition 1, Definition 149, Proposition 10.
Take $t$ such that $t$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\mathrel{R} \apply{t}{n}$ by Axiom 54.
Hence $t$ is a sequence in $X$ by Axiom 6, Axiom 54, Definition 1, Definition 149, Definition 158, Proposition 358.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ by Axiom 6, Axiom 54.

Therefore $t$ is a Cauchy sequence in $X$ with respect to $d$ by Definition 1, Lemma 931.

Take $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $t$ converges to $p$ in $X$ with respect to $\metricTopology{d}{X}$ by Definition 343.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ by Definition 1, Definition 179, Definition 182, Lemma 76, Lemma 194, Lemma 922, Lemma 926.

Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{\naturalsPlus}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{s}{\naturalsPlus}}$ by Axiom 42, Definition 55, Definition 158, Proposition 31, Proposition 235, Proposition 349, Proposition 356.
Therefore $\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Lemma 323, Proposition 10.

LaTeX source
\begin{proof}
    Let $R = \{(n,x) \mid n\in\naturalsPlus, x\in X \mid x\in s(n)\}$.
    $R$ is a relation by \cref{relation,pair_eq_iff}.
    For all $n\in\naturalsPlus$ there exists $x$ such that $n\mathrel{R} x$ by
        \cref{subseteq,nonempty_inhabited,closed_in,pair_eq_iff}.
    Take $t$ such that $t$ is a function on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $n\mathrel{R} \apply{t}{n}$ by \cref{axiom_of_choice}.
    Hence $t$ is a sequence in $X$ by \cref{axiom_of_choice,pair_eq_iff,subseteq,closed_in,funs_intro,sequence_in}.
    For all $n\in\naturalsPlus$ we have $t(n)\in s(n)$ by \cref{axiom_of_choice,pair_eq_iff}.

    Therefore $t$ is a Cauchy sequence in $X$ with respect to $d$
        by \cref{nested_member_sequence_cauchy,subseteq}.

    Take $p\in X$ such that $t$ converges to $p$ in $X$ with respect to $\metricTopology{d}{X}$ by \cref{complete_metric_space}.
    For all $n\in\naturalsPlus$ we have $p\in s(n)$ by
        \cref{subseteq,metric_on,metric_basis_is_basis,basis_topology_is_topology,metric_topology,nested_sequence_monotone,eventually_in_closed_limit}.
    Show that for all $A$ such that $A\in\img{s}{\naturalsPlus}$ we have $p\in A$.
    \begin{subproof}
        Follows by \cref{img_iff,sequence_in,funs_is_function,function_apply_iff,subseteq,real_lt_subst_right}.
    \end{subproof}
    Hence $p\in\inters{\img{s}{\naturalsPlus}}$ by
        \cref{sequence_in,funs,funs_is_function,function_apply_iff,img_iff,real_one_in_naturals,inters_intro}.
    Therefore $\inters{\img{s}{\naturalsPlus}}\neq\emptyset$ by \cref{nonempty_inhabited,inhabited_nonempty}.
\end{proof}
Theorem 139
complete_metric_space_baire

Assume $d$ is a metric on $X$.
Assume $X$ is complete with respect to $d$.
Then $X$ is a Baire space with respect to $\metricTopology{d}{X}$.

LaTeX source
\begin{theorem}
\label{complete_metric_space_baire}
    Assume $d$ is a metric on $X$.
    Assume $X$ is complete with respect to $d$.
    Then $X$ is a Baire space with respect to $\metricTopology{d}{X}$.
\end{theorem}
Proof

Let $T = \metricTopology{d}{X}$.
We have $T$ is a topology on $X$ by Definition 179, Definition 182, Lemma 76, Lemma 194.
Hence $X$ is regular with respect to $T$ by Definition 185, Lemma 447, Theorem 81.

Claim: For all $s$ if $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$ then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.

Fix $s$ such that $s$ is a sequence in $\pow{X}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $X$ with respect to $T$ and $s(n)$ is dense in $X$ with respect to $T$.
$\img{s}{\naturalsPlus}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{X}$ by Definition 158, Proposition 6, Proposition 237, Proposition 363.
We have $\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 4, Proposition 4, Proposition 159.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $U$ intersects $\inters{\img{s}{\naturalsPlus}}$.

Fix $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
We have $s(1)$ is open in $X$ with respect to $T$ and $s(1)$ is dense in $X$ with respect to $T$ by Axiom 42, Definition 1.
$s(1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{s(1)}{X}{T}$ by Definition 272, Lemma 83.
Hence $U$ intersects $s(1)$ by Theorem 11.
Take $y_0$ such that $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter s(1)$ by Definition 152, Proposition 10.
$y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Axiom 12, Definition 1, Definition 101, Definition 103, Proposition 62.
$(1 / 1) / (1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < (1 / 1) / (1 + 1)$ by Axiom 42, Lemma 925.
Let $C_0 = s(1)\inter\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$.
$\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$ is open in $X$ with respect to $T$ by Definition 1, Definition 103, Definition 115, Definition 179, Definition 180, Definition 181, Definition 182, Lemma 77, Lemma 194, Proposition 155.
$y_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$ by Definition 176, Definition 179, Definition 180, Lemma 82.
$C_0$ is open in $X$ with respect to $T$ and $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} C_0$ by Definition 5, Definition 101, Definition 103, Definition 153, Definition 180.
Let $B_0 = U\inter C_0$.
$B_0$ is open in $X$ with respect to $T$ and $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} B_0$ by Definition 5, Definition 101, Definition 103, Definition 153.
Take $V_0$ such that $V_0$ is a neighborhood of $y_0$ in $X$ with respect to $T$ and $\closure{V_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B_0$ by Definition 5, Definition 101, Definition 103, Definition 153, Lemma 448.
$V_0$ is open in $X$ with respect to $T$ and $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} V_0$ by Definition 153.
Let $a_0 = (1,V_0)$.
Let $A = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{X} \mid \text{$\snd{p}\in T$ and $\snd{p}\neq\emptyset$ and $\closure{\snd{p}}{X}{T}\subseteq s(\fst{p})$ and $\closure{\snd{p}}{X}{T}$ is stage-small at $\fst{p}$ in $X$ with respect to $d$}\}$.
$B_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C_0$ by Proposition 74.
$C_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(1)$ and $C_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$ by Proposition 73, Proposition 74.
$\closure{V_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(1)$ by Proposition 6.
Thus $\closure{V_0}{X}{T}$ is stage-small at $1$ in $X$ with respect to $d$ by Axiom 42, Definition 1, Definition 384.
$a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 2, Axiom 6, Axiom 10, Axiom 11, Axiom 12, Axiom 42, Definition 1, Definition 101, Definition 103, Definition 153, Definition 384, Proposition 6, Proposition 74, Proposition 115, Proposition 155.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-times}{\times} A \mid \fst{\snd{w}} = \fst{\fst{w}} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \closure{\snd{\snd{w}}}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{\fst{w}}\}$.
$R$ is a relation by Definition 1, Definition 12, Proposition 121.

Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ there exists $q$ such that $p\mathrel{R} q$.

Fix $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{X}$ and $\snd{p}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $\snd{p}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $\closure{\snd{p}}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(\fst{p})$ by Definition 1.
Take $n,W$ such that $p = (n,W)$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $W\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Definition 7.
$W = \snd{p}$ and $n = \fst{p}$ by Axiom 10, Axiom 11.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $W\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $\closure{W}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$ by Lemma 82, Lemma 83.
$W$ is open in $X$ with respect to $T$ by Definition 103.
Take $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 10.
$s(n + 1)$ is open in $X$ with respect to $T$ and $s(n + 1)$ is dense in $X$ with respect to $T$ by Axiom 45, Definition 1.
$s(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{s(n + 1)}{X}{T}$ by Definition 272, Lemma 83.
Therefore $W$ intersects $s(n + 1)$ by Theorem 11.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter s(n + 1)$ by Definition 152, Proposition 10.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Proposition 62.
$(1 / (n + 1)) / (1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < (1 / (n + 1)) / (1 + 1)$ by Axiom 45, Lemma 925.
Let $C = s(n + 1)\inter\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$.
$\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$ is open in $X$ with respect to $T$ by Definition 1, Definition 103, Definition 115, Definition 179, Definition 180, Definition 181, Definition 182, Lemma 77, Lemma 194, Proposition 155.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$ by Definition 176, Definition 179, Definition 180, Lemma 82.
$C$ is open in $X$ with respect to $T$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 5, Definition 101, Definition 103, Definition 153, Definition 180.
Let $B = W\inter C$.
$B$ is open in $X$ with respect to $T$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 5, Definition 101, Definition 103, Definition 153.
Take $V$ such that $V$ is a neighborhood of $y$ in $X$ with respect to $T$ and $\closure{V}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Definition 5, Definition 101, Definition 103, Definition 153, Lemma 448.
$V$ is open in $X$ with respect to $T$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 153.
Let $q = (n + 1,V)$.
$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Proposition 74.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n + 1)$ and $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$ by Proposition 73, Proposition 74.
$\closure{V}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n + 1)$ by Proposition 6.
Thus $\closure{V}{X}{T}$ is stage-small at $n + 1$ in $X$ with respect to $d$ by Axiom 45, Definition 1, Definition 384.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 2, Axiom 6, Axiom 10, Axiom 11, Axiom 12, Axiom 45, Definition 1, Definition 101, Definition 103, Definition 153, Definition 384, Proposition 6, Proposition 74, Proposition 115, Proposition 155.
$\closure{\snd{q}}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{p}$ by Axiom 10, Axiom 11, Proposition 6, Proposition 73.
Hence $p\mathrel{R} q$ by Axiom 10, Axiom 11, Definition 12, Proposition 115.
Follows by definition.

Take $c$ such that $c$ is a function on $A$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $p\mathrel{R}\apply{c}{p}$ by Axiom 54.
We have $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{A}$ by Axiom 54, Definition 12, Proposition 114, Proposition 358.
Take $u$ such that $u$ is a sequence in $A$ 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 $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u(n)} = n\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 10, Axiom 42.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 10, Axiom 11, Axiom 45, Axiom 54, Definition 1, Definition 12, Definition 158, Lemma 83, Proposition 361.
Therefore 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} P$ by Proposition 445.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ by Definition 1.
Let $h = \{(n,\closure{\snd{u(n)}}{X}{T}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
$h$ is a function by Axiom 6, Definition 12, Definition 51.
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}\dom{h}$ by Axiom 6, Proposition 200.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Proposition 199.
We have $\dom{h} = \naturalsPlus$ by Definition 1, Proposition 3.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $h(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Axiom 6, Definition 1, Definition 151, Lemma 83, Proposition 155, Proposition 349.
Therefore $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{\pow{X}}$ by Proposition 358.
$h$ is a sequence in $\pow{X}$ by Definition 158.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $h(n)$ is closed in $X$ with respect to $T$ and $h(n)\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $h(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} h(n)$.
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_1,y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} h(n)$ we have $d((x_1,y_1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\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}$.
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-epsilon}{\epsilon}$ by Proposition 476.

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_1,y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} h(n)$ we have $d((x_1,y_1)) < \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$.
We have $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 158, Proposition 361.
$\closure{\snd{u(n)}}{X}{T}$ is stage-small at $n$ in $X$ with respect to $d$ by Definition 1, Lemma 83.
$(n,\closure{\snd{u(n)}}{X}{T})\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Axiom 6.
Hence $h(n) = \closure{\snd{u(n)}}{X}{T}$ by Proposition 349.
Take $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $h(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\metricBall{d}{X}{a}{(1 / n) / (1 + 1)}$ by Definition 384, Lemma 83.
For all $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} h(n)$ we have for all $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} h(n)$ we have $d((x_1,y_1)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36, Definition 1, Definition 158, Definition 179, Lemma 81, Lemma 83, Lemma 90, Lemma 259, Lemma 267, Lemma 924, Proposition 115, Proposition 156, Proposition 361.

Follows by definition.

Therefore $\inters{\img{h}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Lemma 932.
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{h}{\naturalsPlus}}$ by Proposition 10.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 11, Axiom 42, Definition 1, Definition 5, Definition 158, Lemma 82, Lemma 83, Proposition 32, Proposition 235, Proposition 346, Proposition 348.

Claim: For all $A_1$ such that $A_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{\naturalsPlus}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1$.

Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{s}{\naturalsPlus}}$ by Axiom 42, Definition 55, Definition 158, Proposition 31, Proposition 235, Proposition 349, Proposition 356.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter\inters{\img{s}{\naturalsPlus}}$ by Proposition 61.
Therefore $U$ intersects $\inters{\img{s}{\naturalsPlus}}$ by Axiom 2, Definition 5, Definition 152.

Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by Theorem 11.

$X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by Definition 1.
Hence $\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T} = X$ by Definition 1, Definition 151, Proposition 3.
$\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ by Definition 272.

Therefore $X$ is a Baire space with respect to $T$ by Lemma 921.

LaTeX source
\begin{proof}
    Let $T = \metricTopology{d}{X}$.
    We have $T$ is a topology on $X$ by \cref{metric_on,metric_basis_is_basis,basis_topology_is_topology,metric_topology}.
    Hence $X$ is regular with respect to $T$ by \cref{metrizable,metrizable_normal,normal_implies_regular}.
    Show that for all $s$ if
        $s$ is a sequence in $\pow{X}$ and
        for all $n\in\naturalsPlus$ we have
            $s(n)$ is open in $X$ with respect to $T$ and
            $s(n)$ is dense in $X$ with respect to $T$
    then $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$.
    \begin{subproof}
        Fix $s$ such that
            $s$ is a sequence in $\pow{X}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $X$ with respect to $T$ and
                $s(n)$ is dense in $X$ with respect to $T$.
        $\img{s}{\naturalsPlus}\subseteq\pow{X}$ by \cref{img_subseteq_ran,sequence_in,funs_ran,subseteq_transitive}.
        We have $\inters{\img{s}{\naturalsPlus}}\subseteq X$ by
            \cref{unions_subseteq_of_powerset_is_subseteq,inters,elem_subseteq,subseteq}.
        Show that for all $x\in X$ we have $x\in\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$.
        \begin{subproof}
            Fix $x\in X$.
            Show that for all $U$ such that
                $U$ is open in $X$ with respect to $T$ and
                $x\in U$
                we have $U$ intersects $\inters{\img{s}{\naturalsPlus}}$.
            \begin{subproof}
                Fix $U$ such that
                    $U$ is open in $X$ with respect to $T$ and
                    $x\in U$.
                We have $s(1)$ is open in $X$ with respect to $T$ and $s(1)$ is dense in $X$ with respect to $T$
                    by \cref{real_one_in_naturals,subseteq}.
                $s(1)\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
                $x\in\closure{s(1)}{X}{T}$ by \cref{dense_in,real_lt_subst_right}.
                Hence $U$ intersects $s(1)$ by \cref{closure_iff_intersects_open}.
                Take $y_0$ such that $y_0\in U\inter s(1)$ by \cref{intersects,nonempty_inhabited}.
                $y_0\in X$ by \cref{inter_elim_left,open_in,topology_on,subseteq,pow_iff}.
                $(1 / 1) / (1 + 1)\in\reals$ and $0 < (1 / 1) / (1 + 1)$
                    by \cref{real_one_in_naturals,half_reciprocal_naturalsplus_real_positive}.
                Let $C_0 = s(1)\inter\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$.
                $\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$ is open in $X$ with respect to $T$
                    by \cref{metric_ball,subseteq,powerset_intro,metric_basis,metric_on,metric_basis_is_basis,basis_elem_open_in_generated,metric_topology,basis_for_topology,open_in}.
                $y_0\in\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$
                    by \cref{metric_on,metric_zero_characterization,metric_ball,real_lt_subst_left}.
                $C_0$ is open in $X$ with respect to $T$ and $y_0\in C_0$
                    by \cref{inter,open_in,topology_on,neighborhood,metric_ball}.
                Let $B_0 = U\inter C_0$.
                $B_0$ is open in $X$ with respect to $T$ and $y_0\in B_0$
                    by \cref{inter,open_in,topology_on,neighborhood}.
                Take $V_0$ such that
                    $V_0$ is a neighborhood of $y_0$ in $X$ with respect to $T$ and
                    $\closure{V_0}{X}{T}\subseteq B_0$
                    by \cref{inter,open_in,topology_on,neighborhood,regular_closure_neighborhood}.
                $V_0$ is open in $X$ with respect to $T$ and $y_0\in V_0$ by \cref{neighborhood}.
                Let $a_0 = (1,V_0)$.
                Let $A = \{p\in\naturalsPlus\times\pow{X} \mid \text{$\snd{p}\in T$ and
                    $\snd{p}\neq\emptyset$ and
                    $\closure{\snd{p}}{X}{T}\subseteq s(\fst{p})$ and
                    $\closure{\snd{p}}{X}{T}$ is stage-small at $\fst{p}$ in $X$ with respect to $d$}\}$.
                $B_0\subseteq C_0$ by \cref{inter_lower_right}.
                $C_0\subseteq s(1)$ and $C_0\subseteq\metricBall{d}{X}{y_0}{(1 / 1) / (1 + 1)}$
                    by \cref{inter_lower_left,inter_lower_right}.
                $\closure{V_0}{X}{T}\subseteq s(1)$ by \cref{subseteq_transitive}.
                Thus $\closure{V_0}{X}{T}$ is stage-small at $1$ in $X$ with respect to $d$
                    by \cref{real_one_in_naturals,subseteq,metric_stage_small_set}.
                $a_0\in A$ by
                    \cref{real_one_in_naturals,subseteq,neighborhood,open_in,topology_on,emptyset,pow_iff,powerset_intro,fst_eq,snd_eq,times_tuple_intro,pair_eq_iff,inter_lower_right,subseteq_transitive,metric_stage_small_set}.
                Let $R = \{w\in A\times A \mid \fst{\snd{w}} = \fst{\fst{w}} + 1 \land \closure{\snd{\snd{w}}}{X}{T}\subseteq \snd{\fst{w}}\}$.
                $R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
                Show that for all $p\in A$ there exists $q$ such that $p\mathrel{R} q$.
                \begin{subproof}
                    Fix $p\in A$.
                    We have $p\in\naturalsPlus\times\pow{X}$ and
                        $\snd{p}\in T$ and
                        $\snd{p}\neq\emptyset$ and
                        $\closure{\snd{p}}{X}{T}\subseteq s(\fst{p})$ by \cref{subseteq}.
                    Take $n,W$ such that
                        $p = (n,W)$ and
                        $n\in\naturalsPlus$ and
                        $W\in\pow{X}$ by \cref{times}.
                    $W = \snd{p}$ and $n = \fst{p}$ by \cref{fst_eq,snd_eq}.
                    $W\in T$ and $W\neq\emptyset$ and $\closure{W}{X}{T}\subseteq s(n)$
                        by \cref{real_lt_subst_left,real_lt_subst_right}.
                    $W$ is open in $X$ with respect to $T$ by \cref{open_in}.
                    Take $z$ such that $z\in W$ by \cref{nonempty_inhabited}.
                    $s(n + 1)$ is open in $X$ with respect to $T$ and $s(n + 1)$ is dense in $X$ with respect to $T$
                        by \cref{real_naturals_closed_succ,subseteq}.
                    $s(n + 1)\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
                    $W\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
                    $z\in X$ by \cref{subseteq}.
                    Hence $z\in\closure{s(n + 1)}{X}{T}$ by \cref{dense_in,real_lt_subst_right}.
                    Therefore $W$ intersects $s(n + 1)$ by \cref{closure_iff_intersects_open}.
                    Take $y$ such that $y\in W\inter s(n + 1)$ by \cref{intersects,nonempty_inhabited}.
                    $y\in X$ by \cref{inter_elim_left,subseteq}.
                    $(1 / (n + 1)) / (1 + 1)\in\reals$ and $0 < (1 / (n + 1)) / (1 + 1)$
                        by \cref{real_naturals_closed_succ,half_reciprocal_naturalsplus_real_positive}.
                    Let $C = s(n + 1)\inter\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$.
                    $\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$ is open in $X$ with respect to $T$
                        by \cref{metric_ball,subseteq,powerset_intro,metric_basis,metric_on,metric_basis_is_basis,basis_elem_open_in_generated,metric_topology,basis_for_topology,open_in}.
                    $y\in\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$
                        by \cref{metric_on,metric_zero_characterization,metric_ball,real_lt_subst_left}.
                    $C$ is open in $X$ with respect to $T$ and $y\in C$
                        by \cref{inter,open_in,topology_on,neighborhood,metric_ball}.
                    Let $B = W\inter C$.
                    $B$ is open in $X$ with respect to $T$ and $y\in B$
                        by \cref{inter,open_in,topology_on,neighborhood}.
                    Take $V$ such that
                        $V$ is a neighborhood of $y$ in $X$ with respect to $T$ and
                        $\closure{V}{X}{T}\subseteq B$
                        by \cref{inter,open_in,topology_on,neighborhood,regular_closure_neighborhood}.
                    $V$ is open in $X$ with respect to $T$ and $y\in V$ by \cref{neighborhood}.
                    Let $q = (n + 1,V)$.
                    $B\subseteq C$ by \cref{inter_lower_right}.
                    $C\subseteq s(n + 1)$ and $C\subseteq\metricBall{d}{X}{y}{(1 / (n + 1)) / (1 + 1)}$
                        by \cref{inter_lower_left,inter_lower_right}.
                    $\closure{V}{X}{T}\subseteq s(n + 1)$ by \cref{subseteq_transitive}.
                    Thus $\closure{V}{X}{T}$ is stage-small at $n + 1$ in $X$ with respect to $d$
                        by \cref{real_naturals_closed_succ,subseteq,metric_stage_small_set}.
                    $q\in A$ by
                        \cref{real_naturals_closed_succ,subseteq,neighborhood,open_in,topology_on,emptyset,pow_iff,powerset_intro,fst_eq,snd_eq,times_tuple_intro,pair_eq_iff,inter_lower_right,subseteq_transitive,metric_stage_small_set}.
                    $\closure{\snd{q}}{X}{T}\subseteq \snd{p}$ by \cref{fst_eq,snd_eq,inter_lower_left,subseteq_transitive}.
                    Hence $p\mathrel{R} q$ by \cref{fst_eq,snd_eq,times_tuple_intro,relation}.
                    Follows by definition.
                \end{subproof}
                Take $c$ such that $c$ is a function on $A$ and for all $p\in A$ we have $p\mathrel{R}\apply{c}{p}$
                    by \cref{axiom_of_choice}.
                We have $c\in\funs{A}{A}$ by \cref{axiom_of_choice,relation,times_tuple_elim,funs_intro}.
                Take $u$ such that
                    $u$ is a sequence in $A$ 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 $P = \{n\in\naturalsPlus \mid \fst{u(n)} = n\}$.
                $P\subseteq\naturalsPlus$ by \cref{subseteq}.
                $1\in P$ by \cref{fst_eq,real_one_in_naturals}.
                For all $n\in P$ we have $n + 1\in P$ by \cref{subseteq,sequence_in,funs_type_apply,axiom_of_choice,real_lt_subst_right,relation,fst_eq,snd_eq,real_naturals_closed_succ}.
                Therefore for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
                For all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$ by \cref{subseteq}.
                Let $h = \{(n,\closure{\snd{u(n)}}{X}{T}) \mid n\in\naturalsPlus\}$.
                $h$ is a function by \cref{pair_eq_iff,rightunique,relation}.
                For all $n\in\naturalsPlus$ we have $n\in\dom{h}$ by \cref{dom_intro,pair_eq_iff}.
                For all $n$ such that $n\in\dom{h}$ we have $n\in\naturalsPlus$ by \cref{dom_iff,pair_eq_iff}.
                We have $\dom{h} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
                For all $n$ such that $n\in\dom{h}$ we have $h(n)\in\pow{X}$
                    by \cref{subseteq,pair_eq_iff,function_apply_iff,real_lt_subst_right,closure,powerset_intro}.
                Therefore $h\in\funs{\naturalsPlus}{\pow{X}}$ by \cref{funs_intro}.
                $h$ is a sequence in $\pow{X}$ by \cref{sequence_in}.
                Show that for all $n\in\naturalsPlus$ we have
                    $h(n)$ is closed in $X$ with respect to $T$ and
                    $h(n)\neq\emptyset$.
                \begin{subproof}
                    Follows by \cref{sequence_in,funs_type_apply,subseteq,pair_eq_iff,function_apply_iff,nonempty_inhabited,times,snd_eq,powerset_elim,real_lt_subst_right,subseteq_closure,closure_closed_in,inhabited_nonempty}.
                \end{subproof}
                Show that for all $n\in\naturalsPlus$ we have $h(n + 1)\subseteq h(n)$.
                \begin{subproof}
                    Follows by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ,subseteq,axiom_of_choice,real_lt_subst_right,relation,fst_eq,snd_eq,times,powerset_elim,subseteq_closure,subseteq_transitive,function_apply_intro}.
                \end{subproof}
                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_1,y_1\in h(n)$ we have $d((x_1,y_1)) < \epsilon$.
                \begin{subproof}
                    Fix $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$.
                    Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < \epsilon$ by \cref{real_small_reciprocal}.
                    Show that for all $n\in\naturalsPlus$ if $N \leq n$ then
                        for all $x_1,y_1\in h(n)$ we have $d((x_1,y_1)) < \epsilon$.
                    \begin{subproof}
                        Fix $n\in\naturalsPlus$.
                        Assume $N \leq n$.
                        We have $u(n)\in A$ by \cref{sequence_in,funs_type_apply}.
                        $\closure{\snd{u(n)}}{X}{T}$ is stage-small at $n$ in $X$ with respect to $d$
                            by \cref{subseteq,real_lt_subst_right}.
                        $(n,\closure{\snd{u(n)}}{X}{T})\in h$ by \cref{pair_eq_iff}.
                        Hence $h(n) = \closure{\snd{u(n)}}{X}{T}$ by \cref{function_apply_iff}.
                        Take $a\in X$ such that $h(n)\subseteq\metricBall{d}{X}{a}{(1 / n) / (1 + 1)}$
                            by \cref{real_lt_subst_right,metric_stage_small_set}.
                        For all $x_1\in h(n)$ we have
                            for all $y_1\in h(n)$ we have $d((x_1,y_1)) < \epsilon$ by \cref{subseteq,sequence_in,funs_type_apply,powerset_elim,naturalsplus_reciprocal_real,positive_reciprocal_naturalsplus,metric_half_ball_pair_bound,naturalsplus_reciprocal_antitone,metric_on,times_tuple_intro,real_leq_split,real_lt_subst_right,real_lt_trans}.
                    \end{subproof}
                    Follows by definition.
                \end{subproof}
                Therefore $\inters{\img{h}{\naturalsPlus}}\neq\emptyset$
                    by \cref{nested_closed_sets_eventually_small_nonempty_intersection}.
                Take $p$ such that $p\in\inters{\img{h}{\naturalsPlus}}$ by \cref{nonempty_inhabited}.
                $p\in U$ by \cref{sequence_in,function_apply_elim,img_iff,real_one_in_naturals,inters_destr,function_apply_intro,subseteq,snd_eq,real_lt_subst_left,real_lt_subst_right,inter}.
                Show that for all $A_1$ such that $A_1\in\img{s}{\naturalsPlus}$ we have
                    $p\in A_1$.
                \begin{subproof}
                    Follows by \cref{img_iff,sequence_in,funs_is_function,function_apply_iff,function_apply_elim,inters_destr,funs_type_apply,subseteq,function_apply_intro,real_lt_subst_right,real_lt_subst_left}.
                \end{subproof}
                Hence $p\in\inters{\img{s}{\naturalsPlus}}$ by
                    \cref{sequence_in,funs,funs_is_function,function_apply_iff,img_iff,real_one_in_naturals,inters_intro}.
                $p\in U\inter\inters{\img{s}{\naturalsPlus}}$ by \cref{inter_intro}.
                Therefore $U$ intersects $\inters{\img{s}{\naturalsPlus}}$ by \cref{emptyset,intersects,inter}.
            \end{subproof}
            Thus $x\in\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by \cref{closure_iff_intersects_open}.
        \end{subproof}
        $X\subseteq\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T}$ by \cref{subseteq}.
        Hence $\closure{\inters{\img{s}{\naturalsPlus}}}{X}{T} = X$ by \cref{closure,subseteq,subseteq_antisymmetric}.
        $\inters{\img{s}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ by \cref{dense_in}.
    \end{subproof}
    Therefore $X$ is a Baire space with respect to $T$ by \cref{baire_space_open_set_characterization}.
\end{proof}
Lemma 933
nested_closed_sets_shrinking_diameters_nonempty_intersection

Assume $d$ is a metric on $X$.
Assume $X$ is complete with respect to $d$.
Assume $s$ is a sequence in $\pow{X}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is closed in $X$ with respect to $\metricTopology{d}{X}$ and $s(n)\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n+1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} s(n)$.
Suppose 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 there exists $r$ such that $r$ is a diameter of $s(n)$ in $X$ with respect to $d$ and $r < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Then $\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

LaTeX source
\begin{lemma}
\label{nested_closed_sets_shrinking_diameters_nonempty_intersection}
    Assume $d$ is a metric on $X$.
    Assume $X$ is complete with respect to $d$.
    Assume $s$ is a sequence in $\pow{X}$.
    Suppose for all $n\in\naturalsPlus$ we have
        $s(n)$ is closed in $X$ with respect to $\metricTopology{d}{X}$ and
        $s(n)\neq\emptyset$.
    Suppose for all $n\in\naturalsPlus$ we have
        $s(n+1)\subseteq s(n)$.
    Suppose 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
                there exists $r$ such that
                    $r$ is a diameter of $s(n)$ in $X$ with respect to $d$ and
                    $r < \epsilon$.
    Then $\inters{\img{s}{\naturalsPlus}}\neq\emptyset$.
\end{lemma}
Proof
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,y\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\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}$.
Take $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 there exists $r$ such that $r$ is a diameter of $s(n)$ in $X$ with respect to $d$ and $r < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 1.

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,y\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ we have $d((x,y)) < \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$.
Take $r$ such that $r$ is a diameter of $s(n)$ in $X$ with respect to $d$ and $r < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 1.

Claim: For all $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $x$.
Fix $y$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$.
We have $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 66, Definition 71, Definition 189.
$s(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 158, Proposition 156, Proposition 361.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$d((x,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
$d((x,y)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$ by Lemma 81, Lemma 928.
Hence $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36, Lemma 82.

Follows by definition.

Therefore $\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Lemma 932.

LaTeX source
\begin{proof}
    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,y\in s(n)$ we have $d((x,y)) < \epsilon$.
    \begin{subproof}
        Fix $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$.
        Take $N\in\naturalsPlus$ such that
            for all $n\in\naturalsPlus$ if $N \leq n$ then
                there exists $r$ such that
                    $r$ is a diameter of $s(n)$ in $X$ with respect to $d$ and
                    $r < \epsilon$ by \cref{subseteq}.
        Show that for all $n\in\naturalsPlus$ if $N \leq n$ then
            for all $x,y\in s(n)$ we have $d((x,y)) < \epsilon$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            Assume $N \leq n$.
            Take $r$ such that
                $r$ is a diameter of $s(n)$ in $X$ with respect to $d$ and
                $r < \epsilon$ by \cref{subseteq}.
            Show that for all $x,y$ such that $x\in s(n)$ and $y\in s(n)$ we have
                $d((x,y)) < \epsilon$.
            \begin{subproof}
                Fix $x$.
                Fix $y$.
                Assume $x\in s(n)$ and $y\in s(n)$.
                We have $r\in\reals$ by \cref{metric_diameter,real_supremum,real_upper_bound}.
                $s(n)\subseteq X$ by \cref{sequence_in,funs_type_apply,powerset_elim}.
                $x\in X$ and $y\in X$ by \cref{subseteq}.
                $d((x,y))\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
                $d((x,y)) \leq r$ by \cref{metric_diameter_bound,real_leq_split}.
                Hence $d((x,y)) < \epsilon$ by \cref{real_lt_trans,real_lt_subst_left}.
            \end{subproof}
        \end{subproof}
        Follows by definition.
    \end{subproof}
    Therefore $\inters{\img{s}{\naturalsPlus}}\neq\emptyset$
        by \cref{nested_closed_sets_eventually_small_nonempty_intersection}.
\end{proof}
Lemma 934
open_subspace_of_baire_space

Assume $X$ is a Baire space with respect to $T$.
Assume $Y$ is open in $X$ with respect to $T$.
Then $Y$ is a Baire space with respect to $\subspaceTopology{T}{Y}$.

LaTeX source
\begin{lemma}
\label{open_subspace_of_baire_space}
    Assume $X$ is a Baire space with respect to $T$.
    Assume $Y$ is open in $X$ with respect to $T$.
    Then $Y$ is a Baire space with respect to $\subspaceTopology{T}{Y}$.
\end{lemma}
Proof

Let $T_Y = \subspaceTopology{T}{Y}$.
We have $T$ is a topology on $X$ by Definition 383.
$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$T_Y$ is a topology on $Y$ by Definition 147, Lemma 131.

Claim: For all $s$ if $s$ is a sequence in $\pow{Y}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $Y$ with respect to $T_Y$ and $s(n)$ is dense in $Y$ with respect to $T_Y$ then $\inters{\img{s}{\naturalsPlus}}$ is dense in $Y$ with respect to $T_Y$.

Fix $s$ such that $s$ is a sequence in $\pow{Y}$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is open in $Y$ with respect to $T_Y$ and $s(n)$ is dense in $Y$ with respect to $T_Y$.
Let $t = \{(n, s(n)\union(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\closure{Y}{X}{T})) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
We have $t$ is a function by Axiom 6, Definition 12, Definition 51.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ by Axiom 6, Proposition 200.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Proposition 199.
$\dom{t} = \naturalsPlus$ by Definition 1, Proposition 3.
Hence $t$ is a sequence in $\pow{X}$ by Axiom 6, Definition 158, Definition 158, Lemma 82, Proposition 6, Proposition 44, Proposition 97, Proposition 155, Proposition 156, Proposition 199, Proposition 346, Proposition 358, Proposition 359.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n)$ is open in $X$ with respect to $T$ and $t(n)$ is dense in $X$ with respect to $T$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
We have $s(n)$ is open in $Y$ with respect to $T_Y$ and $s(n)$ is dense in $Y$ with respect to $T_Y$ by Definition 1.
$s(n)$ is open in $X$ with respect to $T$ by Definition 147, Lemma 133.
$X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\closure{Y}{X}{T}$ is open in $X$ with respect to $T$ by Definition 149, Lemma 144.
$(n, s(n)\union(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\closure{Y}{X}{T}))\class{latex-symbol-tip latex-symbol-id-in}{\in} t$ by Axiom 6.
$t(n) = s(n)\union(X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\closure{Y}{X}{T})$ by Definition 158, Proposition 346, Proposition 359.
Let $M = \{s(n), X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\closure{Y}{X}{T}\}$.

Claim: $t(n)$ is open in $X$ with respect to $T$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{t(n)}{X}{T}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $U$ intersects $t(n)$.

Fix $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.

Case. $U$ intersects $Y$.

Take $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter Y$ by Definition 152, Proposition 10.
$U\inter Y$ is open in $Y$ with respect to $T_Y$ by Definition 103, Definition 146, Proposition 65 [Commutativity of intersection].
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 5.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{s(n)}{Y}{T_Y}$ by Definition 272, Lemma 82.
$U\inter Y$ intersects $s(n)$ by Definition 158, Proposition 156, Proposition 359, Theorem 11.
Take $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} (U\inter Y)\inter s(n)$ by Definition 152, Proposition 10.
$w\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in} s(n)$ by Definition 5.
$w\class{latex-symbol-tip latex-symbol-id-in}{\in} t(n)$ by Axiom 5, Lemma 83.
$w\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter t(n)$ by Proposition 61.
Therefore $U$ intersects $t(n)$ by Axiom 2, Definition 5, Definition 152.

Case. $U$ does not intersect $Y$.

$x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\closure{Y}{X}{T}$ by Theorem 11.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\closure{Y}{X}{T}$ by Proposition 85.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} t(n)$ by Axiom 5, Lemma 83.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter t(n)$ by Proposition 61.
Hence $U$ intersects $t(n)$ by Axiom 2, Definition 5, Definition 152.

LaTeX source
\begin{byCase}
                    \caseOf{$U$ intersects $Y$.}
                        Take $z$ such that $z\in U\inter Y$ by \cref{intersects,nonempty_inhabited}.
                        $U\inter Y$ is open in $Y$ with respect to $T_Y$
                            by \cref{open_in,subspace_topology,inter_comm}.
                        $z\in Y$ by \cref{inter}.
                        Hence $z\in\closure{s(n)}{Y}{T_Y}$ by \cref{dense_in,real_lt_subst_left}.
                        $U\inter Y$ intersects $s(n)$ by \cref{sequence_in,funs_elim,powerset_elim,closure_iff_intersects_open}.
                        Take $w$ such that $w\in (U\inter Y)\inter s(n)$ by \cref{intersects,nonempty_inhabited}.
                        $w\in U$ and $w\in s(n)$ by \cref{inter}.
                        $w\in t(n)$ by \cref{real_lt_subst_right,union_iff}.
                        $w\in U\inter t(n)$ by \cref{inter_intro}.
                        Therefore $U$ intersects $t(n)$ by \cref{emptyset,intersects,inter}.
                    \caseOf{$U$ does not intersect $Y$.}
                        $x\notin\closure{Y}{X}{T}$ by \cref{closure_iff_intersects_open}.
                        $x\in X\setminus\closure{Y}{X}{T}$ by \cref{setminus_intro}.
                        $x\in t(n)$ by \cref{real_lt_subst_right,union_iff}.
                        $x\in U\inter t(n)$ by \cref{inter_intro}.
                        Hence $U$ intersects $t(n)$ by \cref{emptyset,intersects,inter}.
                    
\end{byCase}

Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{t(n)}{X}{T}$ by Definition 158, Proposition 156, Proposition 359, Theorem 11.

$X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{t(n)}{X}{T}$ by Definition 1.
Therefore $\closure{t(n)}{X}{T} = X$ by Definition 1, Definition 151, Proposition 3.
$t(n)$ is dense in $X$ with respect to $T$ by Definition 272.

Hence $\inters{\img{t}{\naturalsPlus}}$ is dense in $X$ with respect to $T$ by Definition 383, Lemma 921.
$\img{s}{\naturalsPlus}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{Y}$ by Definition 158, Proposition 6, Proposition 237, Proposition 363.
$\inters{\img{s}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1, Definition 4, Proposition 4, Proposition 159.

Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y}$.

Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$.

Claim: For all $W$ such that $W$ is open in $Y$ with respect to $T_Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ we have $W$ intersects $\inters{\img{s}{\naturalsPlus}}$.

Fix $W$ such that $W$ is open in $Y$ with respect to $T_Y$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
$\img{t}{\naturalsPlus}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{X}$ by Definition 158, Proposition 6, Proposition 237, Proposition 363.
$\inters{\img{t}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 4, Proposition 4, Proposition 159.
We have $W$ is open in $X$ with respect to $T$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 147, Lemma 133.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\inters{\img{t}{\naturalsPlus}}}{X}{T}$ by Definition 272, Lemma 82.
Therefore $W$ intersects $\inters{\img{t}{\naturalsPlus}}$ by Theorem 11.
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter\inters{\img{t}{\naturalsPlus}}$ by Definition 152, Proposition 10.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{t}{\naturalsPlus}}$ by Definition 5.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Axiom 12, Definition 1, Definition 5, Definition 101, Definition 103.

Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{\naturalsPlus}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{s}{\naturalsPlus}}$ by Axiom 42, Definition 55, Definition 158, Proposition 31, Proposition 235, Proposition 349, Proposition 356.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter\inters{\img{s}{\naturalsPlus}}$ by Proposition 61.
Therefore $W$ intersects $\inters{\img{s}{\naturalsPlus}}$ by Axiom 2, Definition 5, Definition 152.

Thus $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y}$ by Theorem 11.

$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y}$ by Definition 1.
Hence $\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y} = Y$ by Definition 1, Definition 151, Proposition 3.
$\inters{\img{s}{\naturalsPlus}}$ is dense in $Y$ with respect to $T_Y$ by Definition 272.

Therefore $Y$ is a Baire space with respect to $T_Y$ by Lemma 921.

LaTeX source
\begin{proof}
    Let $T_Y = \subspaceTopology{T}{Y}$.
    We have $T$ is a topology on $X$ by \cref{baire_space}.
    $Y\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
    $T_Y$ is a topology on $Y$ by \cref{subspace_topology_is_topology,subspace_of}.
    Show that for all $s$ if
        $s$ is a sequence in $\pow{Y}$ and
        for all $n\in\naturalsPlus$ we have
            $s(n)$ is open in $Y$ with respect to $T_Y$ and
            $s(n)$ is dense in $Y$ with respect to $T_Y$
    then $\inters{\img{s}{\naturalsPlus}}$ is dense in $Y$ with respect to $T_Y$.
    \begin{subproof}
        Fix $s$ such that
            $s$ is a sequence in $\pow{Y}$ and
            for all $n\in\naturalsPlus$ we have
                $s(n)$ is open in $Y$ with respect to $T_Y$ and
                $s(n)$ is dense in $Y$ with respect to $T_Y$.
        Let $t = \{(n, s(n)\union(X\setminus\closure{Y}{X}{T})) \mid n\in\naturalsPlus\}$.
        We have $t$ is a function by \cref{pair_eq_iff,rightunique,relation}.
        For all $n$ such that $n\in\naturalsPlus$ we have $n\in\dom{t}$
            by \cref{pair_eq_iff,dom_intro}.
        For all $n$ such that $n\in\dom{t}$ we have $n\in\naturalsPlus$
            by \cref{dom_iff,pair_eq_iff}.
        $\dom{t} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
    Hence $t$ is a sequence in $\pow{X}$
            by \cref{dom_iff,pair_eq_iff,sequence_in,funs_elim,powerset_elim,subseteq_transitive,setminus_subseteq,union_subsets_is_subset,function_apply_intro,real_lt_subst_left,powerset_intro,funs_intro,sequence_in}.
        Show that for all $n\in\naturalsPlus$ we have
            $t(n)$ is open in $X$ with respect to $T$ and
            $t(n)$ is dense in $X$ with respect to $T$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            We have $s(n)$ is open in $Y$ with respect to $T_Y$ and $s(n)$ is dense in $Y$ with respect to $T_Y$
                by \cref{subseteq}.
            $s(n)$ is open in $X$ with respect to $T$ by \cref{open_in_subspace_open_in_space,subspace_of}.
            $X\setminus\closure{Y}{X}{T}$ is open in $X$ with respect to $T$ by \cref{closure_closed_in,closed_in}.
            $(n, s(n)\union(X\setminus\closure{Y}{X}{T}))\in t$ by \cref{pair_eq_iff}.
            $t(n) = s(n)\union(X\setminus\closure{Y}{X}{T})$ by \cref{sequence_in,funs_elim,function_apply_intro}.
            Let $M = \{s(n), X\setminus\closure{Y}{X}{T}\}$.
            Show that $t(n)$ is open in $X$ with respect to $T$.
            \begin{subproof}
                Follows by \cref{upair_elim,open_in,subseteq,topology_on,real_lt_subst_left,union_as_unions,real_lt_subst_right}.
            \end{subproof}
            Show that for all $x\in X$ we have $x\in\closure{t(n)}{X}{T}$.
            \begin{subproof}
                Fix $x\in X$.
                Show that for all $U$ such that
                    $U$ is open in $X$ with respect to $T$ and
                    $x\in U$
                    we have $U$ intersects $t(n)$.
                \begin{subproof}
                    Fix $U$ such that
                        $U$ is open in $X$ with respect to $T$ and
                        $x\in U$.
                    \begin{byCase}
                    \caseOf{$U$ intersects $Y$.}
                        Take $z$ such that $z\in U\inter Y$ by \cref{intersects,nonempty_inhabited}.
                        $U\inter Y$ is open in $Y$ with respect to $T_Y$
                            by \cref{open_in,subspace_topology,inter_comm}.
                        $z\in Y$ by \cref{inter}.
                        Hence $z\in\closure{s(n)}{Y}{T_Y}$ by \cref{dense_in,real_lt_subst_left}.
                        $U\inter Y$ intersects $s(n)$ by \cref{sequence_in,funs_elim,powerset_elim,closure_iff_intersects_open}.
                        Take $w$ such that $w\in (U\inter Y)\inter s(n)$ by \cref{intersects,nonempty_inhabited}.
                        $w\in U$ and $w\in s(n)$ by \cref{inter}.
                        $w\in t(n)$ by \cref{real_lt_subst_right,union_iff}.
                        $w\in U\inter t(n)$ by \cref{inter_intro}.
                        Therefore $U$ intersects $t(n)$ by \cref{emptyset,intersects,inter}.
                    \caseOf{$U$ does not intersect $Y$.}
                        $x\notin\closure{Y}{X}{T}$ by \cref{closure_iff_intersects_open}.
                        $x\in X\setminus\closure{Y}{X}{T}$ by \cref{setminus_intro}.
                        $x\in t(n)$ by \cref{real_lt_subst_right,union_iff}.
                        $x\in U\inter t(n)$ by \cref{inter_intro}.
                        Hence $U$ intersects $t(n)$ by \cref{emptyset,intersects,inter}.
                    \end{byCase}
                \end{subproof}
                Hence $x\in\closure{t(n)}{X}{T}$ by \cref{sequence_in,funs_elim,powerset_elim,closure_iff_intersects_open}.
            \end{subproof}
            $X\subseteq\closure{t(n)}{X}{T}$ by \cref{subseteq}.
            Therefore $\closure{t(n)}{X}{T} = X$ by \cref{closure,subseteq,subseteq_antisymmetric}.
            $t(n)$ is dense in $X$ with respect to $T$ by \cref{dense_in}.
        \end{subproof}
        Hence $\inters{\img{t}{\naturalsPlus}}$ is dense in $X$ with respect to $T$
            by \cref{baire_space_open_set_characterization,baire_space}.
        $\img{s}{\naturalsPlus}\subseteq\pow{Y}$ by \cref{img_subseteq_ran,sequence_in,funs_ran,subseteq_transitive}.
        $\inters{\img{s}{\naturalsPlus}}\subseteq Y$ by
            \cref{unions_subseteq_of_powerset_is_subseteq,inters,elem_subseteq,subseteq}.
        Show that for all $y\in Y$ we have $y\in\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y}$.
        \begin{subproof}
            Fix $y\in Y$.
            Show that for all $W$ such that
                $W$ is open in $Y$ with respect to $T_Y$ and
                $y\in W$
                we have $W$ intersects $\inters{\img{s}{\naturalsPlus}}$.
            \begin{subproof}
                Fix $W$ such that
                    $W$ is open in $Y$ with respect to $T_Y$ and
                    $y\in W$.
                $\img{t}{\naturalsPlus}\subseteq\pow{X}$ by \cref{img_subseteq_ran,sequence_in,funs_ran,subseteq_transitive}.
                $\inters{\img{t}{\naturalsPlus}}\subseteq X$ by
                    \cref{unions_subseteq_of_powerset_is_subseteq,inters,elem_subseteq,subseteq}.
                We have $W$ is open in $X$ with respect to $T$ and $y\in X$ by \cref{open_in_subspace_open_in_space,subspace_of,subseteq}.
        $y\in\closure{\inters{\img{t}{\naturalsPlus}}}{X}{T}$ by \cref{dense_in,real_lt_subst_left}.
                Therefore $W$ intersects $\inters{\img{t}{\naturalsPlus}}$ by \cref{closure_iff_intersects_open}.
                Take $p$ such that $p\in W\inter\inters{\img{t}{\naturalsPlus}}$ by \cref{intersects,nonempty_inhabited}.
                $p\in W$ and $p\in\inters{\img{t}{\naturalsPlus}}$ by \cref{inter}.
                $p\in Y$ by \cref{open_in,topology_on,subseteq,pow_iff,inter}.
                Show that for all $A$ such that $A\in\img{s}{\naturalsPlus}$ we have $p\in A$.
                \begin{subproof}
                    Follows by \cref{img_iff,sequence_in,funs_is_function,function_apply_iff,pair_eq_iff,funs_elim,function_apply_intro,function_apply_elim,inters_destr,subseteq_closure,not_in_subseteq,setminus_elim_right,union_iff,real_lt_subst_left}.
                \end{subproof}
                Hence $p\in\inters{\img{s}{\naturalsPlus}}$ by
                    \cref{sequence_in,funs,funs_is_function,function_apply_iff,img_iff,real_one_in_naturals,inters_intro}.
                $p\in W\inter\inters{\img{s}{\naturalsPlus}}$ by \cref{inter_intro}.
                Therefore $W$ intersects $\inters{\img{s}{\naturalsPlus}}$ by \cref{emptyset,intersects,inter}.
            \end{subproof}
            Thus $y\in\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y}$ by \cref{closure_iff_intersects_open}.
        \end{subproof}
        $Y\subseteq\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y}$ by \cref{subseteq}.
        Hence $\closure{\inters{\img{s}{\naturalsPlus}}}{Y}{T_Y} = Y$ by \cref{closure,subseteq,subseteq_antisymmetric}.
        $\inters{\img{s}{\naturalsPlus}}$ is dense in $Y$ with respect to $T_Y$ by \cref{dense_in}.
    \end{subproof}
    Therefore $Y$ is a Baire space with respect to $T_Y$ by \cref{baire_space_open_set_characterization}.
\end{proof}
Definition 385
function_sequence_cauchy_stage_set

$A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ iff $s$ is a sequence in $\funs{X}{Y}$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $d$ is a metric on $Y$ and $A = \{x\class{latex-symbol-tip latex-symbol-id-in}{\in} X \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. (N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n \class{latex-symbol-tip latex-symbol-id-land}{\land} N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m) \class{latex-symbol-tip latex-symbol-id-implies}{\implies} d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k\}$.

LaTeX source
\begin{definition}
\label{function_sequence_cauchy_stage_set}
    $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ iff
        $s$ is a sequence in $\funs{X}{Y}$ and
        $k\in\naturalsPlus$ and
        $N\in\naturalsPlus$ and
        $d$ is a metric on $Y$ and
        $A = \{x\in X \mid \forall n,m\in\naturalsPlus. (N \leq n \land N \leq m) \implies
            d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \leq 1 / k\}$.
\end{definition}
Lemma 935
metric_reverse_triangle_two_pairs

Assume $d$ is a metric on $X$.
Assume $x_0,x_1,y_0,y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $\apply{\standardMetricR}{(d((x_0,y_0)),d((x_1,y_1)))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + d((y_0,y_1))$.

LaTeX source
\begin{lemma}
\label{metric_reverse_triangle_two_pairs}
    Assume $d$ is a metric on $X$.
    Assume $x_0,x_1,y_0,y_1\in X$.
    Then $\apply{\standardMetricR}{(d((x_0,y_0)),d((x_1,y_1)))} \leq d((x_0,x_1)) + d((y_0,y_1))$.
\end{lemma}
Proof

Let $a = d((x_0,x_1))$.
Let $b = d((y_0,y_1))$.
Let $s = a + b$.
Let $u = d((x_0,y_0))$.
Let $v = d((x_1,y_1))$.
$(x_0,x_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and $(y_0,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and $(x_0,y_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and $(x_1,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Proposition 115.
We have $(x_1,y_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and $(x_0,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Proposition 115.
$d\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X\class{latex-symbol-tip latex-symbol-id-times}{\times} X}{\reals}$ by Definition 179.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
$d((x_1,y_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_0,y_1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$d((x_0,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + d((x_1,y_0))$ by Definition 178, Definition 179.
$u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + d((x_1,y_0))$.
$d((y_1,y_0)) = d((y_0,y_1))$ by Definition 177, Definition 179.
Hence $d((x_1,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_1,y_1)) + b$ by Definition 178, Definition 179.
$d((x_1,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} v + b$.
$v + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$d((x_1,y_0)) + a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (v + b) + a$ by Lemma 24.
$d((x_1,y_0)) + a = a + d((x_1,y_0))$ and $(v + b) + a = a + (v + b)$ by Axiom 16.
$a + d((x_1,y_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + (v + b)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$a + d((x_1,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + (v + b)$ by Lemma 23.
Thus $u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + (v + b)$ by Lemma 23.
$a + (v + b) = (a + b) + v$ by Axiom 15, Axiom 16.
$a + (v + b) = s + v$ by Lemma 82.
$s + v\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{v}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18.
$u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} s + v$ by Lemma 23.
$u + \neg{v} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (s + v) + \neg{v}$ by Axiom 13, Axiom 18, Lemma 24.
Hence $u - v \class{latex-symbol-tip latex-symbol-id-leq}{\leq} s$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 23, Lemma 83.

$d((x_1,y_1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_1,x_0)) + d((x_0,y_1))$ by Definition 178, Definition 179.
$d((x_1,x_0)) = d((x_0,x_1))$ by Definition 177, Definition 179.
$v \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + d((x_0,y_1))$.
$d((x_0,y_1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,y_0)) + d((y_0,y_1))$ by Definition 178, Definition 179.
Thus $d((x_0,y_1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u + b$.
$u + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$d((x_0,y_1)) + a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (u + b) + a$ by Lemma 24.
$d((x_0,y_1)) + a = a + d((x_0,y_1))$ and $(u + b) + a = a + (u + b)$ by Axiom 16.
$a + d((x_0,y_1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + (u + b)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$a + d((x_0,y_1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + (u + b)$ by Lemma 23.
Hence $v \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + (u + b)$ by Lemma 23.
$a + (u + b) = (a + b) + u$ by Axiom 15, Axiom 16.
$a + (u + b) = s + u$ by Lemma 82.
$s + u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{u}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18.
$v \class{latex-symbol-tip latex-symbol-id-leq}{\leq} s + u$ by Lemma 23.
$v + \neg{u} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (s + u) + \neg{u}$ by Axiom 13, Axiom 18, Lemma 24.
Thus $v - u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} s$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 23, Lemma 83.

$u + \neg{v}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $v + \neg{u}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$u - v = u + \neg{v}$ and $v - u = v + \neg{u}$ by Definition 64.
$u - v\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $v - u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 82.
$v - u = \neg{(u - v)}$ by Lemma 14.
Therefore $\abs{(u - v)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} s$ by Proposition 484.
Let $p = (u,v)$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals\class{latex-symbol-tip latex-symbol-id-times}{\times}\reals$ by Proposition 115.
$\fst{p} = u$ and $\snd{p} = v$ by Axiom 10, Axiom 11.
$\abs{(u - v)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 34.
$\abs{(\fst{p} - \snd{p})} = \abs{(u - v)}$.
$(p,\abs{(u - v)})\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardMetricR$ by Definition 184.
Hence $\apply{\standardMetricR}{(u,v)} = \abs{(u - v)}$ by Definition 179, Lemma 198, Proposition 346, Proposition 359.
Thus $\apply{\standardMetricR}{(u,v)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + b$ by Lemma 83.
Therefore $\apply{\standardMetricR}{(d((x_0,y_0)),d((x_1,y_1)))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + d((y_0,y_1))$ by Lemma 82, Lemma 83.

LaTeX source
\begin{proof}
    Let $a = d((x_0,x_1))$.
    Let $b = d((y_0,y_1))$.
    Let $s = a + b$.
    Let $u = d((x_0,y_0))$.
    Let $v = d((x_1,y_1))$.
    $(x_0,x_1)\in X\times X$ and $(y_0,y_1)\in X\times X$ and
        $(x_0,y_0)\in X\times X$ and $(x_1,y_1)\in X\times X$
        by \cref{times_tuple_intro}.
    We have $(x_1,y_0)\in X\times X$ and $(x_0,y_1)\in X\times X$ by \cref{times_tuple_intro}.
    $d\in\funs{X\times X}{\reals}$ by \cref{metric_on}.
    $a\in\reals$ and $b\in\reals$ and $u\in\reals$ and $v\in\reals$ by \cref{funs_type_apply}.
    $d((x_1,y_0))\in\reals$ and $d((x_0,y_1))\in\reals$ by \cref{funs_type_apply}.
    $s\in\reals$ by \cref{real_add_closed}.
    $d((x_0,y_0)) \leq d((x_0,x_1)) + d((x_1,y_0))$ by \cref{metric_on,metric_triangle_inequality}.
    $u \leq a + d((x_1,y_0))$.
    $d((y_1,y_0)) = d((y_0,y_1))$ by \cref{metric_on,metric_symmetric}.
    Hence $d((x_1,y_0)) \leq d((x_1,y_1)) + b$ by \cref{metric_on,metric_triangle_inequality}.
    $d((x_1,y_0)) \leq v + b$.
    $v + b\in\reals$ by \cref{real_add_closed}.
    $d((x_1,y_0)) + a \leq (v + b) + a$ by \cref{real_leq_add}.
    $d((x_1,y_0)) + a = a + d((x_1,y_0))$ and $(v + b) + a = a + (v + b)$
        by \cref{real_add_comm}.
    $a + d((x_1,y_0))\in\reals$ and $a + (v + b)\in\reals$ by \cref{real_add_closed}.
    $a + d((x_1,y_0)) \leq a + (v + b)$ by \cref{real_leq_trans}.
    Thus $u \leq a + (v + b)$ by \cref{real_leq_trans}.
    $a + (v + b) = (a + b) + v$ by \cref{real_add_assoc,real_add_comm}.
    $a + (v + b) = s + v$ by \cref{real_lt_subst_left}.
    $s + v\in\reals$ and $\neg{v}\in\reals$ by \cref{real_add_closed,real_add_inverse}.
    $u \leq s + v$ by \cref{real_leq_trans}.
    $u + \neg{v} \leq (s + v) + \neg{v}$ by \cref{real_add_inverse,real_add_closed,real_leq_add}.
    Hence $u - v \leq s$ by \cref{real_add_assoc,real_add_inverse,real_lt_subst_right,real_add_ident,real_add_comm,real_sub,real_leq_trans}.

    $d((x_1,y_1)) \leq d((x_1,x_0)) + d((x_0,y_1))$ by \cref{metric_on,metric_triangle_inequality}.
    $d((x_1,x_0)) = d((x_0,x_1))$ by \cref{metric_on,metric_symmetric}.
    $v \leq a + d((x_0,y_1))$.
    $d((x_0,y_1)) \leq d((x_0,y_0)) + d((y_0,y_1))$ by \cref{metric_on,metric_triangle_inequality}.
    Thus $d((x_0,y_1)) \leq u + b$.
    $u + b\in\reals$ by \cref{real_add_closed}.
    $d((x_0,y_1)) + a \leq (u + b) + a$ by \cref{real_leq_add}.
    $d((x_0,y_1)) + a = a + d((x_0,y_1))$ and $(u + b) + a = a + (u + b)$
        by \cref{real_add_comm}.
    $a + d((x_0,y_1))\in\reals$ and $a + (u + b)\in\reals$ by \cref{real_add_closed}.
    $a + d((x_0,y_1)) \leq a + (u + b)$ by \cref{real_leq_trans}.
    Hence $v \leq a + (u + b)$ by \cref{real_leq_trans}.
    $a + (u + b) = (a + b) + u$ by \cref{real_add_assoc,real_add_comm}.
    $a + (u + b) = s + u$ by \cref{real_lt_subst_left}.
    $s + u\in\reals$ and $\neg{u}\in\reals$ by \cref{real_add_closed,real_add_inverse}.
    $v \leq s + u$ by \cref{real_leq_trans}.
    $v + \neg{u} \leq (s + u) + \neg{u}$ by \cref{real_add_inverse,real_add_closed,real_leq_add}.
    Thus $v - u \leq s$ by \cref{real_add_assoc,real_add_inverse,real_lt_subst_right,real_add_ident,real_add_comm,real_sub,real_leq_trans}.

    $u + \neg{v}\in\reals$ and $v + \neg{u}\in\reals$ by \cref{real_add_closed}.
    $u - v = u + \neg{v}$ and $v - u = v + \neg{u}$ by \cref{real_sub}.
    $u - v\in\reals$ and $v - u\in\reals$ by \cref{real_lt_subst_left}.
    $v - u = \neg{(u - v)}$ by \cref{real_sub_swap_neg}.
    Therefore $\abs{(u - v)} \leq s$ by \cref{real_abs_leq_if_pm_leq}.
    Let $p = (u,v)$.
    $p\in\reals\times\reals$ by \cref{times_tuple_intro}.
    $\fst{p} = u$ and $\snd{p} = v$ by \cref{fst_eq,snd_eq}.
    $\abs{(u - v)}\in\reals$ by \cref{real_abs_in_reals}.
    $\abs{(\fst{p} - \snd{p})} = \abs{(u - v)}$.
    $(p,\abs{(u - v)})\in\standardMetricR$ by \cref{standard_metric_r}.
    Hence $\apply{\standardMetricR}{(u,v)} = \abs{(u - v)}$
        by \cref{standard_metric_is_metric,metric_on,funs_elim,function_apply_intro}.
    Thus $\apply{\standardMetricR}{(u,v)} \leq a + b$ by \cref{real_lt_subst_right}.
    Therefore $\apply{\standardMetricR}{(d((x_0,y_0)),d((x_1,y_1)))} \leq d((x_0,x_1)) + d((y_0,y_1))$
        by \cref{real_lt_subst_left,real_lt_subst_right}.
\end{proof}
Lemma 936
continuous_maps_pointwise_distance

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Assume $g$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Let $h = \{(x, d((f(x),g(x)))) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Then $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.

LaTeX source
\begin{lemma}
\label{continuous_maps_pointwise_distance}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Assume $f$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Assume $g$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Let $h = \{(x, d((f(x),g(x)))) \mid x\in X\}$.
    Then $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
\end{lemma}
Proof

Let $U = \metricTopology{d}{Y}$.
$f$ is a function and $g$ is a function by Definition 160, Proposition 356.
Hence $h$ is a function by Axiom 6, 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} X$ and $z = d((f(x),g(x)))$ by Axiom 6.
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 Axiom 6, Definition 160, Definition 179, Lemma 82, Lemma 83, Proposition 115, Proposition 199, Proposition 346, Proposition 356, Proposition 361.
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} X$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(x,d((f(x),g(x))))\class{latex-symbol-tip latex-symbol-id-in}{\in} h$.
Therefore $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Definition 1, Proposition 3, Proposition 200, Proposition 358.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
$f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $U$ and $g$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $U$ by Lemma 161.

Claim: For all $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ there exists $W$ such that $W$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $\img{h}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.

Fix $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Let $T_R = \metricTopology{\standardMetricR}{\reals}$.
We have $\standardMetricR$ is a metric on $\reals$ by Lemma 198.
$V$ is open in $\reals$ with respect to $T_R$ by Lemma 83, Lemma 198, Lemma 200.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 115, Definition 182, Lemma 76, Lemma 194.
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{\standardMetricR}{\reals}{h(x)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}} \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1, Lemma 195.
Let $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0 = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} / (1 + 1)$.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0 + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0 = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 275.
Let $B_f = \metricBall{d}{Y}{f(x)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0}$.
Let $B_g = \metricBall{d}{Y}{g(x)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0}$.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 160, Proposition 361.
$B_f$ is open in $Y$ with respect to $U$ and $B_g$ is open in $Y$ with respect to $U$ by Definition 1, Definition 103, Definition 115, Definition 180, Definition 181, Definition 182, Lemma 76, Lemma 77, Lemma 194, Proposition 155.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} B_f$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} B_g$ by Definition 160, Definition 176, Definition 179, Definition 180, Lemma 82, Proposition 361.
Hence $B_f$ is a neighborhood of $f(x)$ in $Y$ with respect to $U$ and $B_g$ is a neighborhood of $g(x)$ in $Y$ with respect to $U$ by Definition 153.
Take $U_f$ such that $U_f$ is a neighborhood of $x$ in $X$ with respect to $T$ and $\img{f}{U_f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B_f$ by Definition 161.
Take $U_g$ such that $U_g$ is a neighborhood of $x$ in $X$ with respect to $T$ and $\img{g}{U_g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B_g$ by Definition 161.
$U_f$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_f$ and $U_g$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_g$ by Definition 153.
Let $W = U_f\inter U_g$.
$W$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Definition 101, Definition 103, Proposition 61.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{h}{W}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.

Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{h}{W}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}\inter W$ such that $z = h(y)$ by Proposition 365.
We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U_f$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U_g$ by Definition 5, Definition 55.
Therefore $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} B_f$ and $g(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} B_g$ by Definition 1, Definition 55, Definition 160, Proposition 61, Proposition 364.
$d((f(x),f(y))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0$ and $d((g(x),g(y))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0$ by Definition 180.
$h(x) = d((f(x),g(x)))$ and $h(y) = d((f(y),g(y)))$ by Proposition 346, Proposition 356.
Hence $\apply{\standardMetricR}{(h(x),h(y))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((f(x),f(y))) + d((g(x),g(y)))$ by Definition 160, Lemma 935, Proposition 361.
$(f(x),f(y))\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ and $(g(x),g(y))\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 160, Proposition 115, Proposition 361.
$d((f(x),f(y)))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((g(x),g(y)))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $h(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 361.
$\apply{\standardMetricR}{(h(x),h(y))}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((f(x),f(y))) + d((g(x),g(y)))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0 + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 179, Lemma 198, Proposition 115, Proposition 361.
$\apply{\standardMetricR}{(h(x),h(y))} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0 + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}_0$ by Axiom 36, Lemma 81, Lemma 82, Proposition 450.
Therefore $\apply{\standardMetricR}{(h(x),h(y))} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 83.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{\standardMetricR}{\reals}{h(x)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 180, Lemma 82, Proposition 361.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.

$\img{h}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1.
There exists $U_0$ such that $U_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ and $\img{h}{U_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.

Hence $h$ is continuous at $x$ from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Definition 118, Lemma 76, Lemma 93, Lemma 469.

We have $\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
Therefore $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 162.

LaTeX source
\begin{proof}
    Let $U = \metricTopology{d}{Y}$.
    $f$ is a function and $g$ is a function by \cref{continuous,funs_is_function}.
    Hence $h$ is a function by \cref{pair_eq_iff,rightunique,relation}.
    For all $x,z$ such that $x\in\dom{h}$ and $(x,z)\in h$ we have $x\in X$ and $z = d((f(x),g(x)))$
        by \cref{pair_eq_iff}.
    For all $x\in\dom{h}$ we have $h(x)\in\reals$
        by \cref{dom_iff,pair_eq_iff,continuous,funs_type_apply,times_tuple_intro,metric_on,funs_is_function,function_apply_intro,real_lt_subst_left,real_lt_subst_right}.
    For all $x\in\dom{h}$ we have $x\in X$ and for all $x\in X$ we have $(x,d((f(x),g(x))))\in h$.
    Therefore $h\in\funs{X}{\reals}$ by \cref{subseteq,dom_intro,subseteq_antisymmetric,funs_intro}.
    Show that for all $x\in X$ we have $h$ is continuous at $x$ from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
    \begin{subproof}
        Fix $x\in X$.
        $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $U$ and
            $g$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $U$
            by \cref{continuous_implies_continuous_at}.
        Show that for all $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $h(x)\in V$
            there exists $W$ such that $W$ is open in $X$ with respect to $T$ and $x\in W$ and $\img{h}{W}\subseteq V$.
        \begin{subproof}
            Fix $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $h(x)\in V$.
            Let $T_R = \metricTopology{\standardMetricR}{\reals}$.
            We have $\standardMetricR$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
            $V$ is open in $\reals$ with respect to $T_R$
                by \cref{standard_metric_is_metric,standard_metric_topology,real_lt_subst_right}.
            $V\subseteq\reals$ by
                \cref{open_in,basis_topology_is_topology,metric_topology,metric_basis_is_basis,basis_for_topology,topology_on,subseteq,pow_iff}.
            Take $\epsilon\in\reals$ such that $0 < \epsilon$ and
                $\metricBall{\standardMetricR}{\reals}{h(x)}{\epsilon} \subseteq V$
                by \cref{subseteq,metric_open_iff}.
            Let $\epsilon_0 = \epsilon / (1 + 1)$.
            $\epsilon_0\in\reals$ and $0 < \epsilon_0$ and $\epsilon_0 + \epsilon_0 = \epsilon$
                by \cref{real_half_of_positive}.
            Let $B_f = \metricBall{d}{Y}{f(x)}{\epsilon_0}$.
            Let $B_g = \metricBall{d}{Y}{g(x)}{\epsilon_0}$.
            $f(x)\in Y$ and $g(x)\in Y$ by \cref{continuous,funs_type_apply}.
            $B_f$ is open in $Y$ with respect to $U$ and $B_g$ is open in $Y$ with respect to $U$
                by \cref{metric_ball,subseteq,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,basis_for_topology,metric_topology,basis_topology_is_topology,open_in}.
            $f(x)\in B_f$ and $g(x)\in B_g$
                by \cref{metric_zero_characterization,metric_on,continuous,funs_type_apply,real_lt_subst_left,metric_ball}.
            Hence $B_f$ is a neighborhood of $f(x)$ in $Y$ with respect to $U$ and
                $B_g$ is a neighborhood of $g(x)$ in $Y$ with respect to $U$ by \cref{neighborhood}.
            Take $U_f$ such that
                $U_f$ is a neighborhood of $x$ in $X$ with respect to $T$ and
                $\img{f}{U_f}\subseteq B_f$ by \cref{continuous_at}.
            Take $U_g$ such that
                $U_g$ is a neighborhood of $x$ in $X$ with respect to $T$ and
                $\img{g}{U_g}\subseteq B_g$ by \cref{continuous_at}.
            $U_f$ is open in $X$ with respect to $T$ and $x\in U_f$ and
                $U_g$ is open in $X$ with respect to $T$ and $x\in U_g$ by \cref{neighborhood}.
            Let $W = U_f\inter U_g$.
            $W$ is open in $X$ with respect to $T$ and $x\in W$ by \cref{open_in,topology_on,inter_intro}.
            Show that for all $z$ such that $z\in\img{h}{W}$ we have $z\in V$.
            \begin{subproof}
                Fix $z$ such that $z\in\img{h}{W}$.
                Take $y\in\dom{h}\inter W$ such that $z = h(y)$ by \cref{img_of_function_elim}.
                We have $y\in X$ and $y\in U_f$ and $y\in U_g$ by \cref{funs,inter}.
                Therefore $f(y)\in B_f$ and $g(y)\in B_g$
                    by \cref{continuous,funs,inter_intro,img_of_function_intro,subseteq}.
                $d((f(x),f(y))) < \epsilon_0$ and $d((g(x),g(y))) < \epsilon_0$ by \cref{metric_ball}.
                $h(x) = d((f(x),g(x)))$ and $h(y) = d((f(y),g(y)))$ by \cref{funs_is_function,function_apply_intro}.
                Hence $\apply{\standardMetricR}{(h(x),h(y))} \leq d((f(x),f(y))) + d((g(x),g(y)))$
                    by \cref{continuous,funs_type_apply,metric_reverse_triangle_two_pairs}.
                $(f(x),f(y))\in Y\times Y$ and $(g(x),g(y))\in Y\times Y$
                    by \cref{continuous,funs_type_apply,times_tuple_intro}.
                $d((f(x),f(y)))\in\reals$ and $d((g(x),g(y)))\in\reals$ and
                    $h(x)\in\reals$ and $h(y)\in\reals$ by \cref{metric_on,funs_type_apply}.
                $\apply{\standardMetricR}{(h(x),h(y))}\in\reals$ and
                    $d((f(x),f(y))) + d((g(x),g(y)))\in\reals$ and $\epsilon_0 + \epsilon_0\in\reals$
                    by \cref{standard_metric_is_metric,metric_on,funs_type_apply,times_tuple_intro,real_add_closed}.
                $\apply{\standardMetricR}{(h(x),h(y))} < \epsilon_0 + \epsilon_0$
                    by \cref{real_lt_add_two,real_leq_split,real_lt_trans,real_lt_subst_left}.
                Therefore $\apply{\standardMetricR}{(h(x),h(y))} < \epsilon$ by \cref{real_lt_subst_right}.
                Hence $z\in\metricBall{\standardMetricR}{\reals}{h(x)}{\epsilon}$
                    by \cref{funs_type_apply,metric_ball,real_lt_subst_left}.
                $z\in V$ by \cref{subseteq}.
            \end{subproof}
            $\img{h}{W}\subseteq V$ by \cref{subseteq}.
            There exists $U_0$ such that
                $U_0$ is open in $X$ with respect to $T$ and
                $x\in U_0$ and
                $\img{h}{U_0}\subseteq V$.
        \end{subproof}
        Hence $h$ is continuous at $x$ from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
            by \cref{continuous_at_open,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    \end{subproof}
    We have $\standardTopologyR$ is a topology on $\reals$ by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    Therefore $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_at_implies_continuous}.
\end{proof}
Lemma 937
metric_convergent_sequence_cauchy

Assume $d$ is a metric on $X$.
Assume $s$ is a sequence in $X$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Suppose $s$ converges to $x$ in $X$ with respect to $\metricTopology{d}{X}$.
Then $s$ is a Cauchy sequence in $X$ with respect to $d$.

LaTeX source
\begin{lemma}
\label{metric_convergent_sequence_cauchy}
    Assume $d$ is a metric on $X$.
    Assume $s$ is a sequence in $X$.
    Assume $x\in X$.
    Suppose $s$ converges to $x$ in $X$ with respect to $\metricTopology{d}{X}$.
    Then $s$ is a Cauchy sequence in $X$ with respect to $d$.
\end{lemma}
Proof
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,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((s(n),s(m))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\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}$.
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}$ 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.
Let $B = \metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
$B$ is a neighborhood of $x$ in $X$ with respect to $\metricTopology{d}{X}$ by Definition 1, Definition 103, Definition 115, Definition 153, Definition 176, Definition 179, Definition 180, Definition 181, Definition 182, Lemma 76, Lemma 77, Lemma 82, Lemma 194, Proposition 155.
Take $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 $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 159.
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 $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((s(n),s(m))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 1, Definition 158, Lemma 924, Proposition 361.
Follows by definition.

Therefore $s$ is a Cauchy sequence in $X$ with respect to $d$ by Definition 342.

LaTeX source
\begin{proof}
    Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$
        there exists $N\in\naturalsPlus$ such that
            for all $n,m\in\naturalsPlus$ if $N \leq n$ and $N \leq m$ then
                $d((s(n),s(m))) < \epsilon$.
    \begin{subproof}
        Fix $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$.
        Let $\delta = \epsilon / (1 + 1)$.
        $\delta\in\reals$ and $0 < \delta$ and $\delta + \delta = \epsilon$ by \cref{real_half_of_positive}.
        Let $B = \metricBall{d}{X}{x}{\delta}$.
        $B$ is a neighborhood of $x$ in $X$ with respect to $\metricTopology{d}{X}$
            by \cref{metric_ball,subseteq,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,basis_for_topology,metric_topology,basis_topology_is_topology,open_in,metric_zero_characterization,metric_on,real_lt_subst_left,neighborhood}.
        Take $N\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N \leq n$ then $s(n)\in B$
            by \cref{converges_to}.
        For all $n\in\naturalsPlus$ if $N \leq n$ then
            for all $m\in\naturalsPlus$ if $N \leq m$ then
                $d((s(n),s(m))) < \epsilon$ by \cref{subseteq,sequence_in,funs_type_apply,metric_half_ball_pair_bound}.
        Follows by definition.
    \end{subproof}
    Therefore $s$ is a Cauchy sequence in $X$ with respect to $d$ by \cref{cauchy_sequence}.
\end{proof}
Lemma 938
standard_closed_interval_closed

Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\intervalclosed{0}{r}$ is closed in $\reals$ with respect to $\standardTopologyR$.

LaTeX source
\begin{lemma}
\label{standard_closed_interval_closed}
    Assume $r\in\reals$.
    Then $\intervalclosed{0}{r}$ is closed in $\reals$ with respect to $\standardTopologyR$.
\end{lemma}
Proof

Let $I = \intervalclosed{0}{r}$.
$\realOrderRel$ is a simple order relation on $\reals$ and $\reals$ has more than one element by Definition 231, Lemma 326.
Hence $\realOrderTopology$ is the order topology on $\reals$ with respect to $\realOrderRel$ by Definition 134, Definition 233.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.

Claim: $I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosedrel{\realOrderRel}{\reals}{0}{r}$.
Claim: $\intervalclosedrel{\realOrderRel}{\reals}{0}{r}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$.

Therefore $\intervalclosed{0}{r}$ is closed in $\reals$ with respect to $\standardTopologyR$ by Lemma 82, Lemma 83, Lemma 336, Lemma 341, Proposition 3.

LaTeX source
\begin{proof}
    Let $I = \intervalclosed{0}{r}$.
    $\realOrderRel$ is a simple order relation on $\reals$ and $\reals$ has more than one element
        by \cref{reals_linear_continuum,linear_continuum}.
    Hence $\realOrderTopology$ is the order topology on $\reals$ with respect to $\realOrderRel$
        by \cref{real_order_topology,order_topology}.
    $0\in\reals$ by \cref{real_add_ident}.
    Show that $I\subseteq \intervalclosedrel{\realOrderRel}{\reals}{0}{r}$.
    \begin{subproof}
        Follows by \cref{intervalclosed,real_add_ident,real_order_relation_intro,intervalclosed_rel,subseteq}.
    \end{subproof}
    Show that $\intervalclosedrel{\realOrderRel}{\reals}{0}{r}\subseteq I$.
    \begin{subproof}
        Follows by \cref{intervalclosed_rel,real_order_relation_elim,intervalclosed,subseteq}.
    \end{subproof}
    Therefore $\intervalclosed{0}{r}$ is closed in $\reals$ with respect to $\standardTopologyR$
        by \cref{subseteq_antisymmetric,intervalclosedrel_closed_in_order_topology,real_lt_subst_left,real_order_topology_eq_standard,real_lt_subst_right}.
\end{proof}
Lemma 939
metric_closed_ball_closed

Assume $d$ is a metric on $Y$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$.
Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Let $B = \{y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y \mid d((y,a)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r\}$.
Then $B$ is closed in $Y$ with respect to $\metricTopology{d}{Y}$.

LaTeX source
\begin{lemma}
\label{metric_closed_ball_closed}
    Assume $d$ is a metric on $Y$.
    Assume $a\in Y$.
    Assume $r\in\reals$.
    Let $B = \{y\in Y \mid d((y,a)) \leq r\}$.
    Then $B$ is closed in $Y$ with respect to $\metricTopology{d}{Y}$.
\end{lemma}
Proof

Let $T = \metricTopology{d}{Y}$.
Let $j = \identity{Y}$.
$T$ is a topology on $Y$ by Definition 115, Definition 182, Lemma 76, Lemma 194.
$j$ is continuous from $Y$ to $Y$ with respect to $T$ and $T$ by Lemma 308.
Let $c = \{(y,a) \mid y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\}$.
$c$ is a function from $Y$ to $Y$ by Lemma 309.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $c(y) = a$ by Definition 55, Proposition 346, Proposition 356.
Therefore $c$ is continuous from $Y$ to $Y$ with respect to $T$ and $T$ by Lemma 163.
Let $h = \{(y, d((j(y),c(y)))) \mid y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\}$.
$h$ is continuous from $Y$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 936.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{\reals}$ by Definition 160.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
Let $I = \intervalclosed{0}{r}$.
$I$ is closed in $\reals$ with respect to $\standardTopologyR$ by Lemma 938.
For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ we have $\img{h}{\closure{A}{Y}{T}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{\img{h}{A}}{\reals}{\standardTopologyR}$ by Lemma 158.
Therefore $\preimg{h}{I}$ is closed in $Y$ with respect to $T$ by Lemma 159.

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

Therefore $B$ is closed in $Y$ with respect to $T$ by Lemma 83, Proposition 3.

LaTeX source
\begin{proof}
    Let $T = \metricTopology{d}{Y}$.
    Let $j = \identity{Y}$.
    $T$ is a topology on $Y$ by \cref{metric_topology,metric_basis_is_basis,basis_for_topology,basis_topology_is_topology}.
    $j$ is continuous from $Y$ to $Y$ with respect to $T$ and $T$ by \cref{identity_continuous}.
    Let $c = \{(y,a) \mid y\in Y\}$.
    $c$ is a function from $Y$ to $Y$ by \cref{constant_map_function}.
    For all $y\in Y$ we have $c(y) = a$ by \cref{funs,funs_is_function,function_apply_intro}.
    Therefore $c$ is continuous from $Y$ to $Y$ with respect to $T$ and $T$ by \cref{constant_continuous}.
    Let $h = \{(y, d((j(y),c(y)))) \mid y\in Y\}$.
    $h$ is continuous from $Y$ to $\reals$ with respect to $T$ and $\standardTopologyR$
        by \cref{continuous_maps_pointwise_distance}.
    $h\in\funs{Y}{\reals}$ by \cref{continuous}.
    $\standardTopologyR$ is a topology on $\reals$
        by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
    Let $I = \intervalclosed{0}{r}$.
    $I$ is closed in $\reals$ with respect to $\standardTopologyR$ by \cref{standard_closed_interval_closed}.
    For all $A$ such that $A\subseteq Y$ we have
        $\img{h}{\closure{A}{Y}{T}}\subseteq \closure{\img{h}{A}}{\reals}{\standardTopologyR}$
        by \cref{continuous_closure_image_subset}.
    Therefore $\preimg{h}{I}$ is closed in $Y$ with respect to $T$ by \cref{closure_image_subset_implies_preimg_closed}.
    Show that $\preimg{h}{I}\subseteq B$.
    \begin{subproof}
        Follows by \cref{preimg_subseteq_dom,subseteq,funs,preimg_iff,funs_is_function,function_apply_intro,id_iff,continuous,real_lt_subst_left,real_lt_subst_right,intervalclosed,real_leq_split}.
    \end{subproof}
    Show that $B\subseteq\preimg{h}{I}$.
    \begin{subproof}
        Follows by \cref{subseteq,times_tuple_intro,metric_on,funs_type_apply,metric_nonnegative,real_leq_split,intervalclosed,id_iff,continuous,funs_is_function,function_apply_intro,real_lt_subst_left,real_lt_subst_right,elem_subseteq,preimg_iff}.
    \end{subproof}
    Therefore $B$ is closed in $Y$ with respect to $T$
        by \cref{subseteq_antisymmetric,real_lt_subst_right}.
\end{proof}
Lemma 940
function_sequence_cauchy_stage_set_closed

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Assume $s$ is a sequence in $\funs{X}{Y}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Assume $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
Then $A$ is closed in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{function_sequence_cauchy_stage_set_closed}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Assume $s$ is a sequence in $\funs{X}{Y}$.
    Assume $k\in\naturalsPlus$.
    Assume $N\in\naturalsPlus$.
    Suppose for all $n\in\naturalsPlus$ we have
        $s(n)$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Assume $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
    Then $A$ is closed in $X$ with respect to $T$.
\end{lemma}
Proof

Let $T_Y = \metricTopology{d}{Y}$.
$A = \{x\class{latex-symbol-tip latex-symbol-id-in}{\in} X \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. (N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n \class{latex-symbol-tip latex-symbol-id-land}{\land} N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m) \class{latex-symbol-tip latex-symbol-id-implies}{\implies} d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k\}$ by Definition 385.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{A}{X}{T}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{A}{X}{T}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 151.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.

Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$.

Fix $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$.
Let $h = \{(u, d((\apply{\apply{s}{n}}{u},\apply{\apply{s}{m}}{u}))) \mid u\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Definition 1, Lemma 936.
$h$ is a function by Definition 160, Proposition 356.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Definition 160.
Let $I = \intervalclosed{0}{1 / k}$.
$I$ is closed in $\reals$ with respect to $\standardTopologyR$ by Lemma 90, Lemma 938.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{h}{A}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.

Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{h}{A}$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}\inter A$ such that $z = h(y)$ by Proposition 365.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 5, Definition 55.
$d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Definition 1.
$\apply{\apply{s}{n}}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $\apply{\apply{s}{m}}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 158, Proposition 361.
$d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y}))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 158, Definition 179, Proposition 115, Proposition 361.
$0 < d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y}))$ or $d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) = 0$ by Definition 175, Definition 179, Lemma 81.
$d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) < 1 / k$ or $d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) = 1 / k$ by Lemma 81.
$h(y) = z$ and $h(y) = d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y}))$ by Lemma 83, Proposition 346, Proposition 356.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75, Lemma 82, Lemma 83.

We have $\img{h}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1.
Therefore $\closure{\img{h}{A}}{\reals}{\standardTopologyR}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 160, Lemma 147, Proposition 6, Proposition 237, Proposition 363.
$h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{h}{\closure{A}{X}{T}}$ by Definition 1, Definition 55, Proposition 61, Proposition 364.
$h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{\img{h}{A}}{\reals}{\standardTopologyR}$ by Definition 1, Lemma 158.
$h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Proposition 4.
Hence $d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Definition 75, Lemma 81, Lemma 82, Lemma 83, Proposition 346, Proposition 356.

Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1.

Therefore $A$ is closed in $X$ with respect to $T$ by Definition 1, Lemma 144, Lemma 146, Proposition 3.

LaTeX source
\begin{proof}
    Let $T_Y = \metricTopology{d}{Y}$.
    $A = \{x\in X \mid \forall n,m\in\naturalsPlus. (N \leq n \land N \leq m) \implies
        d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \leq 1 / k\}$ by \cref{function_sequence_cauchy_stage_set}.
    $A\subseteq X$ by \cref{subseteq}.
    Show that for all $x$ such that $x\in\closure{A}{X}{T}$ we have $x\in A$.
    \begin{subproof}
        Fix $x$ such that $x\in\closure{A}{X}{T}$.
        $x\in X$ by \cref{closure}.
        Show that for all $n\in\naturalsPlus$ we have
            for all $m\in\naturalsPlus$ if $N \leq n$ and $N \leq m$ then
                $d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \leq 1 / k$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            Show that for all $m\in\naturalsPlus$ if $N \leq n$ and $N \leq m$ then
                $d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \leq 1 / k$.
            \begin{subproof}
                Fix $m\in\naturalsPlus$.
                Assume $N \leq n$ and $N \leq m$.
                Let $h = \{(u, d((\apply{\apply{s}{n}}{u},\apply{\apply{s}{m}}{u}))) \mid u\in X\}$.
                $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
                    by \cref{subseteq,continuous_maps_pointwise_distance}.
                $h$ is a function by \cref{continuous,funs_is_function}.
                $h\in\funs{X}{\reals}$ by \cref{continuous}.
                Let $I = \intervalclosed{0}{1 / k}$.
                $I$ is closed in $\reals$ with respect to $\standardTopologyR$
                    by \cref{naturalsplus_reciprocal_real,standard_closed_interval_closed}.
                Show that for all $z$ such that $z\in\img{h}{A}$ we have $z\in I$.
                \begin{subproof}
                    Fix $z$ such that $z\in\img{h}{A}$.
                    Take $y\in\dom{h}\inter A$ such that $z = h(y)$ by \cref{img_of_function_elim}.
                    $y\in X$ and $y\in A$ by \cref{funs,inter}.
                    $d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) \leq 1 / k$ by \cref{subseteq}.
                    $\apply{\apply{s}{n}}{y}\in Y$ and $\apply{\apply{s}{m}}{y}\in Y$ by \cref{sequence_in,funs_type_apply}.
                    $d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y}))\in\reals$
                        by \cref{sequence_in,funs_type_apply,times_tuple_intro,metric_on}.
                    $0 < d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y}))$ or
                        $d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) = 0$
                        by \cref{metric_on,metric_nonnegative,real_leq_split}.
                    $d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) < 1 / k$ or
                        $d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y})) = 1 / k$ by \cref{real_leq_split}.
                    $h(y) = z$ and $h(y) = d((\apply{\apply{s}{n}}{y},\apply{\apply{s}{m}}{y}))$
                        by \cref{funs_is_function,function_apply_intro,real_lt_subst_right}.
                    Hence $z\in I$ by \cref{intervalclosed,real_lt_subst_left,real_lt_subst_right}.
                \end{subproof}
                We have $\img{h}{A}\subseteq I$ by \cref{subseteq}.
                Therefore $\closure{\img{h}{A}}{\reals}{\standardTopologyR}\subseteq I$
                    by \cref{img_subseteq_ran,continuous,funs_ran,subseteq_transitive,closure_subseteq_closed}.
                $h(x)\in\img{h}{\closure{A}{X}{T}}$ by \cref{funs,subseteq,inter_intro,img_of_function_intro}.
                $h(x)\in\closure{\img{h}{A}}{\reals}{\standardTopologyR}$ by \cref{continuous_closure_image_subset,subseteq}.
                $h(x)\in I$ by \cref{elem_subseteq}.
                Hence $d((\apply{\apply{s}{n}}{x},\apply{\apply{s}{m}}{x})) \leq 1 / k$
                    by \cref{intervalclosed,funs_is_function,function_apply_intro,real_leq_split,real_lt_subst_left,real_lt_subst_right}.
            \end{subproof}
        \end{subproof}
        Hence $x\in A$ by \cref{subseteq}.
    \end{subproof}
    Therefore $A$ is closed in $X$ with respect to $T$
        by \cref{subseteq,subseteq_closure,subseteq_antisymmetric,closure_closed_in}.
\end{proof}
Lemma 941
function_sequence_cauchy_stage_limit_bound

Assume $d$ is a metric on $Y$.
Assume $s$ is a sequence in $\funs{X}{Y}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Suppose $t$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$.
Suppose $t$ converges to $\apply{f}{x}$ in $Y$ with respect to $\metricTopology{d}{Y}$.
Then $d((\apply{\apply{s}{N}}{x},\apply{f}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$.

LaTeX source
\begin{lemma}
\label{function_sequence_cauchy_stage_limit_bound}
    Assume $d$ is a metric on $Y$.
    Assume $s$ is a sequence in $\funs{X}{Y}$.
    Assume $f\in\funs{X}{Y}$.
    Assume $k\in\naturalsPlus$.
    Assume $N\in\naturalsPlus$.
    Assume $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
    Assume $x\in A$.
    Suppose $t$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$.
    Suppose $t$ converges to $\apply{f}{x}$ in $Y$ with respect to $\metricTopology{d}{Y}$.
    Then $d((\apply{\apply{s}{N}}{x},\apply{f}{x})) \leq 1 / k$.
\end{lemma}
Proof

$A = \{u\class{latex-symbol-tip latex-symbol-id-in}{\in} X \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} n,m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. (N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n \class{latex-symbol-tip latex-symbol-id-land}{\land} N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m) \class{latex-symbol-tip latex-symbol-id-implies}{\implies} d((\apply{\apply{s}{n}}{u},\apply{\apply{s}{m}}{u})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k\}$ by Definition 385.
Let $a_0 = \apply{\apply{s}{N}}{x}$.
$a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Definition 158, Proposition 361.
Let $r_0 = 1 / k$.
Let $B = \{y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y \mid d((y,a_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r_0\}$.
$B$ is closed in $Y$ with respect to $\metricTopology{d}{Y}$ by Lemma 90, Lemma 939.
$\metricTopology{d}{Y}$ is a topology on $Y$ by Definition 179, Definition 182, Lemma 76, Lemma 194.
$t$ is a sequence in $Y$ by Definition 366.
$\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 361.
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 $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 1, Definition 158, Definition 177, Definition 179, Definition 366, Lemma 82, Lemma 83, Proposition 115, Proposition 361.
There exists $L\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 $L \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Therefore $\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Lemma 926.
$d((\apply{f}{x},a_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r_0$ by Definition 1.
We have $d((a_0,\apply{f}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r_0$ by Definition 177, Definition 179, Lemma 82, Proposition 115, Proposition 361.
Hence $d((\apply{\apply{s}{N}}{x},\apply{f}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Lemma 82, Lemma 83.

LaTeX source
\begin{proof}
    $A = \{u\in X \mid \forall n,m\in\naturalsPlus. (N \leq n \land N \leq m) \implies
        d((\apply{\apply{s}{n}}{u},\apply{\apply{s}{m}}{u})) \leq 1 / k\}$ by \cref{function_sequence_cauchy_stage_set}.
    Let $a_0 = \apply{\apply{s}{N}}{x}$.
    $a_0\in Y$ by \cref{subseteq,sequence_in,funs_type_apply}.
    Let $r_0 = 1 / k$.
    Let $B = \{y\in Y \mid d((y,a_0)) \leq r_0\}$.
    $B$ is closed in $Y$ with respect to $\metricTopology{d}{Y}$
        by \cref{naturalsplus_reciprocal_real,metric_closed_ball_closed}.
    $\metricTopology{d}{Y}$ is a topology on $Y$
        by \cref{metric_on,metric_basis_is_basis,basis_topology_is_topology,metric_topology}.
    $t$ is a sequence in $Y$ by \cref{function_sequence_coordinate_sequence}.
    $\apply{f}{x}\in Y$ by \cref{funs_type_apply}.
    For all $n\in\naturalsPlus$ if $N \leq n$ then $t(n)\in B$
        by \cref{subseteq,function_sequence_coordinate_sequence,sequence_in,funs_type_apply,times_tuple_intro,metric_on,metric_symmetric,real_lt_subst_left,real_lt_subst_right}.
    There exists $L\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $L \leq n$ then $t(n)\in B$.
    Therefore $\apply{f}{x}\in B$ by \cref{eventually_in_closed_limit}.
    $d((\apply{f}{x},a_0)) \leq r_0$ by \cref{subseteq}.
    We have $d((a_0,\apply{f}{x})) \leq r_0$
        by \cref{funs_type_apply,times_tuple_intro,metric_on,metric_symmetric,real_lt_subst_left}.
    Hence $d((\apply{\apply{s}{N}}{x},\apply{f}{x})) \leq 1 / k$ by \cref{real_lt_subst_left,real_lt_subst_right}.
\end{proof}
Definition 386
function_sequence_cauchy_stage_union

$U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$ iff for all $x$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ iff $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$.

LaTeX source
\begin{definition}
\label{function_sequence_cauchy_stage_union}
    $U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$ iff
        for all $x$ we have
            $x\in U$ iff
                $x\in X$ and
                there exists $N\in\naturalsPlus$ such that
                    there exists $A$ such that
                        $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                        $x\in\interior{A}{X}{T}$.
\end{definition}
Lemma 942
metric_four_point_upper_bound

Assume $d$ is a metric on $Y$.
Assume $x_0,x_1,y_0,y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$.
Then $d((x_0,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + d((x_1,y_1)) + d((y_1,y_0))$.

LaTeX source
\begin{lemma}
\label{metric_four_point_upper_bound}
    Assume $d$ is a metric on $Y$.
    Assume $x_0,x_1,y_0,y_1\in Y$.
    Then $d((x_0,y_0)) \leq d((x_0,x_1)) + d((x_1,y_1)) + d((y_1,y_0))$.
\end{lemma}
Proof

$d((x_0,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + d((x_1,y_0))$ by Definition 178, Definition 179, Proposition 115.
$d((x_1,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_1,y_1)) + d((y_1,y_0))$ by Definition 178, Definition 179, Proposition 115.
$d((x_0,y_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_0,x_1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_1,y_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_1,y_1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((y_1,y_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
$d((x_0,x_1)) + d((x_1,y_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_1,y_1)) + d((y_1,y_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Therefore $d((x_1,y_0)) + d((x_0,x_1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (d((x_1,y_1)) + d((y_1,y_0))) + d((x_0,x_1))$ by Lemma 24.
$d((x_1,y_0)) + d((x_0,x_1)) = d((x_0,x_1)) + d((x_1,y_0))$ by Axiom 16.
$(d((x_1,y_1)) + d((y_1,y_0))) + d((x_0,x_1)) = d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))$ by Axiom 16.
$d((x_0,x_1)) + d((x_1,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))$ by Lemma 82, Lemma 83.
Hence $d((x_0,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))$ by Lemma 23.
$d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0))) = d((x_0,x_1)) + d((x_1,y_1)) + d((y_1,y_0))$ by Axiom 15.
Therefore $d((x_0,y_0)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_0,x_1)) + d((x_1,y_1)) + d((y_1,y_0))$ by Lemma 83.

LaTeX source
\begin{proof}
    $d((x_0,y_0)) \leq d((x_0,x_1)) + d((x_1,y_0))$
        by \cref{times_tuple_intro,metric_on,metric_triangle_inequality}.
    $d((x_1,y_0)) \leq d((x_1,y_1)) + d((y_1,y_0))$
        by \cref{times_tuple_intro,metric_on,metric_triangle_inequality}.
    $d((x_0,y_0))\in\reals$ and $d((x_0,x_1))\in\reals$ and $d((x_1,y_0))\in\reals$ and
        $d((x_1,y_1))\in\reals$ and $d((y_1,y_0))\in\reals$ by \cref{times_tuple_intro,metric_on,funs_type_apply}.
    $d((x_0,x_1)) + d((x_1,y_0))\in\reals$ and
        $d((x_1,y_1)) + d((y_1,y_0))\in\reals$ and
        $d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))\in\reals$ by \cref{real_add_closed}.
    Therefore $d((x_1,y_0)) + d((x_0,x_1)) \leq (d((x_1,y_1)) + d((y_1,y_0))) + d((x_0,x_1))$
        by \cref{real_leq_add}.
    $d((x_1,y_0)) + d((x_0,x_1)) = d((x_0,x_1)) + d((x_1,y_0))$ by \cref{real_add_comm}.
    $(d((x_1,y_1)) + d((y_1,y_0))) + d((x_0,x_1))
        = d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))$ by \cref{real_add_comm}.
    $d((x_0,x_1)) + d((x_1,y_0)) \leq d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))$
        by \cref{real_lt_subst_left,real_lt_subst_right}.
    Hence $d((x_0,y_0)) \leq d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))$ by \cref{real_leq_trans}.
    $d((x_0,x_1)) + (d((x_1,y_1)) + d((y_1,y_0)))
        = d((x_0,x_1)) + d((x_1,y_1)) + d((y_1,y_0))$ by \cref{real_add_assoc}.
    Therefore $d((x_0,y_0)) \leq d((x_0,x_1)) + d((x_1,y_1)) + d((y_1,y_0))$ by \cref{real_lt_subst_right}.
\end{proof}
Lemma 943
function_sequence_cauchy_stage_union_open

Assume $T$ is a topology on $X$.
Assume $U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$.
Then $U$ is open in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{function_sequence_cauchy_stage_union_open}
    Assume $T$ is a topology on $X$.
    Assume $U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$.
    Then $U$ is open in $X$ with respect to $T$.
\end{lemma}
Proof

Let $M = \{V\class{latex-symbol-tip latex-symbol-id-in}{\in} T \mid \text{there exists $N\in\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $V = \interior{A}{X}{T}$}\}$.
$\unions{M}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 1, Definition 101.

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

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Definition 386.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$.
Take $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$.
$\interior{A}{X}{T}$ is open in $X$ with respect to $T$ by Lemma 143.
$\interior{A}{X}{T}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103.
We have $\interior{A}{X}{T}\class{latex-symbol-tip latex-symbol-id-in}{\in} M$.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$ by Axiom 4.

$U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\unions{M}$ by Definition 1.

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

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{M}$.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Axiom 4.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $V = \interior{A}{X}{T}$ by Definition 1.
Take $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $V = \interior{A}{X}{T}$.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Definition 1, Lemma 82.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 386.

We have $\unions{M}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
$U = \unions{M}$ by Proposition 3.
Therefore $U$ is open in $X$ with respect to $T$ by Definition 103.

LaTeX source
\begin{proof}
    Let $M = \{V\in T \mid \text{there exists $N\in\naturalsPlus$ such that
        there exists $A$ such that
            $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
            $V = \interior{A}{X}{T}$}\}$.
    $\unions{M}\in T$ by \cref{subseteq,topology_on}.
    Show that for all $x$ such that $x\in U$ we have $x\in\unions{M}$.
    \begin{subproof}
        Fix $x$ such that $x\in U$.
        $x\in X$ and there exists $N\in\naturalsPlus$ such that
            there exists $A$ such that
                $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                $x\in\interior{A}{X}{T}$ by \cref{function_sequence_cauchy_stage_union}.
        Take $N\in\naturalsPlus$ such that
            there exists $A$ such that
                $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                $x\in\interior{A}{X}{T}$.
        Take $A$ such that
            $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
            $x\in\interior{A}{X}{T}$.
        $\interior{A}{X}{T}$ is open in $X$ with respect to $T$ by \cref{interior_open_in}.
        $\interior{A}{X}{T}\in T$ by \cref{open_in}.
        We have $\interior{A}{X}{T}\in M$.
        Therefore $x\in\unions{M}$ by \cref{unions_iff}.
    \end{subproof}
    $U\subseteq\unions{M}$ by \cref{subseteq}.
    Show that for all $x$ such that $x\in\unions{M}$ we have $x\in U$.
    \begin{subproof}
        Fix $x$ such that $x\in\unions{M}$.
        Take $V\in M$ such that $x\in V$ by \cref{unions_iff}.
        Take $N\in\naturalsPlus$ such that
            there exists $A$ such that
                $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                $V = \interior{A}{X}{T}$ by \cref{subseteq}.
        Take $A$ such that
            $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
            $V = \interior{A}{X}{T}$.
        $V\subseteq X$ by \cref{topology_on,subseteq,pow_iff}.
        $x\in X$ and $x\in\interior{A}{X}{T}$ by \cref{subseteq,real_lt_subst_left}.
        Therefore $x\in U$ by \cref{function_sequence_cauchy_stage_union}.
    \end{subproof}
    We have $\unions{M}\subseteq U$ by \cref{subseteq}.
    $U = \unions{M}$ by \cref{subseteq_antisymmetric}.
    Therefore $U$ is open in $X$ with respect to $T$ by \cref{open_in}.
\end{proof}
Definition 387
function_sequence_cauchy_stage_slice

$B$ is the $k$-th Cauchy stage slice of $s$ at $N$ over $V$ from $X$ to $Y$ with respect to $d$ iff there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $B = V\inter A$.

LaTeX source
\begin{definition}
\label{function_sequence_cauchy_stage_slice}
    $B$ is the $k$-th Cauchy stage slice of $s$ at $N$ over $V$ from $X$ to $Y$ with respect to $d$ iff
        there exists $A$ such that
            $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
            $B = V\inter A$.
\end{definition}
Lemma 944
function_sequence_cauchy_stage_set_unique

Assume $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
Assume $B$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
Then $A = B$.

LaTeX source
\begin{lemma}
\label{function_sequence_cauchy_stage_set_unique}
    Assume $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
    Assume $B$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$.
    Then $A = B$.
\end{lemma}
Proof

Follows by Definition 1, Definition 385, Proposition 3.

LaTeX source
\begin{proof}
    Follows by \cref{function_sequence_cauchy_stage_set,subseteq,subseteq_antisymmetric}.
\end{proof}
Lemma 945
function_sequence_cauchy_stage_union_dense

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Assume $s$ is a sequence in $\funs{X}{Y}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$.
Assume $X$ is a Baire space with respect to $T$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $t$ such that $t$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$ and $t$ converges to $\apply{f}{x}$ in $Y$ with respect to $\metricTopology{d}{Y}$.
Then $U$ is dense in $X$ with respect to $T$.

LaTeX source
\begin{lemma}
\label{function_sequence_cauchy_stage_union_dense}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Assume $s$ is a sequence in $\funs{X}{Y}$.
    Assume $f\in\funs{X}{Y}$.
    Assume $k\in\naturalsPlus$.
    Assume $U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$.
    Assume $X$ is a Baire space with respect to $T$.
    Suppose for all $n\in\naturalsPlus$ we have
        $s(n)$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Suppose for all $x\in X$ there exists $t$ such that
        $t$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$ and
        $t$ converges to $\apply{f}{x}$ in $Y$ with respect to $\metricTopology{d}{Y}$.
    Then $U$ is dense in $X$ with respect to $T$.
\end{lemma}
Proof
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{U}{X}{T}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.

Claim: For all $V$ such that $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ we have $V$ intersects $U$.

Fix $V$ such that $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Suppose not.
$V$ does not intersect $U$.
Let $T_V = \subspaceTopology{T}{V}$.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$T_V$ is a topology on $V$ by Definition 147, Lemma 131.
$V$ is a Baire space with respect to $T_V$ by Lemma 934.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{X} \mid \text{$\snd{w}$ is the $k$-th Cauchy stage set of $s$ at $\fst{w}$ from $X$ to $Y$ with respect to $d$}\}$.
$R$ is a relation by Definition 12, Proposition 121.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ there exists $A$ such that $n\mathrel{R} A$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Let $A = \{y\class{latex-symbol-tip latex-symbol-id-in}{\in} X \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} p,q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. (n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p \class{latex-symbol-tip latex-symbol-id-land}{\land} n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q) \class{latex-symbol-tip latex-symbol-id-implies}{\implies} d((\apply{\apply{s}{p}}{y},\apply{\apply{s}{q}}{y})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k\}$.
$A$ is the $k$-th Cauchy stage set of $s$ at $n$ from $X$ to $Y$ with respect to $d$ by Definition 385.
$(n,A)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 10, Axiom 11, Definition 1, Definition 385, Proposition 115, Proposition 155.
There exists $B$ such that $n\mathrel{R} B$.

Take $a$ such that $a$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\mathrel{R} a(n)$ by Axiom 54.
$a$ is a sequence in $\pow{X}$ by Axiom 54, Definition 1, Definition 158, Proposition 114, Proposition 348, Proposition 358.
Let $b = \{(n, V\inter a(n)) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
For all $n,B_1,B_2$ such that $(n,B_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} b$ and $(n,B_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} b$ we have $B_1 = B_2$ by Axiom 6.
$b$ is right-unique by Definition 51.
$b$ is a function.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{b}$ by Axiom 6, Proposition 200.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{b}$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Proposition 199.
$\dom{b} = \naturalsPlus$ by Definition 1, Proposition 3.
$b$ is a sequence in $\pow{V}$ by Axiom 6, Definition 158, Lemma 82, Proposition 73, Proposition 155, Proposition 199, Proposition 346, Proposition 358.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $b(n)$ is closed in $V$ with respect to $T_V$ and $b(n)$ has empty interior in $V$ with respect to $T_V$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$a(n)$ is the $k$-th Cauchy stage set of $s$ at $n$ from $X$ to $Y$ with respect to $d$ by Axiom 10, Axiom 11, Axiom 54, Proposition 348.
$a(n)$ is closed in $X$ with respect to $T$ by Lemma 940.
$b(n) = V\inter a(n)$ by Axiom 6, Definition 158, Proposition 346, Proposition 359.
$b(n)$ is closed in $V$ with respect to $T_V$ by Definition 147, Lemma 82, Proposition 65 [Commutativity of intersection], Theorem 8.
Suppose not.
$\interior{b(n)}{V}{T_V}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 158, Definition 382, Proposition 156, Proposition 359.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{b(n)}{V}{T_V}$ by Axiom 2, Proposition 10.
Take $W\class{latex-symbol-tip latex-symbol-id-in}{\in} T_V$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} b(n)$ by Definition 150.
$W$ is open in $V$ with respect to $T_V$ by Definition 103.
$W$ is open in $X$ with respect to $T$ by Definition 147, Lemma 133.
$V\inter a(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} a(n)$ by Proposition 74.
$b(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} a(n)$ by Lemma 82.
$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} a(n)$ by Proposition 6.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103.
$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Definition 1, Definition 101.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{a(n)}{X}{T}$ by Definition 150.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 150.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 386.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} V\inter U$ by Proposition 61.
$V$ intersects $U$ by Axiom 2, Definition 5, Definition 152.
Contradiction.
$b(n)$ has empty interior in $V$ with respect to $T_V$ by Definition 382.

$\unions{\img{b}{\naturalsPlus}}$ has empty interior in $V$ with respect to $T_V$ by Definition 383.

Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{\img{b}{\naturalsPlus}}$.

Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
Take $t$ such that $t$ is the coordinate sequence of $s$ at $y$ from $X$ to $Y$ and $t$ converges to $\apply{f}{y}$ in $Y$ with respect to $\metricTopology{d}{Y}$ by Definition 1.
$t$ is a sequence in $Y$ by Definition 366.
$\apply{f}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 361.
$t$ is a Cauchy sequence in $Y$ with respect to $d$ by Lemma 937.
$1 / k\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 / k$ by Lemma 90, Lemma 267.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that for all $p,q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q$ then $d((t(p),t(q))) < 1 / k$ by Definition 342.
Let $A = \{z\class{latex-symbol-tip latex-symbol-id-in}{\in} X \mid \class{latex-symbol-tip latex-symbol-id-forall}{\forall} p,q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. (N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p \class{latex-symbol-tip latex-symbol-id-land}{\land} N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q) \class{latex-symbol-tip latex-symbol-id-implies}{\implies} d((\apply{\apply{s}{p}}{z},\apply{\apply{s}{q}}{z})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k\}$.
$A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ by Definition 385.
For all $p,q$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q$ we have $d((\apply{\apply{s}{p}}{y},\apply{\apply{s}{q}}{y})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Definition 1, Definition 366, Lemma 82, Lemma 83, Lemma 231.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1.
$a(N)$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ by Axiom 10, Axiom 11, Axiom 54, Proposition 348.
$A = a(N)$ by Lemma 944.
$b(N) = V\inter a(N)$ by Axiom 6, Definition 158, Proposition 346, Proposition 359.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} V\inter a(N)$ by Lemma 82, Proposition 61.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} b(N)$ by Lemma 83.
$b(N)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{b}{\naturalsPlus}$ by Definition 158, Proposition 235, Proposition 348, Proposition 359.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{\img{b}{\naturalsPlus}}$ by Axiom 4.

$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\unions{\img{b}{\naturalsPlus}}$ by Definition 1.
$\img{b}{\naturalsPlus}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{V}$ by Definition 158, Proposition 6, Proposition 237, Proposition 363.
$\unions{\img{b}{\naturalsPlus}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Proposition 159.
$\unions{\img{b}{\naturalsPlus}} = V$ by Proposition 3.
$V$ has empty interior in $V$ with respect to $T_V$ by Lemma 82.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{V}{V}{T_V}$ by Definition 101, Definition 150, Proposition 2.
$\interior{V}{V}{T_V} = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 382.
Contradiction by Axiom 2.
$V$ intersects $U$.

$U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 386.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{U}{X}{T}$ by Theorem 11.

$X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\closure{U}{X}{T}$ by Definition 1.
$\closure{U}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 151.
$\closure{U}{X}{T} = X$ by Proposition 3.
$U$ is dense in $X$ with respect to $T$ by Definition 272.

LaTeX source
\begin{proof}
    Show that for all $x\in X$ we have $x\in\closure{U}{X}{T}$.
    \begin{subproof}
        Fix $x\in X$.
        Show that for all $V$ such that
            $V$ is open in $X$ with respect to $T$ and
            $x\in V$
            we have $V$ intersects $U$.
        \begin{subproof}
            Fix $V$ such that
                $V$ is open in $X$ with respect to $T$ and
                $x\in V$.
            Suppose not.
            $V$ does not intersect $U$.
            Let $T_V = \subspaceTopology{T}{V}$.
            $V\subseteq X$ by \cref{open_in,topology_on,subseteq,pow_iff}.
            $T_V$ is a topology on $V$ by \cref{subspace_topology_is_topology,subspace_of}.
            $V$ is a Baire space with respect to $T_V$ by \cref{open_subspace_of_baire_space}.
            Let $R = \{w\in\naturalsPlus\times\pow{X} \mid
                \text{$\snd{w}$ is the $k$-th Cauchy stage set of $s$ at $\fst{w}$ from $X$ to $Y$ with respect to $d$}\}$.
            $R$ is a relation by \cref{times_elem_is_tuple,relation}.
            Show that for all $n\in\naturalsPlus$ there exists $A$ such that $n\mathrel{R} A$.
            \begin{subproof}
                Fix $n\in\naturalsPlus$.
                Let $A = \{y\in X \mid \forall p,q\in\naturalsPlus. (n \leq p \land n \leq q) \implies
                    d((\apply{\apply{s}{p}}{y},\apply{\apply{s}{q}}{y})) \leq 1 / k\}$.
                $A$ is the $k$-th Cauchy stage set of $s$ at $n$ from $X$ to $Y$ with respect to $d$
                    by \cref{function_sequence_cauchy_stage_set}.
                $(n,A)\in R$
                    by \cref{function_sequence_cauchy_stage_set,subseteq,powerset_intro,times_tuple_intro,fst_eq,snd_eq}.
                There exists $B$ such that $n\mathrel{R} B$.
            \end{subproof}
            Take $a$ such that $a$ is a function on $\naturalsPlus$ and
                for all $n\in\naturalsPlus$ we have $n\mathrel{R} a(n)$ by \cref{axiom_of_choice}.
            $a$ is a sequence in $\pow{X}$
                by \cref{axiom_of_choice,function_apply_elim,subseteq,times_tuple_elim,funs_intro,sequence_in}.
            Let $b = \{(n, V\inter a(n)) \mid n\in\naturalsPlus\}$.
            For all $n,B_1,B_2$ such that $(n,B_1)\in b$ and $(n,B_2)\in b$ we have $B_1 = B_2$
                by \cref{pair_eq_iff}.
            $b$ is right-unique by \cref{rightunique}.
            $b$ is a function.
            For all $n$ such that $n\in\naturalsPlus$ we have $n\in\dom{b}$
                by \cref{pair_eq_iff,dom_intro}.
            For all $n$ such that $n\in\dom{b}$ we have $n\in\naturalsPlus$
                by \cref{dom_iff,pair_eq_iff}.
            $\dom{b} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
            $b$ is a sequence in $\pow{V}$
                by \cref{dom_iff,pair_eq_iff,function_apply_intro,inter_lower_left,real_lt_subst_left,powerset_intro,funs_intro,sequence_in}.
            Show that for all $n\in\naturalsPlus$ we have
                $b(n)$ is closed in $V$ with respect to $T_V$ and
                $b(n)$ has empty interior in $V$ with respect to $T_V$.
            \begin{subproof}
                Fix $n\in\naturalsPlus$.
                $a(n)$ is the $k$-th Cauchy stage set of $s$ at $n$ from $X$ to $Y$ with respect to $d$
                    by \cref{axiom_of_choice,function_apply_elim,fst_eq,snd_eq}.
                $a(n)$ is closed in $X$ with respect to $T$ by \cref{function_sequence_cauchy_stage_set_closed}.
                $b(n) = V\inter a(n)$ by \cref{pair_eq_iff,sequence_in,funs_elim,function_apply_intro}.
                $b(n)$ is closed in $V$ with respect to $T_V$
                    by \cref{inter_comm,real_lt_subst_left,closed_in_subspace_iff,subspace_of}.
                Suppose not.
                $\interior{b(n)}{V}{T_V}\neq\emptyset$
                    by \cref{sequence_in,funs_elim,powerset_elim,empty_interior}.
                Take $y$ such that $y\in\interior{b(n)}{V}{T_V}$ by \cref{emptyset,nonempty_inhabited}.
                Take $W\in T_V$ such that $y\in W$ and $W\subseteq b(n)$ by \cref{interior}.
                $W$ is open in $V$ with respect to $T_V$ by \cref{open_in}.
                $W$ is open in $X$ with respect to $T$ by \cref{open_in_subspace_open_in_space,subspace_of}.
                $V\inter a(n)\subseteq a(n)$ by \cref{inter_lower_right}.
                $b(n)\subseteq a(n)$ by \cref{real_lt_subst_left}.
                $W\subseteq a(n)$ by \cref{subseteq_transitive}.
                $W\in T$ by \cref{open_in}.
                $W\subseteq X$ by \cref{topology_on,subseteq,pow_iff}.
                $y\in X$ by \cref{subseteq}.
                $y\in\interior{a(n)}{X}{T}$ by \cref{interior}.
                $y\in V$ by \cref{interior}.
                $y\in U$ by \cref{function_sequence_cauchy_stage_union}.
                $y\in V\inter U$ by \cref{inter_intro}.
                $V$ intersects $U$ by \cref{emptyset,intersects,inter}.
                Contradiction.
                $b(n)$ has empty interior in $V$ with respect to $T_V$ by \cref{empty_interior}.
            \end{subproof}
            $\unions{\img{b}{\naturalsPlus}}$ has empty interior in $V$ with respect to $T_V$ by \cref{baire_space}.
            Show that for all $y$ such that $y\in V$ we have $y\in\unions{\img{b}{\naturalsPlus}}$.
            \begin{subproof}
                Fix $y$ such that $y\in V$.
                $y\in X$ by \cref{subseteq}.
                Take $t$ such that
                    $t$ is the coordinate sequence of $s$ at $y$ from $X$ to $Y$ and
                    $t$ converges to $\apply{f}{y}$ in $Y$ with respect to $\metricTopology{d}{Y}$ by \cref{subseteq}.
                $t$ is a sequence in $Y$ by \cref{function_sequence_coordinate_sequence}.
                $\apply{f}{y}\in Y$ by \cref{funs_type_apply}.
                $t$ is a Cauchy sequence in $Y$ with respect to $d$ by \cref{metric_convergent_sequence_cauchy}.
                $1 / k\in\reals$ and $0 < 1 / k$
                    by \cref{naturalsplus_reciprocal_real,positive_reciprocal_naturalsplus}.
                Take $N\in\naturalsPlus$ such that
                    for all $p,q\in\naturalsPlus$ if $N \leq p$ and $N \leq q$ then
                        $d((t(p),t(q))) < 1 / k$ by \cref{cauchy_sequence}.
                Let $A = \{z\in X \mid \forall p,q\in\naturalsPlus. (N \leq p \land N \leq q) \implies
                    d((\apply{\apply{s}{p}}{z},\apply{\apply{s}{q}}{z})) \leq 1 / k\}$.
                $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$
                    by \cref{function_sequence_cauchy_stage_set}.
                For all $p,q$ such that
                    $p\in\naturalsPlus$ and
                    $q\in\naturalsPlus$ and
                    $N \leq p$ and
                    $N \leq q$
                    we have $d((\apply{\apply{s}{p}}{y},\apply{\apply{s}{q}}{y})) \leq 1 / k$
                    by \cref{subseteq,function_sequence_coordinate_sequence,real_lt_subst_left,real_lt_subst_right,real_lt_imp_leq}.
                $y\in A$ by \cref{subseteq}.
                $a(N)$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$
                    by \cref{axiom_of_choice,function_apply_elim,fst_eq,snd_eq}.
                $A = a(N)$ by \cref{function_sequence_cauchy_stage_set_unique}.
                $b(N) = V\inter a(N)$ by \cref{pair_eq_iff,sequence_in,funs_elim,function_apply_intro}.
                $y\in V\inter a(N)$ by \cref{inter_intro,real_lt_subst_left}.
                $y\in b(N)$ by \cref{real_lt_subst_right}.
                $b(N)\in\img{b}{\naturalsPlus}$ by \cref{sequence_in,funs_elim,function_apply_elim,img_iff}.
                $y\in\unions{\img{b}{\naturalsPlus}}$ by \cref{unions_iff}.
            \end{subproof}
            $V\subseteq\unions{\img{b}{\naturalsPlus}}$ by \cref{subseteq}.
            $\img{b}{\naturalsPlus}\subseteq\pow{V}$ by \cref{img_subseteq_ran,sequence_in,funs_ran,subseteq_transitive}.
            $\unions{\img{b}{\naturalsPlus}}\subseteq V$ by \cref{unions_subseteq_of_powerset_is_subseteq}.
            $\unions{\img{b}{\naturalsPlus}} = V$ by \cref{subseteq_antisymmetric}.
            $V$ has empty interior in $V$ with respect to $T_V$ by \cref{real_lt_subst_left}.
            $x\in\interior{V}{V}{T_V}$ by \cref{topology_on,subseteq_refl,interior}.
            $\interior{V}{V}{T_V} = \emptyset$ by \cref{empty_interior}.
            Contradiction by \cref{emptyset}.
            $V$ intersects $U$.
        \end{subproof}
        $U\subseteq X$ by \cref{function_sequence_cauchy_stage_union,subseteq}.
        $x\in\closure{U}{X}{T}$ by \cref{closure_iff_intersects_open}.
    \end{subproof}
    $X\subseteq\closure{U}{X}{T}$ by \cref{subseteq}.
    $\closure{U}{X}{T}\subseteq X$ by \cref{closure,subseteq}.
    $\closure{U}{X}{T} = X$ by \cref{subseteq_antisymmetric}.
    $U$ is dense in $X$ with respect to $T$ by \cref{dense_in}.
\end{proof}
Theorem 140
pointwise_limit_continuous_on_dense_set

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Assume $s$ is a sequence in $\funs{X}{Y}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.
Assume $X$ is a Baire space with respect to $T$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $t$ such that $t$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$ and $t$ converges to $\apply{f}{x}$ in $Y$ with respect to $\metricTopology{d}{Y}$.
Then there exists $C$ such that $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $C$ is dense in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.

LaTeX source
\begin{theorem}
\label{pointwise_limit_continuous_on_dense_set}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Assume $s$ is a sequence in $\funs{X}{Y}$.
    Assume $f\in\funs{X}{Y}$.
    Assume $X$ is a Baire space with respect to $T$.
    Suppose for all $n\in\naturalsPlus$ we have
        $s(n)$ is continuous from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Suppose for all $x\in X$ there exists $t$ such that
        $t$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$ and
        $t$ converges to $\apply{f}{x}$ in $Y$ with respect to $\metricTopology{d}{Y}$.
    Then there exists $C$ such that
        $C\subseteq X$ and
        $C$ is dense in $X$ with respect to $T$ and
        for all $x\in C$ we have
            $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
\end{theorem}
Proof

Let $T_Y = \metricTopology{d}{Y}$.
$T$ is a topology on $X$ by Definition 383.
$T_Y$ is a topology on $Y$ by Definition 179, Definition 182, Lemma 76, Lemma 194.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{X} \mid \text{$\snd{w}$ is the $\fst{w}$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$}\}$.
$R$ is a relation by Definition 12, Proposition 121.

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ there exists $U$ such that $k\mathrel{R} U$.

Fix $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Let $S = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{X} \mid \text{$\snd{w}$ is the $k$-th Cauchy stage set of $s$ at $\fst{w}$ from $X$ to $Y$ with respect to $d$}\}$.
$S$ is a relation by Definition 12, Proposition 121.
Let $U = \{x\class{latex-symbol-tip latex-symbol-id-in}{\in} X \mid \class{latex-symbol-tip latex-symbol-id-exists}{\exists} N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus. \class{latex-symbol-tip latex-symbol-id-exists}{\exists} A\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}. (N,A)\class{latex-symbol-tip latex-symbol-id-in}{\in} S \class{latex-symbol-tip latex-symbol-id-land}{\land} x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}\}$.
For all $x$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ iff $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Axiom 10, Axiom 11, Definition 1, Definition 385, Proposition 115, Proposition 155.
$U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 386.
$(k,U)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 10, Axiom 11, Definition 1, Definition 386, Proposition 115, Proposition 155.
There exists $V$ such that $k\mathrel{R} V$.

Take $u$ such that $u$ is a function on $\naturalsPlus$ and for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $k\mathrel{R} u(k)$ by Axiom 54.
$u$ is a sequence in $\pow{X}$ by Axiom 54, Definition 1, Definition 158, Proposition 114, Proposition 348, Proposition 358.
For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(k)$ is open in $X$ with respect to $T$ and $u(k)$ is dense in $X$ with respect to $T$ by Axiom 10, Axiom 11, Axiom 54, Lemma 943, Lemma 945, Proposition 348.
Let $C = \inters{\img{u}{\naturalsPlus}}$.
$C$ is dense in $X$ with respect to $T$ by Definition 383, Lemma 921.
$\img{u}{\naturalsPlus}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{X}$ by Definition 158, Proposition 6, Proposition 237, Proposition 363.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 4, Proposition 4, Proposition 159.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.

Claim: For all $V$ such that $V$ is open in $Y$ with respect to $T_Y$ and $\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ there exists $W$ such that $W$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $\img{f}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.

Fix $V$ such that $V$ is open in $Y$ with respect to $T_Y$ and $\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 361.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 12, Definition 1, Definition 101, Definition 103.
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}{Y}{\apply{f}{x}}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Lemma 195.
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}$ 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.
Let $\class{latex-symbol-tip latex-symbol-id-eta}{\eta} = \class{latex-symbol-tip latex-symbol-id-delta}{\delta} / (1 + 1)$.
$\class{latex-symbol-tip latex-symbol-id-eta}{\eta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ and $\class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} = \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 275.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / k$ and $1 / k < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Proposition 476.
$1 / k\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 90.
$u(k)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{u}{\naturalsPlus}$ by Axiom 54, Proposition 235, Proposition 348.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} u(k)$ by Proposition 32.
$(k,u(k))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 54.
$u(k)$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$ by Axiom 10, Axiom 11.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Definition 386.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Definition 1.
Take $A$ such that $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Definition 1.
$s(N)$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$ by Definition 1, Lemma 161.
Let $B = \metricBall{d}{Y}{\apply{\apply{s}{N}}{x}}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 1, Definition 180.
$\apply{\apply{s}{N}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 158, Proposition 361.
$B\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBasis{d}{Y}$ by Definition 1, Definition 180, Definition 181, Proposition 155.
$B\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Y$ by Definition 115, Definition 182, Lemma 77, Lemma 194.
$B$ is open in $Y$ with respect to $T_Y$ by Definition 101, Definition 103.
$d((\apply{\apply{s}{N}}{x},\apply{\apply{s}{N}}{x})) = 0$ by Definition 158, Definition 176, Definition 179, Proposition 361.
$\apply{\apply{s}{N}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 180, Lemma 82.
$B$ is a neighborhood of $\apply{\apply{s}{N}}{x}$ in $Y$ with respect to $T_Y$ by Definition 153.
Take $W_0$ such that $W_0$ is a neighborhood of $x$ in $X$ with respect to $T$ and $\img{\apply{s}{N}}{W_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Definition 161.
$W_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_0$ by Definition 153.
Let $W = W_0\inter\interior{A}{X}{T}$.
$W$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Definition 101, Definition 103, Lemma 143, Proposition 61.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f}{W}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.

Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f}{W}$.
$f$ is right-unique and $f$ is a relation and $\dom{f} = X$ by Definition 55, Proposition 345, Proposition 355, Proposition 356.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter W$ such that $z = f(y)$ by Proposition 365.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W_0$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\interior{A}{X}{T}$ by Definition 5, Definition 55.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1, Lemma 145.
$\apply{s}{N}$ is right-unique and $\apply{s}{N}$ is a relation and $\dom{\apply{s}{N}} = X$ by Definition 55, Definition 160, Proposition 345, Proposition 355, Proposition 356.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{\apply{s}{N}}$ by Lemma 83.
$\apply{\apply{s}{N}}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{\apply{s}{N}}{W_0}$ by Proposition 61, Proposition 364.
$\apply{\apply{s}{N}}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 1.
$\apply{\apply{s}{N}}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1.
$d((\apply{\apply{s}{N}}{x},\apply{\apply{s}{N}}{y})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 180.
$d((\apply{\apply{s}{N}}{y},\apply{\apply{s}{N}}{x})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 177, Definition 179, Lemma 82.
Take $t_y$ such that $t_y$ is the coordinate sequence of $s$ at $y$ from $X$ to $Y$ and $t_y$ converges to $\apply{f}{y}$ in $Y$ with respect to $T_Y$ by Definition 1.
Take $t_x$ such that $t_x$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$ and $t_x$ converges to $\apply{f}{x}$ in $Y$ with respect to $T_Y$ by Definition 1.
$d((\apply{\apply{s}{N}}{y},\apply{f}{y})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Lemma 941.
$d((\apply{\apply{s}{N}}{x},\apply{f}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Lemma 941.
$\apply{f}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $\apply{\apply{s}{N}}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $\apply{\apply{s}{N}}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 158, Proposition 361.
$(\apply{\apply{s}{N}}{y},\apply{f}{y})\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ and $(\apply{f}{y},\apply{\apply{s}{N}}{y})\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ and $(\apply{\apply{s}{N}}{x},\apply{f}{x})\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ and $(\apply{\apply{s}{N}}{y},\apply{\apply{s}{N}}{x})\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Proposition 115.
$d((\apply{f}{y},\apply{\apply{s}{N}}{y})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Definition 177, Definition 179, Lemma 82.
Let $a = d((\apply{f}{y},\apply{\apply{s}{N}}{y}))$.
Let $b = d((\apply{\apply{s}{N}}{y},\apply{\apply{s}{N}}{x}))$.
Let $c = d((\apply{\apply{s}{N}}{x},\apply{f}{x}))$.
$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$ by Definition 179, Proposition 361.
$a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ and $b < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / k$ by Lemma 82, Lemma 83.
$a < 1 / k$ or $a = 1 / k$ by Lemma 81.
$a < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Axiom 36, Lemma 82.
$c < 1 / k$ or $c = 1 / k$ by Lemma 81.
$c < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Axiom 36, Lemma 82.
$a + c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$a + c < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Proposition 450.
$a + c < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 83.
$b + (a + c)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ 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-in}{\in}\reals$ by Axiom 13.
$b + (a + c) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta} + \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Proposition 450.
$b + (a + c) = a + b + c$ by Axiom 15, Axiom 16.
$a + b + c < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 82, Lemma 83.
$d((\apply{f}{y},\apply{f}{x})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + b + c$ by Lemma 82, Lemma 83, Lemma 942.
$d((\apply{f}{y},\apply{f}{x})) < a + b + c$ or $d((\apply{f}{y},\apply{f}{x})) = a + b + c$ by Lemma 81.
$d((\apply{f}{y},\apply{f}{x}))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
$d((\apply{f}{y},\apply{f}{x})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36, Lemma 82.
$d((\apply{f}{x},\apply{f}{y})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 177, Definition 179, Lemma 82, Proposition 115.
$\apply{f}{y}\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{\apply{f}{x}}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 180.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{\apply{f}{x}}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Lemma 82.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.

$\img{f}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1.
There exists $U_0$ such that $U_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ and $\img{f}{U_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.

$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$ by Lemma 469.

There exists $D$ such that $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $D$ is dense in $X$ with respect to $T$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ we have $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$.

LaTeX source
\begin{proof}
    Let $T_Y = \metricTopology{d}{Y}$.
    $T$ is a topology on $X$ by \cref{baire_space}.
    $T_Y$ is a topology on $Y$
        by \cref{metric_on,metric_basis_is_basis,basis_topology_is_topology,metric_topology}.
    Let $R = \{w\in\naturalsPlus\times\pow{X} \mid
        \text{$\snd{w}$ is the $\fst{w}$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$}\}$.
    $R$ is a relation by \cref{times_elem_is_tuple,relation}.
    Show that for all $k\in\naturalsPlus$ there exists $U$ such that $k\mathrel{R} U$.
        \begin{subproof}
            Fix $k\in\naturalsPlus$.
            Let $S = \{w\in\naturalsPlus\times\pow{X} \mid
                \text{$\snd{w}$ is the $k$-th Cauchy stage set of $s$ at $\fst{w}$ from $X$ to $Y$ with respect to $d$}\}$.
            $S$ is a relation by \cref{times_elem_is_tuple,relation}.
            Let $U = \{x\in X \mid \exists N\in\naturalsPlus. \exists A\in\pow{X}. (N,A)\in S \land x\in\interior{A}{X}{T}\}$.
            For all $x$ we have
                $x\in U$ iff
                    $x\in X$ and
                    there exists $N\in\naturalsPlus$ such that
                        there exists $A$ such that
                            $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                            $x\in\interior{A}{X}{T}$
                by \cref{subseteq,function_sequence_cauchy_stage_set,powerset_intro,times_tuple_intro,fst_eq,snd_eq}.
            $U$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$
                by \cref{function_sequence_cauchy_stage_union}.
        $(k,U)\in R$
            by \cref{function_sequence_cauchy_stage_union,subseteq,powerset_intro,times_tuple_intro,fst_eq,snd_eq}.
        There exists $V$ such that $k\mathrel{R} V$.
    \end{subproof}
    Take $u$ such that $u$ is a function on $\naturalsPlus$ and
        for all $k\in\naturalsPlus$ we have $k\mathrel{R} u(k)$ by \cref{axiom_of_choice}.
    $u$ is a sequence in $\pow{X}$
        by \cref{axiom_of_choice,function_apply_elim,subseteq,times_tuple_elim,funs_intro,sequence_in}.
    For all $k\in\naturalsPlus$ we have
        $u(k)$ is open in $X$ with respect to $T$ and
        $u(k)$ is dense in $X$ with respect to $T$
        by \cref{axiom_of_choice,function_apply_elim,fst_eq,snd_eq,function_sequence_cauchy_stage_union_open,function_sequence_cauchy_stage_union_dense}.
    Let $C = \inters{\img{u}{\naturalsPlus}}$.
    $C$ is dense in $X$ with respect to $T$ by \cref{baire_space_open_set_characterization,baire_space}.
    $\img{u}{\naturalsPlus}\subseteq\pow{X}$ by \cref{img_subseteq_ran,sequence_in,funs_ran,subseteq_transitive}.
    $C\subseteq X$ by \cref{unions_subseteq_of_powerset_is_subseteq,inters,elem_subseteq,subseteq}.
    Show that for all $x\in C$ we have
        $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$.
        \begin{subproof}
            Fix $x\in C$.
            Show that for all $V$ such that $V$ is open in $Y$ with respect to $T_Y$ and $\apply{f}{x}\in V$
                there exists $W$ such that $W$ is open in $X$ with respect to $T$ and $x\in W$ and $\img{f}{W}\subseteq V$.
        \begin{subproof}
            Fix $V$ such that $V$ is open in $Y$ with respect to $T_Y$ and $\apply{f}{x}\in V$.
            $x\in X$ by \cref{subseteq}.
            $\apply{f}{x}\in Y$ by \cref{funs_type_apply}.
            $V\subseteq Y$ by \cref{open_in,topology_on,subseteq,pow_iff}.
            Take $\epsilon\in\reals$ such that $0 < \epsilon$ and
                $\metricBall{d}{Y}{\apply{f}{x}}{\epsilon}\subseteq V$ by \cref{metric_open_iff}.
            Let $\delta = \epsilon / (1 + 1)$.
            $\delta\in\reals$ and $0 < \delta$ and $\delta + \delta = \epsilon$ by \cref{real_half_of_positive}.
            Let $\eta = \delta / (1 + 1)$.
            $\eta\in\reals$ and $0 < \eta$ and $\eta + \eta = \delta$ by \cref{real_half_of_positive}.
            Take $k\in\naturalsPlus$ such that $0 < 1 / k$ and $1 / k < \eta$ by \cref{real_small_reciprocal}.
            $1 / k\in\reals$ by \cref{naturalsplus_reciprocal_real}.
            $u(k)\in\img{u}{\naturalsPlus}$ by \cref{axiom_of_choice,function_apply_elim,img_iff}.
            $x\in u(k)$ by \cref{inters_destr}.
            $(k,u(k))\in R$ by \cref{axiom_of_choice}.
            $u(k)$ is the $k$-th Cauchy stage union of $s$ from $X$ to $Y$ with respect to $T$ and $d$
                by \cref{fst_eq,snd_eq}.
            $x\in X$ and
                there exists $N\in\naturalsPlus$ such that
                    there exists $A$ such that
                        $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                        $x\in\interior{A}{X}{T}$ by \cref{function_sequence_cauchy_stage_union}.
            Take $N\in\naturalsPlus$ such that
                there exists $A$ such that
                    $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                    $x\in\interior{A}{X}{T}$ by \cref{subseteq}.
            Take $A$ such that
                $A$ is the $k$-th Cauchy stage set of $s$ at $N$ from $X$ to $Y$ with respect to $d$ and
                $x\in\interior{A}{X}{T}$ by \cref{subseteq}.
            $s(N)$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$
                by \cref{subseteq,continuous_implies_continuous_at}.
            Let $B = \metricBall{d}{Y}{\apply{\apply{s}{N}}{x}}{\delta}$.
            $B\subseteq Y$ by \cref{metric_ball,subseteq}.
            $\apply{\apply{s}{N}}{x}\in Y$ by \cref{sequence_in,funs_type_apply}.
            $B\in\metricBasis{d}{Y}$ by \cref{metric_ball,subseteq,powerset_intro,metric_basis}.
            $B\in T_Y$ by \cref{metric_basis_is_basis,basis_elem_open_in_generated,basis_for_topology,metric_topology}.
            $B$ is open in $Y$ with respect to $T_Y$ by \cref{open_in,topology_on}.
            $d((\apply{\apply{s}{N}}{x},\apply{\apply{s}{N}}{x})) = 0$ by \cref{metric_zero_characterization,metric_on,sequence_in,funs_type_apply}.
            $\apply{\apply{s}{N}}{x}\in B$ by \cref{real_lt_subst_left,metric_ball}.
            $B$ is a neighborhood of $\apply{\apply{s}{N}}{x}$ in $Y$ with respect to $T_Y$ by \cref{neighborhood}.
            Take $W_0$ such that
                $W_0$ is a neighborhood of $x$ in $X$ with respect to $T$ and
                $\img{\apply{s}{N}}{W_0}\subseteq B$ by \cref{continuous_at}.
            $W_0$ is open in $X$ with respect to $T$ and $x\in W_0$ by \cref{neighborhood}.
            Let $W = W_0\inter\interior{A}{X}{T}$.
            $W$ is open in $X$ with respect to $T$ and $x\in W$
                by \cref{interior_open_in,open_in,topology_on,inter_intro}.
            Show that for all $z$ such that $z\in\img{f}{W}$ we have $z\in V$.
            \begin{subproof}
                Fix $z$ such that $z\in\img{f}{W}$.
                $f$ is right-unique and $f$ is a relation and $\dom{f} = X$
                    by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
                Take $y\in\dom{f}\inter W$ such that $z = f(y)$ by \cref{img_of_function_elim}.
                $y\in X$ and $y\in W_0$ and $y\in\interior{A}{X}{T}$ by \cref{funs,inter}.
                $y\in A$ and $x\in A$ by \cref{interior_subseteq,subseteq}.
                $\apply{s}{N}$ is right-unique and $\apply{s}{N}$ is a relation and $\dom{\apply{s}{N}} = X$
                    by \cref{continuous,funs,funs_is_function,function_rightunique,funs_is_relation}.
                $y\in\dom{\apply{s}{N}}$ by \cref{real_lt_subst_right}.
                $\apply{\apply{s}{N}}{y}\in\img{\apply{s}{N}}{W_0}$ by \cref{inter_intro,img_of_function_intro}.
                $\apply{\apply{s}{N}}{y}\in B$ by \cref{subseteq}.
                $\apply{\apply{s}{N}}{y}\in Y$ by \cref{subseteq}.
                $d((\apply{\apply{s}{N}}{x},\apply{\apply{s}{N}}{y})) < \delta$ by \cref{metric_ball}.
                $d((\apply{\apply{s}{N}}{y},\apply{\apply{s}{N}}{x})) < \delta$
                    by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                Take $t_y$ such that
                    $t_y$ is the coordinate sequence of $s$ at $y$ from $X$ to $Y$ and
                    $t_y$ converges to $\apply{f}{y}$ in $Y$ with respect to $T_Y$ by \cref{subseteq}.
                Take $t_x$ such that
                    $t_x$ is the coordinate sequence of $s$ at $x$ from $X$ to $Y$ and
                    $t_x$ converges to $\apply{f}{x}$ in $Y$ with respect to $T_Y$ by \cref{subseteq}.
                $d((\apply{\apply{s}{N}}{y},\apply{f}{y})) \leq 1 / k$ by \cref{function_sequence_cauchy_stage_limit_bound}.
                $d((\apply{\apply{s}{N}}{x},\apply{f}{x})) \leq 1 / k$ by \cref{function_sequence_cauchy_stage_limit_bound}.
                $\apply{f}{y}\in Y$ and $\apply{f}{x}\in Y$ and
                    $\apply{\apply{s}{N}}{y}\in Y$ and $\apply{\apply{s}{N}}{x}\in Y$
                    by \cref{funs_type_apply,sequence_in}.
                $(\apply{\apply{s}{N}}{y},\apply{f}{y})\in Y\times Y$ and
                    $(\apply{f}{y},\apply{\apply{s}{N}}{y})\in Y\times Y$ and
                    $(\apply{\apply{s}{N}}{x},\apply{f}{x})\in Y\times Y$ and
                    $(\apply{\apply{s}{N}}{y},\apply{\apply{s}{N}}{x})\in Y\times Y$
                    by \cref{times_tuple_intro}.
                $d((\apply{f}{y},\apply{\apply{s}{N}}{y})) \leq 1 / k$
                    by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                Let $a = d((\apply{f}{y},\apply{\apply{s}{N}}{y}))$.
                Let $b = d((\apply{\apply{s}{N}}{y},\apply{\apply{s}{N}}{x}))$.
                Let $c = d((\apply{\apply{s}{N}}{x},\apply{f}{x}))$.
                $a\in\reals$ and $b\in\reals$ and $c\in\reals$ by \cref{metric_on,funs_type_apply}.
                $a \leq 1 / k$ and $b < \delta$ and $c \leq 1 / k$
                    by \cref{real_lt_subst_left,real_lt_subst_right}.
                $a < 1 / k$ or $a = 1 / k$ by \cref{real_leq_split}.
                $a < \eta$ by \cref{real_lt_trans,real_lt_subst_left}.
                $c < 1 / k$ or $c = 1 / k$ by \cref{real_leq_split}.
                $c < \eta$ by \cref{real_lt_trans,real_lt_subst_left}.
                $a + c\in\reals$ and $\eta + \eta\in\reals$ by \cref{real_add_closed}.
                $a + c < \eta + \eta$ by \cref{real_lt_add_two}.
                $a + c < \delta$ by \cref{real_lt_subst_right}.
                $b + (a + c)\in\reals$ and $\delta + \delta\in\reals$ by \cref{real_add_closed}.
                $b + (a + c) < \delta + \delta$ by \cref{real_lt_add_two}.
                $b + (a + c) = a + b + c$ by \cref{real_add_assoc,real_add_comm}.
                $a + b + c < \epsilon$ by \cref{real_lt_subst_left,real_lt_subst_right}.
                $d((\apply{f}{y},\apply{f}{x})) \leq a + b + c$
                    by \cref{metric_four_point_upper_bound,real_lt_subst_left,real_lt_subst_right}.
                $d((\apply{f}{y},\apply{f}{x})) < a + b + c$ or
                    $d((\apply{f}{y},\apply{f}{x})) = a + b + c$
                    by \cref{real_leq_split}.
                $d((\apply{f}{y},\apply{f}{x}))\in\reals$ by \cref{times_tuple_intro,metric_on,funs_type_apply}.
                $d((\apply{f}{y},\apply{f}{x})) < \epsilon$
                    by \cref{real_lt_trans,real_lt_subst_left}.
                $d((\apply{f}{x},\apply{f}{y})) < \epsilon$
                    by \cref{times_tuple_intro,metric_on,metric_symmetric,real_lt_subst_left}.
                $\apply{f}{y}\in\metricBall{d}{Y}{\apply{f}{x}}{\epsilon}$ by \cref{metric_ball}.
                $z\in\metricBall{d}{Y}{\apply{f}{x}}{\epsilon}$ by \cref{real_lt_subst_left}.
                $z\in V$ by \cref{subseteq}.
            \end{subproof}
            $\img{f}{W}\subseteq V$ by \cref{subseteq}.
            There exists $U_0$ such that
                $U_0$ is open in $X$ with respect to $T$ and
                $x\in U_0$ and
                $\img{f}{U_0}\subseteq V$.
        \end{subproof}
        $x\in X$ by \cref{subseteq}.
        $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$
            by \cref{continuous_at_open}.
    \end{subproof}
    There exists $D$ such that
        $D\subseteq X$ and
        $D$ is dense in $X$ with respect to $T$ and
        for all $x\in D$ we have
            $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_Y$.
\end{proof}