Topology (Munkres)

§28 Limit Point Compactness

Definition 257
limit_point_compact

$X$ is limit point compact with respect to $T$ iff $T$ is a topology on $X$ and for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is infinite there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$.

LaTeX source
\begin{definition}
\label{limit_point_compact}
    $X$ is limit point compact with respect to $T$ iff
        $T$ is a topology on $X$ and
        for all $A$ such that $A\subseteq X$ and $A$ is infinite
            there exists $x\in X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$.
\end{definition}
Theorem 70
compact_implies_limit_point_compact

Assume $T$ is a topology on $X$.
Suppose $X$ is compact with respect to $T$.
Then $X$ is limit point compact with respect to $T$.

LaTeX source
\begin{theorem}
\label{compact_implies_limit_point_compact}
    Assume $T$ is a topology on $X$.
    Suppose $X$ is compact with respect to $T$.
    Then $X$ is limit point compact with respect to $T$.
\end{theorem}
Proof
Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is infinite there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$.

Fix $A$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is infinite.
Suppose not.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x$ is not a limit point of $A$ in $X$ with respect to $T$.

Let $C = \{U\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X} \mid \text{there exists $a\in A$ such that $U$ is a neighborhood of $a$ in $X$ with respect to $T$ and $U\inter (A\setminus\{a\}) = \emptyset$}\}$.

For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $U$ is open in $X$ with respect to $T$ by Definition 153.

For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{C}$ by Axiom 4, Definition 1, Definition 101, Definition 103, Definition 152, Definition 153, Definition 154.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\unions{C}$ by Definition 1.

For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\limitPoints{A}{X}{T}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 155.
$X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is open in $X$ with respect to $T$ by Definition 1, Definition 149, Proposition 6, Proposition 11, Corollary 9.

Let $D = C\union\{X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A\}$.

For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ we have $U$ is open in $X$ with respect to $T$ by Axiom 5, Definition 149, Proposition 22.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{D}$ by Axiom 4, Axiom 5, Definition 1, Proposition 20, Proposition 85.
$D$ is an open covering of $X$ with respect to $T$ by Definition 1, Definition 245, Definition 246.

Take $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ and $B$ is finite and $B$ is a covering of $X$ by Definition 247.
Let $B_A = \{U\class{latex-symbol-tip latex-symbol-id-in}{\in} B \mid U\class{latex-symbol-tip latex-symbol-id-neq}{\neq} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A\}$.
$B_A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ and $B_A$ is finite by Definition 1, Lemma 44.

Claim: For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{B_A}$.

Fix $a$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 4, Definition 1, Definition 245.
$U\class{latex-symbol-tip latex-symbol-id-neq}{\neq} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{B_A}$ by Axiom 4.

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

Let $h = \{(U, U\inter A) \mid U\class{latex-symbol-tip latex-symbol-id-in}{\in} B_A\}$.
For all $U,V_1,V_2$ such that $(U,V_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ and $(U,V_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ we have $V_1 = V_2$ by Axiom 6.
$h$ is right-unique by Definition 51.
$h$ is a function.

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

$B_A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{h}$ by Definition 1.

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

$\dom{h}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B_A$ by Definition 1.
$\dom{h} = B_A$ by Proposition 3.
$h$ is a function on $B_A$.

Let $F = \img{h}{B_A}$.

Claim: For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $V$ is finite.

Fix $V$.
Assume $V\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} B_A$ such that $(U,V)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Proposition 235.
Take $U_0$ such that $(U,V) = (U_0,U_0\inter A)$ by Axiom 6.
Take $a$ such that $U$ is a neighborhood of $a$ in $X$ with respect to $T$ and $U\inter (A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{a\}) = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 5, Definition 1, Proposition 22.

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

Fix $x$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 6, Definition 5.

Case. $x = a$.

$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\{a\}$ by Proposition 20.

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

$x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\{a\}$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{a\}$ by Proposition 22, Proposition 85.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U\inter (A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{a\})$ by Proposition 61.
Contradiction by Axiom 2.

LaTeX source
\begin{byCase}
                \caseOf{$x = a$.}
                    $x\in\{a\}$ by \cref{singleton_intro}.
                \caseOf{$x\neq a$.}
                    $x\notin\{a\}$ and $x\in A\setminus\{a\}$ by \cref{singleton_iff,setminus_intro}.
                    $x\in U\inter (A\setminus\{a\})$ by \cref{inter_intro}.
                    Contradiction by \cref{emptyset}.
                
\end{byCase}

$V$ is finite by Definition 1, Lemma 40, Lemma 44, Proposition 16, Proposition 25.

For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{F}$ by Axiom 4, Axiom 6, Definition 1, Proposition 61, Proposition 235.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\unions{F}$ by Definition 1.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{F}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 4, Axiom 6, Definition 5, Proposition 235.
$\unions{F}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 1.
$\unions{F} = A$ by Proposition 3.

$A$ is finite by Lemma 192, Lemma 360, Proposition 3.
Contradiction.

$X$ is limit point compact with respect to $T$ by Definition 257.

LaTeX source
\begin{proof}
    Show that for all $A$ such that $A\subseteq X$ and $A$ is infinite
        there exists $x\in X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$.
    \begin{subproof}
        Fix $A$.
        Assume $A\subseteq X$ and $A$ is infinite.
        Suppose not.
        For all $x\in X$ we have $x$ is not a limit point of $A$ in $X$ with respect to $T$.

        Let $C = \{U\in\pow{X} \mid \text{there exists $a\in A$ such that
            $U$ is a neighborhood of $a$ in $X$ with respect to $T$ and
            $U\inter (A\setminus\{a\}) = \emptyset$}\}$.

        For all $U$ such that $U\in C$ we have $U$ is open in $X$ with respect to $T$
            by \cref{neighborhood}.

        For all $a$ such that $a\in A$ we have $a\in\unions{C}$
            by \cref{subseteq,limit_point,intersects,neighborhood,open_in,topology_on,unions_iff}.
        $A\subseteq\unions{C}$ by \cref{subseteq}.

        For all $x$ such that $x\in\limitPoints{A}{X}{T}$ we have $x\in\emptyset$ by \cref{limit_points}.
        $X\setminus A$ is open in $X$ with respect to $T$
            by \cref{subseteq,emptyset_subseteq,subseteq_transitive,closed_iff_contains_limit_points,closed_in}.

        Let $D = C\union\{X\setminus A\}$.

        For all $U$ such that $U\in D$ we have $U$ is open in $X$ with respect to $T$
            by \cref{union_iff,singleton_iff,closed_in}.
        For all $x$ such that $x\in X$ we have $x\in\unions{D}$
            by \cref{subseteq,union_iff,unions_iff,setminus_intro,singleton_intro}.
        $D$ is an open covering of $X$ with respect to $T$ by \cref{subseteq,covering,open_covering}.

        Take $B$ such that $B\subseteq D$ and $B$ is finite and $B$ is a covering of $X$ by \cref{compact}.
        Let $B_A = \{U\in B \mid U\neq X\setminus A\}$.
        $B_A\subseteq B$ and $B_A$ is finite by \cref{subseteq,subseteq_finite_is_finite}.

        Show that for all $a$ such that $a\in A$ we have $a\in\unions{B_A}$.
        \begin{subproof}
            Fix $a$.
            Assume $a\in A$.
            Take $U\in B$ such that $a\in U$ by \cref{subseteq,covering,unions_iff}.
            $U\neq X\setminus A$.
            $a\in\unions{B_A}$ by \cref{unions_iff}.
        \end{subproof}
        $A\subseteq\unions{B_A}$ by \cref{subseteq}.

        Let $h = \{(U, U\inter A) \mid U\in B_A\}$.
        For all $U,V_1,V_2$ such that $(U,V_1)\in h$ and $(U,V_2)\in h$ we have $V_1 = V_2$
            by \cref{pair_eq_iff}.
        $h$ is right-unique by \cref{rightunique}.
        $h$ is a function.
        Show that for all $U$ such that $U\in B_A$ we have $U\in\dom{h}$.
        \begin{subproof}
            Follows by \cref{pair_eq_iff,dom_intro}.
        \end{subproof}
        $B_A\subseteq\dom{h}$ by \cref{subseteq}.
        Show that for all $U$ such that $U\in\dom{h}$ we have $U\in B_A$.
        \begin{subproof}
            Follows by \cref{dom_iff,pair_eq_iff}.
        \end{subproof}
        $\dom{h}\subseteq B_A$ by \cref{subseteq}.
        $\dom{h} = B_A$ by \cref{subseteq_antisymmetric}.
        $h$ is a function on $B_A$.

        Let $F = \img{h}{B_A}$.

        Show that for all $V$ such that $V\in F$ we have $V$ is finite.
        \begin{subproof}
            Fix $V$.
            Assume $V\in F$.
            Take $U\in B_A$ such that $(U,V)\in h$ by \cref{img_iff}.
            Take $U_0$ such that $(U,V) = (U_0,U_0\inter A)$ by \cref{pair_eq_iff}.
            Take $a$ such that
                $U$ is a neighborhood of $a$ in $X$ with respect to $T$ and
                $U\inter (A\setminus\{a\}) = \emptyset$
                by \cref{subseteq,union_iff,singleton_iff}.
            Show that for all $x$ such that $x\in V$ we have $x\in\{a\}$.
            \begin{subproof}
                Fix $x$.
                Assume $x\in V$.
                $x\in U$ and $x\in A$ by \cref{pair_eq_iff,inter}.
                \begin{byCase}
                \caseOf{$x = a$.}
                    $x\in\{a\}$ by \cref{singleton_intro}.
                \caseOf{$x\neq a$.}
                    $x\notin\{a\}$ and $x\in A\setminus\{a\}$ by \cref{singleton_iff,setminus_intro}.
                    $x\in U\inter (A\setminus\{a\})$ by \cref{inter_intro}.
                    Contradiction by \cref{emptyset}.
                \end{byCase}
            \end{subproof}
            $V$ is finite
                by \cref{subseteq,pair_is_finite,upair_intro_left,singleton_subset_intro,subseteq_finite_is_finite}.
        \end{subproof}

        For all $a$ such that $a\in A$ we have $a\in\unions{F}$
            by \cref{subseteq,unions_iff,pair_eq_iff,img_iff,inter_intro}.
        $A\subseteq\unions{F}$ by \cref{subseteq}.
        For all $x$ such that $x\in\unions{F}$ we have $x\in A$
            by \cref{unions_iff,img_iff,pair_eq_iff,inter}.
        $\unions{F}\subseteq A$ by \cref{subseteq}.
        $\unions{F} = A$ by \cref{subseteq_antisymmetric}.

        $A$ is finite by \cref{finite_image_function,finite_union_of_finite_family,subseteq_antisymmetric}.
        Contradiction.
    \end{subproof}
    $X$ is limit point compact with respect to $T$ by \cref{limit_point_compact}.
\end{proof}
Lemma 394
naturalsplus_infinite

$\naturalsPlus$ is infinite.

LaTeX source
\begin{lemma}
\label{naturalsplus_infinite}
    $\naturalsPlus$ is infinite.
\end{lemma}
Proof

Suppose not.
$\naturalsPlus$ is finite.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Axiom 2, Axiom 42, Lemma 50, Proposition 2.
$m + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ and $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 45, Definition 1.
$m < m + 1$ by Axiom 16, Axiom 17, Axiom 37, Axiom 41, Axiom 42, Definition 1, Proposition 462.
Contradiction by Axiom 39, Lemma 25, Lemma 83.

LaTeX source
\begin{proof}
    Suppose not.
    $\naturalsPlus$ is finite.
    Take $m\in\naturalsPlus$ such that for all $a\in\naturalsPlus$ we have $a \leq m$
        by \cref{real_one_in_naturals,emptyset,subseteq_refl,finite_naturals_maximum}.
    $m + 1 \leq m$ and $m\in\reals$ and $m + 1\in\reals$
        by \cref{real_naturals_closed_succ,real_naturals_subset_reals,subseteq}.
    $m < m + 1$
        by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_add,real_add_comm}.
    Contradiction by \cref{real_leq_antisym,real_lt_subst_right,real_lt_irreflexive}.
\end{proof}
Theorem 71
limit_point_compact_not_compact

There exists $X,T$ such that $X$ is limit point compact with respect to $T$ and $X$ is not compact with respect to $T$.

LaTeX source
\begin{theorem}
\label{limit_point_compact_not_compact}
    There exists $X,T$ such that
        $X$ is limit point compact with respect to $T$ and
        $X$ is not compact with respect to $T$.
\end{theorem}
Proof

Let $Y = \{0,1\}$.
Let $X = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$.
Let $T_0 = \discrete{\naturalsPlus}$.
Let $T_1 = \{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}, Y\}$.
Let $T = \productTopology{T_0}{T_1}{\naturalsPlus}{Y}$.

$T_0 = \pow{\naturalsPlus}$ and $T_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{\naturalsPlus}$ by Definition 104, Proposition 2.
$\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ and $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ by Definition 104, Proposition 157, Proposition 158.
$T_0$ is closed under arbitrary unions by Definition 104, Proposition 6, Corollary 2.
$T_0$ is closed under binary intersections by Definition 1, Definition 104, Proposition 160.
$T_0$ is a topology on $\naturalsPlus$ by Definition 101.

$T_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\pow{Y}$ by Definition 1, Proposition 2, Proposition 11, Proposition 19, Proposition 155.
$\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ and $Y\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ by Proposition 16, Proposition 17.

Claim: $T_1$ is closed under arbitrary unions.

Fix $M$ such that $M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_1$.

Case. $Y\class{latex-symbol-tip latex-symbol-id-in}{\in} M$.

$\unions{M}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 12, Proposition 6, Corollary 2.
$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\unions{M}$ by Axiom 4, Definition 1.
$\unions{M}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ by Proposition 3, Proposition 17.

Case. $Y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} M$.

For all $U$ such that $U\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 1, Proposition 2, Proposition 19.
$\unions{M}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ by Proposition 12, Proposition 16, Proposition 29.

LaTeX source
\begin{byCase}
        \caseOf{$Y\in M$.}
            $\unions{M}\subseteq Y$
                by \cref{subseteq_transitive,powerset_closed_unions,pow_iff}.
            $Y\subseteq\unions{M}$ by \cref{unions_iff,subseteq}.
            $\unions{M}\in T_1$ by \cref{subseteq_antisymmetric,upair_intro_right}.
        \caseOf{$Y\notin M$.}
            For all $U$ such that $U\in M$ we have $U\subseteq\emptyset$
                by \cref{subseteq,upair_iff,subseteq_refl}.
            $\unions{M}\in T_1$ by \cref{unions_family,subseteq_emptyset_iff,upair_intro_left}.
        
\end{byCase}
Claim: $T_1$ is closed under binary intersections.

$T_1$ is a topology on $Y$ by Definition 101.

$\productBasis{T_0}{T_1}{\naturalsPlus}{Y}$ is a basis on $X$ by Lemma 126.
$T$ is a topology on $X$ by Definition 141, Lemma 76.

Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is infinite there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$.

Fix $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is infinite.
Take $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Lemma 35, Proposition 10.
Take $n,y$ such that $a = (n,y)$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Proposition 121.

Claim: There exists $y'$ such that $y'\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y'\class{latex-symbol-tip latex-symbol-id-neq}{\neq} y$.

$y = 0$ or $y = 1$ by Proposition 19.

Case. $y = 0$.

Let $z = 1$.
There exists $y'$ such that $y'\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y'\class{latex-symbol-tip latex-symbol-id-neq}{\neq} y$.

Case. $y = 1$.

Let $z = 0$.
There exists $y'$ such that $y'\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y'\class{latex-symbol-tip latex-symbol-id-neq}{\neq} y$.

LaTeX source
\begin{byCase}
            \caseOf{$y = 0$.}
                Let $z = 1$.
                There exists $y'$ such that $y'\in Y$ and $y'\neq y$.
            \caseOf{$y = 1$.}
                Let $z = 0$.
                There exists $y'$ such that $y'\in Y$ and $y'\neq y$.
            
\end{byCase}

Take $y'$ such that $y'\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $y'\class{latex-symbol-tip latex-symbol-id-neq}{\neq} y$.
Let $x = (n,y')$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 115.

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

Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $U\class{latex-symbol-tip latex-symbol-id-in}{\in}\basisTopology{\productBasis{T_0}{T_1}{\naturalsPlus}{Y}}{X}$ by Definition 103, Definition 141, Definition 153.
Take $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\productBasis{T_0}{T_1}{\naturalsPlus}{Y}$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 114.
Take $U_0,V_0$ such that $V_0\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ and $B = U_0\class{latex-symbol-tip latex-symbol-id-times}{\times} V_0$ by Definition 140.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ and $y'\class{latex-symbol-tip latex-symbol-id-in}{\in} V_0$ by Axiom 6, Proposition 114.
$V_0 = Y$ by Axiom 2, Proposition 19.
$B = U_0\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$.
$(n,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Proposition 115.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{x\}$ by Axiom 6, Proposition 22, Proposition 85.
$U$ intersects $A\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{x\}$ by Axiom 2, Definition 152, Proposition 61.

$x$ is a limit point of $A$ in $X$ with respect to $T$ by Definition 154.

$X$ is limit point compact with respect to $T$ by Definition 257.

Claim: $X$ is not compact with respect to $T$.

Suppose not.
$X$ is compact with respect to $T$.
Let $\class{latex-symbol-tip latex-symbol-id-pi}{\pi} = \piOne{\naturalsPlus}{Y}$.
$\class{latex-symbol-tip latex-symbol-id-pi}{\pi}$ is continuous from $X$ to $\naturalsPlus$ with respect to $T$ and $T_0$ by Lemma 171.
$\img{\class{latex-symbol-tip latex-symbol-id-pi}{\pi}}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Axiom 6, Definition 1, Definition 142, Proposition 121, Proposition 235.
$\naturalsPlus\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\img{\class{latex-symbol-tip latex-symbol-id-pi}{\pi}}{X}$ by Definition 1, Definition 142, Proposition 16, Proposition 115, Proposition 235.
$\img{\class{latex-symbol-tip latex-symbol-id-pi}{\pi}}{X} = \naturalsPlus$ by Proposition 3.
Let $T_A = \subspaceTopology{T_0}{\naturalsPlus}$.
$\naturalsPlus$ is compact with respect to $T_A$ by Theorem 61.
$T_A = T_0$ by Axiom 12, Definition 1, Definition 104, Definition 146, Proposition 3, Proposition 70.
$\naturalsPlus$ is compact with respect to $T_0$.

Let $C = \{\cons{n}{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
$C$ is an open covering of $\naturalsPlus$ with respect to $T_0$ by Axiom 4, Definition 1, Definition 103, Definition 104, Definition 245, Definition 246, Proposition 11, Proposition 14, Proposition 123, Proposition 155.
Take $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $B$ is finite and $B$ is a covering of $\naturalsPlus$ by Definition 247.
$\naturalsPlus$ is finite by Definition 1, Definition 245, Lemma 40, Lemma 44, Lemma 360, Proposition 11, Proposition 16, Proposition 123.
Contradiction by Lemma 394.

There exists $Z,S$ such that $Z$ is limit point compact with respect to $S$ and $Z$ is not compact with respect to $S$.

LaTeX source
\begin{proof}
    Let $Y = \{0,1\}$.
    Let $X = \naturalsPlus\times Y$.
    Let $T_0 = \discrete{\naturalsPlus}$.
    Let $T_1 = \{\emptyset, Y\}$.
    Let $T = \productTopology{T_0}{T_1}{\naturalsPlus}{Y}$.

    $T_0 = \pow{\naturalsPlus}$ and $T_0\subseteq\pow{\naturalsPlus}$
        by \cref{discrete_topology,subseteq_refl}.
    $\emptyset\in T_0$ and $\naturalsPlus\in T_0$ by \cref{discrete_topology,powerset_bottom,powerset_top}.
    $T_0$ is closed under arbitrary unions by \cref{subseteq_transitive,powerset_closed_unions,discrete_topology}.
    $T_0$ is closed under binary intersections by \cref{discrete_topology,subseteq,inter_powerset}.
    $T_0$ is a topology on $\naturalsPlus$ by \cref{topology_on}.

    $T_1\subseteq\pow{Y}$ by \cref{upair_iff,emptyset_subseteq,subseteq_refl,powerset_intro,subseteq}.
    $\emptyset\in T_1$ and $Y\in T_1$ by \cref{upair_intro_left,upair_intro_right}.
    Show that $T_1$ is closed under arbitrary unions.
    \begin{subproof}
        Fix $M$ such that $M\subseteq T_1$.
        \begin{byCase}
        \caseOf{$Y\in M$.}
            $\unions{M}\subseteq Y$
                by \cref{subseteq_transitive,powerset_closed_unions,pow_iff}.
            $Y\subseteq\unions{M}$ by \cref{unions_iff,subseteq}.
            $\unions{M}\in T_1$ by \cref{subseteq_antisymmetric,upair_intro_right}.
        \caseOf{$Y\notin M$.}
            For all $U$ such that $U\in M$ we have $U\subseteq\emptyset$
                by \cref{subseteq,upair_iff,subseteq_refl}.
            $\unions{M}\in T_1$ by \cref{unions_family,subseteq_emptyset_iff,upair_intro_left}.
        \end{byCase}
    \end{subproof}
    Show that $T_1$ is closed under binary intersections.
    \begin{subproof}
        Follows by \cref{upair_iff,inter_comm,inter_emptyset,inter_idempotent,upair_intro_left,upair_intro_right}.
    \end{subproof}
    $T_1$ is a topology on $Y$ by \cref{topology_on}.

    $\productBasis{T_0}{T_1}{\naturalsPlus}{Y}$ is a basis on $X$ by \cref{product_basis_is_basis}.
    $T$ is a topology on $X$ by \cref{basis_topology_is_topology,product_topology}.

    Show that for all $A$ such that $A\subseteq X$ and $A$ is infinite
        there exists $x\in X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$.
        \begin{subproof}
            Fix $A$ such that $A\subseteq X$ and $A$ is infinite.
            Take $a$ such that $a\in A$ by \cref{emptyset_is_finite,nonempty_inhabited}.
            Take $n,y$ such that $a = (n,y)$ and $n\in\naturalsPlus$ and $y\in Y$ by \cref{subseteq,times_elem_is_tuple}.

        Show that there exists $y'$ such that $y'\in Y$ and $y'\neq y$.
        \begin{subproof}
            $y = 0$ or $y = 1$ by \cref{upair_iff}.
            \begin{byCase}
            \caseOf{$y = 0$.}
                Let $z = 1$.
                There exists $y'$ such that $y'\in Y$ and $y'\neq y$.
            \caseOf{$y = 1$.}
                Let $z = 0$.
                There exists $y'$ such that $y'\in Y$ and $y'\neq y$.
            \end{byCase}
        \end{subproof}
        Take $y'$ such that $y'\in Y$ and $y'\neq y$.
        Let $x = (n,y')$.
        $x\in X$ by \cref{times_tuple_intro}.

        Show that for all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$
            we have $U$ intersects $A\setminus\{x\}$.
        \begin{subproof}
            Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
            $x\in U$ and $U\in\basisTopology{\productBasis{T_0}{T_1}{\naturalsPlus}{Y}}{X}$
                by \cref{neighborhood,open_in,product_topology}.
            Take $B\in\productBasis{T_0}{T_1}{\naturalsPlus}{Y}$ such that $x\in B$ and $B\subseteq U$
                by \cref{topology_generated_by_basis}.
            Take $U_0,V_0$ such that $V_0\in T_1$ and $B = U_0\times V_0$
                by \cref{product_basis}.
            $n\in U_0$ and $y'\in V_0$ by \cref{pair_eq_iff,times_tuple_elim}.
            $V_0 = Y$ by \cref{upair_iff,emptyset}.
            $B = U_0\times Y$.
            $(n,y)\in B$ by \cref{times_tuple_intro}.
            $a\in U$ by \cref{subseteq}.
            $a\in A\setminus\{x\}$ by \cref{pair_eq_iff,setminus_intro,singleton_iff}.
            $U$ intersects $A\setminus\{x\}$ by \cref{inter_intro,emptyset,intersects}.
        \end{subproof}
        $x$ is a limit point of $A$ in $X$ with respect to $T$ by \cref{limit_point}.
    \end{subproof}
    $X$ is limit point compact with respect to $T$ by \cref{limit_point_compact}.

    Show that $X$ is not compact with respect to $T$.
    \begin{subproof}
        Suppose not.
        $X$ is compact with respect to $T$.
        Let $\pi = \piOne{\naturalsPlus}{Y}$.
        $\pi$ is continuous from $X$ to $\naturalsPlus$ with respect to $T$ and $T_0$
            by \cref{projection_one_continuous}.
        $\img{\pi}{X}\subseteq\naturalsPlus$
            by \cref{img_iff,times_elem_is_tuple,projection_first,pair_eq_iff,subseteq}.
        $\naturalsPlus\subseteq\img{\pi}{X}$
            by \cref{upair_intro_left,times_tuple_intro,projection_first,img_iff,subseteq}.
        $\img{\pi}{X} = \naturalsPlus$ by \cref{subseteq_antisymmetric}.
        Let $T_A = \subspaceTopology{T_0}{\naturalsPlus}$.
        $\naturalsPlus$ is compact with respect to $T_A$ by \cref{continuous_image_compact}.
        $T_A = T_0$
            by \cref{subspace_topology,discrete_topology,pow_iff,inter_absorb_supseteq_left,subseteq,subseteq_antisymmetric}.
        $\naturalsPlus$ is compact with respect to $T_0$.

        Let $C = \{\cons{n}{\emptyset} \mid n\in\naturalsPlus\}$.
        $C$ is an open covering of $\naturalsPlus$ with respect to $T_0$
            by \cref{emptyset_subseteq,cons_subseteq_intro,powerset_intro,discrete_topology,open_in,cons_left,unions_iff,subseteq,covering,open_covering}.
        Take $B$ such that
            $B\subseteq C$ and
            $B$ is finite and
            $B$ is a covering of $\naturalsPlus$ by \cref{compact}.
        $\naturalsPlus$ is finite
            by \cref{subseteq,pair_is_finite,upair_intro_left,emptyset_subseteq,cons_subseteq_intro,subseteq_finite_is_finite,covering,finite_union_of_finite_family}.
        Contradiction by \cref{naturalsplus_infinite}.
    \end{subproof}
    There exists $Z,S$ such that
        $Z$ is limit point compact with respect to $S$ and
        $Z$ is not compact with respect to $S$.
\end{proof}
Definition 258
strictly_increasing_on_set

$u$ is strictly increasing on $A$ iff $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{A}$ and for all $m$ such that $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have for all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $m < n$ we have $u(m) < u(n)$.

LaTeX source
\begin{definition}
\label{strictly_increasing_on_set}
    $u$ is strictly increasing on $A$ iff
        $u\in\funs{A}{A}$ and
        for all $m$ such that $m\in A$ we have
            for all $n$ such that $n\in A$ and $m < n$ we have $u(m) < u(n)$.
\end{definition}
Definition 259
subsequence

$t$ is a subsequence of $s$ iff 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 $t(n) = \apply{s}{\apply{u}{n}}$.

LaTeX source
\begin{definition}
\label{subsequence}
    $t$ is a subsequence of $s$ iff
        there exists $u$ such that
            $u$ is strictly increasing on $\naturalsPlus$ and
            for all $n\in\naturalsPlus$ we have $t(n) = \apply{s}{\apply{u}{n}}$.
\end{definition}
Definition 260
sequentially_compact

$X$ is sequentially compact with respect to $T$ iff $T$ is a topology on $X$ and for all $s$ such that $s$ is a sequence in $X$ there exist $t,x$ such that $t$ is a sequence in $X$ and $t$ is a subsequence of $s$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $t$ converges to $x$ in $X$ with respect to $T$.

LaTeX source
\begin{definition}
\label{sequentially_compact}
    $X$ is sequentially compact with respect to $T$ iff
        $T$ is a topology on $X$ and
        for all $s$ such that $s$ is a sequence in $X$
            there exist $t,x$ such that
                $t$ is a sequence in $X$ and
                $t$ is a subsequence of $s$ and
                $x\in X$ and
                $t$ converges to $x$ in $X$ with respect to $T$.
\end{definition}
Lemma 395
metric_space_hausdorff

Suppose $d$ is a metric on $X$.
Let $T = \metricTopology{d}{X}$.
Then $X$ is Hausdorff with respect to $T$.

LaTeX source
\begin{lemma}
\label{metric_space_hausdorff}
    Suppose $d$ is a metric on $X$.
    Let $T = \metricTopology{d}{X}$.
    Then $X$ is Hausdorff with respect to $T$.
\end{lemma}
Proof

$\metricBasis{d}{X}$ is a basis on $X$ by Lemma 194.
$T$ is a topology on $X$ by Definition 182, Lemma 76.

Claim: For all $x_1,x_2$ such that $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x_1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2$ there exist $U_1,U_2$ such that $U_1$ is a neighborhood of $x_1$ in $X$ with respect to $T$ and $U_2$ is a neighborhood of $x_2$ in $X$ with respect to $T$ and $U_1$ is disjoint from $U_2$.

Fix $x_1$.
Fix $x_2$ such that $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x_1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2$.
Let $r = d((x_1,x_2))$.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
$0 < r$ by Definition 175, Definition 176, Definition 179, Lemma 81.
Let $m_2 = 1 + 1$.
$m_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < m_2$ by Axiom 13, Axiom 17, Axiom 36, Axiom 37, Axiom 41, Axiom 42, Definition 1, Proposition 462.
$m_2 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
Let $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = r / m_2$.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 14, Axiom 17, Axiom 22, Axiom 38, Definition 65, Proposition 439, Proposition 463.
Let $U_1 = \metricBall{d}{X}{x_1}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.
Let $U_2 = \metricBall{d}{X}{x_2}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.
$U_1$ is a neighborhood of $x_1$ in $X$ with respect to $T$ and $U_2$ is a neighborhood of $x_2$ in $X$ with respect to $T$ by Definition 1, Definition 103, Definition 115, Definition 153, Definition 176, Definition 179, Definition 180, Definition 181, Definition 182, Lemma 76, Lemma 77, Lemma 194, Proposition 155.

Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U_1$ we have $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} U_2$.

Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U_1$.
Suppose not.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $d((x_1,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ and $d((x_2,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ and $d((x_1,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_2,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Definition 180, Proposition 115, Proposition 361.
$r \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x_1,y)) + d((x_2,y))$ by Definition 177, Definition 178, Definition 179.
$d((x_1,y)) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_1,y)) + d((x_2,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$d((x_1,y)) + d((x_2,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 16, Axiom 36, Axiom 37.
$r < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36, Lemma 81, Lemma 82.
$r < r$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65, Lemma 9, Lemma 83.
Contradiction by Axiom 39.

$U_1$ is disjoint from $U_2$ by Definition 3.

$X$ is Hausdorff with respect to $T$ by Definition 156.

LaTeX source
\begin{proof}
    $\metricBasis{d}{X}$ is a basis on $X$ by \cref{metric_basis_is_basis}.
    $T$ is a topology on $X$ by \cref{basis_topology_is_topology,metric_topology}.
    Show that for all $x_1,x_2$ such that $x_1\in X$ and $x_2\in X$ and $x_1\neq x_2$
        there exist $U_1,U_2$ such that
            $U_1$ is a neighborhood of $x_1$ in $X$ with respect to $T$ and
            $U_2$ is a neighborhood of $x_2$ in $X$ with respect to $T$ and
            $U_1$ is disjoint from $U_2$.
    \begin{subproof}
        Fix $x_1$.
        Fix $x_2$ such that $x_1\in X$ and $x_2\in X$ and $x_1\neq x_2$.
        Let $r = d((x_1,x_2))$.
        $r\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
        $0 < r$ by \cref{metric_on,metric_nonnegative,metric_zero_characterization,real_leq_split}.
        Let $m_2 = 1 + 1$.
        $m_2\in\reals$ and $0 < m_2$
            by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed,real_add_ident,real_zero_lt_one,real_lt_add,real_lt_trans}.
        $m_2 \neq 0$.
        Let $\epsilon = r / m_2$.
        $\epsilon\in\reals$ and $0 < \epsilon$
            by \cref{real_div,real_mul_inverse,real_mul_closed,real_inv_pos,real_add_ident,real_lt_mul_pos,real_mul_zero}.
        Let $U_1 = \metricBall{d}{X}{x_1}{\epsilon}$.
        Let $U_2 = \metricBall{d}{X}{x_2}{\epsilon}$.
        $U_1$ is a neighborhood of $x_1$ in $X$ with respect to $T$ and
            $U_2$ is a neighborhood of $x_2$ in $X$ with respect to $T$
            by \cref{metric_ball,subseteq,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,basis_for_topology,basis_topology_is_topology,metric_topology,open_in,metric_on,metric_zero_characterization,neighborhood}.
        Show that for all $y$ such that $y\in U_1$ we have $y\notin U_2$.
        \begin{subproof}
            Fix $y$ such that $y\in U_1$.
            Suppose not.
            $y\in X$ and $d((x_1,y)) < \epsilon$ and $d((x_2,y)) < \epsilon$ and
                $d((x_1,y))\in\reals$ and $d((x_2,y))\in\reals$
                by \cref{metric_ball,metric_on,times_tuple_intro,funs_type_apply}.
            $r \leq d((x_1,y)) + d((x_2,y))$ by \cref{metric_on,metric_triangle_inequality,metric_symmetric}.
            $d((x_1,y)) + \epsilon\in\reals$ and
                $d((x_1,y)) + d((x_2,y))\in\reals$ and
                $\epsilon + \epsilon\in\reals$ by \cref{real_add_closed}.
            $d((x_1,y)) + d((x_2,y)) < \epsilon + \epsilon$
                by \cref{real_lt_add,real_add_comm,real_lt_trans}.
            $r < \epsilon + \epsilon$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_left}.
            $r < r$
                by \cref{real_div,real_right_distrib,real_mul_ident,real_mul_inverse,real_mul_assoc,real_mul_comm,real_lt_subst_right}.
            Contradiction by \cref{real_lt_irreflexive}.
        \end{subproof}
        $U_1$ is disjoint from $U_2$ by \cref{disjoint}.
    \end{subproof}
    $X$ is Hausdorff with respect to $T$ by \cref{hausdorff}.
\end{proof}
Definition 261
iteration_sequence

$u$ is an iteration sequence for $f$ on $n$ starting at $a_0$ iff $u$ is a function and $\dom{u} = \initialSegment{n}$ and $u(1) = a_0$ and for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ we have $u(k + 1) = \apply{f}{u(k)}$.

LaTeX source
\begin{definition}
\label{iteration_sequence}
    $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$ iff
        $u$ is a function and
        $\dom{u} = \initialSegment{n}$ and
        $u(1) = a_0$ and
        for all $k\in\naturalsPlus$ such that $k + 1 \leq n$ we have $u(k + 1) = \apply{f}{u(k)}$.
\end{definition}
Definition 262
iteration_set

$\iterationSet{f}{a_0} = \{ n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{there exists $u$ such that $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$} \}$.

LaTeX source
\begin{definition}
\label{iteration_set}
    $\iterationSet{f}{a_0} = \{ n\in\naturalsPlus \mid \text{there exists $u$ such that
        $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$} \}$.
\end{definition}
Lemma 396
iteration_set_intro

Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose there exists $u$ such that $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
Then $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\iterationSet{f}{a_0}$.

LaTeX source
\begin{lemma}
\label{iteration_set_intro}
    Suppose $n\in\naturalsPlus$.
    Suppose there exists $u$ such that
        $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
    Then $n\in\iterationSet{f}{a_0}$.
\end{lemma}
Proof

$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\iterationSet{f}{a_0}$ by Definition 262.

LaTeX source
\begin{proof}
    $n\in\iterationSet{f}{a_0}$ by \cref{iteration_set}.
\end{proof}
Lemma 397
iteration_set_elim

Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\iterationSet{f}{a_0}$.
Then $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and there exists $u$ such that $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.

LaTeX source
\begin{lemma}
\label{iteration_set_elim}
    Suppose $n\in\iterationSet{f}{a_0}$.
    Then $n\in\naturalsPlus$ and there exists $u$ such that
        $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
\end{lemma}
Proof

$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and there exists $u$ such that $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$ by Definition 262.

LaTeX source
\begin{proof}
    $n\in\naturalsPlus$ and there exists $u$ such that
        $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$
        by \cref{iteration_set}.
\end{proof}
Lemma 398
iteration_sequence_intro

Suppose $u$ is a function and $\dom{u} = \initialSegment{n}$ and $u(1) = a_0$.
Suppose for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ we have $u(k + 1) = \apply{f}{u(k)}$.
Then $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.

LaTeX source
\begin{lemma}
\label{iteration_sequence_intro}
    Suppose $u$ is a function and $\dom{u} = \initialSegment{n}$ and $u(1) = a_0$.
    Suppose for all $k\in\naturalsPlus$ such that $k + 1 \leq n$ we have $u(k + 1) = \apply{f}{u(k)}$.
    Then $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
\end{lemma}
Proof

$u$ is an iteration sequence for $f$ on $n$ starting at $a_0$ by Definition 261.

LaTeX source
\begin{proof}
    $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$ by \cref{iteration_sequence}.
\end{proof}
Lemma 399
real_naturals_lt_succ_local

Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $n < n + 1$.

LaTeX source
\begin{lemma}
\label{real_naturals_lt_succ_local}
    Suppose $n\in\naturalsPlus$.
    Then $n < n + 1$.
\end{lemma}
Proof

$n < n + 1$ by Axiom 16, Axiom 17, Axiom 37, Axiom 41, Axiom 42, Definition 1, Lemma 82, Proposition 462.

LaTeX source
\begin{proof}
    $n < n + 1$
        by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_zero_lt_one,real_lt_add,real_add_comm,real_lt_subst_left}.
\end{proof}
Lemma 400
real_naturals_leq_succ_local

Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$.

LaTeX source
\begin{lemma}
\label{real_naturals_leq_succ_local}
    Suppose $n\in\naturalsPlus$.
    Then $n \leq n + 1$.
\end{lemma}
Proof

$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Lemma 399.

LaTeX source
\begin{proof}
    $n \leq n + 1$ by \cref{real_naturals_lt_succ_local}.
\end{proof}
Lemma 401
real_naturals_succ_bound_elim_local

Suppose $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Then $k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.

LaTeX source
\begin{lemma}
\label{real_naturals_succ_bound_elim_local}
    Suppose $k\in\naturalsPlus$ and $n\in\naturalsPlus$.
    Suppose $k + 1 \leq n$.
    Then $k \leq n$.
\end{lemma}
Proof

$k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Axiom 41, Axiom 45, Definition 1, Lemma 23, Lemma 400.

LaTeX source
\begin{proof}
    $k \leq n$
        by \cref{real_naturals_leq_succ_local,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_leq_trans}.
\end{proof}
Lemma 402
iteration_sequence_unique

Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $u$ and $v$ are iteration sequences for $f$ on $n$ starting at $a_0$.
Then $u = v$.

LaTeX source
\begin{lemma}
\label{iteration_sequence_unique}
    Suppose $n\in\naturalsPlus$.
    Suppose $u$ and $v$ are iteration sequences for $f$ on $n$ starting at $a_0$.
    Then $u = v$.
\end{lemma}
Proof

$u$ is a function and $v$ is a function and $\dom{u} = \initialSegment{n}$ and $\dom{v} = \initialSegment{n}$ by Definition 261.
Let $A = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $k\leq n$ then $u(k) = v(k)$}\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 42, Definition 261.

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have if $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $u(k + 1) = v(k + 1)$.

For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ we have $u(k) = v(k)$ by Definition 1, Definition 84, Proposition 445.

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

$u = v$ by Definition 1, Proposition 3.

LaTeX source
\begin{proof}
    $u$ is a function and $v$ is a function and
        $\dom{u} = \initialSegment{n}$ and $\dom{v} = \initialSegment{n}$ by \cref{iteration_sequence}.
    Let $A = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $u(k) = v(k)$}\}$.
    $1\in A$ by \cref{real_one_in_naturals,iteration_sequence}.
    Show that for all $k\in A$ we have if $k + 1\leq n$ then $u(k + 1) = v(k + 1)$.
    \begin{subproof}
        Follows by \cref{real_naturals_succ_bound_elim_local,iteration_sequence}.
    \end{subproof}
    For all $k\in A$ we have $k + 1\in A$.
    For all $k\in\initialSegment{n}$ we have $u(k) = v(k)$
        by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
    Show that for all $w$ such that $w\in u$ we have $w\in v$.
    \begin{subproof}
        Follows by \cref{function_member_elim,subseteq,function_apply_elim}.
    \end{subproof}
    Show that for all $w$ such that $w\in v$ we have $w\in u$.
    \begin{subproof}
        Follows by \cref{function_member_elim,subseteq,function_apply_elim}.
    \end{subproof}
    $u = v$ by \cref{subseteq,subseteq_antisymmetric}.
\end{proof}
Lemma 403
infinite_naturalsplus_has_strictly_increasing_sequence

Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$.
Suppose $A$ is infinite.
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 $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

LaTeX source
\begin{lemma}
\label{infinite_naturalsplus_has_strictly_increasing_sequence}
    Suppose $A\subseteq\naturalsPlus$.
    Suppose $A$ is infinite.
    Then there exists $u$ such that
        $u$ is strictly increasing on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $u(n)\in A$.
\end{lemma}
Proof

$A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Lemma 35.
Take $a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $a_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$ by Proposition 477.

Claim: For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ there exists $b\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $a < b$.

Fix $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Suppose not.
For all $b\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have it is wrong that $a < b$.

Claim: For all $b$ such that $b\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{a}$.

Fix $b$ such that $b\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.

Claim: $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{a}$.

$b < a$ or $b = a$ or $a < b$ by Axiom 34.

Case. $b < a$.

$b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$ by Lemma 231.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{a}$ by Definition 84.

Case. $b = a$.

$b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{a}$ by Definition 84.

Case. $a < b$.

Contradiction.

LaTeX source
\begin{byCase}
                \caseOf{$b < a$.}
                    $b \leq a$ by \cref{real_lt_imp_leq}.
                    $b\in\initialSegment{a}$ by \cref{initial_segment_naturalsplus}.
                \caseOf{$b = a$.}
                    $b \leq a$.
                    $b\in\initialSegment{a}$ by \cref{initial_segment_naturalsplus}.
                \caseOf{$a < b$.}
                    Contradiction.
                
\end{byCase}

$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\initialSegment{a}$ by Definition 1.
$A$ is finite by Lemma 44, Lemma 208.
Contradiction.

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{w} < \snd{w}\}$.

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

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Take $y_0\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $x < y_0$.
$(x,y_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-times}{\times} A$ by Proposition 115.
$(x,y_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 10, Axiom 11.
There exists $y$ such that $x\mathrel{R} y$ by Definition 12.

Take $f$ such that $f$ is a function on $A$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $x\mathrel{R}\apply{f}{x}$ by Axiom 54, Definition 12, Proposition 121.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $x < \apply{f}{x}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$x\mathrel{R}\apply{f}{x}$.
$(x,\apply{f}{x})\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 12.
$(x,\apply{f}{x})\class{latex-symbol-tip latex-symbol-id-in}{\in} A\class{latex-symbol-tip latex-symbol-id-times}{\times} A$ and $\fst{(x,\apply{f}{x})} < \snd{(x,\apply{f}{x})}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $\apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 114.
$x < \apply{f}{x}$ by Axiom 10, Axiom 11.

Let $S = \iterationSet{f}{a_0}$.

Claim: 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} S$.

$S\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1, Lemma 397.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.

Claim: $1\class{latex-symbol-tip latex-symbol-id-in}{\in} S$.

Let $u = \{(1,a_0)\}$.
For all $x,y,y'$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ and $(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ we have $y = y'$ by Axiom 6, Proposition 22.
$u$ is a function by Definition 12, Definition 51, Proposition 22.

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

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 84.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
$1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ by Axiom 43.
$x = 1$ by Lemma 25.
$(x,a_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 6, Proposition 22.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ by Definition 15.

$\dom{u} = \initialSegment{1}$ by Definition 1, Proposition 3.
$u(1) = a_0$ by Proposition 20, Proposition 346.

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ we have $u(k + 1) = \apply{f}{u(k)}$.

Fix $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$.
Suppose not.
$k < k + 1$ by Lemma 399.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Axiom 45, Definition 1.
$1 < k$ or $1 = k$ by Axiom 43.
$1 < k + 1$ by Axiom 36, Lemma 82.
$k + 1 < 1$ or $k + 1 = 1$ by Lemma 81.
$1 < 1$ by Axiom 36, Lemma 83.
Contradiction by Axiom 39, Axiom 41, Axiom 42, Definition 1.

$1\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ by Definition 261, Lemma 396.

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

Fix $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} S$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Lemma 397.
Take $u$ such that $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ we have $u(k + 1) = \apply{f}{u(k)}$ by Definition 261.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
Let $v = u\union\{(n + 1,\apply{f}{u(n)})\}$.
$v$ is a relation by Definition 12, Definition 261, Proposition 22, Proposition 180.

Claim: For all $x,y,y'$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ and $(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ we have $y = y'$.

Fix $x$.
Fix $y$.
Fix $y'$.
Assume $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ and $(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} v$.

Case. $x = n + 1$.

$(n + 1,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} v$.

Claim: $(n + 1,y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{u(n)})\}$.

Suppose not.
$(n + 1,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 5.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ by Definition 15.
$\dom{u} = \initialSegment{n}$ by Definition 261.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$.
$n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Definition 84.
$n < n + 1$ by Lemma 399.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 45, Definition 1.
$n + 1 < n$ or $n + 1 = n$ by Lemma 81.
$n < n$ by Axiom 36, Lemma 83.
Contradiction by Axiom 39.

$(n + 1,y) = (n + 1,\apply{f}{u(n)})$ by Proposition 22.
$y = \apply{f}{u(n)}$ by Axiom 6.

Claim: $(n + 1,y')\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{u(n)})\}$.

Suppose not.
$(n + 1,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 5.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ by Definition 15.
$\dom{u} = \initialSegment{n}$ by Definition 261.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$.
$n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Definition 84.
$n < n + 1$ by Lemma 399.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 45, Definition 1.
$n + 1 < n$ or $n + 1 = n$ by Lemma 81.
$n < n$ by Axiom 36, Lemma 83.
Contradiction by Axiom 39.

$(n + 1,y') = (n + 1,\apply{f}{u(n)})$ by Proposition 22.
$y' = \apply{f}{u(n)}$ by Axiom 6.
$y = y'$.

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

$(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 5, Axiom 6, Proposition 22.
$(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 5, Axiom 6, Proposition 22.
$y = y'$ by Definition 261, Proposition 345.

LaTeX source
\begin{byCase}
                \caseOf{$x = n + 1$.}
                    $(n + 1,y')\in v$.
                    Show that $(n + 1,y)\in\{(n + 1,\apply{f}{u(n)})\}$.
                    \begin{subproof}
                        Suppose not.
                        $(n + 1,y)\in u$ by \cref{union_iff}.
                        $n + 1\in\dom{u}$ by \cref{dom}.
                        $\dom{u} = \initialSegment{n}$ by \cref{iteration_sequence}.
                        $n + 1\in\initialSegment{n}$.
                        $n + 1 \leq n$ by \cref{initial_segment_naturalsplus}.
                        $n < n + 1$ by \cref{real_naturals_lt_succ_local}.
                        $n\in\reals$ and $n + 1\in\reals$
                            by \cref{real_naturals_subset_reals,real_naturals_closed_succ,subseteq}.
                        $n + 1 < n$ or $n + 1 = n$ by \cref{real_leq_split}.
                        $n < n$ by \cref{real_lt_trans,real_lt_subst_right}.
                        Contradiction by \cref{real_lt_irreflexive}.
                    \end{subproof}
                    $(n + 1,y) = (n + 1,\apply{f}{u(n)})$ by \cref{singleton_iff}.
                    $y = \apply{f}{u(n)}$ by \cref{pair_eq_iff}.
                    Show that $(n + 1,y')\in\{(n + 1,\apply{f}{u(n)})\}$.
                    \begin{subproof}
                        Suppose not.
                        $(n + 1,y')\in u$ by \cref{union_iff}.
                        $n + 1\in\dom{u}$ by \cref{dom}.
                        $\dom{u} = \initialSegment{n}$ by \cref{iteration_sequence}.
                        $n + 1\in\initialSegment{n}$.
                        $n + 1 \leq n$ by \cref{initial_segment_naturalsplus}.
                        $n < n + 1$ by \cref{real_naturals_lt_succ_local}.
                        $n\in\reals$ and $n + 1\in\reals$
                            by \cref{real_naturals_subset_reals,real_naturals_closed_succ,subseteq}.
                        $n + 1 < n$ or $n + 1 = n$ by \cref{real_leq_split}.
                        $n < n$ by \cref{real_lt_trans,real_lt_subst_right}.
                        Contradiction by \cref{real_lt_irreflexive}.
                    \end{subproof}
                    $(n + 1,y') = (n + 1,\apply{f}{u(n)})$ by \cref{singleton_iff}.
                    $y' = \apply{f}{u(n)}$ by \cref{pair_eq_iff}.
                    $y = y'$.
                \caseOf{$x \neq n + 1$.}
                    $(x,y)\in u$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    $(x,y')\in u$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    $y = y'$ by \cref{iteration_sequence,function_rightunique}.
                
\end{byCase}

$v$ is a function by Definition 51.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$.
Take $y$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Definition 15.
$(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ or $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{u(n)})\}$ by Axiom 5.

Case. $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$.

$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ by Definition 15, Definition 261.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ by Axiom 41, Axiom 45, Definition 1, Definition 84, Lemma 23, Lemma 400.

Case. $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{u(n)})\}$.

$(x,y) = (n + 1,\apply{f}{u(n)})$ by Proposition 22.
$x = n + 1$ by Axiom 6.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ by Definition 84.

LaTeX source
\begin{byCase}
                \caseOf{$(x,y)\in u$.}
                    $x\in\initialSegment{n}$ by \cref{dom,iteration_sequence}.
                    $x\in\initialSegment{n + 1}$
                        by \cref{initial_segment_naturalsplus,real_naturals_leq_succ_local,real_leq_trans,real_naturals_subset_reals,real_naturals_closed_succ,subseteq}.
                \caseOf{$(x,y)\in\{(n + 1,\apply{f}{u(n)})\}$.}
                    $(x,y) = (n + 1,\apply{f}{u(n)})$ by \cref{singleton_iff}.
                    $x = n + 1$ by \cref{pair_eq_iff}.
                    $x\in\initialSegment{n + 1}$ by \cref{initial_segment_naturalsplus}.
                
\end{byCase}
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Definition 84.

Case. $x = n + 1$.

$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ by Definition 15, Proposition 14, Proposition 39.

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

$x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 29.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ by Definition 84, Definition 261.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ by Axiom 5, Definition 15.

LaTeX source
\begin{byCase}
                \caseOf{$x = n + 1$.}
                    $x\in\dom{v}$ by \cref{cons_left,union_intro_right,dom}.
                \caseOf{$x \neq n + 1$.}
                    $x \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    $x\in\dom{u}$ by \cref{initial_segment_naturalsplus,iteration_sequence}.
                    $x\in\dom{v}$ by \cref{dom,union_iff}.
                
\end{byCase}

$\dom{v} = \initialSegment{n + 1}$ by Definition 1, Proposition 3.
$v(1) = a_0$ by Axiom 42, Axiom 43, Definition 84, Definition 261, Proposition 38, Proposition 346, Proposition 348.

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ we have $v(k + 1) = \apply{f}{v(k)}$.

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

Case. $k + 1 = n + 1$.

$k = n$.
$v(k + 1) = \apply{f}{u(n)}$ by Proposition 14, Proposition 39, Proposition 346.
$v(k + 1) = \apply{f}{u(k)}$.
$k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
$v(k) = u(k)$ by Definition 84, Definition 261, Proposition 38, Proposition 346, Proposition 348.
$v(k + 1) = \apply{f}{v(k)}$.

Case. $k + 1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} n + 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-leq}{\leq} n$ by Lemma 29.
$k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ by Definition 84.
$(k + 1,u(k + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Definition 261, Proposition 38, Proposition 348.
$k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ by Definition 15.
$(k + 1,v(k + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Proposition 348.
$u(k + 1) = v(k + 1)$ by Proposition 345.
$v(k + 1) = u(k + 1)$.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
$u(k + 1) = \apply{f}{u(k)}$.
$v(k + 1) = \apply{f}{u(k)}$.
$k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 401.
$(k,u(k))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Definition 84, Definition 261, Proposition 38, Proposition 348.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ by Definition 15.
$(k,v(k))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Proposition 348.
$u(k) = v(k)$ by Proposition 345.
$v(k + 1) = \apply{f}{v(k)}$.

LaTeX source
\begin{byCase}
                \caseOf{$k + 1 = n + 1$.}
                    $k = n$.
                    $v(k + 1) = \apply{f}{u(n)}$
                        by \cref{cons_left,union_intro_right,function_apply_intro}.
                    $v(k + 1) = \apply{f}{u(k)}$.
                    $k \leq n$.
                    $v(k) = u(k)$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left,function_apply_intro}.
                    $v(k + 1) = \apply{f}{v(k)}$.
                \caseOf{$k + 1 \neq n + 1$.}
                    $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    $k + 1 \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    $k + 1\in\initialSegment{n}$ by \cref{initial_segment_naturalsplus}.
                    $(k + 1,u(k + 1))\in v$
                        by \cref{iteration_sequence,function_apply_elim,union_intro_left}.
                    $k + 1\in\dom{v}$ by \cref{dom}.
                    $(k + 1,v(k + 1))\in v$ by \cref{function_apply_elim}.
                    $u(k + 1) = v(k + 1)$ by \cref{function_rightunique}.
                    $v(k + 1) = u(k + 1)$.
                    $k\in\naturalsPlus$ and $k + 1 \leq n$.
                    $u(k + 1) = \apply{f}{u(k)}$.
                    $v(k + 1) = \apply{f}{u(k)}$.
                    $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                    $(k,u(k))\in v$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left}.
                    $k\in\dom{v}$ by \cref{dom}.
                    $(k,v(k))\in v$ by \cref{function_apply_elim}.
                    $u(k) = v(k)$ by \cref{function_rightunique}.
                    $v(k + 1) = \apply{f}{v(k)}$.
                
\end{byCase}

$v$ is an iteration sequence for $f$ on $n + 1$ starting at $a_0$ by Lemma 398.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ by Lemma 396.

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} S$ by Proposition 445.

Let $F = \{u \mid \text{there exists $n\in\naturalsPlus$ such that $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$} \}$.
For all $u\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $u$ is a function by Definition 261.

Claim: For all $u,v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $u\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} v$ or $v\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u$.

Fix $u$.
Fix $v$.
Assume $u\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $u$ is an iteration sequence for $f$ on $m$ starting at $a_0$.
Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $v$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
$u$ is a function and $\dom{u} = \initialSegment{m}$ and $u(1) = a_0$ by Definition 261.
For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ we have $u(k + 1) = \apply{f}{u(k)}$ by Definition 261.
$v$ is a function and $\dom{v} = \initialSegment{n}$ and $v(1) = a_0$ by Definition 261.
For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ we have $v(k + 1) = \apply{f}{v(k)}$ by Definition 261.
$m = n$ or $m \class{latex-symbol-tip latex-symbol-id-neq}{\neq} n$.

Case. $m = n$.

$u\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} v$ or $v\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u$ by Lemma 402, Proposition 2.

Case. $m \class{latex-symbol-tip latex-symbol-id-neq}{\neq} n$.

$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$m < n$ or $n < m$ by Axiom 34.

Case. $m < n$.

Let $B = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.

Claim: If $1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $u(1) = v(1)$.

Follows by Definition 261.

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

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have if $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $u(k + 1) = v(k + 1)$.
Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.

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

Claim: If $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $u(k + 1) = v(k + 1)$.

Trivial.

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

For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m}$ we have $u(k) = v(k)$ by Definition 1, Definition 84, Proposition 445.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Axiom 41, Definition 1, Definition 84, Definition 261, Lemma 23, Lemma 231, Proposition 347, Proposition 348.
$u\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} v$ by Definition 1.

Case. $n < m$.

Let $C = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.

Claim: If $1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(1) = u(1)$.

Follows by Definition 261.

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

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have if $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(k + 1) = u(k + 1)$.
Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.

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

Claim: If $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(k + 1) = u(k + 1)$.

Trivial.

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

For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ we have $v(k) = u(k)$ by Definition 1, Definition 84, Proposition 445.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 41, Definition 1, Definition 84, Definition 261, Lemma 23, Lemma 231, Proposition 347, Proposition 348.
$v\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u$ by Definition 1.

LaTeX source
\begin{byCase}
        \caseOf{$m < n$.}
            Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
            $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
            Show that if $1\leq m$ then $u(1) = v(1)$.
            \begin{subproof}
                Follows by \cref{iteration_sequence}.
            \end{subproof}
            $1\in B$.
            Show that for all $k\in B$ we have if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
            \begin{subproof}
                Follows by \cref{real_naturals_succ_bound_elim_local,real_leq_trans,real_lt_imp_leq,real_add_closed,real_naturals_subset_reals,subseteq,iteration_sequence}.
            \end{subproof}
            Show that for all $k\in B$ we have $k + 1\in B$.
            \begin{subproof}
                Fix $k\in B$.
                $k\in\naturalsPlus$ by \cref{subseteq}.
                $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                Show that if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
                $k + 1\in B$.
            \end{subproof}
            For all $k\in\initialSegment{m}$ we have $u(k) = v(k)$
                by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
            For all $w$ such that $w\in u$ we have $w\in v$
                by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
            $u\subseteq v$ by \cref{subseteq}.
        \caseOf{$n < m$.}
            Let $C = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
            $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
            Show that if $1\leq n$ then $v(1) = u(1)$.
            \begin{subproof}
                Follows by \cref{iteration_sequence}.
            \end{subproof}
            $1\in C$.
            Show that for all $k\in C$ we have if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
            \begin{subproof}
                Follows by \cref{real_naturals_succ_bound_elim_local,real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq,iteration_sequence}.
            \end{subproof}
            Show that for all $k\in C$ we have $k + 1\in C$.
            \begin{subproof}
                Fix $k\in C$.
                $k\in\naturalsPlus$ by \cref{subseteq}.
                $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                Show that if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
                $k + 1\in C$.
            \end{subproof}
            For all $k\in\initialSegment{n}$ we have $v(k) = u(k)$
                by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
            For all $w$ such that $w\in v$ we have $w\in u$
                by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
            $v\subseteq u$ by \cref{subseteq}.
        
\end{byCase}
LaTeX source
\begin{byCase}
        \caseOf{$m = n$.}
            $u\subseteq v$ or $v\subseteq u$ by \cref{iteration_sequence_unique,subseteq_refl}.
        \caseOf{$m \neq n$.}
            $m\in\reals$ and $n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $m < n$ or $n < m$ by \cref{real_lt_trichotomy}.
            \begin{byCase}
        \caseOf{$m < n$.}
            Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
            $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
            Show that if $1\leq m$ then $u(1) = v(1)$.
            \begin{subproof}
                Follows by \cref{iteration_sequence}.
            \end{subproof}
            $1\in B$.
            Show that for all $k\in B$ we have if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
            \begin{subproof}
                Follows by \cref{real_naturals_succ_bound_elim_local,real_leq_trans,real_lt_imp_leq,real_add_closed,real_naturals_subset_reals,subseteq,iteration_sequence}.
            \end{subproof}
            Show that for all $k\in B$ we have $k + 1\in B$.
            \begin{subproof}
                Fix $k\in B$.
                $k\in\naturalsPlus$ by \cref{subseteq}.
                $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                Show that if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
                $k + 1\in B$.
            \end{subproof}
            For all $k\in\initialSegment{m}$ we have $u(k) = v(k)$
                by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
            For all $w$ such that $w\in u$ we have $w\in v$
                by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
            $u\subseteq v$ by \cref{subseteq}.
        \caseOf{$n < m$.}
            Let $C = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
            $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
            Show that if $1\leq n$ then $v(1) = u(1)$.
            \begin{subproof}
                Follows by \cref{iteration_sequence}.
            \end{subproof}
            $1\in C$.
            Show that for all $k\in C$ we have if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
            \begin{subproof}
                Follows by \cref{real_naturals_succ_bound_elim_local,real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq,iteration_sequence}.
            \end{subproof}
            Show that for all $k\in C$ we have $k + 1\in C$.
            \begin{subproof}
                Fix $k\in C$.
                $k\in\naturalsPlus$ by \cref{subseteq}.
                $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                Show that if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
                $k + 1\in C$.
            \end{subproof}
            For all $k\in\initialSegment{n}$ we have $v(k) = u(k)$
                by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
            For all $w$ such that $w\in v$ we have $w\in u$
                by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
            $v\subseteq u$ by \cref{subseteq}.
        \end{byCase}
        
\end{byCase}

Let $u = \unions{F}$.
$F$ is a family of functions.
$u$ is a function by Proposition 367.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Claim: 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{u}$.

$\dom{u} = \naturalsPlus$ by Definition 1, Proposition 3.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Take $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ such that $(n,u(n))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Axiom 4, Proposition 348.
Take $n_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n_0$ by Definition 15, Definition 84, Definition 261.
$v(1) = a_0$ and for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n_0$ we have $v(k + 1) = \apply{f}{v(k)}$ by Definition 261.
Let $B = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $k\leq n$ then $v(k)\in A$}\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.

Claim: If $1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(1)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Follows by Definition 261.

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

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have if $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(k + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.

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

Claim: If $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(k + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Trivial.

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

$v(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1, Definition 84, Proposition 445.
$u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 346.

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

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$(n + 1,u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{F}$ by Axiom 45, Proposition 348.
Take $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ such that $(n + 1,u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Axiom 4.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ by Definition 15.
$v(n + 1) = u(n + 1)$ by Proposition 346.
Take $n_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.
$n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n_0$ by Definition 84, Definition 261.
$v(n + 1) = \apply{f}{v(n)}$ by Definition 261.
$u(n + 1) = \apply{f}{v(n)}$.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n_0$ by Lemma 401.
$(n,v(n))\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 4, Definition 84, Definition 261, Proposition 348.
$u(n) = v(n)$ by Proposition 346.
$u(n + 1) = \apply{f}{u(n)}$.
$u(n) < u(n + 1)$ by Proposition 346.

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

Let $T = \{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)$}\}$.

Claim: 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$.

$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m < 1$ we have $u(m) < u(1)$ by Axiom 36, Axiom 39, Axiom 41, Axiom 42, Axiom 43, Definition 1, Lemma 83.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} T$.

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

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

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$.
Assume $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $m < n + 1$.
Suppose not.
$u(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $u(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$u(m)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$m < n$ or $m = n$ or $m = n + 1$ by Axiom 44.

Case. $m = n$.

$u(m) < u(n + 1)$ by Lemma 82.
Contradiction.

Case. $m < n$.

$u(m) < u(n + 1)$ by Axiom 36, Definition 1.
Contradiction.

Case. $m = n + 1$.

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

LaTeX source
\begin{byCase}
                        \caseOf{$m = n$.}
                            $u(m) < u(n + 1)$ by \cref{real_lt_subst_left}.
                            Contradiction.
                        \caseOf{$m < n$.}
                            $u(m) < u(n + 1)$ by \cref{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$.

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, Proposition 445.

For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ we have $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{\naturalsPlus}$ by Proposition 358.

Claim: $u$ is strictly increasing on $\naturalsPlus$.

Follows by Definition 258.

Let $v = u$.
$v$ 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-in}{\in} A$.

LaTeX source
\begin{proof}
    $A\neq\emptyset$ by \cref{emptyset_is_finite}.
    Take $a_0\in A$ such that for all $a\in A$ we have $a_0 \leq a$
        by \cref{real_naturals_least_element}.
    Show that for all $a\in A$ there exists $b\in A$ such that $a < b$.
    \begin{subproof}
        Fix $a$ such that $a\in A$.
        $a\in\naturalsPlus$ by \cref{subseteq}.
        Suppose not.
        For all $b\in A$ we have it is wrong that $a < b$.
        Show that for all $b$ such that $b\in A$ we have $b\in\initialSegment{a}$.
        \begin{subproof}
            Fix $b$ such that $b\in A$.
            $b\in\naturalsPlus$ by \cref{subseteq}.
            $a\in\reals$ and $b\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            Show that $b\in\initialSegment{a}$.
            \begin{subproof}
                $b < a$ or $b = a$ or $a < b$ by \cref{real_lt_trichotomy}.
                \begin{byCase}
                \caseOf{$b < a$.}
                    $b \leq a$ by \cref{real_lt_imp_leq}.
                    $b\in\initialSegment{a}$ by \cref{initial_segment_naturalsplus}.
                \caseOf{$b = a$.}
                    $b \leq a$.
                    $b\in\initialSegment{a}$ by \cref{initial_segment_naturalsplus}.
                \caseOf{$a < b$.}
                    Contradiction.
                \end{byCase}
            \end{subproof}
        \end{subproof}
        $A\subseteq\initialSegment{a}$ by \cref{subseteq}.
        $A$ is finite by \cref{initial_segment_finite,subseteq_finite_is_finite}.
        Contradiction.
    \end{subproof}
    Let $R = \{w\in A\times A \mid \fst{w} < \snd{w}\}$.
    Show that for all $x\in A$ there exists $y$ such that $x\mathrel{R} y$.
    \begin{subproof}
        Fix $x\in A$.
        Take $y_0\in A$ such that $x < y_0$.
        $(x,y_0)\in A\times A$ by \cref{times_tuple_intro}.
        $(x,y_0)\in R$ by \cref{fst_eq,snd_eq}.
        There exists $y$ such that $x\mathrel{R} y$ by \cref{relation}.
    \end{subproof}
    Take $f$ such that $f$ is a function on $A$ and for all $x\in A$ we have
        $x\mathrel{R}\apply{f}{x}$ by \cref{times_elem_is_tuple,relation,axiom_of_choice}.
    Show that for all $x\in A$ we have $\apply{f}{x}\in A$ and $x < \apply{f}{x}$.
    \begin{subproof}
        Fix $x\in A$.
        $x\mathrel{R}\apply{f}{x}$.
        $(x,\apply{f}{x})\in R$ by \cref{relation}.
        $(x,\apply{f}{x})\in A\times A$ and
            $\fst{(x,\apply{f}{x})} < \snd{(x,\apply{f}{x})}$.
        $x\in A$ and $\apply{f}{x}\in A$ by \cref{times_tuple_elim}.
        $x < \apply{f}{x}$ by \cref{fst_eq,snd_eq}.
    \end{subproof}
    Let $S = \iterationSet{f}{a_0}$.
    Show that for all $n\in\naturalsPlus$ we have $n\in S$.
    \begin{subproof}
        $S\subseteq\naturalsPlus$ by \cref{iteration_set_elim,subseteq}.
        $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
        Show that $1\in S$.
        \begin{subproof}
            Let $u = \{(1,a_0)\}$.
            For all $x,y,y'$ such that $(x,y)\in u$ and $(x,y')\in u$ we have $y = y'$
                by \cref{singleton_iff,pair_eq_iff}.
            $u$ is a function by \cref{singleton_iff,relation,rightunique}.
            Show that for all $x$ such that $x\in\dom{u}$ we have $x\in\initialSegment{1}$.
            \begin{subproof}
                Follows by \cref{dom,singleton_iff,pair_eq_iff,real_one_in_naturals,initial_segment_naturalsplus}.
            \end{subproof}
            Show that for all $x$ such that $x\in\initialSegment{1}$ we have $x\in\dom{u}$.
            \begin{subproof}
                Fix $x$ such that $x\in\initialSegment{1}$.
                $x\in\naturalsPlus$ and $x \leq 1$ by \cref{initial_segment_naturalsplus}.
                $x\in\reals$ and $1\in\reals$
                    by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals}.
                $1 \leq x$ by \cref{real_one_leq_naturalsplus}.
                $x = 1$ by \cref{real_leq_antisym}.
                $(x,a_0)\in u$ by \cref{singleton_iff,pair_eq_iff}.
                $x\in\dom{u}$ by \cref{dom}.
            \end{subproof}
            $\dom{u} = \initialSegment{1}$ by \cref{subseteq,subseteq_antisymmetric}.
            $u(1) = a_0$ by \cref{singleton_intro,function_apply_intro}.
            Show that for all $k\in\naturalsPlus$ such that $k + 1 \leq 1$ we have $u(k + 1) = \apply{f}{u(k)}$.
            \begin{subproof}
                Fix $k$ such that $k\in\naturalsPlus$.
                Assume $k + 1 \leq 1$.
                Suppose not.
                $k < k + 1$ by \cref{real_naturals_lt_succ_local}.
                $1\in\reals$ and $k\in\reals$ and $k + 1\in\reals$
                    by \cref{real_naturals_subset_reals,real_one_in_naturals,real_naturals_closed_succ,subseteq}.
                $1 < k$ or $1 = k$ by \cref{real_one_leq_naturalsplus}.
                $1 < k + 1$ by \cref{real_lt_subst_left,real_lt_trans}.
                $k + 1 < 1$ or $k + 1 = 1$ by \cref{real_leq_split}.
                $1 < 1$ by \cref{real_lt_trans,real_lt_subst_right}.
                Contradiction by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_lt_irreflexive}.
            \end{subproof}
            $1\in S$ by \cref{iteration_sequence,iteration_set_intro}.
        \end{subproof}
        Show that for all $n\in S$ we have $n + 1\in S$.
        \begin{subproof}
            Fix $n$ such that $n\in S$.
            $n\in\naturalsPlus$ by \cref{iteration_set_elim}.
            Take $u$ such that
                $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
            For all $k\in\naturalsPlus$ such that $k + 1 \leq n$ we have $u(k + 1) = \apply{f}{u(k)}$
                by \cref{iteration_sequence}.
            $n + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            Let $v = u\union\{(n + 1,\apply{f}{u(n)})\}$.
            $v$ is a relation by \cref{singleton_iff,relation,iteration_sequence,union_relations_is_relation}.
            Show that for all $x,y,y'$ such that $(x,y)\in v$ and $(x,y')\in v$ we have $y = y'$.
            \begin{subproof}
                Fix $x$.
                Fix $y$.
                Fix $y'$.
                Assume $(x,y)\in v$ and $(x,y')\in v$.
                \begin{byCase}
                \caseOf{$x = n + 1$.}
                    $(n + 1,y')\in v$.
                    Show that $(n + 1,y)\in\{(n + 1,\apply{f}{u(n)})\}$.
                    \begin{subproof}
                        Suppose not.
                        $(n + 1,y)\in u$ by \cref{union_iff}.
                        $n + 1\in\dom{u}$ by \cref{dom}.
                        $\dom{u} = \initialSegment{n}$ by \cref{iteration_sequence}.
                        $n + 1\in\initialSegment{n}$.
                        $n + 1 \leq n$ by \cref{initial_segment_naturalsplus}.
                        $n < n + 1$ by \cref{real_naturals_lt_succ_local}.
                        $n\in\reals$ and $n + 1\in\reals$
                            by \cref{real_naturals_subset_reals,real_naturals_closed_succ,subseteq}.
                        $n + 1 < n$ or $n + 1 = n$ by \cref{real_leq_split}.
                        $n < n$ by \cref{real_lt_trans,real_lt_subst_right}.
                        Contradiction by \cref{real_lt_irreflexive}.
                    \end{subproof}
                    $(n + 1,y) = (n + 1,\apply{f}{u(n)})$ by \cref{singleton_iff}.
                    $y = \apply{f}{u(n)}$ by \cref{pair_eq_iff}.
                    Show that $(n + 1,y')\in\{(n + 1,\apply{f}{u(n)})\}$.
                    \begin{subproof}
                        Suppose not.
                        $(n + 1,y')\in u$ by \cref{union_iff}.
                        $n + 1\in\dom{u}$ by \cref{dom}.
                        $\dom{u} = \initialSegment{n}$ by \cref{iteration_sequence}.
                        $n + 1\in\initialSegment{n}$.
                        $n + 1 \leq n$ by \cref{initial_segment_naturalsplus}.
                        $n < n + 1$ by \cref{real_naturals_lt_succ_local}.
                        $n\in\reals$ and $n + 1\in\reals$
                            by \cref{real_naturals_subset_reals,real_naturals_closed_succ,subseteq}.
                        $n + 1 < n$ or $n + 1 = n$ by \cref{real_leq_split}.
                        $n < n$ by \cref{real_lt_trans,real_lt_subst_right}.
                        Contradiction by \cref{real_lt_irreflexive}.
                    \end{subproof}
                    $(n + 1,y') = (n + 1,\apply{f}{u(n)})$ by \cref{singleton_iff}.
                    $y' = \apply{f}{u(n)}$ by \cref{pair_eq_iff}.
                    $y = y'$.
                \caseOf{$x \neq n + 1$.}
                    $(x,y)\in u$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    $(x,y')\in u$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    $y = y'$ by \cref{iteration_sequence,function_rightunique}.
                \end{byCase}
            \end{subproof}
            $v$ is a function by \cref{rightunique}.
            Show that for all $x$ such that $x\in\dom{v}$ we have $x\in\initialSegment{n + 1}$.
            \begin{subproof}
                Fix $x$ such that $x\in\dom{v}$.
                Take $y$ such that $(x,y)\in v$ by \cref{dom}.
                $(x,y)\in u$ or $(x,y)\in\{(n + 1,\apply{f}{u(n)})\}$ by \cref{union_iff}.
                \begin{byCase}
                \caseOf{$(x,y)\in u$.}
                    $x\in\initialSegment{n}$ by \cref{dom,iteration_sequence}.
                    $x\in\initialSegment{n + 1}$
                        by \cref{initial_segment_naturalsplus,real_naturals_leq_succ_local,real_leq_trans,real_naturals_subset_reals,real_naturals_closed_succ,subseteq}.
                \caseOf{$(x,y)\in\{(n + 1,\apply{f}{u(n)})\}$.}
                    $(x,y) = (n + 1,\apply{f}{u(n)})$ by \cref{singleton_iff}.
                    $x = n + 1$ by \cref{pair_eq_iff}.
                    $x\in\initialSegment{n + 1}$ by \cref{initial_segment_naturalsplus}.
                \end{byCase}
            \end{subproof}
            Show that for all $x$ such that $x\in\initialSegment{n + 1}$ we have $x\in\dom{v}$.
            \begin{subproof}
                Fix $x$ such that $x\in\initialSegment{n + 1}$.
                $x\in\naturalsPlus$ and $x \leq n + 1$ by \cref{initial_segment_naturalsplus}.
                \begin{byCase}
                \caseOf{$x = n + 1$.}
                    $x\in\dom{v}$ by \cref{cons_left,union_intro_right,dom}.
                \caseOf{$x \neq n + 1$.}
                    $x \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    $x\in\dom{u}$ by \cref{initial_segment_naturalsplus,iteration_sequence}.
                    $x\in\dom{v}$ by \cref{dom,union_iff}.
                \end{byCase}
            \end{subproof}
            $\dom{v} = \initialSegment{n + 1}$ by \cref{subseteq,subseteq_antisymmetric}.
            $v(1) = a_0$
                by \cref{real_one_in_naturals,real_one_leq_naturalsplus,initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left,function_apply_intro}.
            Show that for all $k\in\naturalsPlus$ such that $k + 1 \leq n + 1$ we have $v(k + 1) = \apply{f}{v(k)}$.
            \begin{subproof}
                Fix $k$ such that $k\in\naturalsPlus$.
                Assume $k + 1 \leq n + 1$.
                \begin{byCase}
                \caseOf{$k + 1 = n + 1$.}
                    $k = n$.
                    $v(k + 1) = \apply{f}{u(n)}$
                        by \cref{cons_left,union_intro_right,function_apply_intro}.
                    $v(k + 1) = \apply{f}{u(k)}$.
                    $k \leq n$.
                    $v(k) = u(k)$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left,function_apply_intro}.
                    $v(k + 1) = \apply{f}{v(k)}$.
                \caseOf{$k + 1 \neq n + 1$.}
                    $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    $k + 1 \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    $k + 1\in\initialSegment{n}$ by \cref{initial_segment_naturalsplus}.
                    $(k + 1,u(k + 1))\in v$
                        by \cref{iteration_sequence,function_apply_elim,union_intro_left}.
                    $k + 1\in\dom{v}$ by \cref{dom}.
                    $(k + 1,v(k + 1))\in v$ by \cref{function_apply_elim}.
                    $u(k + 1) = v(k + 1)$ by \cref{function_rightunique}.
                    $v(k + 1) = u(k + 1)$.
                    $k\in\naturalsPlus$ and $k + 1 \leq n$.
                    $u(k + 1) = \apply{f}{u(k)}$.
                    $v(k + 1) = \apply{f}{u(k)}$.
                    $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                    $(k,u(k))\in v$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left}.
                    $k\in\dom{v}$ by \cref{dom}.
                    $(k,v(k))\in v$ by \cref{function_apply_elim}.
                    $u(k) = v(k)$ by \cref{function_rightunique}.
                    $v(k + 1) = \apply{f}{v(k)}$.
                \end{byCase}
            \end{subproof}
            $v$ is an iteration sequence for $f$ on $n + 1$ starting at $a_0$ by \cref{iteration_sequence_intro}.
            $n + 1\in S$ by \cref{iteration_set_intro}.
        \end{subproof}
        For all $n\in\naturalsPlus$ we have $n\in S$ by \cref{real_naturals_induction}.
    \end{subproof}
    Let $F = \{u \mid \text{there exists $n\in\naturalsPlus$ such that
        $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$} \}$.
    For all $u\in F$ we have $u$ is a function by \cref{iteration_sequence}.
    Show that for all $u,v$ such that $u\in F$ and $v\in F$ we have $u\subseteq v$ or $v\subseteq u$.
    \begin{subproof}
        Fix $u$.
        Fix $v$.
        Assume $u\in F$ and $v\in F$.
        Take $m\in\naturalsPlus$ such that
            $u$ is an iteration sequence for $f$ on $m$ starting at $a_0$.
        Take $n\in\naturalsPlus$ such that
            $v$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
            $u$ is a function and $\dom{u} = \initialSegment{m}$ and $u(1) = a_0$
                by \cref{iteration_sequence}.
            For all $k\in\naturalsPlus$ such that $k + 1 \leq m$ we have $u(k + 1) = \apply{f}{u(k)}$
                by \cref{iteration_sequence}.
            $v$ is a function and $\dom{v} = \initialSegment{n}$ and $v(1) = a_0$
                by \cref{iteration_sequence}.
            For all $k\in\naturalsPlus$ such that $k + 1 \leq n$ we have $v(k + 1) = \apply{f}{v(k)}$
                by \cref{iteration_sequence}.
        $m = n$ or $m \neq n$.
        \begin{byCase}
        \caseOf{$m = n$.}
            $u\subseteq v$ or $v\subseteq u$ by \cref{iteration_sequence_unique,subseteq_refl}.
        \caseOf{$m \neq n$.}
            $m\in\reals$ and $n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            $m < n$ or $n < m$ by \cref{real_lt_trichotomy}.
            \begin{byCase}
        \caseOf{$m < n$.}
            Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
            $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
            Show that if $1\leq m$ then $u(1) = v(1)$.
            \begin{subproof}
                Follows by \cref{iteration_sequence}.
            \end{subproof}
            $1\in B$.
            Show that for all $k\in B$ we have if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
            \begin{subproof}
                Follows by \cref{real_naturals_succ_bound_elim_local,real_leq_trans,real_lt_imp_leq,real_add_closed,real_naturals_subset_reals,subseteq,iteration_sequence}.
            \end{subproof}
            Show that for all $k\in B$ we have $k + 1\in B$.
            \begin{subproof}
                Fix $k\in B$.
                $k\in\naturalsPlus$ by \cref{subseteq}.
                $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                Show that if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
                $k + 1\in B$.
            \end{subproof}
            For all $k\in\initialSegment{m}$ we have $u(k) = v(k)$
                by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
            For all $w$ such that $w\in u$ we have $w\in v$
                by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
            $u\subseteq v$ by \cref{subseteq}.
        \caseOf{$n < m$.}
            Let $C = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
            $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
            Show that if $1\leq n$ then $v(1) = u(1)$.
            \begin{subproof}
                Follows by \cref{iteration_sequence}.
            \end{subproof}
            $1\in C$.
            Show that for all $k\in C$ we have if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
            \begin{subproof}
                Follows by \cref{real_naturals_succ_bound_elim_local,real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq,iteration_sequence}.
            \end{subproof}
            Show that for all $k\in C$ we have $k + 1\in C$.
            \begin{subproof}
                Fix $k\in C$.
                $k\in\naturalsPlus$ by \cref{subseteq}.
                $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                Show that if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
                $k + 1\in C$.
            \end{subproof}
            For all $k\in\initialSegment{n}$ we have $v(k) = u(k)$
                by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
            For all $w$ such that $w\in v$ we have $w\in u$
                by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
            $v\subseteq u$ by \cref{subseteq}.
        \end{byCase}
        \end{byCase}
    \end{subproof}
    Let $u = \unions{F}$.
    $F$ is a family of functions.
    $u$ is a function by \cref{unions_of_compatible_family_of_function_is_function}.
    Show that for all $x$ such that $x\in\dom{u}$ we have $x\in\naturalsPlus$.
    \begin{subproof}
        Follows by \cref{dom,unions_iff,iteration_sequence,initial_segment_naturalsplus}.
    \end{subproof}
    Show that for all $n\in\naturalsPlus$ we have $n\in\dom{u}$.
    \begin{subproof}
        Follows by \cref{subseteq,iteration_set_elim,iteration_sequence,initial_segment_naturalsplus,dom,unions_iff}.
    \end{subproof}
    $\dom{u} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
    Show that for all $n\in\naturalsPlus$ we have $u(n)\in A$.
    \begin{subproof}
        Fix $n\in\naturalsPlus$.
        Take $v\in F$ such that $(n,u(n))\in v$ by \cref{function_apply_elim,unions_iff}.
        Take $n_0\in\naturalsPlus$ such that
            $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.
        $n \leq n_0$ by \cref{dom,iteration_sequence,initial_segment_naturalsplus}.
        $v(1) = a_0$ and for all $k\in\naturalsPlus$ such that $k + 1 \leq n_0$ we have $v(k + 1) = \apply{f}{v(k)}$
            by \cref{iteration_sequence}.
        Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k)\in A$}\}$.
        $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
        Show that if $1\leq n$ then $v(1)\in A$.
        \begin{subproof}
            Follows by \cref{iteration_sequence}.
        \end{subproof}
        $1\in B$.
        Show that for all $k\in B$ we have if $k + 1\leq n$ then $v(k + 1)\in A$.
        \begin{subproof}
            Follows by \cref{real_naturals_succ_bound_elim_local,funs_type_apply,real_leq_trans,real_naturals_closed_succ,real_naturals_subset_reals,subseteq,iteration_sequence}.
        \end{subproof}
        Show that for all $k\in B$ we have $k + 1\in B$.
        \begin{subproof}
            Fix $k\in B$.
            $k\in\naturalsPlus$ by \cref{subseteq}.
            $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            Show that if $k + 1\leq n$ then $v(k + 1)\in A$.
            \begin{subproof}
                Trivial.
            \end{subproof}
            $k + 1\in B$.
        \end{subproof}
        $v(n)\in A$ by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
        $u(n)\in A$ by \cref{function_apply_intro}.
    \end{subproof}
    Show that for all $n\in\naturalsPlus$ we have $u(n) < u(n + 1)$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            $(n + 1,u(n + 1))\in\unions{F}$ by \cref{real_naturals_closed_succ,function_apply_elim}.
            Take $v\in F$ such that $(n + 1,u(n + 1))\in v$ by \cref{unions_iff}.
            $n + 1\in\dom{v}$ by \cref{dom}.
            $v(n + 1) = u(n + 1)$ by \cref{function_apply_intro}.
            Take $n_0\in\naturalsPlus$ such that
                $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.
            $n + 1 \leq n_0$ by \cref{iteration_sequence,initial_segment_naturalsplus}.
            $v(n + 1) = \apply{f}{v(n)}$ by \cref{iteration_sequence}.
            $u(n + 1) = \apply{f}{v(n)}$.
            $n \leq n_0$ by \cref{real_naturals_succ_bound_elim_local}.
            $(n,v(n))\in u$
                by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,unions_iff}.
            $u(n) = v(n)$ by \cref{function_apply_intro}.
            $u(n + 1) = \apply{f}{u(n)}$.
            $u(n) < u(n + 1)$ by \cref{function_apply_intro}.
        \end{subproof}
        Show that for all $m,n\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$.
        \begin{subproof}
            Let $T = \{n\in\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$}\}$.
            Show that for all $n\in\naturalsPlus$ we have $n\in T$.
            \begin{subproof}
                $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
                For all $m\in\naturalsPlus$ such that $m < 1$ we have $u(m) < u(1)$
                    by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans,real_lt_irreflexive}.
                $1\in T$.
                Show that for all $n\in T$ we have $n + 1\in T$.
                \begin{subproof}
                    Fix $n$ such that $n\in T$.
                    Show that for all $m\in\naturalsPlus$ such that $m < n + 1$ we have $u(m) < u(n + 1)$.
                    \begin{subproof}
                        Fix $m$.
                        Assume $m\in\naturalsPlus$ and $m < n + 1$.
                        Suppose not.
                        $u(m)\in A$ and $u(n)\in A$ and $u(n + 1)\in A$.
                        $u(m)\in\reals$ and $u(n)\in\reals$ and $u(n + 1)\in\reals$
                            by \cref{subseteq,real_naturals_subset_reals}.
                        $m < n$ or $m = n$ or $m = n + 1$ by \cref{real_succ_discrete}.
                        \begin{byCase}
                        \caseOf{$m = n$.}
                            $u(m) < u(n + 1)$ by \cref{real_lt_subst_left}.
                            Contradiction.
                        \caseOf{$m < n$.}
                            $u(m) < u(n + 1)$ by \cref{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$.
                \end{subproof}
                For all $m,n\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$
                    by \cref{subseteq,real_naturals_induction}.
            \end{subproof}
    \end{subproof}
    For all $n\in\dom{u}$ we have $u(n)\in\naturalsPlus$.
    $u\in\funs{\naturalsPlus}{\naturalsPlus}$ by \cref{funs_intro}.
    Show that $u$ is strictly increasing on $\naturalsPlus$.
    \begin{subproof}
        Follows by \cref{strictly_increasing_on_set}.
    \end{subproof}
    Let $v = u$.
    $v$ is strictly increasing on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $v(n)\in A$.
\end{proof}
Lemma 404
finite_sequence_constant_subsequence

Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Suppose $A$ is finite.
Suppose $s$ is a sequence in $A$.
Then there exist $t,a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $t$ is a sequence in $A$ and $t$ is a subsequence of $s$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = a$.

LaTeX source
\begin{lemma}
\label{finite_sequence_constant_subsequence}
    Suppose $A\subseteq X$.
    Suppose $A$ is finite.
    Suppose $s$ is a sequence in $A$.
    Then there exist $t,a$ such that
        $a\in A$ and
        $t$ is a sequence in $A$ and
        $t$ is a subsequence of $s$ and
        for all $n\in\naturalsPlus$ we have $t(n) = a$.
\end{lemma}
Proof

$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{A}$ by Definition 158.
$\dom{s} = \naturalsPlus$ and $s$ is right-unique and $s$ is a function by Definition 55, Proposition 356.
Let $g = \{ (a,\preimg{s}{\{a\}}) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} A \}$.
Let $F = \img{g}{A}$.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ there exist $a,B$ such that $w = (a,B)$.
For all $a,B_1,B_2$ such that $(a,B_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(a,B_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $B_1 = B_2$.

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

Follows by Proposition 200.

$\dom{g} = A$ by Definition 1, Proposition 3.
$g$ is a function on $A$ by Definition 12, Definition 51.
$F$ is finite by Lemma 192.

Claim: 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}\unions{F}$.
Claim: For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{F}$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.

$\unions{F} = \naturalsPlus$ by Definition 1, Proposition 3.

Claim: There exists $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $\preimg{s}{\{a\}}$ is infinite.

Suppose not.
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $\preimg{s}{\{a\}}$ is finite.
For all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $B$ is finite by Proposition 235, Proposition 349.
$\unions{F}$ is finite by Lemma 360.
$\naturalsPlus$ is finite.
Contradiction by Lemma 394.

Take $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $\preimg{s}{\{a\}}$ is infinite.
Let $I = \preimg{s}{\{a\}}$.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1, Proposition 249.
Take $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 $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Lemma 403.
Let $t = s\class{latex-symbol-tip latex-symbol-id-circ}{\circ} u$.
$t$ is a function by Definition 55, Definition 258, Proposition 372.

Claim: 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$.
Claim: 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}$.

$\dom{t} = \naturalsPlus$ by Definition 1, Proposition 3.
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} A$ by Definition 1, Definition 15, Definition 258, Proposition 256, Proposition 348, Proposition 349, Proposition 356, Proposition 361.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{A}$ by Proposition 358.

Claim: $t$ is a sequence in $A$.

Follows by Definition 158.

For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = \apply{s}{\apply{u}{n}}$ by Definition 55, Definition 158, Definition 258, Proposition 256, Proposition 348, Proposition 349, Proposition 356.

Claim: $t$ is a subsequence of $s$.

Follows by Definition 259.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = a$.

Let $r = t$.
Let $b = a$.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $r$ is a sequence in $A$ and $r$ is a subsequence of $s$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $r(n) = b$.

LaTeX source
\begin{proof}
    $s\in\funs{\naturalsPlus}{A}$ by \cref{sequence_in}.
    $\dom{s} = \naturalsPlus$ and $s$ is right-unique and $s$ is a function by \cref{funs,funs_is_function}.
    Let $g = \{ (a,\preimg{s}{\{a\}}) \mid a\in A \}$.
    Let $F = \img{g}{A}$.
    For all $w$ such that $w\in g$ there exist $a,B$ such that $w = (a,B)$.
    For all $a,B_1,B_2$ such that $(a,B_1)\in g$ and $(a,B_2)\in g$ we have $B_1 = B_2$.
    Show that for all $a$ such that $a\in\dom{g}$ we have $a\in A$.
    \begin{subproof}
        Follows by \cref{dom_iff,pair_eq_iff}.
    \end{subproof}
    Show that for all $a$ such that $a\in A$ we have $a\in\dom{g}$.
    \begin{subproof}
        Follows by \cref{dom_intro}.
    \end{subproof}
    $\dom{g} = A$ by \cref{subseteq,subseteq_antisymmetric}.
    $g$ is a function on $A$ by \cref{relation,rightunique}.
    $F$ is finite by \cref{finite_image_function}.
    Show that for all $n$ such that $n\in\naturalsPlus$ we have $n\in\unions{F}$.
    \begin{subproof}
        Follows by \cref{funs_type_apply,img_iff,singleton_intro,preimg_iff,function_apply_iff,unions_iff}.
    \end{subproof}
    Show that for all $n$ such that $n\in\unions{F}$ we have $n\in\naturalsPlus$.
    \begin{subproof}
        Follows by \cref{unions_iff,img_iff,function_apply_iff,preimg_subseteq_dom,subseteq}.
    \end{subproof}
    $\unions{F} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
    Show that there exists $a\in A$ such that $\preimg{s}{\{a\}}$ is infinite.
    \begin{subproof}
        Suppose not.
        For all $a\in A$ we have $\preimg{s}{\{a\}}$ is finite.
        For all $B\in F$ we have $B$ is finite by \cref{img_iff,function_apply_iff}.
        $\unions{F}$ is finite by \cref{finite_union_of_finite_family}.
        $\naturalsPlus$ is finite.
        Contradiction by \cref{naturalsplus_infinite}.
    \end{subproof}
    Take $a\in A$ such that $\preimg{s}{\{a\}}$ is infinite.
    Let $I = \preimg{s}{\{a\}}$.
    $I\subseteq\naturalsPlus$ by \cref{preimg_subseteq_dom,subseteq}.
    Take $u$ such that
        $u$ is strictly increasing on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $u(n)\in I$
        by \cref{infinite_naturalsplus_has_strictly_increasing_sequence}.
    Let $t = s\circ u$.
    $t$ is a function by \cref{strictly_increasing_on_set,funs,function_circ}.
    Show that for all $n$ such that $n\in\dom{t}$ we have $n\in\naturalsPlus$.
    \begin{subproof}
        Follows by \cref{dom,circ_elem_elim,strictly_increasing_on_set,funs}.
    \end{subproof}
    Show that for all $n$ such that $n\in\naturalsPlus$ we have $n\in\dom{t}$.
    \begin{subproof}
        Follows by \cref{strictly_increasing_on_set,funs,subseteq,funs_is_function,function_apply_elim,circ_elem_intro,dom}.
    \end{subproof}
    $\dom{t} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
    For all $n\in\dom{t}$ we have $t(n)\in A$
        by \cref{dom,strictly_increasing_on_set,funs_is_function,function_apply_iff,function_apply_elim,circ_elem_elim,subseteq,funs_type_apply}.
    $t\in\funs{\naturalsPlus}{A}$ by \cref{funs_intro}.
    Show that $t$ is a sequence in $A$.
    \begin{subproof}
        Follows by \cref{sequence_in}.
    \end{subproof}
    For all $n\in\naturalsPlus$ we have $t(n) = \apply{s}{\apply{u}{n}}$
        by \cref{sequence_in,funs,funs_is_function,function_apply_elim,circ_elem_elim,strictly_increasing_on_set,function_apply_iff}.
    Show that $t$ is a subsequence of $s$.
    \begin{subproof}
        Follows by \cref{subsequence}.
    \end{subproof}
    Show that for all $n\in\naturalsPlus$ we have $t(n) = a$.
    \begin{subproof}
        Follows by \cref{strictly_increasing_on_set,funs,preimg_iff,singleton_iff,function_apply_iff}.
    \end{subproof}
    Let $r = t$.
    Let $b = a$.
    $b\in A$ and
        $r$ is a sequence in $A$ and
        $r$ is a subsequence of $s$ and
        for all $n\in\naturalsPlus$ we have $r(n) = b$.
\end{proof}
Lemma 405
naturalsplus_reciprocal_antitone_alt

Suppose $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Then $1 / n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / m$.

LaTeX source
\begin{lemma}
\label{naturalsplus_reciprocal_antitone_alt}
    Suppose $m,n\in\naturalsPlus$.
    Suppose $m \leq n$.
    Then $1 / n \leq 1 / m$.
\end{lemma}
Proof

$m < n$ or $m = n$ by Lemma 81.
$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17, Axiom 21, Axiom 41, Definition 1.

$0 < m$ by Axiom 17, Axiom 36, Axiom 43, Lemma 83, Proposition 462.
$0 < n$ by Axiom 17, Axiom 36, Axiom 43, Lemma 83, Proposition 462.
Suppose not.
$1 / m < 1 / n$.
$0 < m \rmul n$ by Axiom 38, Lemma 82, Proposition 439.
$m\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $n\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
$1 / m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m \rmul n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Axiom 22, Definition 65.
$(1 / m) \rmul (m \rmul n) < (1 / n) \rmul (m \rmul n)$ by Axiom 38.
$(m \rmul n) \rmul (1 / m) < (m \rmul n) \rmul (1 / n)$ by Axiom 20, Lemma 82, Lemma 83.
$(m \rmul n) \rmul (1 / m) = n$ by Axiom 14, Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65.
$(m \rmul n) \rmul (1 / n) = m$ by Axiom 14, Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65.
$n < m$.
Contradiction by Axiom 36, Axiom 39, Lemma 82.

LaTeX source
\begin{proof}
    $m < n$ or $m = n$ by \cref{real_leq_split}.
    $m\in\reals$ and $n\in\reals$ and $0\in\reals$ and $1\in\reals$
        by \cref{real_naturals_subset_reals,subseteq,real_add_ident,real_mul_ident}.

    $0 < m$ by \cref{real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans}.
    $0 < n$ by \cref{real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans}.
    Suppose not.
    $1 / m < 1 / n$.
    $0 < m \rmul n$ by \cref{real_lt_mul_pos,real_mul_zero,real_lt_subst_left}.
    $m\neq 0$ and $n\neq 0$ by \cref{real_pos_nonzero}.
    $1 / m\in\reals$ and $1 / n\in\reals$ and $m \rmul n\in\reals$
        by \cref{real_mul_inverse,real_div,real_mul_closed}.
    $(1 / m) \rmul (m \rmul n) < (1 / n) \rmul (m \rmul n)$ by \cref{real_lt_mul_pos}.
    $(m \rmul n) \rmul (1 / m) < (m \rmul n) \rmul (1 / n)$
        by \cref{real_mul_comm,real_lt_subst_left,real_lt_subst_right}.
    $(m \rmul n) \rmul (1 / m) = n$
        by \cref{real_div,real_mul_assoc,real_mul_comm,real_mul_closed,real_mul_inverse,real_mul_ident}.
    $(m \rmul n) \rmul (1 / n) = m$
        by \cref{real_div,real_mul_assoc,real_mul_closed,real_mul_comm,real_mul_inverse,real_mul_ident}.
    $n < m$.
    Contradiction by \cref{real_lt_trans,real_lt_subst_left,real_lt_irreflexive}.
\end{proof}
Lemma 406
sequentially_compact_lebesgue

Suppose $d$ is a metric on $X$.
Let $T = \metricTopology{d}{X}$.
Suppose $A$ is an open covering of $X$ with respect to $T$.
Suppose $X\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Suppose $X$ is sequentially compact with respect to $T$.
Then there exists $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and for all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and for all $x,y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ there exists $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.

LaTeX source
\begin{lemma}
\label{sequentially_compact_lebesgue}
    Suppose $d$ is a metric on $X$.
    Let $T = \metricTopology{d}{X}$.
    Suppose $A$ is an open covering of $X$ with respect to $T$.
    Suppose $X\neq\emptyset$.
    Suppose $X$ is sequentially compact with respect to $T$.
    Then there exists $\delta\in\reals$ such that $0 < \delta$ and
        for all $B$ such that $B\subseteq X$ and
            for all $x,y\in B$ we have $d((x,y)) < \delta$
        there exists $U\in A$ such that $B\subseteq U$.
\end{lemma}
Proof

Suppose not.
Thus for all $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ there exists $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and for all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $B\not\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and for all $x,y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$.
Take $x_0$ such that $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 10.
Hence $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{A}$ by Definition 1, Definition 245, Definition 246.
Take $U_0\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ by Axiom 4.

Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} X \mid \text{for all $U\in A$ we have $\metricBall{d}{X}{\snd{w}}{1 / (\fst{w})}\not\subseteq U$}\}$.
Hence $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 $x$ such that $n\mathrel{R} x$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Let $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} = 1 / n$.
$0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 267.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < n$ by Axiom 17, Axiom 21, Axiom 36, Axiom 41, Axiom 43, Definition 1, Lemma 83, Proposition 462.
Hence $\inv{n}\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-in}{\in}\reals$ by Axiom 14, Axiom 22, Definition 65, Lemma 20.
Take $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and for all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $B\not\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and for all $x,y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$.
We have $B\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Proposition 11.
Take $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
For all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\not\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1, Definition 180, Proposition 6.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
Hence $(n,x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Proposition 115.
Therefore for all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $\metricBall{d}{X}{\snd{(n,x)}}{1 / (\fst{(n,x)})}\not\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Axiom 10, Axiom 11.
Thus $(n,x)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$.
$n\mathrel{R} x$ by Definition 12.

Take $s$ such that $s$ 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{s}{n}$ by Axiom 54.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{s}$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 114.
Hence $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{X}$ by Proposition 358.
Therefore $s$ is a sequence in $X$ by Definition 158.

Take $t,x$ such that $t$ is a sequence in $X$ and $t$ is a subsequence of $s$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $t$ converges to $x$ in $X$ with respect to $T$ by Definition 260.
Take $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 $t(n) = \apply{s}{\apply{u}{n}}$ by Definition 259.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n)$.

Let $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n)\}$.
For all $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 42, Axiom 43, Definition 258, Proposition 361.

Claim: 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$.

Fix $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n)$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Hence $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n < n + 1$ by Axiom 45, Lemma 399.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
Therefore $u(n) < u(n + 1)$ by Definition 258.

Claim: It is wrong that $u(n + 1) < n + 1$.

Suppose not.
We have $u(n + 1) < n + 1$.
Hence $u(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 258, Proposition 361.
Therefore $u(n + 1) < n$ or $u(n + 1) = n$ or $u(n + 1) = n + 1$ by Axiom 44.

Case. $u(n + 1) < n$.

$u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1, Definition 258, Proposition 361.
$n < u(n)$ or $n = u(n)$ by Lemma 81.

Case. $n < u(n)$.

Contradiction by Axiom 36, Axiom 39.

Case. $n = u(n)$.

Contradiction by Axiom 36, Axiom 39, Lemma 83.

LaTeX source
\begin{byCase}
                        \caseOf{$n < u(n)$.}
                            Contradiction by \cref{real_lt_trans,real_lt_irreflexive}.
                        \caseOf{$n = u(n)$.}
                            Contradiction by \cref{real_lt_subst_right,real_lt_trans,real_lt_irreflexive}.
                        
\end{byCase}
Case. $u(n + 1) = n$.

We have $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1, Definition 258, Proposition 361.
Hence $u(n) < n$ by Lemma 83.
$n < u(n)$ or $n = u(n)$ by Lemma 81.

Case. $n < u(n)$.

Contradiction by Axiom 36, Axiom 39.

Case. $n = u(n)$.

Contradiction by Axiom 39, Lemma 82.

LaTeX source
\begin{byCase}
                        \caseOf{$n < u(n)$.}
                            Contradiction by \cref{real_lt_trans,real_lt_irreflexive}.
                        \caseOf{$n = u(n)$.}
                            Contradiction by \cref{real_lt_subst_left,real_lt_irreflexive}.
                        
\end{byCase}
Case. $u(n + 1) = n + 1$.
LaTeX source
\begin{byCase}
                    \caseOf{$u(n + 1) < n$.}
                        $u(n)\in\reals$ and $u(n + 1)\in\reals$
                            by \cref{strictly_increasing_on_set,funs_type_apply,real_naturals_subset_reals,subseteq}.
                        $n < u(n)$ or $n = u(n)$ by \cref{real_leq_split}.
                        \begin{byCase}
                        \caseOf{$n < u(n)$.}
                            Contradiction by \cref{real_lt_trans,real_lt_irreflexive}.
                        \caseOf{$n = u(n)$.}
                            Contradiction by \cref{real_lt_subst_right,real_lt_trans,real_lt_irreflexive}.
                        \end{byCase}
                    \caseOf{$u(n + 1) = n$.}
                        We have $u(n)\in\reals$
                            by \cref{strictly_increasing_on_set,funs_type_apply,real_naturals_subset_reals,subseteq}.
                        Hence $u(n) < n$ by \cref{real_lt_subst_right}.
                        $n < u(n)$ or $n = u(n)$ by \cref{real_leq_split}.
                        \begin{byCase}
                        \caseOf{$n < u(n)$.}
                            Contradiction by \cref{real_lt_trans,real_lt_irreflexive}.
                        \caseOf{$n = u(n)$.}
                            Contradiction by \cref{real_lt_subst_left,real_lt_irreflexive}.
                        \end{byCase}
                    \caseOf{$u(n + 1) = n + 1$.}
                        Contradiction by \cref{real_lt_subst_left,real_naturals_closed_succ,real_naturals_subset_reals,subseteq,real_lt_irreflexive}.
                    
\end{byCase}

Hence $u(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 45, Definition 1, Definition 258, Proposition 361.
Therefore $n + 1 < u(n + 1)$ or $n + 1 = u(n + 1)$ or $u(n + 1) < n + 1$ by Axiom 34.
$n + 1 < u(n + 1)$ or $n + 1 = u(n + 1)$.
Hence $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n + 1)$.
Therefore $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.

Thus 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.
Thus for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n)$ by Definition 1.

Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{A}$ by Definition 1, Definition 245, Definition 246.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Axiom 4.
Therefore $U$ is open in $X$ with respect to $T$ and $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 101, Definition 103, Definition 182, Definition 246, Lemma 76, Lemma 194, Proposition 156.
Take $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Lemma 195.
Let $m_2 = 1 + 1$.
Let $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = \class{latex-symbol-tip latex-symbol-id-delta}{\delta} / m_2$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Axiom 21, Proposition 462.
Hence $m_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < m_2$ by Axiom 13, Axiom 17, Axiom 36, Axiom 37, Lemma 82.
$m_2\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
Thus $\inv{m_2}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \inv{m_2}$ by Axiom 22, Proposition 463.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = \class{latex-symbol-tip latex-symbol-id-delta}{\delta} \rmul \inv{m_2}$ by Definition 65.
Hence $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 14, Axiom 17, Axiom 38, Lemma 82, Proposition 439.
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.

We have $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 180.

Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ there exists $\class{latex-symbol-tip latex-symbol-id-eta}{\eta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ and $\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-eta}{\eta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 180.
Hence $d((x,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
Let $\class{latex-symbol-tip latex-symbol-id-eta}{\eta} = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} - d((x,y))$.
$0 < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Lemma 26.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-eta}{\eta}}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-eta}{\eta}}$.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $d((y,z)) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Definition 180.
Hence $d((y,z))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
We have $\class{latex-symbol-tip latex-symbol-id-eta}{\eta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
Therefore $d((x,z)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x,y)) + d((y,z))$ by Definition 178, Definition 179.
$d((x,z))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
Hence $\class{latex-symbol-tip latex-symbol-id-eta}{\eta} + d((x,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x,y)) + d((y,z))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Therefore $d((x,y)) + d((y,z)) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + d((x,y))$ by Axiom 16, Axiom 37, Lemma 82.
$d((x,z)) < d((x,y)) + d((y,z))$ or $d((x,z)) = d((x,y)) + d((y,z))$ by Lemma 81.
Hence $d((x,z)) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + d((x,y))$ by Axiom 13, Axiom 36, Definition 179, Lemma 82, Proposition 115, Proposition 361.
Thus $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Definition 180, Lemma 83.

$\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-eta}{\eta}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 1.

Hence $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ is open in $X$ with respect to $T$ by Lemma 195.
Therefore $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ is a neighborhood of $x$ in $X$ with respect to $T$ by Definition 153, Definition 176, Definition 179, Definition 180, Lemma 82.

Take $N_0\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_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 159.

Claim: There exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $N_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Case. $N_0 = N$.

Take $n$ such that $n = N$.
$N_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.

Case. $N_0 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} N$.

Thus $N_0 < N$ or $N < N_0$ by Axiom 34, Axiom 41, Definition 1.

Case. $N_0 < N$.

Take $n$ such that $n = N$.
$N_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 231.

Case. $N < N_0$.

Take $n$ such that $n = N_0$.
$N_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 231.

LaTeX source
\begin{byCase}
            \caseOf{$N_0 < N$.}
                Take $n$ such that $n = N$.
                $N_0 \leq n$ and $N \leq n$ by \cref{real_lt_imp_leq}.
            \caseOf{$N < N_0$.}
                Take $n$ such that $n = N_0$.
                $N_0 \leq n$ and $N \leq n$ by \cref{real_lt_imp_leq}.
            
\end{byCase}
LaTeX source
\begin{byCase}
        \caseOf{$N_0 = N$.}
            Take $n$ such that $n = N$.
            $N_0 \leq n$ and $N \leq n$.
        \caseOf{$N_0 \neq N$.}
            Thus $N_0 < N$ or $N < N_0$ by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy}.
            \begin{byCase}
            \caseOf{$N_0 < N$.}
                Take $n$ such that $n = N$.
                $N_0 \leq n$ and $N \leq n$ by \cref{real_lt_imp_leq}.
            \caseOf{$N < N_0$.}
                Take $n$ such that $n = N_0$.
                $N_0 \leq n$ and $N \leq n$ by \cref{real_lt_imp_leq}.
            \end{byCase}
        
\end{byCase}

Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $N_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ and $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.

Hence $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.
$d((x,t(n))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 180.
$u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 258, Proposition 361.
Hence $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n)$.
Therefore $N \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u(n)$ by Axiom 41, Definition 1, Definition 258, Lemma 23, Proposition 361.
Hence $1 / u(n) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 259.
$u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$0 < u(n)$ and $0 < N$ by Axiom 36, Axiom 42, Axiom 43, Definition 258, Proposition 361, Proposition 462.
$1 / u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Axiom 22, Definition 65, Lemma 20.
Therefore $1 / u(n) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36, Lemma 82.

Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{t(n)}{1 / u(n)}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.

Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{t(n)}{1 / u(n)}$.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $d((t(n),z)) < 1 / u(n)$ by Definition 180.
Hence $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 158, Proposition 361.
Therefore $d((x,z)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x,t(n))) + d((t(n),z))$ by Definition 178, Definition 179.

Claim: $d((x,z)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

We have $d((t(n),z))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
$1 / u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Hence $d((t(n),z)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36.
$d((x,t(n)))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
Hence $d((x,t(n))) + d((t(n),z)) < d((x,t(n))) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 16, Axiom 37, Lemma 82, Lemma 83.
Therefore $d((x,t(n))) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 37.
$d((x,t(n))) + d((t(n),z))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x,t(n))) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Hence $d((x,t(n))) + d((t(n),z)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36.
$d((x,z))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
$d((x,z)) < d((x,t(n))) + d((t(n),z))$ or $d((x,z)) = d((x,t(n))) + d((t(n),z))$ by Lemma 81.
Therefore $d((x,z)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36, Lemma 82.

Hence $d((x,z)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65, Lemma 9, Lemma 83.
Therefore $z\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1, Definition 180.

Hence $\metricBall{d}{X}{t(n)}{1 / u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.

Thus $(u(n),t(n))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 6.
Therefore for all $V\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $\metricBall{d}{X}{t(n)}{1 / u(n)}\not\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Hence $\metricBall{d}{X}{t(n)}{1 / u(n)}\not\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.
Contradiction.

LaTeX source
\begin{proof}
    Suppose not.
    Thus for all $\delta\in\reals$ such that $0 < \delta$ there exists $B$ such that
        $B\subseteq X$ and
        for all $U\in A$ we have $B\not\subseteq U$ and
        for all $x,y\in B$ we have $d((x,y)) < \delta$.
    Take $x_0$ such that $x_0\in X$ by \cref{nonempty_inhabited}.
    Hence $x_0\in\unions{A}$ by \cref{open_covering,covering,subseteq}.
    Take $U_0\in A$ such that $x_0\in U_0$ by \cref{unions_iff}.

    Let $R = \{w\in\naturalsPlus\times X \mid
        \text{for all $U\in A$ we have $\metricBall{d}{X}{\snd{w}}{1 / (\fst{w})}\not\subseteq U$}\}$.
    Hence $R$ is a relation by \cref{times_elem_is_tuple,relation}.

    Show that for all $n\in\naturalsPlus$ there exists $x$ such that $n\mathrel{R} x$.
    \begin{subproof}
        Fix $n\in\naturalsPlus$.
        Let $\delta = 1 / n$.
        $0 < \delta$ by \cref{positive_reciprocal_naturalsplus}.
        $n\in\reals$ and $0 < n$
            by \cref{real_naturals_subset_reals,subseteq,real_mul_ident,real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans}.
        Hence $\inv{n}\in\reals$ and $\delta\in\reals$
            by \cref{real_pos_nonzero,real_mul_inverse,real_div,real_mul_closed}.
        Take $B$ such that
            $B\subseteq X$ and
            for all $U\in A$ we have $B\not\subseteq U$ and
            for all $x,y\in B$ we have $d((x,y)) < \delta$.
        We have $B\neq\emptyset$ by \cref{emptyset_subseteq}.
        Take $x$ such that $x\in B$.
        For all $U\in A$ we have $\metricBall{d}{X}{x}{\delta}\not\subseteq U$
            by \cref{subseteq,metric_ball,subseteq_transitive}.
        $x\in X$ by \cref{subseteq}.
        Hence $(n,x)\in\naturalsPlus\times X$ by \cref{times_tuple_intro}.
        Therefore for all $U\in A$ we have $\metricBall{d}{X}{\snd{(n,x)}}{1 / (\fst{(n,x)})}\not\subseteq U$
            by \cref{fst_eq,snd_eq}.
        Thus $(n,x)\in R$.
        $n\mathrel{R} x$ by \cref{relation}.
    \end{subproof}

    Take $s$ such that $s$ is a function on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $n\mathrel{R} \apply{s}{n}$ by \cref{axiom_of_choice}.
    For all $n\in\dom{s}$ we have $s(n)\in X$ by \cref{times_tuple_elim}.
    Hence $s\in\funs{\naturalsPlus}{X}$ by \cref{funs_intro}.
    Therefore $s$ is a sequence in $X$ by \cref{sequence_in}.

    Take $t,x$ such that
        $t$ is a sequence in $X$ and
        $t$ is a subsequence of $s$ and
        $x\in X$ and
        $t$ converges to $x$ in $X$ with respect to $T$ by \cref{sequentially_compact}.
    Take $u$ such that
        $u$ is strictly increasing on $\naturalsPlus$ and
        for all $n\in\naturalsPlus$ we have $t(n) = \apply{s}{\apply{u}{n}}$ by \cref{subsequence}.

    Show that for all $n\in\naturalsPlus$ we have $n \leq u(n)$.
    \begin{subproof}
        Let $P = \{n\in\naturalsPlus \mid n \leq u(n)\}$.
            For all $n$ such that $n\in P$ we have $n\in\naturalsPlus$.
            $P\subseteq\naturalsPlus$ by \cref{subseteq}.
            Hence $1\in P$ by \cref{real_one_in_naturals,strictly_increasing_on_set,funs_type_apply,real_one_leq_naturalsplus}.
            Show that for all $n\in P$ we have $n + 1\in P$.
            \begin{subproof}
                Fix $n$ such that $n\in P$.
                $n \leq u(n)$.
                $n\in\naturalsPlus$.
                Hence $n + 1\in\naturalsPlus$ and $n < n + 1$
                    by \cref{real_naturals_closed_succ,real_naturals_lt_succ_local}.
                $n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
                Therefore $u(n) < u(n + 1)$ by \cref{strictly_increasing_on_set}.
                Show that it is wrong that $u(n + 1) < n + 1$.
                \begin{subproof}
                    Suppose not.
                    We have $u(n + 1) < n + 1$.
                    Hence $u(n + 1)\in\naturalsPlus$ by \cref{strictly_increasing_on_set,funs_type_apply}.
                    Therefore $u(n + 1) < n$ or $u(n + 1) = n$ or $u(n + 1) = n + 1$
                        by \cref{real_succ_discrete}.
                    \begin{byCase}
                    \caseOf{$u(n + 1) < n$.}
                        $u(n)\in\reals$ and $u(n + 1)\in\reals$
                            by \cref{strictly_increasing_on_set,funs_type_apply,real_naturals_subset_reals,subseteq}.
                        $n < u(n)$ or $n = u(n)$ by \cref{real_leq_split}.
                        \begin{byCase}
                        \caseOf{$n < u(n)$.}
                            Contradiction by \cref{real_lt_trans,real_lt_irreflexive}.
                        \caseOf{$n = u(n)$.}
                            Contradiction by \cref{real_lt_subst_right,real_lt_trans,real_lt_irreflexive}.
                        \end{byCase}
                    \caseOf{$u(n + 1) = n$.}
                        We have $u(n)\in\reals$
                            by \cref{strictly_increasing_on_set,funs_type_apply,real_naturals_subset_reals,subseteq}.
                        Hence $u(n) < n$ by \cref{real_lt_subst_right}.
                        $n < u(n)$ or $n = u(n)$ by \cref{real_leq_split}.
                        \begin{byCase}
                        \caseOf{$n < u(n)$.}
                            Contradiction by \cref{real_lt_trans,real_lt_irreflexive}.
                        \caseOf{$n = u(n)$.}
                            Contradiction by \cref{real_lt_subst_left,real_lt_irreflexive}.
                        \end{byCase}
                    \caseOf{$u(n + 1) = n + 1$.}
                        Contradiction by \cref{real_lt_subst_left,real_naturals_closed_succ,real_naturals_subset_reals,subseteq,real_lt_irreflexive}.
                    \end{byCase}
                \end{subproof}
                Hence $u(n + 1)\in\reals$ and $n + 1\in\reals$
                    by \cref{strictly_increasing_on_set,funs_type_apply,real_naturals_closed_succ,real_naturals_subset_reals,subseteq}.
                Therefore $n + 1 < u(n + 1)$ or $n + 1 = u(n + 1)$ or $u(n + 1) < n + 1$
                    by \cref{real_lt_trichotomy}.
                $n + 1 < u(n + 1)$ or $n + 1 = u(n + 1)$.
                Hence $n + 1 \leq u(n + 1)$.
                Therefore $n + 1\in P$.
            \end{subproof}
            Thus for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
        Thus for all $n\in\naturalsPlus$ we have $n \leq u(n)$ by \cref{subseteq}.
    \end{subproof}

    Hence $x\in\unions{A}$ by \cref{open_covering,covering,subseteq}.
    Take $U\in A$ such that $x\in U$ by \cref{unions_iff}.
    Therefore $U$ is open in $X$ with respect to $T$ and $U\subseteq X$
        by \cref{metric_topology,basis_topology_is_topology,metric_basis_is_basis,open_covering,open_in,topology_on,subseteq,powerset_elim}.
    Take $\delta\in\reals$ such that $0 < \delta$ and $\metricBall{d}{X}{x}{\delta}\subseteq U$
        by \cref{metric_open_iff}.
    Let $m_2 = 1 + 1$.
    Let $\epsilon = \delta / m_2$.
    $1\in\reals$ and $0\in\reals$ and $0 < 1$ by \cref{real_mul_ident,real_add_ident,real_zero_lt_one}.
    Hence $m_2\in\reals$ and $0 < m_2$
        by \cref{real_add_closed,real_lt_add,real_add_ident,real_lt_subst_left,real_lt_trans}.
    $m_2\neq 0$ by \cref{real_pos_nonzero}.
    Thus $\inv{m_2}\in\reals$ and $0 < \inv{m_2}$ by \cref{real_mul_inverse,real_inv_pos}.
    $\epsilon = \delta \rmul \inv{m_2}$ by \cref{real_div}.
    Hence $\epsilon\in\reals$ and $0 < \epsilon$
        by \cref{real_mul_closed,real_add_ident,real_lt_mul_pos,real_mul_zero,real_lt_subst_left}.
    Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < \epsilon$ by \cref{real_small_reciprocal}.

            We have $\metricBall{d}{X}{x}{\epsilon}\subseteq X$ by \cref{metric_ball,subseteq}.
            Show that for all $y\in\metricBall{d}{X}{x}{\epsilon}$ there exists $\eta\in\reals$ such that
                $0 < \eta$ and $\metricBall{d}{X}{y}{\eta}\subseteq\metricBall{d}{X}{x}{\epsilon}$.
            \begin{subproof}
                Fix $y$ such that $y\in\metricBall{d}{X}{x}{\epsilon}$.
                $y\in X$ and $d((x,y)) < \epsilon$ by \cref{metric_ball}.
                Hence $d((x,y))\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
                Let $\eta = \epsilon - d((x,y))$.
                $0 < \eta$ by \cref{real_lt_imp_pos_diff}.
                Show that for all $z$ such that $z\in\metricBall{d}{X}{y}{\eta}$ we have $z\in\metricBall{d}{X}{x}{\epsilon}$.
                \begin{subproof}
                        Fix $z$ such that $z\in\metricBall{d}{X}{y}{\eta}$.
                        $z\in X$ and $d((y,z)) < \eta$ by \cref{metric_ball}.
                        Hence $d((y,z))\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
                        We have $\eta\in\reals$ by \cref{real_add_inverse,real_sub,real_add_closed}.
                        Therefore $d((x,z)) \leq d((x,y)) + d((y,z))$ by \cref{metric_on,metric_triangle_inequality}.
                        $d((x,z))\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
                        Hence $\eta + d((x,y))\in\reals$ and $d((x,y)) + d((y,z))\in\reals$
                            by \cref{real_add_closed}.
                        Therefore $d((x,y)) + d((y,z)) < \eta + d((x,y))$
                            by \cref{real_lt_add,real_add_comm,real_lt_subst_left}.
                        $d((x,z)) < d((x,y)) + d((y,z))$ or
                            $d((x,z)) = d((x,y)) + d((y,z))$ by \cref{real_leq_split}.
                        Hence $d((x,z)) < \eta + d((x,y))$
                            by \cref{real_lt_trans,metric_on,times_tuple_intro,funs_type_apply,real_add_closed,real_lt_subst_left}.
                        Thus $z\in\metricBall{d}{X}{x}{\epsilon}$
                            by \cref{real_sub,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,metric_ball,real_lt_subst_right}.
                \end{subproof}
                $\metricBall{d}{X}{y}{\eta}\subseteq\metricBall{d}{X}{x}{\epsilon}$ by \cref{subseteq}.
            \end{subproof}
        Hence $\metricBall{d}{X}{x}{\epsilon}$ is open in $X$ with respect to $T$ by \cref{metric_open_iff}.
    Therefore $\metricBall{d}{X}{x}{\epsilon}$ is a neighborhood of $x$ in $X$ with respect to $T$
        by \cref{metric_zero_characterization,metric_on,metric_ball,real_lt_subst_left,neighborhood}.

    Take $N_0\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N_0 \leq n$ then
        $t(n)\in\metricBall{d}{X}{x}{\epsilon}$ by \cref{converges_to}.
    Show that there exists $n\in\naturalsPlus$ such that $N_0 \leq n$ and $N \leq n$.
    \begin{subproof}
        \begin{byCase}
        \caseOf{$N_0 = N$.}
            Take $n$ such that $n = N$.
            $N_0 \leq n$ and $N \leq n$.
        \caseOf{$N_0 \neq N$.}
            Thus $N_0 < N$ or $N < N_0$ by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy}.
            \begin{byCase}
            \caseOf{$N_0 < N$.}
                Take $n$ such that $n = N$.
                $N_0 \leq n$ and $N \leq n$ by \cref{real_lt_imp_leq}.
            \caseOf{$N < N_0$.}
                Take $n$ such that $n = N_0$.
                $N_0 \leq n$ and $N \leq n$ by \cref{real_lt_imp_leq}.
            \end{byCase}
        \end{byCase}
    \end{subproof}
    Take $n\in\naturalsPlus$ such that $N_0 \leq n$ and $N \leq n$.

    Hence $t(n)\in\metricBall{d}{X}{x}{\epsilon}$.
    $d((x,t(n))) < \epsilon$ by \cref{metric_ball}.
    $u(n)\in\naturalsPlus$ by \cref{strictly_increasing_on_set,funs_type_apply}.
    Hence $n \leq u(n)$.
    Therefore $N \leq u(n)$
        by \cref{real_naturals_subset_reals,subseteq,strictly_increasing_on_set,funs_type_apply,real_leq_trans}.
    Hence $1 / u(n) \leq 1 / N$ by \cref{naturalsplus_reciprocal_antitone}.
    $u(n)\in\reals$ and $N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
    $0 < u(n)$ and $0 < N$
        by \cref{real_zero_lt_one,real_one_in_naturals,real_one_leq_naturalsplus,real_lt_trans,strictly_increasing_on_set,funs_type_apply}.
    $1 / u(n)\in\reals$ and $1 / N\in\reals$
        by \cref{real_pos_nonzero,real_div,real_mul_closed,real_mul_inverse}.
    Therefore $1 / u(n) < \epsilon$ by \cref{real_lt_trans,real_lt_subst_left}.

    Show that for all $z$ such that $z\in\metricBall{d}{X}{t(n)}{1 / u(n)}$ we have $z\in U$.
        \begin{subproof}
            Fix $z$ such that $z\in\metricBall{d}{X}{t(n)}{1 / u(n)}$.
            $z\in X$ and $d((t(n),z)) < 1 / u(n)$ by \cref{metric_ball}.
            Hence $t(n)\in X$ by \cref{sequence_in,funs_type_apply}.
            Therefore $d((x,z)) \leq d((x,t(n))) + d((t(n),z))$ by \cref{metric_on,metric_triangle_inequality}.
            Show that $d((x,z)) < \epsilon + \epsilon$.
            \begin{subproof}
                We have $d((t(n),z))\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
                $1 / u(n)\in\reals$.
                $\epsilon\in\reals$.
                Hence $d((t(n),z)) < \epsilon$ by \cref{real_lt_trans}.
                $d((x,t(n)))\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
                Hence $d((x,t(n))) + d((t(n),z)) < d((x,t(n))) + \epsilon$
                    by \cref{real_lt_add,real_add_comm,real_lt_subst_left,real_lt_subst_right}.
                Therefore $d((x,t(n))) + \epsilon < \epsilon + \epsilon$ by \cref{real_lt_add}.
                $d((x,t(n))) + d((t(n),z))\in\reals$ and $d((x,t(n))) + \epsilon\in\reals$
                    and $\epsilon + \epsilon\in\reals$ by \cref{real_add_closed}.
                Hence $d((x,t(n))) + d((t(n),z)) < \epsilon + \epsilon$ by \cref{real_lt_trans}.
                $d((x,z))\in\reals$ by \cref{metric_on,times_tuple_intro,funs_type_apply}.
                $d((x,z)) < d((x,t(n))) + d((t(n),z))$ or
                    $d((x,z)) = d((x,t(n))) + d((t(n),z))$ by \cref{real_leq_split}.
                Therefore $d((x,z)) < \epsilon + \epsilon$ by \cref{real_lt_trans,real_lt_subst_left}.
            \end{subproof}
            Hence $d((x,z)) < \delta$
                by \cref{real_div,real_mul_assoc,real_mul_inverse,real_mul_comm,real_mul_ident,real_right_distrib,real_lt_subst_right}.
            Therefore $z\in U$ by \cref{metric_ball,subseteq}.
    \end{subproof}
    Hence $\metricBall{d}{X}{t(n)}{1 / u(n)}\subseteq U$ by \cref{subseteq}.

    Thus $(u(n),t(n))\in R$ by \cref{pair_eq_iff}.
    Therefore for all $V\in A$ we have $\metricBall{d}{X}{t(n)}{1 / u(n)}\not\subseteq V$.
    Hence $\metricBall{d}{X}{t(n)}{1 / u(n)}\not\subseteq U$.
    Contradiction.
\end{proof}
Lemma 407
iteration_sequence_naturalsplus

Suppose $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{A}$.
Suppose $a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then there exists $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{f}{u(n)}$.

LaTeX source
\begin{lemma}
\label{iteration_sequence_naturalsplus}
    Suppose $f\in\funs{A}{A}$.
    Suppose $a_0\in A$.
    Then there exists $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{f}{u(n)}$.
\end{lemma}
Proof

Let $S = \iterationSet{f}{a_0}$.

Claim: 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} S$.

$S\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1, Lemma 397.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.
Let $u = \{(1,a_0)\}$.
For all $x,y,y'$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ and $(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ we have $y = y'$ by Axiom 6, Proposition 22.
Hence $u$ is a function by Definition 12, Definition 51, Proposition 22.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1}$ by Axiom 6, Axiom 42, Definition 15, Definition 84, Proposition 22.
$\dom{u}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\initialSegment{1}$ by Definition 1.

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

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 84.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
Therefore $1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ by Axiom 43.
$x = 1$ by Lemma 25.
Hence $(x,a_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 6, Proposition 22.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ by Definition 15.

Hence $\dom{u} = \initialSegment{1}$ by Definition 1, Proposition 3.
Therefore $u(1) = a_0$ by Proposition 20, Proposition 346.

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ we have $u(k + 1) = \apply{f}{u(k)}$.

Fix $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$.
Suppose not.
$k < k + 1$ by Lemma 399.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Axiom 45, Definition 1.
$1 < k$ or $1 = k$ by Axiom 43.
Therefore $1 < k + 1$ by Axiom 36, Lemma 82.
$k + 1 < 1$ or $k + 1 = 1$ by Lemma 81.
Thus $1 < 1$ by Axiom 36, Lemma 83.
Contradiction by Axiom 39, Axiom 41, Axiom 42, Definition 1.

Therefore $1\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ by Definition 261, Lemma 396.

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

Fix $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} S$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Lemma 397.
Take $w$ such that $w$ is an iteration sequence for $f$ on $n$ starting at $a_0$ by Lemma 397.
Hence $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
Let $v = w\union\{(n + 1,\apply{f}{w(n)})\}$.
Therefore $v$ is a relation by Definition 12, Definition 261, Proposition 22, Proposition 180.

Claim: For all $x,y,y'$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ and $(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ we have $y = y'$.

Fix $x$.
Fix $y$.
Fix $y'$.
Assume $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ and $(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} v$.

Case. $x = n + 1$.

$(n + 1,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$.
$(n + 1,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} v$.
It is wrong that $(n + 1,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} w$ by Axiom 36, Axiom 39, Axiom 41, Axiom 45, Definition 1, Definition 15, Definition 84, Definition 261, Lemma 81, Lemma 83, Lemma 399.
Hence $(n + 1,y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{w(n)})\}$ by Axiom 5.
Therefore $(n + 1,y) = (n + 1,\apply{f}{w(n)})$ by Proposition 22.
$y = \apply{f}{w(n)}$ by Axiom 6.
It is wrong that $(n + 1,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} w$ by Axiom 36, Axiom 39, Axiom 41, Axiom 45, Definition 1, Definition 15, Definition 84, Definition 261, Lemma 81, Lemma 83, Lemma 399.
Hence $(n + 1,y')\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{w(n)})\}$ by Axiom 5.
Therefore $(n + 1,y') = (n + 1,\apply{f}{w(n)})$ by Proposition 22.
$y' = \apply{f}{w(n)}$ by Axiom 6.
Hence $y = y'$.

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

$(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} w$ by Axiom 5, Axiom 6, Proposition 22.
Hence $(x,y')\class{latex-symbol-tip latex-symbol-id-in}{\in} w$ by Axiom 5, Axiom 6, Proposition 22.
Therefore $y = y'$ by Definition 261, Proposition 345.

LaTeX source
\begin{byCase}
                \caseOf{$x = n + 1$.}
                    $(n + 1,y)\in v$.
                    $(n + 1,y')\in v$.
                    It is wrong that $(n + 1,y)\in w$
                        by \cref{dom,iteration_sequence,initial_segment_naturalsplus,real_naturals_lt_succ_local,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_leq_split,real_lt_trans,real_lt_subst_right,real_lt_irreflexive}.
                    Hence $(n + 1,y)\in\{(n + 1,\apply{f}{w(n)})\}$ by \cref{union_iff}.
                    Therefore $(n + 1,y) = (n + 1,\apply{f}{w(n)})$ by \cref{singleton_iff}.
                    $y = \apply{f}{w(n)}$ by \cref{pair_eq_iff}.
                    It is wrong that $(n + 1,y')\in w$
                        by \cref{dom,iteration_sequence,initial_segment_naturalsplus,real_naturals_lt_succ_local,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_leq_split,real_lt_trans,real_lt_subst_right,real_lt_irreflexive}.
                    Hence $(n + 1,y')\in\{(n + 1,\apply{f}{w(n)})\}$ by \cref{union_iff}.
                    Therefore $(n + 1,y') = (n + 1,\apply{f}{w(n)})$ by \cref{singleton_iff}.
                    $y' = \apply{f}{w(n)}$ by \cref{pair_eq_iff}.
                    Hence $y = y'$.
                \caseOf{$x \neq n + 1$.}
                    $(x,y)\in w$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    Hence $(x,y')\in w$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    Therefore $y = y'$ by \cref{iteration_sequence,function_rightunique}.
                
\end{byCase}

Therefore $v$ is a function by Definition 51.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$.
Take $y$ such that $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Definition 15.
Thus $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} w$ or $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{w(n)})\}$ by Axiom 5.

Case. $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} w$.

$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ by Axiom 41, Axiom 45, Definition 1, Definition 15, Definition 84, Definition 261, Lemma 23, Lemma 399.

Case. $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(n + 1,\apply{f}{w(n)})\}$.

Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ by Axiom 6, Definition 84, Proposition 22.

LaTeX source
\begin{byCase}
                \caseOf{$(x,y)\in w$.}
                    $x\in\initialSegment{n + 1}$
                        by \cref{dom,iteration_sequence,initial_segment_naturalsplus,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_leq_trans,real_naturals_lt_succ_local}.
                \caseOf{$(x,y)\in\{(n + 1,\apply{f}{w(n)})\}$.}
                    Hence $x\in\initialSegment{n + 1}$
                        by \cref{singleton_iff,pair_eq_iff,initial_segment_naturalsplus}.
                
\end{byCase}

$\dom{v}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\initialSegment{n + 1}$ by Definition 1.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$.

Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Definition 84.

Case. $x = n + 1$.

Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ by Definition 15, Proposition 14, Proposition 39.

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

Therefore $x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 29.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{w}$ by Definition 84, Definition 261.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ by Axiom 5, Definition 15.

LaTeX source
\begin{byCase}
                \caseOf{$x = n + 1$.}
                    Hence $x\in\dom{v}$ by \cref{cons_left,union_intro_right,dom}.
                \caseOf{$x \neq n + 1$.}
                    Therefore $x \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    $x\in\dom{w}$ by \cref{initial_segment_naturalsplus,iteration_sequence}.
                    Hence $x\in\dom{v}$ by \cref{dom,union_iff}.
                
\end{byCase}

Hence $\dom{v} = \initialSegment{n + 1}$ by Definition 1, Proposition 3.
Thus $v(1) = a_0$ by Axiom 42, Axiom 43, Definition 84, Definition 261, Proposition 38, Proposition 346, Proposition 348.

Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ we have $v(k + 1) = \apply{f}{v(k)}$.

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

Case. $k + 1 = n + 1$.

$k = n$.
Hence $v(k + 1) = \apply{f}{w(n)}$ by Proposition 14, Proposition 39, Proposition 346.
$v(k + 1) = \apply{f}{w(k)}$.
Therefore $k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
$v(k) = w(k)$ by Definition 84, Definition 261, Proposition 38, Proposition 346, Proposition 348.
Hence $v(k + 1) = \apply{f}{v(k)}$.

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

$k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
Hence $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 29.
Therefore $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ by Definition 84.
$(k + 1,w(k + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} w$ by Definition 261, Proposition 348.
Hence $v(k + 1) = w(k + 1)$ by Definition 15, Proposition 38, Proposition 345, Proposition 348.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Therefore $w(k + 1) = \apply{f}{w(k)}$ by Definition 261.
$v(k + 1) = \apply{f}{w(k)}$.
Hence $k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 401.
Therefore $(k,w(k))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Definition 84, Definition 261, Proposition 38, Proposition 348.
$w(k) = v(k)$ by Definition 15, Proposition 345, Proposition 348.
Hence $v(k + 1) = \apply{f}{v(k)}$.

LaTeX source
\begin{byCase}
                \caseOf{$k + 1 = n + 1$.}
                    $k = n$.
                    Hence $v(k + 1) = \apply{f}{w(n)}$
                        by \cref{cons_left,union_intro_right,function_apply_intro}.
                    $v(k + 1) = \apply{f}{w(k)}$.
                    Therefore $k \leq n$.
                    $v(k) = w(k)$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left,function_apply_intro}.
                    Hence $v(k + 1) = \apply{f}{v(k)}$.
                \caseOf{$k + 1 \neq n + 1$.}
                    $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Hence $k + 1 \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    Therefore $k + 1\in\initialSegment{n}$ by \cref{initial_segment_naturalsplus}.
                    $(k + 1,w(k + 1))\in w$
                        by \cref{iteration_sequence,function_apply_elim}.
                    Hence $v(k + 1) = w(k + 1)$
                        by \cref{union_intro_left,dom,function_apply_elim,function_rightunique}.
                    $k\in\naturalsPlus$ and $k + 1 \leq n$.
                    Therefore $w(k + 1) = \apply{f}{w(k)}$ by \cref{iteration_sequence}.
                    $v(k + 1) = \apply{f}{w(k)}$.
                    Hence $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                    Therefore $(k,w(k))\in v$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left}.
                    $w(k) = v(k)$ by \cref{dom,function_apply_elim,function_rightunique}.
                    Hence $v(k + 1) = \apply{f}{v(k)}$.
                
\end{byCase}

Hence $v$ is an iteration sequence for $f$ on $n + 1$ starting at $a_0$ by Lemma 398.
Therefore $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ by Lemma 396.

Thus 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} S$ by Proposition 445.

Let $F = \{u \mid \text{there exists $n\in\naturalsPlus$ such that $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$} \}$.
For all $u\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $u$ is a function by Definition 261.

Claim: For all $u,v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $u\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} v$ or $v\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u$.

Fix $u$.
Fix $v$.
Assume $u\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $u$ is an iteration sequence for $f$ on $m$ starting at $a_0$.
Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $v$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
$u$ is a function and $\dom{u} = \initialSegment{m}$ and $u(1) = a_0$ by Definition 261.
Hence for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ we have $u(k + 1) = \apply{f}{u(k)}$ by Definition 261.
$v$ is a function and $\dom{v} = \initialSegment{n}$ and $v(1) = a_0$ by Definition 261.
Therefore for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ we have $v(k + 1) = \apply{f}{v(k)}$ by Definition 261.
$m = n$ or $m \class{latex-symbol-tip latex-symbol-id-neq}{\neq} n$.

Case. $m = n$.

Thus $u\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} v$ or $v\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u$ by Lemma 402, Proposition 2.

Case. $m \class{latex-symbol-tip latex-symbol-id-neq}{\neq} n$.

$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
Thus $m < n$ or $n < m$ by Axiom 34.

Case. $m < n$.

Let $B = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.

Claim: If $1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $u(1) = v(1)$.

Follows by Definition 261.

Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.

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

Fix $k\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Hence $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.

Claim: If $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ then $u(k + 1) = v(k + 1)$.

Suppose $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$.
$k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Lemma 401.
Hence $u(k) = v(k)$.
Therefore $m\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 231.
$k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Axiom 13, Axiom 41, Definition 1, Lemma 23.
Hence $u(k + 1) = \apply{f}{u(k)}$ by Definition 261.
Therefore $v(k + 1) = \apply{f}{v(k)}$ by Definition 261.
$u(k + 1) = v(k + 1)$.

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

Therefore for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m}$ we have $u(k) = v(k)$ by Definition 1, Definition 84, Proposition 445.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Axiom 41, Definition 1, Definition 84, Definition 261, Lemma 23, Lemma 231, Proposition 347, Proposition 348.
Hence $u\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} v$ by Definition 1.

Case. $n < m$.

Let $C = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.

Claim: If $1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(1) = u(1)$.

Follows by Definition 261.

Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.

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

Fix $k\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Hence $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.

Claim: If $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(k + 1) = u(k + 1)$.

Suppose $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
$k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 401.
Hence $v(k) = u(k)$.
Therefore $n\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Lemma 231.
$k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Axiom 13, Axiom 41, Definition 1, Lemma 23.
Hence $v(k + 1) = \apply{f}{v(k)}$ by Definition 261.
Therefore $u(k + 1) = \apply{f}{u(k)}$ by Definition 261.
$v(k + 1) = u(k + 1)$.

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

Therefore for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ we have $v(k) = u(k)$ by Definition 1, Definition 84, Proposition 445.
For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Axiom 41, Definition 1, Definition 84, Definition 261, Lemma 23, Lemma 231, Proposition 347, Proposition 348.
Hence $v\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u$ by Definition 1.

LaTeX source
\begin{byCase}
            \caseOf{$m < n$.}
                Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
                $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
                Show that if $1\leq m$ then $u(1) = v(1)$.
                \begin{subproof}
                    Follows by \cref{iteration_sequence}.
                \end{subproof}
                Hence $1\in B$.
                Show that for all $k\in B$ we have $k + 1\in B$.
                \begin{subproof}
                    Fix $k\in B$.
                    $k\in\naturalsPlus$.
                    Hence $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Show that if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
                    \begin{subproof}
                        Suppose $k + 1\leq m$.
                        $k \leq m$ by \cref{real_naturals_succ_bound_elim_local}.
                        Hence $u(k) = v(k)$.
                        Therefore $m\leq n$ by \cref{real_lt_imp_leq}.
                        $k + 1\leq n$ by \cref{real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq}.
                        Hence $u(k + 1) = \apply{f}{u(k)}$ by \cref{iteration_sequence}.
                        Therefore $v(k + 1) = \apply{f}{v(k)}$ by \cref{iteration_sequence}.
                        $u(k + 1) = v(k + 1)$.
                    \end{subproof}
                    Hence $k + 1\in B$.
                \end{subproof}
                Therefore for all $k\in\initialSegment{m}$ we have $u(k) = v(k)$
                    by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
                For all $w$ such that $w\in u$ we have $w\in v$
                    by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
                Hence $u\subseteq v$ by \cref{subseteq}.
            \caseOf{$n < m$.}
                Let $C = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
                $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
                Show that if $1\leq n$ then $v(1) = u(1)$.
                \begin{subproof}
                    Follows by \cref{iteration_sequence}.
                \end{subproof}
                Hence $1\in C$.
                Show that for all $k\in C$ we have $k + 1\in C$.
                \begin{subproof}
                    Fix $k\in C$.
                    $k\in\naturalsPlus$.
                    Hence $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Show that if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
                    \begin{subproof}
                        Suppose $k + 1\leq n$.
                        $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                        Hence $v(k) = u(k)$.
                        Therefore $n\leq m$ by \cref{real_lt_imp_leq}.
                        $k + 1\leq m$ by \cref{real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq}.
                        Hence $v(k + 1) = \apply{f}{v(k)}$ by \cref{iteration_sequence}.
                        Therefore $u(k + 1) = \apply{f}{u(k)}$ by \cref{iteration_sequence}.
                        $v(k + 1) = u(k + 1)$.
                    \end{subproof}
                    Hence $k + 1\in C$.
                \end{subproof}
                Therefore for all $k\in\initialSegment{n}$ we have $v(k) = u(k)$
                    by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
                For all $w$ such that $w\in v$ we have $w\in u$
                    by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
                Hence $v\subseteq u$ by \cref{subseteq}.
            
\end{byCase}
LaTeX source
\begin{byCase}
        \caseOf{$m = n$.}
            Thus $u\subseteq v$ or $v\subseteq u$ by \cref{iteration_sequence_unique,subseteq_refl}.
        \caseOf{$m \neq n$.}
            $m\in\reals$ and $n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            Thus $m < n$ or $n < m$ by \cref{real_lt_trichotomy}.
            \begin{byCase}
            \caseOf{$m < n$.}
                Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
                $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
                Show that if $1\leq m$ then $u(1) = v(1)$.
                \begin{subproof}
                    Follows by \cref{iteration_sequence}.
                \end{subproof}
                Hence $1\in B$.
                Show that for all $k\in B$ we have $k + 1\in B$.
                \begin{subproof}
                    Fix $k\in B$.
                    $k\in\naturalsPlus$.
                    Hence $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Show that if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
                    \begin{subproof}
                        Suppose $k + 1\leq m$.
                        $k \leq m$ by \cref{real_naturals_succ_bound_elim_local}.
                        Hence $u(k) = v(k)$.
                        Therefore $m\leq n$ by \cref{real_lt_imp_leq}.
                        $k + 1\leq n$ by \cref{real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq}.
                        Hence $u(k + 1) = \apply{f}{u(k)}$ by \cref{iteration_sequence}.
                        Therefore $v(k + 1) = \apply{f}{v(k)}$ by \cref{iteration_sequence}.
                        $u(k + 1) = v(k + 1)$.
                    \end{subproof}
                    Hence $k + 1\in B$.
                \end{subproof}
                Therefore for all $k\in\initialSegment{m}$ we have $u(k) = v(k)$
                    by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
                For all $w$ such that $w\in u$ we have $w\in v$
                    by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
                Hence $u\subseteq v$ by \cref{subseteq}.
            \caseOf{$n < m$.}
                Let $C = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
                $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
                Show that if $1\leq n$ then $v(1) = u(1)$.
                \begin{subproof}
                    Follows by \cref{iteration_sequence}.
                \end{subproof}
                Hence $1\in C$.
                Show that for all $k\in C$ we have $k + 1\in C$.
                \begin{subproof}
                    Fix $k\in C$.
                    $k\in\naturalsPlus$.
                    Hence $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Show that if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
                    \begin{subproof}
                        Suppose $k + 1\leq n$.
                        $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                        Hence $v(k) = u(k)$.
                        Therefore $n\leq m$ by \cref{real_lt_imp_leq}.
                        $k + 1\leq m$ by \cref{real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq}.
                        Hence $v(k + 1) = \apply{f}{v(k)}$ by \cref{iteration_sequence}.
                        Therefore $u(k + 1) = \apply{f}{u(k)}$ by \cref{iteration_sequence}.
                        $v(k + 1) = u(k + 1)$.
                    \end{subproof}
                    Hence $k + 1\in C$.
                \end{subproof}
                Therefore for all $k\in\initialSegment{n}$ we have $v(k) = u(k)$
                    by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
                For all $w$ such that $w\in v$ we have $w\in u$
                    by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
                Hence $v\subseteq u$ by \cref{subseteq}.
            \end{byCase}
        
\end{byCase}

Let $u = \unions{F}$.
$F$ is a family of functions.
Hence $u$ is a function by Proposition 367.

Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Claim: 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{u}$.

Therefore $\dom{u} = \naturalsPlus$ by Definition 1, Proposition 3.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Take $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ such that $(n,u(n))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Axiom 4, Proposition 348.
Take $n_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n_0$ by Definition 15, Definition 84, Definition 261.
Let $B = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $k\leq n$ then $v(k)\in A$}\}$.
$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$.
Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 42, Definition 261.

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

Fix $k\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.

Claim: If $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $v(k + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Suppose $k + 1\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
$k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 401.
Hence $v(k)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Therefore $v(k + 1) = \apply{f}{v(k)}$ by Axiom 41, Axiom 45, Definition 1, Definition 261, Lemma 23.
$\apply{f}{v(k)}\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 361.
Hence $v(k + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

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

Thus for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $k\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Proposition 445.
Thus $v(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 84.
Thus $u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 346.

Take $v\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ such that $(1,u(1))\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ by Axiom 4, Axiom 42, Proposition 348.
Take $n_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.

Claim: $u(1) = a_0$.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{f}{u(n)}$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Take $w\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ such that $(n + 1,u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} w$ by Axiom 4, Axiom 45, Proposition 348.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $w$ is an iteration sequence for $f$ on $m$ starting at $a_0$.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{w}$ by Definition 15.
Hence $w(n + 1) = u(n + 1)$ by Proposition 346.
Therefore $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Definition 84, Definition 261.
$u(n + 1) = \apply{f}{w(n)}$ by Definition 261, Proposition 346.
Hence $u(n) = w(n)$ by Axiom 4, Definition 84, Definition 261, Lemma 401, Proposition 346, Proposition 348.
Therefore $u(n + 1) = \apply{f}{u(n)}$.

Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{A}$ by Proposition 358.

Claim: $u$ is a sequence in $A$.

Follows by Definition 158.

Claim: There exists $w$ such that $w$ is a sequence in $A$ 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)}$.

Trivial.

LaTeX source
\begin{proof}
    Let $S = \iterationSet{f}{a_0}$.
    Show that for all $n\in\naturalsPlus$ we have $n\in S$.
    \begin{subproof}
        $S\subseteq\naturalsPlus$ by \cref{iteration_set_elim,subseteq}.
        $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
            Let $u = \{(1,a_0)\}$.
            For all $x,y,y'$ such that $(x,y)\in u$ and $(x,y')\in u$ we have $y = y'$
                by \cref{singleton_iff,pair_eq_iff}.
            Hence $u$ is a function by \cref{singleton_iff,relation,rightunique}.
            For all $x$ such that $x\in\dom{u}$ we have $x\in\initialSegment{1}$
                by \cref{dom,singleton_iff,pair_eq_iff,real_one_in_naturals,initial_segment_naturalsplus}.
            $\dom{u}\subseteq\initialSegment{1}$ by \cref{subseteq}.
            Show that for all $x$ such that $x\in\initialSegment{1}$ we have $x\in\dom{u}$.
            \begin{subproof}
                Fix $x$ such that $x\in\initialSegment{1}$.
                $x\in\naturalsPlus$ and $x \leq 1$ by \cref{initial_segment_naturalsplus}.
                Hence $x\in\reals$ and $1\in\reals$
                    by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals}.
                Therefore $1 \leq x$ by \cref{real_one_leq_naturalsplus}.
                $x = 1$ by \cref{real_leq_antisym}.
                Hence $(x,a_0)\in u$ by \cref{singleton_iff,pair_eq_iff}.
                $x\in\dom{u}$ by \cref{dom}.
            \end{subproof}
            Hence $\dom{u} = \initialSegment{1}$ by \cref{subseteq,subseteq_antisymmetric}.
            Therefore $u(1) = a_0$ by \cref{singleton_intro,function_apply_intro}.
            Show that for all $k\in\naturalsPlus$ such that $k + 1 \leq 1$ we have $u(k + 1) = \apply{f}{u(k)}$.
            \begin{subproof}
                Fix $k\in\naturalsPlus$.
                Assume $k + 1 \leq 1$.
                Suppose not.
                $k < k + 1$ by \cref{real_naturals_lt_succ_local}.
                $1\in\reals$ and $k\in\reals$ and $k + 1\in\reals$
                    by \cref{real_naturals_subset_reals,real_one_in_naturals,real_naturals_closed_succ,subseteq}.
                $1 < k$ or $1 = k$ by \cref{real_one_leq_naturalsplus}.
                Therefore $1 < k + 1$ by \cref{real_lt_trans,real_lt_subst_left}.
                $k + 1 < 1$ or $k + 1 = 1$ by \cref{real_leq_split}.
                Thus $1 < 1$ by \cref{real_lt_trans,real_lt_subst_right}.
                Contradiction by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_lt_irreflexive}.
            \end{subproof}
            Therefore $1\in S$ by \cref{iteration_sequence,iteration_set_intro}.
        Show that for all $n\in S$ we have $n + 1\in S$.
        \begin{subproof}
            Fix $n$ such that $n\in S$.
            $n\in\naturalsPlus$ by \cref{iteration_set_elim}.
            Take $w$ such that
                $w$ is an iteration sequence for $f$ on $n$ starting at $a_0$
                by \cref{iteration_set_elim}.
            Hence $n + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
            Let $v = w\union\{(n + 1,\apply{f}{w(n)})\}$.
            Therefore $v$ is a relation by \cref{singleton_iff,relation,iteration_sequence,union_relations_is_relation}.
            Show that for all $x,y,y'$ such that $(x,y)\in v$ and $(x,y')\in v$ we have $y = y'$.
            \begin{subproof}
                Fix $x$.
                Fix $y$.
                Fix $y'$.
                Assume $(x,y)\in v$ and $(x,y')\in v$.
                \begin{byCase}
                \caseOf{$x = n + 1$.}
                    $(n + 1,y)\in v$.
                    $(n + 1,y')\in v$.
                    It is wrong that $(n + 1,y)\in w$
                        by \cref{dom,iteration_sequence,initial_segment_naturalsplus,real_naturals_lt_succ_local,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_leq_split,real_lt_trans,real_lt_subst_right,real_lt_irreflexive}.
                    Hence $(n + 1,y)\in\{(n + 1,\apply{f}{w(n)})\}$ by \cref{union_iff}.
                    Therefore $(n + 1,y) = (n + 1,\apply{f}{w(n)})$ by \cref{singleton_iff}.
                    $y = \apply{f}{w(n)}$ by \cref{pair_eq_iff}.
                    It is wrong that $(n + 1,y')\in w$
                        by \cref{dom,iteration_sequence,initial_segment_naturalsplus,real_naturals_lt_succ_local,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_leq_split,real_lt_trans,real_lt_subst_right,real_lt_irreflexive}.
                    Hence $(n + 1,y')\in\{(n + 1,\apply{f}{w(n)})\}$ by \cref{union_iff}.
                    Therefore $(n + 1,y') = (n + 1,\apply{f}{w(n)})$ by \cref{singleton_iff}.
                    $y' = \apply{f}{w(n)}$ by \cref{pair_eq_iff}.
                    Hence $y = y'$.
                \caseOf{$x \neq n + 1$.}
                    $(x,y)\in w$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    Hence $(x,y')\in w$ by \cref{union_iff,singleton_iff,pair_eq_iff}.
                    Therefore $y = y'$ by \cref{iteration_sequence,function_rightunique}.
                \end{byCase}
            \end{subproof}
            Therefore $v$ is a function by \cref{rightunique}.
            Show that for all $x$ such that $x\in\dom{v}$ we have $x\in\initialSegment{n + 1}$.
            \begin{subproof}
                Fix $x$ such that $x\in\dom{v}$.
                Take $y$ such that $(x,y)\in v$ by \cref{dom}.
                Thus $(x,y)\in w$ or $(x,y)\in\{(n + 1,\apply{f}{w(n)})\}$ by \cref{union_iff}.
                \begin{byCase}
                \caseOf{$(x,y)\in w$.}
                    $x\in\initialSegment{n + 1}$
                        by \cref{dom,iteration_sequence,initial_segment_naturalsplus,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_leq_trans,real_naturals_lt_succ_local}.
                \caseOf{$(x,y)\in\{(n + 1,\apply{f}{w(n)})\}$.}
                    Hence $x\in\initialSegment{n + 1}$
                        by \cref{singleton_iff,pair_eq_iff,initial_segment_naturalsplus}.
                \end{byCase}
            \end{subproof}
            $\dom{v}\subseteq\initialSegment{n + 1}$ by \cref{subseteq}.
            Show that for all $x$ such that $x\in\initialSegment{n + 1}$ we have $x\in\dom{v}$.
            \begin{subproof}
                Fix $x$ such that $x\in\initialSegment{n + 1}$.
                $x\in\naturalsPlus$ and $x \leq n + 1$ by \cref{initial_segment_naturalsplus}.
                \begin{byCase}
                \caseOf{$x = n + 1$.}
                    Hence $x\in\dom{v}$ by \cref{cons_left,union_intro_right,dom}.
                \caseOf{$x \neq n + 1$.}
                    Therefore $x \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    $x\in\dom{w}$ by \cref{initial_segment_naturalsplus,iteration_sequence}.
                    Hence $x\in\dom{v}$ by \cref{dom,union_iff}.
                \end{byCase}
            \end{subproof}
            Hence $\dom{v} = \initialSegment{n + 1}$ by \cref{subseteq,subseteq_antisymmetric}.
            Thus $v(1) = a_0$
                by \cref{real_one_in_naturals,real_one_leq_naturalsplus,initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left,function_apply_intro}.
            Show that for all $k\in\naturalsPlus$ such that $k + 1 \leq n + 1$ we have $v(k + 1) = \apply{f}{v(k)}$.
            \begin{subproof}
                Fix $k\in\naturalsPlus$.
                Assume $k + 1 \leq n + 1$.
                \begin{byCase}
                \caseOf{$k + 1 = n + 1$.}
                    $k = n$.
                    Hence $v(k + 1) = \apply{f}{w(n)}$
                        by \cref{cons_left,union_intro_right,function_apply_intro}.
                    $v(k + 1) = \apply{f}{w(k)}$.
                    Therefore $k \leq n$.
                    $v(k) = w(k)$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left,function_apply_intro}.
                    Hence $v(k + 1) = \apply{f}{v(k)}$.
                \caseOf{$k + 1 \neq n + 1$.}
                    $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Hence $k + 1 \leq n$ by \cref{real_naturals_leq_succ_elim}.
                    Therefore $k + 1\in\initialSegment{n}$ by \cref{initial_segment_naturalsplus}.
                    $(k + 1,w(k + 1))\in w$
                        by \cref{iteration_sequence,function_apply_elim}.
                    Hence $v(k + 1) = w(k + 1)$
                        by \cref{union_intro_left,dom,function_apply_elim,function_rightunique}.
                    $k\in\naturalsPlus$ and $k + 1 \leq n$.
                    Therefore $w(k + 1) = \apply{f}{w(k)}$ by \cref{iteration_sequence}.
                    $v(k + 1) = \apply{f}{w(k)}$.
                    Hence $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                    Therefore $(k,w(k))\in v$
                        by \cref{initial_segment_naturalsplus,iteration_sequence,function_apply_elim,union_intro_left}.
                    $w(k) = v(k)$ by \cref{dom,function_apply_elim,function_rightunique}.
                    Hence $v(k + 1) = \apply{f}{v(k)}$.
                \end{byCase}
            \end{subproof}
            Hence $v$ is an iteration sequence for $f$ on $n + 1$ starting at $a_0$ by \cref{iteration_sequence_intro}.
            Therefore $n + 1\in S$ by \cref{iteration_set_intro}.
        \end{subproof}
        Thus for all $n\in\naturalsPlus$ we have $n\in S$ by \cref{real_naturals_induction}.
    \end{subproof}
    Let $F = \{u \mid \text{there exists $n\in\naturalsPlus$ such that
        $u$ is an iteration sequence for $f$ on $n$ starting at $a_0$} \}$.
    For all $u\in F$ we have $u$ is a function by \cref{iteration_sequence}.
    Show that for all $u,v$ such that $u\in F$ and $v\in F$ we have $u\subseteq v$ or $v\subseteq u$.
    \begin{subproof}
        Fix $u$.
        Fix $v$.
        Assume $u\in F$ and $v\in F$.
        Take $m\in\naturalsPlus$ such that
            $u$ is an iteration sequence for $f$ on $m$ starting at $a_0$.
        Take $n\in\naturalsPlus$ such that
            $v$ is an iteration sequence for $f$ on $n$ starting at $a_0$.
        $u$ is a function and $\dom{u} = \initialSegment{m}$ and $u(1) = a_0$
            by \cref{iteration_sequence}.
        Hence for all $k\in\naturalsPlus$ such that $k + 1 \leq m$ we have $u(k + 1) = \apply{f}{u(k)}$
            by \cref{iteration_sequence}.
        $v$ is a function and $\dom{v} = \initialSegment{n}$ and $v(1) = a_0$
            by \cref{iteration_sequence}.
        Therefore for all $k\in\naturalsPlus$ such that $k + 1 \leq n$ we have $v(k + 1) = \apply{f}{v(k)}$
            by \cref{iteration_sequence}.
        $m = n$ or $m \neq n$.
        \begin{byCase}
        \caseOf{$m = n$.}
            Thus $u\subseteq v$ or $v\subseteq u$ by \cref{iteration_sequence_unique,subseteq_refl}.
        \caseOf{$m \neq n$.}
            $m\in\reals$ and $n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
            Thus $m < n$ or $n < m$ by \cref{real_lt_trichotomy}.
            \begin{byCase}
            \caseOf{$m < n$.}
                Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq m$ then $u(k) = v(k)$}\}$.
                $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
                Show that if $1\leq m$ then $u(1) = v(1)$.
                \begin{subproof}
                    Follows by \cref{iteration_sequence}.
                \end{subproof}
                Hence $1\in B$.
                Show that for all $k\in B$ we have $k + 1\in B$.
                \begin{subproof}
                    Fix $k\in B$.
                    $k\in\naturalsPlus$.
                    Hence $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Show that if $k + 1\leq m$ then $u(k + 1) = v(k + 1)$.
                    \begin{subproof}
                        Suppose $k + 1\leq m$.
                        $k \leq m$ by \cref{real_naturals_succ_bound_elim_local}.
                        Hence $u(k) = v(k)$.
                        Therefore $m\leq n$ by \cref{real_lt_imp_leq}.
                        $k + 1\leq n$ by \cref{real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq}.
                        Hence $u(k + 1) = \apply{f}{u(k)}$ by \cref{iteration_sequence}.
                        Therefore $v(k + 1) = \apply{f}{v(k)}$ by \cref{iteration_sequence}.
                        $u(k + 1) = v(k + 1)$.
                    \end{subproof}
                    Hence $k + 1\in B$.
                \end{subproof}
                Therefore for all $k\in\initialSegment{m}$ we have $u(k) = v(k)$
                    by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
                For all $w$ such that $w\in u$ we have $w\in v$
                    by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
                Hence $u\subseteq v$ by \cref{subseteq}.
            \caseOf{$n < m$.}
                Let $C = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k) = u(k)$}\}$.
                $1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
                Show that if $1\leq n$ then $v(1) = u(1)$.
                \begin{subproof}
                    Follows by \cref{iteration_sequence}.
                \end{subproof}
                Hence $1\in C$.
                Show that for all $k\in C$ we have $k + 1\in C$.
                \begin{subproof}
                    Fix $k\in C$.
                    $k\in\naturalsPlus$.
                    Hence $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Show that if $k + 1\leq n$ then $v(k + 1) = u(k + 1)$.
                    \begin{subproof}
                        Suppose $k + 1\leq n$.
                        $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                        Hence $v(k) = u(k)$.
                        Therefore $n\leq m$ by \cref{real_lt_imp_leq}.
                        $k + 1\leq m$ by \cref{real_leq_trans,real_add_closed,real_naturals_subset_reals,subseteq}.
                        Hence $v(k + 1) = \apply{f}{v(k)}$ by \cref{iteration_sequence}.
                        Therefore $u(k + 1) = \apply{f}{u(k)}$ by \cref{iteration_sequence}.
                        $v(k + 1) = u(k + 1)$.
                    \end{subproof}
                    Hence $k + 1\in C$.
                \end{subproof}
                Therefore for all $k\in\initialSegment{n}$ we have $v(k) = u(k)$
                    by \cref{subseteq,real_naturals_induction,initial_segment_naturalsplus}.
                For all $w$ such that $w\in v$ we have $w\in u$
                    by \cref{iteration_sequence,function_member_elim,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_trans,real_lt_imp_leq,function_apply_elim}.
                Hence $v\subseteq u$ by \cref{subseteq}.
            \end{byCase}
        \end{byCase}
    \end{subproof}
    Let $u = \unions{F}$.
    $F$ is a family of functions.
    Hence $u$ is a function by \cref{unions_of_compatible_family_of_function_is_function}.
    Show that for all $x$ such that $x\in\dom{u}$ we have $x\in\naturalsPlus$.
    \begin{subproof}
        Follows by \cref{dom,unions_iff,iteration_sequence,initial_segment_naturalsplus}.
    \end{subproof}
    Show that for all $n\in\naturalsPlus$ we have $n\in\dom{u}$.
    \begin{subproof}
        Follows by \cref{subseteq,iteration_set_elim,iteration_sequence,initial_segment_naturalsplus,dom,unions_iff}.
    \end{subproof}
    Therefore $\dom{u} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
    Show that for all $n\in\naturalsPlus$ we have $u(n)\in A$.
    \begin{subproof}
        Fix $n\in\naturalsPlus$.
        Take $v\in F$ such that $(n,u(n))\in v$
            by \cref{function_apply_elim,unions_iff}.
        Take $n_0\in\naturalsPlus$ such that
            $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.
        $n \leq n_0$ by \cref{dom,iteration_sequence,initial_segment_naturalsplus}.
        Let $B = \{k\in\naturalsPlus \mid \text{if $k\leq n$ then $v(k)\in A$}\}$.
        $B\subseteq\naturalsPlus$.
        Hence $1\in B$ by \cref{real_one_in_naturals,iteration_sequence}.
        Show that for all $k\in B$ we have $k + 1\in B$.
        \begin{subproof}
            Fix $k\in B$.
            Show that if $k + 1\leq n$ then $v(k + 1)\in A$.
            \begin{subproof}
                Suppose $k + 1\leq n$.
                $k \leq n$ by \cref{real_naturals_succ_bound_elim_local}.
                Hence $v(k)\in A$.
                Therefore $v(k + 1) = \apply{f}{v(k)}$
                    by \cref{real_naturals_closed_succ,real_naturals_subset_reals,subseteq,real_leq_trans,iteration_sequence}.
                $\apply{f}{v(k)}\in A$ by \cref{funs_type_apply}.
                Hence $v(k + 1)\in A$.
            \end{subproof}
            $k + 1\in B$.
        \end{subproof}
        Thus for all $k\in\naturalsPlus$ we have $k\in B$ by \cref{real_naturals_induction}.
        Thus $v(n)\in A$ by \cref{initial_segment_naturalsplus}.
        Thus $u(n)\in A$ by \cref{function_apply_intro}.
    \end{subproof}
    Take $v\in F$ such that $(1,u(1))\in v$
        by \cref{real_one_in_naturals,function_apply_elim,unions_iff}.
    Take $n_0\in\naturalsPlus$ such that
        $v$ is an iteration sequence for $f$ on $n_0$ starting at $a_0$.
    Show that $u(1) = a_0$.
    \begin{subproof}
        Follows by \cref{iteration_sequence,dom,function_apply_intro}.
    \end{subproof}
    Show that for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{f}{u(n)}$.
    \begin{subproof}
        Fix $n\in\naturalsPlus$.
        Take $w\in F$ such that $(n + 1,u(n + 1))\in w$
            by \cref{real_naturals_closed_succ,function_apply_elim,unions_iff}.
        Take $m\in\naturalsPlus$ such that
            $w$ is an iteration sequence for $f$ on $m$ starting at $a_0$.
        $n + 1\in\dom{w}$ by \cref{dom}.
        Hence $w(n + 1) = u(n + 1)$ by \cref{function_apply_intro}.
        Therefore $n + 1 \leq m$ by \cref{iteration_sequence,initial_segment_naturalsplus}.
        $u(n + 1) = \apply{f}{w(n)}$ by \cref{function_apply_intro,iteration_sequence}.
        Hence $u(n) = w(n)$
            by \cref{real_naturals_succ_bound_elim_local,initial_segment_naturalsplus,iteration_sequence,function_apply_elim,unions_iff,function_apply_intro}.
        Therefore $u(n + 1) = \apply{f}{u(n)}$.
    \end{subproof}
    Hence $u\in\funs{\naturalsPlus}{A}$ by \cref{funs_intro}.
    Show that $u$ is a sequence in $A$.
    \begin{subproof}
        Follows by \cref{sequence_in}.
    \end{subproof}
    Show that there exists $w$ such that
        $w$ is a sequence in $A$ and
        $w(1) = a_0$ and
        for all $n\in\naturalsPlus$ we have $w(n + 1) = \apply{f}{w(n)}$.
    \begin{subproof}
        Trivial.
    \end{subproof}
\end{proof}
Lemma 408
sequentially_compact_finite_ball_cover

Suppose $d$ is a metric on $X$.
Let $T = \metricTopology{d}{X}$.
Suppose $X$ is sequentially compact with respect to $T$.
Suppose $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Then there exists $B$ such that $B$ is finite and $B$ is a covering of $X$ and for all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $U = \metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

LaTeX source
\begin{lemma}
\label{sequentially_compact_finite_ball_cover}
    Suppose $d$ is a metric on $X$.
    Let $T = \metricTopology{d}{X}$.
    Suppose $X$ is sequentially compact with respect to $T$.
    Suppose $\epsilon\in\reals$.
    Suppose $0 < \epsilon$.
    Then there exists $B$ such that
        $B$ is finite and
        $B$ is a covering of $X$ and
        for all $U\in B$ there exists $x\in X$ such that $U = \metricBall{d}{X}{x}{\epsilon}$.
\end{lemma}
Proof
Case. $X = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

Let $B = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
$B$ is finite by Lemma 35.
For all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $\class{latex-symbol-tip latex-symbol-id-exists}{\exists} x\class{latex-symbol-tip latex-symbol-id-in}{\in} X. U = \metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.
Hence $B$ is a covering of $X$ by Definition 245, Proposition 11, Proposition 28.

Claim: There exists $C$ such that $C$ is finite and $C$ is a covering of $X$ and for all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $U = \metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Trivial.

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

Suppose not.
Thus for all $B$ such that $B$ is finite and for all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $\class{latex-symbol-tip latex-symbol-id-exists}{\exists} x\class{latex-symbol-tip latex-symbol-id-in}{\in} X. U = \metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ we have $B$ is not a covering of $X$.
Let $F = \{B\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X} \mid \text{$B$ is finite}\}$.

Claim: For all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Fix $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
$B$ is finite and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Proposition 156.
Let $g = \{(x,\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} B\}$.
$g$ is a relation by Definition 12.
For all $x,U_1,U_2$ such that $(x,U_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(x,U_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $U_1 = U_2$ by Axiom 6.
Hence $g$ is right-unique by Definition 51.

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

Follows by Axiom 6, Definition 15.

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

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

Follows by Definition 15.

Hence $\dom{g} = B$ by Definition 1, Proposition 3.
$g$ is a function on $B$.
Let $G = \img{g}{B}$.
Hence $G$ is finite by Lemma 192.
For all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $\class{latex-symbol-tip latex-symbol-id-exists}{\exists} x\class{latex-symbol-tip latex-symbol-id-in}{\in} X. U = \metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Axiom 6, Definition 1, Proposition 235.
Hence $X\not\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\unions{G}$ by Definition 245.
For all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
$\unions{G}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Proposition 29.
Hence $\unions{G}\class{latex-symbol-tip latex-symbol-id-neq}{\neq} X$ by Proposition 2.
Therefore $\unions{G}\class{latex-symbol-tip latex-symbol-id-subset}{\subset} X$ by Definition 2.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\unions{G}$ by Proposition 9.
For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $(y,\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}})\class{latex-symbol-tip latex-symbol-id-in}{\in} g$.
Hence for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Proposition 235, Proposition 349.
Therefore for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Axiom 4.
There exists $z\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $z\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Let $R = \{ w\class{latex-symbol-tip latex-symbol-id-in}{\in} F\class{latex-symbol-tip latex-symbol-id-times}{\times} X \mid \text{for all $y\in\fst{w}$ we have $\snd{w}\notin\metricBall{d}{X}{y}{\epsilon}$} \}$.
$R$ is a relation by Definition 1, Definition 12, Proposition 121.
For all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exists $x$ such that $B\mathrel{R} x$ by Axiom 10, Axiom 11, Proposition 115.
Take $c$ such that $c$ is a function on $F$ and for all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $B\mathrel{R} \apply{c}{B}$ by Axiom 54.
For all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $\apply{c}{B}\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $\apply{c}{B}\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Axiom 10, Axiom 11, Definition 1, Proposition 114.
$c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F}{X}$ by Definition 1, Proposition 358.
Let $S = \{ w\class{latex-symbol-tip latex-symbol-id-in}{\in} F\class{latex-symbol-tip latex-symbol-id-times}{\times} F \mid \text{$\snd{w} = \fst{w}\union\{\apply{c}{\fst{w}},\apply{c}{\fst{w}}\}$} \}$.
$S$ is a relation by Definition 1, Definition 12, Proposition 121.
For all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exists $D\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ such that $D = B\union\{\apply{c}{B},\apply{c}{B}\}$ by Definition 1, Lemma 40, Lemma 45, Proposition 18, Proposition 44, Proposition 155, Proposition 156.
Thus for all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exists $D$ such that $B\mathrel{S} D$ by Axiom 10, Axiom 11, Proposition 115.
Take $g$ such that $g$ is a function on $F$ and for all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $B\mathrel{S}\apply{g}{B}$ by Axiom 54.
For all $B\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $g(B)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $g(B) = B\union\{\apply{c}{B},\apply{c}{B}\}$ by Axiom 10, Axiom 11, Proposition 114.
Hence $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F}{F}$ by Definition 1, Proposition 358.
Take $x_0$ such that $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 10.
Let $a_0 = \{x_0,x_0\}$.
$a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 1, Lemma 40, Proposition 18, Proposition 155.
Take $u$ such that $u$ is a sequence in $F$ 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{g}{u(n)}$ by Lemma 407.
Let $s = c\class{latex-symbol-tip latex-symbol-id-circ}{\circ} u$.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{F}$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F}{X}$ by Definition 55, Definition 158.
Hence $s$ is a sequence in $X$ by Definition 158, Proposition 382.
Therefore $\ran{u}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{c}$ by Definition 1, Definition 55, Proposition 363.
We have $u$ is right-unique and $u$ is a relation and $c$ is right-unique and $c$ is a relation by Proposition 356.

Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n)$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$u(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 158, Proposition 361.
Hence $u(n)\mathrel{R} c(u(n))$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u}$ by Definition 1, Definition 55.
Therefore for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n)$ we have $c(u(n))\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ and $s(n) = c(u(n))$ by Proposition 373.
Hence for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n)$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = u(n)\union\{c(u(n)),c(u(n))\}$ by Definition 158, Lemma 407, Proposition 346, Proposition 356, Proposition 361.
Thus for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(n + 1)$ by Proposition 46.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n + 1)$ by Axiom 5, Definition 1, Definition 55, Definition 158, Lemma 407, Proposition 16, Proposition 346, Proposition 356, Proposition 361, Proposition 373.
Let $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $s(m)\in u(n)$}\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.

Claim: $1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Claim: 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$.

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

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

Fix $m$ such that $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $m < n + 1$.
$m \class{latex-symbol-tip latex-symbol-id-neq}{\neq} n + 1$.
Hence $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Lemma 29.
$m < n$ or $m = n$ by Lemma 81.

Case. $m < n$.

$s(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n)$.
Hence $s(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n + 1)$ by Definition 1, Proposition 46.

Case. $m = n$.

$s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n + 1)$.

LaTeX source
\begin{byCase}
                        \caseOf{$m < n$.}
                            $s(m)\in u(n)$.
                            Hence $s(m)\in u(n + 1)$ by \cref{union_upper_left,subseteq}.
                        \caseOf{$m = n$.}
                            $s(n)\in u(n + 1)$.
                        
\end{byCase}

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

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 for all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m < n$ we have $s(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n)$ by Definition 1.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m < n$ we have $s(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} u(n)$ by Definition 1.
Therefore for all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m < n$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\metricBall{d}{X}{s(m)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m < n$ we have it is wrong that $d((s(m),s(n))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Take $t,x$ such that $t$ is a sequence in $X$ and $t$ is a subsequence of $s$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $t$ converges to $x$ in $X$ with respect to $T$ by Definition 260.
Take $v$ such that $v$ is strictly increasing on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = \apply{s}{\apply{v}{n}}$ by Definition 259.
Let $m_2 = 1 + 1$.
Let $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} / m_2$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 13, Axiom 17, Axiom 41, Axiom 42, Definition 1, Proposition 462.
Hence $0 < m_2$ by Axiom 17, Axiom 36, Axiom 37, Lemma 83.
$m_2\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
Thus $\inv{m_2}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \inv{m_2}$ by Axiom 22, Proposition 463.
$\class{latex-symbol-tip latex-symbol-id-delta}{\delta} = \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} \rmul \inv{m_2}$ by Definition 65.
Hence $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 38, Lemma 83, Proposition 439.
$\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Definition 1, Definition 180, Proposition 155.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $\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}$.
Therefore $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBasis{d}{X}$ by Definition 181.
Hence $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 182, Lemma 77, Lemma 194.
Hence $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ is open in $X$ with respect to $T$ by Definition 103, Definition 115, Definition 182, Lemma 76, Lemma 194.
Therefore $\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ is a neighborhood of $x$ in $X$ with respect to $T$ by Definition 153, Definition 176, Definition 179, Definition 180, Lemma 82.
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 $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 159.
$N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$N\class{latex-symbol-tip latex-symbol-id-leq}{\leq} N + 1$.
Hence $t(N)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ and $t(N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 159.
Therefore $d((x,t(N))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $d((x,t(N + 1))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 180.
$t(N)\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $t(N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 158, Proposition 361.
Hence $d((t(N),x)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 177, Definition 179, Lemma 82.
$d$ satisfies the triangle inequality on $X$ by Definition 179.
Therefore $d((t(N),t(N + 1))) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((t(N),x)) + d((x,t(N + 1)))$ by Definition 178.
$(t(N),x)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and $(x,t(N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and $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, Proposition 115.
$d((t(N),x))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x,t(N + 1)))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
$\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Hence $d((x,t(N + 1))) + d((t(N),x)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta} + d((t(N),x))$ by Axiom 37.
$d((x,t(N + 1))) + d((t(N),x)) = d((t(N),x)) + d((x,t(N + 1)))$ and $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} + d((t(N),x)) = d((t(N),x)) + \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 16.
Therefore $d((t(N),x)) + d((x,t(N + 1))) < d((t(N),x)) + \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 82, Lemma 83.
$d((t(N),x)) + \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-delta}{\delta}$ by Axiom 37.
Hence $d((t(N),x)) + d((x,t(N + 1))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta} + \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 13, Axiom 36.
Therefore $d((t(N),x)) + d((x,t(N + 1))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Lemma 9, Lemma 83.
Thus $d((t(N),t(N + 1))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 13, Axiom 36, Definition 179, Lemma 81, Lemma 82, Proposition 115, Proposition 361.
$v(N)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $v(N + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 258, Proposition 361.
Hence $N < N + 1$ by Lemma 399.
Therefore $v(N) < v(N + 1)$ by Definition 258.
$t(N) = \apply{s}{\apply{v}{N}}$ and $t(N + 1) = \apply{s}{\apply{v}{(N + 1)}}$.
Hence it is wrong that $d((\apply{s}{\apply{v}{N}},\apply{s}{\apply{v}{(N + 1)}})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Therefore it is wrong that $d((t(N),t(N + 1))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 6, Lemma 82.
Contradiction.

LaTeX source
\begin{byCase}
    \caseOf{$X = \emptyset$.}
        Let $B = \emptyset$.
        $B$ is finite by \cref{emptyset_is_finite}.
        For all $U\in B$ we have $\exists x\in X. U = \metricBall{d}{X}{x}{\epsilon}$.
        Hence $B$ is a covering of $X$ by \cref{emptyset_subseteq,unions_emptyset,covering}.
        Show that there exists $C$ such that
            $C$ is finite and
            $C$ is a covering of $X$ and
            for all $U\in C$ there exists $x\in X$ such that $U = \metricBall{d}{X}{x}{\epsilon}$.
        \begin{subproof}
            Trivial.
        \end{subproof}
    \caseOf{$X \neq \emptyset$.}
        Suppose not.
        Thus for all $B$ such that
            $B$ is finite and
            for all $U\in B$ we have $\exists x\in X. U = \metricBall{d}{X}{x}{\epsilon}$
        we have $B$ is not a covering of $X$.
        Let $F = \{B\in\pow{X} \mid \text{$B$ is finite}\}$.
        Show that for all $B\in F$ there exists $x\in X$ such that
            for all $y\in B$ we have $x\notin\metricBall{d}{X}{y}{\epsilon}$.
        \begin{subproof}
            Fix $B$ such that $B\in F$.
            $B$ is finite and $B\subseteq X$ by \cref{powerset_elim}.
            Let $g = \{(x,\metricBall{d}{X}{x}{\epsilon}) \mid x\in B\}$.
                $g$ is a relation by \cref{relation}.
                For all $x,U_1,U_2$ such that $(x,U_1)\in g$ and $(x,U_2)\in g$ we have $U_1 = U_2$
                    by \cref{pair_eq_iff}.
                Hence $g$ is right-unique by \cref{rightunique}.
                    Show that for all $x$ such that $x\in\dom{g}$ we have $x\in B$.
                    \begin{subproof}
                        Follows by \cref{dom,pair_eq_iff}.
                    \end{subproof}
                    $\dom{g}\subseteq B$ by \cref{subseteq}.
                    Show that for all $x$ such that $x\in B$ we have $x\in\dom{g}$.
                    \begin{subproof}
                        Follows by \cref{dom}.
                    \end{subproof}
                    Hence $\dom{g} = B$ by \cref{subseteq,subseteq_antisymmetric}.
                $g$ is a function on $B$.
            Let $G = \img{g}{B}$.
            Hence $G$ is finite by \cref{finite_image_function}.
            For all $U\in G$ we have $\exists x\in X. U = \metricBall{d}{X}{x}{\epsilon}$
                by \cref{img_iff,pair_eq_iff,subseteq}.
            Hence $X\not\subseteq\unions{G}$ by \cref{covering}.
            For all $U\in G$ we have $U\subseteq X$.
            $\unions{G}\subseteq X$ by \cref{unions_family}.
            Hence $\unions{G}\neq X$ by \cref{subseteq_refl}.
            Therefore $\unions{G}\subset X$ by \cref{subset}.
            Take $x\in X$ such that $x\notin\unions{G}$ by \cref{subset_witness}.
            For all $y\in B$ we have $(y,\metricBall{d}{X}{y}{\epsilon})\in g$.
            Hence for all $y\in B$ we have $\metricBall{d}{X}{y}{\epsilon}\in G$
                by \cref{function_apply_iff,img_iff}.
            Therefore for all $y\in B$ we have $x\notin\metricBall{d}{X}{y}{\epsilon}$ by \cref{unions_iff}.
            There exists $z\in X$ such that for all $y\in B$ we have $z\notin\metricBall{d}{X}{y}{\epsilon}$.
        \end{subproof}
        Let $R = \{ w\in F\times X \mid
            \text{for all $y\in\fst{w}$ we have $\snd{w}\notin\metricBall{d}{X}{y}{\epsilon}$} \}$.
        $R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
        For all $B\in F$ there exists $x$ such that $B\mathrel{R} x$
            by \cref{times_tuple_intro,fst_eq,snd_eq}.
        Take $c$ such that $c$ is a function on $F$ and for all $B\in F$ we have $B\mathrel{R} \apply{c}{B}$ by \cref{axiom_of_choice}.
        For all $B\in F$ we have $\apply{c}{B}\in X$ and for all $y\in B$ we have $\apply{c}{B}\notin\metricBall{d}{X}{y}{\epsilon}$
            by \cref{subseteq,times_tuple_elim,fst_eq,snd_eq}.
        $c\in\funs{F}{X}$ by \cref{funs_intro,subseteq}.
        Let $S = \{ w\in F\times F \mid
            \text{$\snd{w} = \fst{w}\union\{\apply{c}{\fst{w}},\apply{c}{\fst{w}}\}$} \}$.
        $S$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
        For all $B\in F$ there exists $D\in F$ such that $D = B\union\{\apply{c}{B},\apply{c}{B}\}$
            by \cref{powerset_elim,upair_elim,subseteq,pair_is_finite,union_of_finite_is_finite,union_subsets_is_subset,powerset_intro}.
        Thus for all $B\in F$ there exists $D$ such that $B\mathrel{S} D$
            by \cref{times_tuple_intro,fst_eq,snd_eq}.
        Take $g$ such that $g$ is a function on $F$ and for all $B\in F$ we have $B\mathrel{S}\apply{g}{B}$
            by \cref{axiom_of_choice}.
        For all $B\in F$ we have $g(B)\in F$ and $g(B) = B\union\{\apply{c}{B},\apply{c}{B}\}$
            by \cref{times_tuple_elim,fst_eq,snd_eq}.
        Hence $g\in\funs{F}{F}$ by \cref{subseteq,funs_intro}.
        Take $x_0$ such that $x_0\in X$ by \cref{nonempty_inhabited}.
        Let $a_0 = \{x_0,x_0\}$.
        $a_0\in F$ by \cref{pair_is_finite,upair_elim,subseteq,powerset_intro}.
        Take $u$ such that
            $u$ is a sequence in $F$ and
            $u(1) = a_0$ and
            for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$ by \cref{iteration_sequence_naturalsplus}.
        Let $s = c\circ u$.
        $u\in\funs{\naturalsPlus}{F}$ and $c\in\funs{F}{X}$ by \cref{sequence_in,funs}.
        Hence $s$ is a sequence in $X$ by \cref{funs_circ,sequence_in}.
        Therefore $\ran{u}\subseteq\dom{c}$ by \cref{funs_ran,funs,subseteq}.
        We have $u$ is right-unique and $u$ is a relation and $c$ is right-unique and $c$ is a relation
            by \cref{funs_is_function}.
        Show that for all $n\in\naturalsPlus$ we have
            for all $y\in u(n)$ we have $s(n)\notin\metricBall{d}{X}{y}{\epsilon}$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            $u(n)\in F$ by \cref{funs_type_apply,sequence_in}.
            Hence $u(n)\mathrel{R} c(u(n))$.
            $n\in\dom{u}$ by \cref{funs,subseteq}.
            Therefore for all $y\in u(n)$ we have $c(u(n))\notin\metricBall{d}{X}{y}{\epsilon}$ and $s(n) = c(u(n))$
                by \cref{circ_apply}.
            Hence for all $y\in u(n)$ we have $s(n)\notin\metricBall{d}{X}{y}{\epsilon}$.
        \end{subproof}
        For all $n\in\naturalsPlus$ we have $u(n + 1) = u(n)\union\{c(u(n)),c(u(n))\}$
            by \cref{iteration_sequence_naturalsplus,sequence_in,funs_type_apply,funs_is_function,function_apply_intro}.
        Thus for all $n\in\naturalsPlus$ we have $u(n)\subseteq u(n + 1)$ by \cref{union_upper_left}.
        For all $n\in\naturalsPlus$ we have $s(n)\in u(n + 1)$
            by \cref{iteration_sequence_naturalsplus,sequence_in,funs_type_apply,funs_is_function,function_apply_intro,funs,subseteq,circ_apply,upair_intro_left,union_iff}.
            Let $P = \{n\in\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $s(m)\in u(n)$}\}$.
                $P\subseteq\naturalsPlus$ by \cref{subseteq}.
                Show that $1\in P$.
                \begin{subproof}
                    Follows 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}.
                \end{subproof}
                Show that for all $n\in P$ we have $n + 1\in P$.
                \begin{subproof}
                    Fix $n$ such that $n\in P$.
                    Show that for all $m\in\naturalsPlus$ such that $m < n + 1$ we have $s(m)\in u(n + 1)$.
                    \begin{subproof}
                        Fix $m$ such that $m\in\naturalsPlus$ and $m < n + 1$.
                        $m \neq n + 1$.
                        Hence $m \leq n$ by \cref{real_naturals_leq_succ_elim}.
                        $m < n$ or $m = n$ by \cref{real_leq_split}.
                        \begin{byCase}
                        \caseOf{$m < n$.}
                            $s(m)\in u(n)$.
                            Hence $s(m)\in u(n + 1)$ by \cref{union_upper_left,subseteq}.
                        \caseOf{$m = n$.}
                            $s(n)\in u(n + 1)$.
                        \end{byCase}
                    \end{subproof}
                    Hence $n + 1\in P$.
                \end{subproof}
                Therefore for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
            For all $n\in\naturalsPlus$ we have
                for all $m\in\naturalsPlus$ such that $m < n$ we have $s(m)\in u(n)$ by \cref{subseteq}.
        For all $m\in\naturalsPlus$ we have
            for all $n\in\naturalsPlus$ such that $m < n$ we have $s(m)\in u(n)$
            by \cref{subseteq}.
        Therefore for all $m\in\naturalsPlus$ we have
            for all $n\in\naturalsPlus$ such that $m < n$ we have
            $s(n)\notin\metricBall{d}{X}{s(m)}{\epsilon}$.
        Show that for all $m\in\naturalsPlus$ we have
            for all $n\in\naturalsPlus$ such that $m < n$ we have
            it is wrong that $d((s(m),s(n))) < \epsilon$.
        \begin{subproof}
            Follows by \cref{sequence_in,funs_type_apply,metric_ball}.
        \end{subproof}
        Take $t,x$ such that
            $t$ is a sequence in $X$ and
            $t$ is a subsequence of $s$ and
            $x\in X$ and
            $t$ converges to $x$ in $X$ with respect to $T$ by \cref{sequentially_compact}.
        Take $v$ such that
            $v$ is strictly increasing on $\naturalsPlus$ and
            for all $n\in\naturalsPlus$ we have $t(n) = \apply{s}{\apply{v}{n}}$ by \cref{subsequence}.
        Let $m_2 = 1 + 1$.
        Let $\delta = \epsilon / m_2$.
        $1\in\reals$ and $m_2\in\reals$ and $0\in\reals$ and $0 < 1$
            by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_add_ident,real_zero_lt_one}.
        Hence $0 < m_2$ by \cref{real_lt_add,real_add_ident,real_lt_subst_right,real_lt_trans}.
        $m_2\neq 0$ by \cref{real_pos_nonzero}.
        Thus $\inv{m_2}\in\reals$ and $0 < \inv{m_2}$ by \cref{real_mul_inverse,real_inv_pos}.
        $\delta = \epsilon \rmul \inv{m_2}$ by \cref{real_div}.
        Hence $0 < \delta$ by \cref{real_lt_mul_pos,real_mul_zero,real_lt_subst_right}.
        $\metricBall{d}{X}{x}{\delta}\in\pow{X}$ by \cref{metric_ball,subseteq,powerset_intro}.
        $x\in X$ and $\delta\in\reals$ and $0 < \delta$.
        Therefore $\metricBall{d}{X}{x}{\delta}\in\metricBasis{d}{X}$ by \cref{metric_basis}.
        Hence $\metricBall{d}{X}{x}{\delta}\in T$
            by \cref{metric_basis_is_basis,basis_elem_open_in_generated,metric_topology}.
        Hence $\metricBall{d}{X}{x}{\delta}$ is open in $X$ with respect to $T$
            by \cref{open_in,basis_topology_is_topology,metric_topology,metric_basis_is_basis,basis_for_topology}.
        Therefore $\metricBall{d}{X}{x}{\delta}$ is a neighborhood of $x$ in $X$ with respect to $T$
            by \cref{metric_ball,metric_zero_characterization,real_lt_subst_left,metric_on,neighborhood}.
        Take $N\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N\leq n$ then $t(n)\in\metricBall{d}{X}{x}{\delta}$ by \cref{converges_to}.
        $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
        $N\leq N + 1$.
        Hence $t(N)\in\metricBall{d}{X}{x}{\delta}$ and $t(N + 1)\in\metricBall{d}{X}{x}{\delta}$ by \cref{converges_to}.
        Therefore $d((x,t(N))) < \delta$ and $d((x,t(N + 1))) < \delta$ by \cref{metric_ball}.
        $t(N)\in X$ and $t(N + 1)\in X$ by \cref{sequence_in,funs_type_apply}.
        Hence $d((t(N),x)) < \delta$ by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
        $d$ satisfies the triangle inequality on $X$ by \cref{metric_on}.
        Therefore $d((t(N),t(N + 1))) \leq d((t(N),x)) + d((x,t(N + 1)))$ by \cref{metric_triangle_inequality}.
        $(t(N),x)\in X\times X$ and $(x,t(N + 1))\in X\times X$ and
            $d\in\funs{X\times X}{\reals}$ by \cref{times_tuple_intro,metric_on}.
        $d((t(N),x))\in\reals$ and $d((x,t(N + 1)))\in\reals$ by \cref{funs_type_apply}.
        $\delta\in\reals$.
        Hence $d((x,t(N + 1))) + d((t(N),x)) < \delta + d((t(N),x))$ by \cref{real_lt_add}.
        $d((x,t(N + 1))) + d((t(N),x)) = d((t(N),x)) + d((x,t(N + 1)))$ and
            $\delta + d((t(N),x)) = d((t(N),x)) + \delta$ by \cref{real_add_comm}.
        Therefore $d((t(N),x)) + d((x,t(N + 1))) < d((t(N),x)) + \delta$
            by \cref{real_lt_subst_left,real_lt_subst_right}.
        $d((t(N),x)) + \delta < \delta + \delta$ by \cref{real_lt_add}.
        Hence $d((t(N),x)) + d((x,t(N + 1))) < \delta + \delta$
            by \cref{real_add_closed,real_lt_trans}.
        Therefore $d((t(N),x)) + d((x,t(N + 1))) < \epsilon$
            by \cref{real_mul_assoc,real_mul_inverse,real_mul_comm,real_mul_ident,real_right_distrib,real_lt_subst_right}.
        Thus $d((t(N),t(N + 1))) < \epsilon$
            by \cref{real_leq_split,times_tuple_intro,metric_on,funs_type_apply,real_add_closed,real_lt_trans,real_lt_subst_left}.
        $v(N)\in\naturalsPlus$ and $v(N + 1)\in\naturalsPlus$ by \cref{strictly_increasing_on_set,funs_type_apply}.
        Hence $N < N + 1$ by \cref{real_naturals_lt_succ_local}.
        Therefore $v(N) < v(N + 1)$ by \cref{strictly_increasing_on_set}.
        $t(N) = \apply{s}{\apply{v}{N}}$ and $t(N + 1) = \apply{s}{\apply{v}{(N + 1)}}$.
        Hence it is wrong that $d((\apply{s}{\apply{v}{N}},\apply{s}{\apply{v}{(N + 1)}})) < \epsilon$.
        Therefore it is wrong that $d((t(N),t(N + 1))) < \epsilon$
            by \cref{pair_eq_iff,real_lt_subst_left}.
        Contradiction.
    
\end{byCase}
LaTeX source
\begin{proof}
    \begin{byCase}
    \caseOf{$X = \emptyset$.}
        Let $B = \emptyset$.
        $B$ is finite by \cref{emptyset_is_finite}.
        For all $U\in B$ we have $\exists x\in X. U = \metricBall{d}{X}{x}{\epsilon}$.
        Hence $B$ is a covering of $X$ by \cref{emptyset_subseteq,unions_emptyset,covering}.
        Show that there exists $C$ such that
            $C$ is finite and
            $C$ is a covering of $X$ and
            for all $U\in C$ there exists $x\in X$ such that $U = \metricBall{d}{X}{x}{\epsilon}$.
        \begin{subproof}
            Trivial.
        \end{subproof}
    \caseOf{$X \neq \emptyset$.}
        Suppose not.
        Thus for all $B$ such that
            $B$ is finite and
            for all $U\in B$ we have $\exists x\in X. U = \metricBall{d}{X}{x}{\epsilon}$
        we have $B$ is not a covering of $X$.
        Let $F = \{B\in\pow{X} \mid \text{$B$ is finite}\}$.
        Show that for all $B\in F$ there exists $x\in X$ such that
            for all $y\in B$ we have $x\notin\metricBall{d}{X}{y}{\epsilon}$.
        \begin{subproof}
            Fix $B$ such that $B\in F$.
            $B$ is finite and $B\subseteq X$ by \cref{powerset_elim}.
            Let $g = \{(x,\metricBall{d}{X}{x}{\epsilon}) \mid x\in B\}$.
                $g$ is a relation by \cref{relation}.
                For all $x,U_1,U_2$ such that $(x,U_1)\in g$ and $(x,U_2)\in g$ we have $U_1 = U_2$
                    by \cref{pair_eq_iff}.
                Hence $g$ is right-unique by \cref{rightunique}.
                    Show that for all $x$ such that $x\in\dom{g}$ we have $x\in B$.
                    \begin{subproof}
                        Follows by \cref{dom,pair_eq_iff}.
                    \end{subproof}
                    $\dom{g}\subseteq B$ by \cref{subseteq}.
                    Show that for all $x$ such that $x\in B$ we have $x\in\dom{g}$.
                    \begin{subproof}
                        Follows by \cref{dom}.
                    \end{subproof}
                    Hence $\dom{g} = B$ by \cref{subseteq,subseteq_antisymmetric}.
                $g$ is a function on $B$.
            Let $G = \img{g}{B}$.
            Hence $G$ is finite by \cref{finite_image_function}.
            For all $U\in G$ we have $\exists x\in X. U = \metricBall{d}{X}{x}{\epsilon}$
                by \cref{img_iff,pair_eq_iff,subseteq}.
            Hence $X\not\subseteq\unions{G}$ by \cref{covering}.
            For all $U\in G$ we have $U\subseteq X$.
            $\unions{G}\subseteq X$ by \cref{unions_family}.
            Hence $\unions{G}\neq X$ by \cref{subseteq_refl}.
            Therefore $\unions{G}\subset X$ by \cref{subset}.
            Take $x\in X$ such that $x\notin\unions{G}$ by \cref{subset_witness}.
            For all $y\in B$ we have $(y,\metricBall{d}{X}{y}{\epsilon})\in g$.
            Hence for all $y\in B$ we have $\metricBall{d}{X}{y}{\epsilon}\in G$
                by \cref{function_apply_iff,img_iff}.
            Therefore for all $y\in B$ we have $x\notin\metricBall{d}{X}{y}{\epsilon}$ by \cref{unions_iff}.
            There exists $z\in X$ such that for all $y\in B$ we have $z\notin\metricBall{d}{X}{y}{\epsilon}$.
        \end{subproof}
        Let $R = \{ w\in F\times X \mid
            \text{for all $y\in\fst{w}$ we have $\snd{w}\notin\metricBall{d}{X}{y}{\epsilon}$} \}$.
        $R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
        For all $B\in F$ there exists $x$ such that $B\mathrel{R} x$
            by \cref{times_tuple_intro,fst_eq,snd_eq}.
        Take $c$ such that $c$ is a function on $F$ and for all $B\in F$ we have $B\mathrel{R} \apply{c}{B}$ by \cref{axiom_of_choice}.
        For all $B\in F$ we have $\apply{c}{B}\in X$ and for all $y\in B$ we have $\apply{c}{B}\notin\metricBall{d}{X}{y}{\epsilon}$
            by \cref{subseteq,times_tuple_elim,fst_eq,snd_eq}.
        $c\in\funs{F}{X}$ by \cref{funs_intro,subseteq}.
        Let $S = \{ w\in F\times F \mid
            \text{$\snd{w} = \fst{w}\union\{\apply{c}{\fst{w}},\apply{c}{\fst{w}}\}$} \}$.
        $S$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
        For all $B\in F$ there exists $D\in F$ such that $D = B\union\{\apply{c}{B},\apply{c}{B}\}$
            by \cref{powerset_elim,upair_elim,subseteq,pair_is_finite,union_of_finite_is_finite,union_subsets_is_subset,powerset_intro}.
        Thus for all $B\in F$ there exists $D$ such that $B\mathrel{S} D$
            by \cref{times_tuple_intro,fst_eq,snd_eq}.
        Take $g$ such that $g$ is a function on $F$ and for all $B\in F$ we have $B\mathrel{S}\apply{g}{B}$
            by \cref{axiom_of_choice}.
        For all $B\in F$ we have $g(B)\in F$ and $g(B) = B\union\{\apply{c}{B},\apply{c}{B}\}$
            by \cref{times_tuple_elim,fst_eq,snd_eq}.
        Hence $g\in\funs{F}{F}$ by \cref{subseteq,funs_intro}.
        Take $x_0$ such that $x_0\in X$ by \cref{nonempty_inhabited}.
        Let $a_0 = \{x_0,x_0\}$.
        $a_0\in F$ by \cref{pair_is_finite,upair_elim,subseteq,powerset_intro}.
        Take $u$ such that
            $u$ is a sequence in $F$ and
            $u(1) = a_0$ and
            for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$ by \cref{iteration_sequence_naturalsplus}.
        Let $s = c\circ u$.
        $u\in\funs{\naturalsPlus}{F}$ and $c\in\funs{F}{X}$ by \cref{sequence_in,funs}.
        Hence $s$ is a sequence in $X$ by \cref{funs_circ,sequence_in}.
        Therefore $\ran{u}\subseteq\dom{c}$ by \cref{funs_ran,funs,subseteq}.
        We have $u$ is right-unique and $u$ is a relation and $c$ is right-unique and $c$ is a relation
            by \cref{funs_is_function}.
        Show that for all $n\in\naturalsPlus$ we have
            for all $y\in u(n)$ we have $s(n)\notin\metricBall{d}{X}{y}{\epsilon}$.
        \begin{subproof}
            Fix $n\in\naturalsPlus$.
            $u(n)\in F$ by \cref{funs_type_apply,sequence_in}.
            Hence $u(n)\mathrel{R} c(u(n))$.
            $n\in\dom{u}$ by \cref{funs,subseteq}.
            Therefore for all $y\in u(n)$ we have $c(u(n))\notin\metricBall{d}{X}{y}{\epsilon}$ and $s(n) = c(u(n))$
                by \cref{circ_apply}.
            Hence for all $y\in u(n)$ we have $s(n)\notin\metricBall{d}{X}{y}{\epsilon}$.
        \end{subproof}
        For all $n\in\naturalsPlus$ we have $u(n + 1) = u(n)\union\{c(u(n)),c(u(n))\}$
            by \cref{iteration_sequence_naturalsplus,sequence_in,funs_type_apply,funs_is_function,function_apply_intro}.
        Thus for all $n\in\naturalsPlus$ we have $u(n)\subseteq u(n + 1)$ by \cref{union_upper_left}.
        For all $n\in\naturalsPlus$ we have $s(n)\in u(n + 1)$
            by \cref{iteration_sequence_naturalsplus,sequence_in,funs_type_apply,funs_is_function,function_apply_intro,funs,subseteq,circ_apply,upair_intro_left,union_iff}.
            Let $P = \{n\in\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $s(m)\in u(n)$}\}$.
                $P\subseteq\naturalsPlus$ by \cref{subseteq}.
                Show that $1\in P$.
                \begin{subproof}
                    Follows 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}.
                \end{subproof}
                Show that for all $n\in P$ we have $n + 1\in P$.
                \begin{subproof}
                    Fix $n$ such that $n\in P$.
                    Show that for all $m\in\naturalsPlus$ such that $m < n + 1$ we have $s(m)\in u(n + 1)$.
                    \begin{subproof}
                        Fix $m$ such that $m\in\naturalsPlus$ and $m < n + 1$.
                        $m \neq n + 1$.
                        Hence $m \leq n$ by \cref{real_naturals_leq_succ_elim}.
                        $m < n$ or $m = n$ by \cref{real_leq_split}.
                        \begin{byCase}
                        \caseOf{$m < n$.}
                            $s(m)\in u(n)$.
                            Hence $s(m)\in u(n + 1)$ by \cref{union_upper_left,subseteq}.
                        \caseOf{$m = n$.}
                            $s(n)\in u(n + 1)$.
                        \end{byCase}
                    \end{subproof}
                    Hence $n + 1\in P$.
                \end{subproof}
                Therefore for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
            For all $n\in\naturalsPlus$ we have
                for all $m\in\naturalsPlus$ such that $m < n$ we have $s(m)\in u(n)$ by \cref{subseteq}.
        For all $m\in\naturalsPlus$ we have
            for all $n\in\naturalsPlus$ such that $m < n$ we have $s(m)\in u(n)$
            by \cref{subseteq}.
        Therefore for all $m\in\naturalsPlus$ we have
            for all $n\in\naturalsPlus$ such that $m < n$ we have
            $s(n)\notin\metricBall{d}{X}{s(m)}{\epsilon}$.
        Show that for all $m\in\naturalsPlus$ we have
            for all $n\in\naturalsPlus$ such that $m < n$ we have
            it is wrong that $d((s(m),s(n))) < \epsilon$.
        \begin{subproof}
            Follows by \cref{sequence_in,funs_type_apply,metric_ball}.
        \end{subproof}
        Take $t,x$ such that
            $t$ is a sequence in $X$ and
            $t$ is a subsequence of $s$ and
            $x\in X$ and
            $t$ converges to $x$ in $X$ with respect to $T$ by \cref{sequentially_compact}.
        Take $v$ such that
            $v$ is strictly increasing on $\naturalsPlus$ and
            for all $n\in\naturalsPlus$ we have $t(n) = \apply{s}{\apply{v}{n}}$ by \cref{subsequence}.
        Let $m_2 = 1 + 1$.
        Let $\delta = \epsilon / m_2$.
        $1\in\reals$ and $m_2\in\reals$ and $0\in\reals$ and $0 < 1$
            by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_add_ident,real_zero_lt_one}.
        Hence $0 < m_2$ by \cref{real_lt_add,real_add_ident,real_lt_subst_right,real_lt_trans}.
        $m_2\neq 0$ by \cref{real_pos_nonzero}.
        Thus $\inv{m_2}\in\reals$ and $0 < \inv{m_2}$ by \cref{real_mul_inverse,real_inv_pos}.
        $\delta = \epsilon \rmul \inv{m_2}$ by \cref{real_div}.
        Hence $0 < \delta$ by \cref{real_lt_mul_pos,real_mul_zero,real_lt_subst_right}.
        $\metricBall{d}{X}{x}{\delta}\in\pow{X}$ by \cref{metric_ball,subseteq,powerset_intro}.
        $x\in X$ and $\delta\in\reals$ and $0 < \delta$.
        Therefore $\metricBall{d}{X}{x}{\delta}\in\metricBasis{d}{X}$ by \cref{metric_basis}.
        Hence $\metricBall{d}{X}{x}{\delta}\in T$
            by \cref{metric_basis_is_basis,basis_elem_open_in_generated,metric_topology}.
        Hence $\metricBall{d}{X}{x}{\delta}$ is open in $X$ with respect to $T$
            by \cref{open_in,basis_topology_is_topology,metric_topology,metric_basis_is_basis,basis_for_topology}.
        Therefore $\metricBall{d}{X}{x}{\delta}$ is a neighborhood of $x$ in $X$ with respect to $T$
            by \cref{metric_ball,metric_zero_characterization,real_lt_subst_left,metric_on,neighborhood}.
        Take $N\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N\leq n$ then $t(n)\in\metricBall{d}{X}{x}{\delta}$ by \cref{converges_to}.
        $N + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
        $N\leq N + 1$.
        Hence $t(N)\in\metricBall{d}{X}{x}{\delta}$ and $t(N + 1)\in\metricBall{d}{X}{x}{\delta}$ by \cref{converges_to}.
        Therefore $d((x,t(N))) < \delta$ and $d((x,t(N + 1))) < \delta$ by \cref{metric_ball}.
        $t(N)\in X$ and $t(N + 1)\in X$ by \cref{sequence_in,funs_type_apply}.
        Hence $d((t(N),x)) < \delta$ by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
        $d$ satisfies the triangle inequality on $X$ by \cref{metric_on}.
        Therefore $d((t(N),t(N + 1))) \leq d((t(N),x)) + d((x,t(N + 1)))$ by \cref{metric_triangle_inequality}.
        $(t(N),x)\in X\times X$ and $(x,t(N + 1))\in X\times X$ and
            $d\in\funs{X\times X}{\reals}$ by \cref{times_tuple_intro,metric_on}.
        $d((t(N),x))\in\reals$ and $d((x,t(N + 1)))\in\reals$ by \cref{funs_type_apply}.
        $\delta\in\reals$.
        Hence $d((x,t(N + 1))) + d((t(N),x)) < \delta + d((t(N),x))$ by \cref{real_lt_add}.
        $d((x,t(N + 1))) + d((t(N),x)) = d((t(N),x)) + d((x,t(N + 1)))$ and
            $\delta + d((t(N),x)) = d((t(N),x)) + \delta$ by \cref{real_add_comm}.
        Therefore $d((t(N),x)) + d((x,t(N + 1))) < d((t(N),x)) + \delta$
            by \cref{real_lt_subst_left,real_lt_subst_right}.
        $d((t(N),x)) + \delta < \delta + \delta$ by \cref{real_lt_add}.
        Hence $d((t(N),x)) + d((x,t(N + 1))) < \delta + \delta$
            by \cref{real_add_closed,real_lt_trans}.
        Therefore $d((t(N),x)) + d((x,t(N + 1))) < \epsilon$
            by \cref{real_mul_assoc,real_mul_inverse,real_mul_comm,real_mul_ident,real_right_distrib,real_lt_subst_right}.
        Thus $d((t(N),t(N + 1))) < \epsilon$
            by \cref{real_leq_split,times_tuple_intro,metric_on,funs_type_apply,real_add_closed,real_lt_trans,real_lt_subst_left}.
        $v(N)\in\naturalsPlus$ and $v(N + 1)\in\naturalsPlus$ by \cref{strictly_increasing_on_set,funs_type_apply}.
        Hence $N < N + 1$ by \cref{real_naturals_lt_succ_local}.
        Therefore $v(N) < v(N + 1)$ by \cref{strictly_increasing_on_set}.
        $t(N) = \apply{s}{\apply{v}{N}}$ and $t(N + 1) = \apply{s}{\apply{v}{(N + 1)}}$.
        Hence it is wrong that $d((\apply{s}{\apply{v}{N}},\apply{s}{\apply{v}{(N + 1)}})) < \epsilon$.
        Therefore it is wrong that $d((t(N),t(N + 1))) < \epsilon$
            by \cref{pair_eq_iff,real_lt_subst_left}.
        Contradiction.
    \end{byCase}
\end{proof}
Theorem 72
metrizable_compact_iff_limit_point_compact_iff_sequentially_compact

Assume $T$ is a topology on $X$.
Suppose $X$ is metrizable with respect to $T$.
Then $X$ is compact with respect to $T$ iff $X$ is limit point compact with respect to $T$ and $X$ is sequentially compact with respect to $T$.

LaTeX source
\begin{theorem}
\label{metrizable_compact_iff_limit_point_compact_iff_sequentially_compact}
    Assume $T$ is a topology on $X$.
    Suppose $X$ is metrizable with respect to $T$.
    Then $X$ is compact with respect to $T$ iff
        $X$ is limit point compact with respect to $T$ and
        $X$ is sequentially compact with respect to $T$.
\end{theorem}
Proof

Take $d$ such that $d$ is a metric on $X$ and $T = \metricTopology{d}{X}$.

Claim: If $X$ is compact with respect to $T$ then $X$ is limit point compact with respect to $T$.

Follows by Theorem 70.

Claim: If $X$ is sequentially compact with respect to $T$ then $X$ is compact with respect to $T$.

Assume $X$ is sequentially compact with respect to $T$.

Claim: For all $A$ if $A$ is an open covering of $X$ with respect to $T$ then there exists $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ and $B$ is finite and $B$ is a covering of $X$.

Fix $A$ such that $A$ is an open covering of $X$ with respect to $T$.

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

Let $B = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

Claim: There exists $C$ such that $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ and $C$ is finite and $C$ is a covering of $X$.
Case. $X\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.

Take $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and for all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and for all $x,y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ there exists $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Lemma 406.
Let $m_2 = 1 + 1$.
Let $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = \class{latex-symbol-tip latex-symbol-id-delta}{\delta} / m_2$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Axiom 21, Proposition 462.
Hence $m_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Therefore $0 < m_2$ by Axiom 17, Axiom 36, Axiom 37, Lemma 82.
$m_2\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
Hence $\inv{m_2}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22.
Therefore $0 < \inv{m_2}$ by Proposition 463.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} = \class{latex-symbol-tip latex-symbol-id-delta}{\delta} \rmul \inv{m_2}$ by Definition 65.
$\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
Hence $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 17, Axiom 38, Lemma 82, Proposition 439.
Take $B$ such that $B$ is finite and $B$ is a covering of $X$ and for all $U\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $U = \metricBall{d}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Lemma 408.

Claim: For all $V\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ there exists $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.

Fix $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Take $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $V = \metricBall{d}{X}{x_0}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$.

Claim: For all $x,y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ we have $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$.

Fix $x$.
Fix $y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
$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, Definition 180.
Hence $d((x_0,x)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ and $d((x_0,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 180.
Therefore $d((x,y)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d((x,x_0)) + d((x_0,y))$ by Definition 178, Definition 179.
$d((x,x_0)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 177, Definition 179, Lemma 82.

Claim: $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

$(x,x_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)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ by Proposition 115.
$d((x,x_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_0,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 361.
Hence $d((x,x_0)) + d((x_0,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + d((x_0,y))$ by Axiom 37.
$d((x,x_0)) + d((x_0,y)) = d((x_0,y)) + d((x,x_0))$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + d((x_0,y)) = d((x_0,y)) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 16.
Therefore $d((x,x_0)) + d((x_0,y)) < d((x_0,y)) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 82, Lemma 83.
$d((x_0,y)) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 37, Definition 180.
Hence $d((x,x_0)) + d((x_0,y))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d((x_0,y)) + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Therefore $d((x,x_0)) + d((x_0,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36.
$d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 36, Lemma 81, Lemma 82.

Hence $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65, Lemma 9, Lemma 83.

$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 180.
Hence there exists $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.

Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} B\class{latex-symbol-tip latex-symbol-id-times}{\times} A \mid \fst{w}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{w}\}$.

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

Fix $V\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.
$(V,U)\class{latex-symbol-tip latex-symbol-id-in}{\in} B\class{latex-symbol-tip latex-symbol-id-times}{\times} A$ by Proposition 115.
Hence $\fst{(V,U)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{(V,U)}$ by Axiom 10, Axiom 11.
Therefore $V\mathrel{R} U$.

Take $h$ such that $h$ is a function on $B$ and for all $V\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $V\mathrel{R}\apply{h}{V}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
Let $C = \img{h}{B}$.
Hence $C$ is finite by Lemma 192.
Therefore $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 1, Proposition 114, Proposition 235, Proposition 346.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{C}$ by Axiom 4, Axiom 10, Axiom 11, Definition 1, Definition 245, Proposition 235, Proposition 348.
Hence $C$ is a covering of $X$ by Definition 1, Definition 245.

Claim: There exists $D$ such that $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ and $D$ is finite and $D$ is a covering of $X$.

Trivial.

LaTeX source
\begin{byCase}
            \caseOf{$X = \emptyset$.}
                Let $B = \emptyset$.
                Show that there exists $C$ such that $C\subseteq A$ and $C$ is finite and $C$ is a covering of $X$.
                \begin{subproof}
                    Follows by \cref{emptyset_subseteq,emptyset_is_finite,unions_emptyset,covering}.
                \end{subproof}
            \caseOf{$X\neq\emptyset$.}
                Take $\delta\in\reals$ such that $0 < \delta$ and
                    for all $B$ such that $B\subseteq X$ and
                        for all $x,y\in B$ we have $d((x,y)) < \delta$
                    there exists $U\in A$ such that $B\subseteq U$
                    by \cref{sequentially_compact_lebesgue}.
                Let $m_2 = 1 + 1$.
                Let $\epsilon = \delta / m_2$.
                $1\in\reals$ and $0\in\reals$ and $0 < 1$
                    by \cref{real_mul_ident,real_add_ident,real_zero_lt_one}.
                Hence $m_2\in\reals$ by \cref{real_add_closed}.
                Therefore $0 < m_2$ by \cref{real_lt_add,real_add_ident,real_lt_subst_left,real_lt_trans}.
                $m_2\neq 0$ by \cref{real_pos_nonzero}.
                Hence $\inv{m_2}\in\reals$ by \cref{real_mul_inverse}.
                Therefore $0 < \inv{m_2}$ by \cref{real_inv_pos}.
                $\epsilon = \delta \rmul \inv{m_2}$ by \cref{real_div}.
                $\epsilon\in\reals$ by \cref{real_mul_closed}.
                Hence $0 < \epsilon$ by \cref{real_add_ident,real_lt_mul_pos,real_mul_zero,real_lt_subst_left}.
                Take $B$ such that
                    $B$ is finite and
                    $B$ is a covering of $X$ and
                    for all $U\in B$ there exists $x\in X$ such that $U = \metricBall{d}{X}{x}{\epsilon}$
                    by \cref{sequentially_compact_finite_ball_cover}.

                Show that for all $V\in B$ there exists $U\in A$ such that $V\subseteq U$.
                \begin{subproof}
                    Fix $V$ such that $V\in B$.
                    Take $x_0\in X$ such that $V = \metricBall{d}{X}{x_0}{\epsilon}$.
                    Show that for all $x,y\in V$ we have $d((x,y)) < \delta$.
                    \begin{subproof}
                        Fix $x$.
                        Fix $y$ such that $x\in V$ and $y\in V$.
                        $x\in X$ and $y\in X$ by \cref{metric_ball,subseteq}.
                        Hence $d((x_0,x)) < \epsilon$ and $d((x_0,y)) < \epsilon$ by \cref{metric_ball}.
                        Therefore $d((x,y)) \leq d((x,x_0)) + d((x_0,y))$ by \cref{metric_on,metric_triangle_inequality}.
                        $d((x,x_0)) < \epsilon$ by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        Show that $d((x,y)) < \epsilon + \epsilon$.
                        \begin{subproof}
                            $(x,x_0)\in X\times X$ and $(x_0,y)\in X\times X$ and $(x,y)\in X\times X$
                                by \cref{times_tuple_intro}.
                            $d((x,x_0))\in\reals$ and $d((x_0,y))\in\reals$ and $d((x,y))\in\reals$
                                by \cref{metric_on,funs_type_apply}.
                            Hence $d((x,x_0)) + d((x_0,y)) < \epsilon + d((x_0,y))$ by \cref{real_lt_add}.
                            $d((x,x_0)) + d((x_0,y)) = d((x_0,y)) + d((x,x_0))$ and
                                $\epsilon + d((x_0,y)) = d((x_0,y)) + \epsilon$ by \cref{real_add_comm}.
                            Therefore $d((x,x_0)) + d((x_0,y)) < d((x_0,y)) + \epsilon$
                                by \cref{real_lt_subst_left,real_lt_subst_right}.
                            $d((x_0,y)) + \epsilon < \epsilon + \epsilon$ by \cref{metric_ball,real_lt_add}.
                            Hence $d((x,x_0)) + d((x_0,y))\in\reals$ and $d((x_0,y)) + \epsilon\in\reals$ and
                                $\epsilon + \epsilon\in\reals$ by \cref{real_add_closed}.
                            Therefore $d((x,x_0)) + d((x_0,y)) < \epsilon + \epsilon$ by \cref{real_lt_trans}.
                            $d((x,y)) < \epsilon + \epsilon$
                                by \cref{real_leq_split,real_lt_trans,real_lt_subst_left}.
                        \end{subproof}
                        Hence $d((x,y)) < \delta$
                            by \cref{real_div,real_mul_assoc,real_mul_inverse,real_mul_comm,real_mul_ident,real_right_distrib,real_lt_subst_right}.
                    \end{subproof}
                    $V\subseteq X$ by \cref{metric_ball,subseteq}.
                    Hence there exists $U\in A$ such that $V\subseteq U$.
                \end{subproof}

                Let $R = \{w\in B\times A \mid \fst{w}\subseteq \snd{w}\}$.
                Show that for all $V\in B$ there exists $U$ such that $V\mathrel{R} U$.
                \begin{subproof}
                    Fix $V\in B$.
                    Take $U\in A$ such that $V\subseteq U$.
                    $(V,U)\in B\times A$ by \cref{times_tuple_intro}.
                    Hence $\fst{(V,U)}\subseteq\snd{(V,U)}$ by \cref{fst_eq,snd_eq}.
                    Therefore $V\mathrel{R} U$.
                \end{subproof}
                Take $h$ such that $h$ is a function on $B$ and for all $V\in B$ we have $V\mathrel{R}\apply{h}{V}$
                    by \cref{subseteq,times_elem_is_tuple,relation,axiom_of_choice}.
                Let $C = \img{h}{B}$.
                Hence $C$ is finite by \cref{finite_image_function}.
                Therefore $C\subseteq A$ by \cref{img_iff,function_apply_intro,subseteq,times_tuple_elim}.
                For all $x$ such that $x\in X$ we have $x\in\unions{C}$
                    by \cref{covering,subseteq,unions_iff,fst_eq,snd_eq,function_apply_elim,img_iff}.
                Hence $C$ is a covering of $X$ by \cref{subseteq,covering}.
                Show that there exists $D$ such that $D\subseteq A$ and $D$ is finite and $D$ is a covering of $X$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
            
\end{byCase}

Hence $X$ is compact with respect to $T$ by Definition 247.

Claim: If $X$ is limit point compact with respect to $T$ then $X$ is sequentially compact with respect to $T$.

Assume $X$ is limit point compact with respect to $T$.

Claim: For all $s$ such that $s$ is a sequence in $X$ there exist $t,x$ such that $t$ is a sequence in $X$ and $t$ is a subsequence of $s$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $t$ converges to $x$ in $X$ with respect to $T$.

Fix $s$ such that $s$ is a sequence in $X$.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{X}$ by Definition 158.
Let $A = \ran{s}$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Proposition 363.

Case. $A$ is finite.

For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{s}$ we have $s(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 208, Proposition 348, Proposition 356.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{A}$.
Hence $s$ is a sequence in $A$ by Definition 158.
Take $t,a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $t$ is a sequence in $A$ and $t$ is a subsequence of $s$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = a$ by Lemma 404.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
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} X$ by Definition 1, Definition 55, Definition 158, Proposition 361.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{X}$.
Hence $t$ is a sequence in $X$ by Definition 158.
Hence $t$ converges to $a$ in $X$ with respect to $T$ by Axiom 42, Definition 1, Definition 153, Definition 159.

Claim: There exist $u,b$ such that $u$ is a sequence in $X$ and $u$ is a subsequence of $s$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $u$ converges to $b$ in $X$ with respect to $T$.

Trivial.

Case. $A$ is infinite.

Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$ by Definition 257.

Hence $X$ satisfies the T-one axiom with respect to $T$ by Definition 157, Definition 185, Lemma 395, Theorem 14.

For all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$ we have $U\inter A$ is infinite by Theorem 15.

For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\metricBall{d}{X}{x}{1 / n}$ is a neighborhood of $x$ in $X$ with respect to $T$ by Axiom 14, Axiom 17, Axiom 22, Axiom 36, Axiom 41, Axiom 42, Axiom 43, Definition 1, Definition 65, Definition 103, Definition 115, Definition 153, Definition 176, Definition 179, Definition 180, Definition 181, Definition 182, Lemma 20, Lemma 76, Lemma 77, Lemma 82, Lemma 83, Lemma 194, Lemma 267, Proposition 155, Proposition 462.

Let $D = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus \mid \apply{s}{\snd{w}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{1 / (\fst{w})}\}$.

Let $U_1 = \metricBall{d}{X}{x}{1 / 1}$.
Hence $U_1\inter A$ is infinite by Axiom 42, Definition 1.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U_1\inter A$ by Lemma 35, Proposition 10.
Take $k$ such that $(k,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} s$ by Proposition 63, Proposition 208.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $s(k) = y$ by Definition 1, Definition 15, Definition 55, Definition 158, Proposition 349, Proposition 356.
Let $a_0 = (1,k)$.
Hence $a_0\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $\fst{a_0} = 1$ by Axiom 10, Axiom 11, Axiom 42, Proposition 62, 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.
$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.
Let $V = \metricBall{d}{X}{x}{1 / (n_0 + 1)}$.
Hence $V$ is a neighborhood of $x$ in $X$ with respect to $T$ by Axiom 45, Definition 1.
Hence $V\inter A$ is infinite.
Let $J = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \apply{s}{m}\class{latex-symbol-tip latex-symbol-id-in}{\in} V\}$.

Claim: $J$ is infinite.

Suppose not.
$J$ is finite.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{J}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V\inter A$ by Definition 1, Proposition 61, Proposition 208, Proposition 235, Proposition 346, Proposition 356.
Hence $\img{s}{J}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V\inter A$ by Definition 1.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V\inter A$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{J}$ by Definition 1, Definition 15, Definition 55, Definition 158, Proposition 62, Proposition 63, Proposition 208, Proposition 235, Proposition 346, Proposition 356.
Therefore $V\inter A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{s}{J}$ by Definition 1.
$\img{s}{J} = V\inter A$ by Proposition 3.
Let $g = \restrl{s}{J}$.
Hence $g$ is a function on $J$ by Definition 1, Definition 158, Proposition 70, Proposition 356, Proposition 359, Proposition 383, Corollary 3.
Therefore $\img{g}{J} = V\inter A$ by Definition 1, Definition 158, Proposition 2, Proposition 69, Proposition 273, Proposition 359.
$\img{g}{J}$ is finite by Lemma 192.
Hence $V\inter A$ is finite.
Contradiction.

Claim: There exists $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $m_0 < k_1$.

Suppose not.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m_0$.
Hence $J$ is finite by Definition 1, Definition 84, Lemma 44, Lemma 208.
Contradiction.

Take $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ such that $m_0 < k_1$.
$\apply{s}{k_1}\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Let $q = (n_0 + 1,k_1)$.
Hence $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ by Axiom 45, Definition 1, Proposition 115.
Therefore $\fst{q} = n_0 + 1$ and $\snd{q} = k_1$ by Axiom 10, Axiom 11.
$\apply{s}{\snd{q}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{1 / (n_0 + 1)}$ by Lemma 82.
Hence $\apply{s}{\snd{q}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{1 / (\fst{q})}$ by Lemma 83.
Therefore $q\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
$k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Hence $n_0 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
Therefore $(p,q) = ((n_0,m_0),(n_0 + 1,k_1))$ by Axiom 6, Axiom 45.
$(p,q)\class{latex-symbol-tip latex-symbol-id-in}{\in} D\class{latex-symbol-tip latex-symbol-id-times}{\times} D$ by Proposition 115.
Hence $\fst{\snd{(p,q)}} = n_0 + 1$ and $\fst{\fst{(p,q)}} = n_0$ by Axiom 10, Axiom 11.
Therefore $\snd{\fst{(p,q)}} = m_0$ and $\snd{\snd{(p,q)}} = k_1$ by Axiom 10, Axiom 11.
$\fst{\snd{(p,q)}} = \fst{\fst{(p,q)}} + 1$ and $\snd{\fst{(p,q)}} < \snd{\snd{(p,q)}}$ by Lemma 82, Lemma 83, Proposition 437.
Hence $(p,q)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$.
Therefore $p\mathrel{R} q$.
There exists $r$ such that $p\mathrel{R} r$.

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.
Hence $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{D}{D}$ by Definition 1, Proposition 114, Proposition 358.
Take $v$ such that $v$ is a sequence in $D$ and $v(1) = a_0$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $v(n + 1) = \apply{f}{v(n)}$ by Lemma 407.

Let $g = \{(p,\snd{p}) \mid p\class{latex-symbol-tip latex-symbol-id-in}{\in} D\}$.
For all $p,y_1,y_2$ such that $(p,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(p,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $y_1 = y_2$.
Therefore $g$ is a function by 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.
Hence $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} v$.
Hence $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{v(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{v(n)} = n\}$.

Claim: 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$.

$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.

Claim: $1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Claim: 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$.

Fix $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
$\fst{v(n)} = n$.
Let $p = v(n)$.
Let $q = \apply{f}{p}$.
Hence $v(n + 1) = q$ by Axiom 45, Lemma 407.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 158, Proposition 361.
Hence $q\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 361.
Take $n_0,k_0$ such that $p = (n_0,k_0)$ by Proposition 121.
Take $n_1,k_1$ such that $q = (n_1,k_1)$ by Proposition 121.
$n_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Proposition 114.
Hence $p\mathrel{R} q$.
Therefore $\fst{q} = \fst{p} + 1$ and $\snd{p} < \snd{q}$ by Axiom 10, Axiom 11.
$(v(n),v(n + 1)) = ((n_0,k_0),(n_1,k_1))$ by Axiom 6.
Hence $n_1 = n_0 + 1$ and $k_0 < k_1$ by Axiom 10, Axiom 11, Lemma 82, Lemma 83, Proposition 437.
Therefore $\fst{v(n + 1)} = n + 1$ by Axiom 6, Axiom 10, Axiom 16, Axiom 17.
Hence $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.

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 $\apply{s}{u(n)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{X}{x}{1 / n}$ by Axiom 11, Definition 1, Definition 158, Proposition 361.

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

Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Let $p = v(n)$.
Let $q = \apply{f}{p}$.
Hence $v(n + 1) = q$ by Lemma 407.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 158, Proposition 361.
Hence $q\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 361.
Take $n_0,k_0$ such that $p = (n_0,k_0)$ by Proposition 121.
Take $n_1,k_1$ such that $q = (n_1,k_1)$ by Proposition 121.
$n_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Proposition 114.
Hence $p\mathrel{R} q$.
Therefore $\fst{q} = \fst{p} + 1$ and $\snd{p} < \snd{q}$ by Axiom 10, Axiom 11.
$(v(n),v(n + 1)) = ((n_0,k_0),(n_1,k_1))$ by Axiom 6.
Hence $n_1 = n_0 + 1$ and $k_0 < k_1$ by Axiom 10, Axiom 11, Lemma 82, Lemma 83, Proposition 437.
Therefore $u(n) < u(n + 1)$ by Axiom 6, Axiom 11, Axiom 45, Lemma 82, Lemma 83.

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

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)$}\}$.

Claim: 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$.

$T_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.

Claim: $1\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$.
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.
Thus $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(n) < u(n + 1)$.
Therefore $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(n) < u(n + 1)$.
                                    Therefore $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}

Hence $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.

Thus 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.

Hence $u$ is strictly increasing on $\naturalsPlus$ by Definition 158, Definition 258.

Let $t = s\class{latex-symbol-tip latex-symbol-id-circ}{\circ} u$.
Hence $t$ is a sequence in $X$ by Definition 158, Proposition 382.

For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $t(n) = \apply{s}{\apply{u}{n}}$ by Definition 55, Definition 158, Proposition 257, Proposition 346, Proposition 348, Proposition 356, Proposition 361.
Hence $t$ is a subsequence of $s$ by Definition 259.

Claim: For all $U$ if $U$ is a neighborhood of $x$ in $X$ with respect to $T$ then 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 $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.

Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
$U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 153.
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}{X}{x}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1, Definition 101, Definition 103, Lemma 195, Proposition 156.
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 $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.

Hence there exists $M\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 $M\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $t(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.

Hence $t$ converges to $x$ in $X$ with respect to $T$ by Definition 159.

Claim: There exist $r,b$ such that $r$ is a sequence in $X$ and $r$ is a subsequence of $s$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $r$ converges to $b$ in $X$ with respect to $T$.

Trivial.

LaTeX source
\begin{byCase}
            \caseOf{$A$ is finite.}
                For all $n\in\dom{s}$ we have $s(n)\in A$
                    by \cref{funs_is_function,function_apply_elim,ran_iff}.
                $s\in\funs{\naturalsPlus}{A}$.
                Hence $s$ is a sequence in $A$ by \cref{sequence_in}.
                Take $t,a$ such that
                    $a\in A$ and
                    $t$ is a sequence in $A$ and
                    $t$ is a subsequence of $s$ and
                    for all $n\in\naturalsPlus$ we have $t(n) = a$
                    by \cref{finite_sequence_constant_subsequence}.
                $a\in X$ by \cref{subseteq}.
                For all $n\in\dom{t}$ we have $t(n)\in X$
                    by \cref{sequence_in,funs,funs_type_apply,subseteq}.
                $t\in\funs{\naturalsPlus}{X}$.
                Hence $t$ is a sequence in $X$ by \cref{sequence_in}.
                Hence $t$ converges to $a$ in $X$ with respect to $T$
                    by \cref{neighborhood,real_one_in_naturals,subseteq,converges_to}.
                Show that there exist $u,b$ such that
                    $u$ is a sequence in $X$ and
                    $u$ is a subsequence of $s$ and
                    $b\in X$ and
                    $u$ converges to $b$ in $X$ with respect to $T$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
            \caseOf{$A$ is infinite.}
                Take $x\in X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$
                    by \cref{limit_point_compact}.

                Hence $X$ satisfies the T-one axiom with respect to $T$
                    by \cref{metrizable,metric_space_hausdorff,finite_point_set_closed_hausdorff,t1_axiom}.

                For all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$
                    we have $U\inter A$ is infinite by \cref{limit_point_infinite_neighborhood}.

                For all $n\in\naturalsPlus$ we have
                    $\metricBall{d}{X}{x}{1 / n}$ is a neighborhood of $x$ in $X$ with respect to $T$
                    by \cref{positive_reciprocal_naturalsplus,real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans,real_pos_nonzero,real_mul_inverse,real_div,real_mul_closed,metric_ball,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,metric_topology,basis_for_topology,basis_topology_is_topology,open_in,metric_zero_characterization,metric_on,real_lt_subst_left,neighborhood}.

                Let $D = \{w\in\naturalsPlus\times\naturalsPlus \mid
                    \apply{s}{\snd{w}}\in\metricBall{d}{X}{x}{1 / (\fst{w})}\}$.

                Let $U_1 = \metricBall{d}{X}{x}{1 / 1}$.
                Hence $U_1\inter A$ is infinite by \cref{real_one_in_naturals,subseteq}.
                Take $y$ such that $y\in U_1\inter A$ by \cref{emptyset_is_finite,nonempty_inhabited}.
                Take $k$ such that $(k,y)\in s$ by \cref{inter_elim_right,ran_iff}.
                $k\in\naturalsPlus$ and $s(k) = y$
                    by \cref{dom,funs,subseteq,sequence_in,function_apply_iff,funs_is_function}.
                Let $a_0 = (1,k)$.
                Hence $a_0\in D$ and $\fst{a_0} = 1$
                    by \cref{real_one_in_naturals,times_tuple_intro,inter_elim_left,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}.
                    $n_0\in\naturalsPlus$ and $m_0\in\naturalsPlus$ by \cref{times_tuple_elim}.
                    Let $V = \metricBall{d}{X}{x}{1 / (n_0 + 1)}$.
                    Hence $V$ is a neighborhood of $x$ in $X$ with respect to $T$ by \cref{real_naturals_closed_succ,subseteq}.
                    Hence $V\inter A$ is infinite.
                    Let $J = \{m\in\naturalsPlus \mid \apply{s}{m}\in V\}$.
                    Show that $J$ is infinite.
                    \begin{subproof}
                        Suppose not.
                        $J$ is finite.
                        For all $y$ such that $y\in\img{s}{J}$ we have $y\in V\inter A$
                            by \cref{img_iff,function_apply_intro,funs_is_function,subseteq,ran_iff,inter_intro}.
                        Hence $\img{s}{J}\subseteq V\inter A$ by \cref{subseteq}.
                        For all $y$ such that $y\in V\inter A$ we have $y\in\img{s}{J}$
                            by \cref{inter_elim_right,ran_iff,dom,funs,subseteq,sequence_in,function_apply_intro,funs_is_function,inter_elim_left,img_iff}.
                        Therefore $V\inter A\subseteq \img{s}{J}$ by \cref{subseteq}.
                        $\img{s}{J} = V\inter A$ by \cref{subseteq_antisymmetric}.
                        Let $g = \restrl{s}{J}$.
                        Hence $g$ is a function on $J$
                            by \cref{sequence_in,funs_is_function,restrl_of_function_is_function,dom_of_restrl_eq_inter,funs_elim,subseteq,inter_absorb_supseteq_left}.
                        Therefore $\img{g}{J} = V\inter A$
                            by \cref{sequence_in,funs_elim,subseteq,restrl_img,subseteq_refl,inter_absorb_supseteq_right}.
                        $\img{g}{J}$ is finite by \cref{finite_image_function}.
                        Hence $V\inter A$ is finite.
                        Contradiction.
                    \end{subproof}
                    Show that there exists $k_1\in J$ such that $m_0 < k_1$.
                    \begin{subproof}
                        Suppose not.
                        For all $m\in J$ we have $m \leq m_0$.
                        Hence $J$ is finite
                            by \cref{initial_segment_naturalsplus,subseteq,initial_segment_finite,subseteq_finite_is_finite}.
                        Contradiction.
                    \end{subproof}
                    Take $k_1\in J$ such that $m_0 < k_1$.
                    $\apply{s}{k_1}\in V$.
                    Let $q = (n_0 + 1,k_1)$.
                    Hence $q\in\naturalsPlus\times\naturalsPlus$ by \cref{real_naturals_closed_succ,subseteq,times_tuple_intro}.
                    Therefore $\fst{q} = n_0 + 1$ and $\snd{q} = k_1$ by \cref{fst_eq,snd_eq}.
                    $\apply{s}{\snd{q}}\in\metricBall{d}{X}{x}{1 / (n_0 + 1)}$ by \cref{real_lt_subst_left}.
                    Hence $\apply{s}{\snd{q}}\in\metricBall{d}{X}{x}{1 / (\fst{q})}$ by \cref{real_lt_subst_right}.
                    Therefore $q\in D$ by \cref{subseteq}.
                    $k_1\in\naturalsPlus$ by \cref{subseteq}.
                    Hence $n_0 + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Therefore $(p,q) = ((n_0,m_0),(n_0 + 1,k_1))$ by \cref{real_naturals_closed_succ,pair_eq_iff}.
                    $(p,q)\in D\times D$ by \cref{times_tuple_intro}.
                    Hence $\fst{\snd{(p,q)}} = n_0 + 1$ and $\fst{\fst{(p,q)}} = n_0$
                        by \cref{fst_eq,snd_eq}.
                    Therefore $\snd{\fst{(p,q)}} = m_0$ and $\snd{\snd{(p,q)}} = k_1$
                        by \cref{fst_eq,snd_eq}.
                    $\fst{\snd{(p,q)}} = \fst{\fst{(p,q)}} + 1$ and
                        $\snd{\fst{(p,q)}} < \snd{\snd{(p,q)}}$
                        by \cref{real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
                    Hence $(p,q)\in R$.
                    Therefore $p\mathrel{R} q$.
                    There exists $r$ such that $p\mathrel{R} r$.
                \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}.
                Hence $f\in\funs{D}{D}$ by \cref{funs_intro,subseteq,times_tuple_elim}.
                Take $v$ such that
                    $v$ is a sequence in $D$ and
                    $v(1) = a_0$ and
                    for all $n\in\naturalsPlus$ we have $v(n + 1) = \apply{f}{v(n)}$
                    by \cref{iteration_sequence_naturalsplus}.

                Let $g = \{(p,\snd{p}) \mid p\in D\}$.
                For all $p,y_1,y_2$ such that $(p,y_1)\in g$ and $(p,y_2)\in g$ we have $y_1 = y_2$.
                Therefore $g$ is a function by \cref{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}.
                Hence $g\in\funs{D}{\naturalsPlus}$ by \cref{funs_intro}.

                Let $u = g\circ v$.
                Hence $u$ is a sequence in $\naturalsPlus$ by \cref{sequence_in,funs_circ}.

                For all $n\in\naturalsPlus$ we have $u(n) = \snd{v(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{v(n)} = n\}$.
                Show that for all $n\in\naturalsPlus$ we have $n\in P$.
                \begin{subproof}
                    $P\subseteq\naturalsPlus$ by \cref{subseteq}.
                    Show that $1\in P$.
                    \begin{subproof}
                        Follows by \cref{real_one_in_naturals,fst_eq,pair_eq_pair_of_proj}.
                    \end{subproof}
                    Show that for all $n\in P$ we have $n + 1\in P$.
                    \begin{subproof}
                        Fix $n$ such that $n\in P$.
                        $\fst{v(n)} = n$.
                        Let $p = v(n)$.
                        Let $q = \apply{f}{p}$.
                        Hence $v(n + 1) = q$ by \cref{real_naturals_closed_succ,iteration_sequence_naturalsplus}.
                        $p\in D$ by \cref{sequence_in,funs_type_apply}.
                        Hence $q\in D$ by \cref{funs_type_apply}.
                        Take $n_0,k_0$ such that $p = (n_0,k_0)$ by \cref{times_elem_is_tuple}.
                        Take $n_1,k_1$ such that $q = (n_1,k_1)$ by \cref{times_elem_is_tuple}.
                        $n_0\in\naturalsPlus$ and $k_0\in\naturalsPlus$ and
                            $n_1\in\naturalsPlus$ and $k_1\in\naturalsPlus$ by \cref{times_tuple_elim}.
                        Hence $p\mathrel{R} q$.
                        Therefore $\fst{q} = \fst{p} + 1$ and $\snd{p} < \snd{q}$ by \cref{fst_eq,snd_eq}.
                        $(v(n),v(n + 1)) = ((n_0,k_0),(n_1,k_1))$
                            by \cref{pair_eq_iff}.
                        Hence $n_1 = n_0 + 1$ and $k_0 < k_1$
                            by \cref{fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
                        Therefore $\fst{v(n + 1)} = n + 1$
                            by \cref{pair_eq_iff,fst_eq,real_add_comm,real_add_ident}.
                        Hence $n + 1\in P$.
                    \end{subproof}
                    Therefore for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
                \end{subproof}
                For all $n\in\naturalsPlus$ we have $\apply{s}{u(n)}\in\metricBall{d}{X}{x}{1 / n}$
                    by \cref{funs_type_apply,sequence_in,snd_eq,subseteq}.

                Show that for all $n\in\naturalsPlus$ we have $u(n) < u(n + 1)$.
                \begin{subproof}
                    Fix $n\in\naturalsPlus$.
                    Let $p = v(n)$.
                    Let $q = \apply{f}{p}$.
                    Hence $v(n + 1) = q$ by \cref{iteration_sequence_naturalsplus}.
                    $p\in D$ by \cref{sequence_in,funs_type_apply}.
                    Hence $q\in D$ by \cref{funs_type_apply}.
                    Take $n_0,k_0$ such that $p = (n_0,k_0)$ by \cref{times_elem_is_tuple}.
                    Take $n_1,k_1$ such that $q = (n_1,k_1)$ by \cref{times_elem_is_tuple}.
                    $n_0\in\naturalsPlus$ and $k_0\in\naturalsPlus$ and
                        $n_1\in\naturalsPlus$ and $k_1\in\naturalsPlus$ by \cref{times_tuple_elim}.
                    Hence $p\mathrel{R} q$.
                    Therefore $\fst{q} = \fst{p} + 1$ and $\snd{p} < \snd{q}$ by \cref{fst_eq,snd_eq}.
                    $(v(n),v(n + 1)) = ((n_0,k_0),(n_1,k_1))$
                        by \cref{pair_eq_iff}.
                    Hence $n_1 = n_0 + 1$ and $k_0 < k_1$
                        by \cref{fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
                    Therefore $u(n) < u(n + 1)$
                        by \cref{pair_eq_iff,snd_eq,real_naturals_closed_succ,real_lt_subst_left,real_lt_subst_right}.
                \end{subproof}

                Show that for all $m,n\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$.
                \begin{subproof}
                    Let $T_0 = \{n\in\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$}\}$.
                    Show that for all $n\in\naturalsPlus$ we have $n\in T_0$.
                    \begin{subproof}
                        $T_0\subseteq\naturalsPlus$ by \cref{subseteq}.
                        Show that $1\in T_0$.
                        \begin{subproof}
                            Follows 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}.
                        \end{subproof}
                        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.
                                Thus $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(n) < u(n + 1)$.
                                    Therefore $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}
                            Hence $n + 1\in T_0$.
                        \end{subproof}
                        Therefore for all $n\in\naturalsPlus$ we have $n\in T_0$ by \cref{real_naturals_induction}.
                    \end{subproof}
                    Thus for all $m,n\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$ by \cref{subseteq}.
                \end{subproof}
                Hence $u$ is strictly increasing on $\naturalsPlus$ by \cref{sequence_in,strictly_increasing_on_set}.

                Let $t = s\circ u$.
                Hence $t$ is a sequence in $X$ by \cref{sequence_in,funs_circ}.

                For all $n\in\naturalsPlus$ we have $t(n) = \apply{s}{\apply{u}{n}}$
                    by \cref{funs,sequence_in,funs_is_function,function_apply_elim,funs_type_apply,circ_iff,function_apply_intro}.
                Hence $t$ is a subsequence of $s$ by \cref{subsequence}.

                Show that for all $U$ if $U$ is a neighborhood of $x$ in $X$ with respect to $T$ then
                    there exists $N\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N\leq n$ then $t(n)\in U$.
                \begin{subproof}
                    Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
                    $U$ is open in $X$ with respect to $T$ and $x\in U$ by \cref{neighborhood}.
                    Take $\epsilon\in\reals$ such that $0 < \epsilon$ and $\metricBall{d}{X}{x}{\epsilon}\subseteq U$
                        by \cref{open_in,topology_on,subseteq,powerset_elim,metric_open_iff}.
                    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 $t(n)\in U$.
                        \begin{subproof}
                            Follows by \cref{naturalsplus_reciprocal_antitone,real_leq_split,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans,real_pos_nonzero,real_mul_inverse,real_div,real_mul_closed,metric_ball_mono,subseteq_transitive,funs_type_apply,sequence_in,snd_eq}.
                        \end{subproof}
                        Hence there exists $M\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $M\leq n$ then $t(n)\in U$.
                \end{subproof}
                Hence $t$ converges to $x$ in $X$ with respect to $T$ by \cref{converges_to}.
                Show that there exist $r,b$ such that
                    $r$ is a sequence in $X$ and
                    $r$ is a subsequence of $s$ and
                    $b\in X$ and
                    $r$ converges to $b$ in $X$ with respect to $T$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
            
\end{byCase}

Hence $X$ is sequentially compact with respect to $T$ by Definition 260.

Claim: If $X$ is compact with respect to $T$ then $X$ is limit point compact with respect to $T$ and $X$ is sequentially compact with respect to $T$.

Trivial.

Claim: If $X$ is limit point compact with respect to $T$ and $X$ is sequentially compact with respect to $T$ then $X$ is compact with respect to $T$.

Trivial.

LaTeX source
\begin{proof}
    Take $d$ such that $d$ is a metric on $X$ and $T = \metricTopology{d}{X}$.

    Show that if $X$ is compact with respect to $T$ then $X$ is limit point compact with respect to $T$.
    \begin{subproof}
        Follows by \cref{compact_implies_limit_point_compact}.
    \end{subproof}

    Show that if $X$ is sequentially compact with respect to $T$ then $X$ is compact with respect to $T$.
    \begin{subproof}
        Assume $X$ is sequentially compact with respect to $T$.
        Show that for all $A$ if $A$ is an open covering of $X$ with respect to $T$ then
            there exists $B$ such that $B\subseteq A$ and $B$ is finite and $B$ is a covering of $X$.
        \begin{subproof}
            Fix $A$ such that $A$ is an open covering of $X$ with respect to $T$.
            \begin{byCase}
            \caseOf{$X = \emptyset$.}
                Let $B = \emptyset$.
                Show that there exists $C$ such that $C\subseteq A$ and $C$ is finite and $C$ is a covering of $X$.
                \begin{subproof}
                    Follows by \cref{emptyset_subseteq,emptyset_is_finite,unions_emptyset,covering}.
                \end{subproof}
            \caseOf{$X\neq\emptyset$.}
                Take $\delta\in\reals$ such that $0 < \delta$ and
                    for all $B$ such that $B\subseteq X$ and
                        for all $x,y\in B$ we have $d((x,y)) < \delta$
                    there exists $U\in A$ such that $B\subseteq U$
                    by \cref{sequentially_compact_lebesgue}.
                Let $m_2 = 1 + 1$.
                Let $\epsilon = \delta / m_2$.
                $1\in\reals$ and $0\in\reals$ and $0 < 1$
                    by \cref{real_mul_ident,real_add_ident,real_zero_lt_one}.
                Hence $m_2\in\reals$ by \cref{real_add_closed}.
                Therefore $0 < m_2$ by \cref{real_lt_add,real_add_ident,real_lt_subst_left,real_lt_trans}.
                $m_2\neq 0$ by \cref{real_pos_nonzero}.
                Hence $\inv{m_2}\in\reals$ by \cref{real_mul_inverse}.
                Therefore $0 < \inv{m_2}$ by \cref{real_inv_pos}.
                $\epsilon = \delta \rmul \inv{m_2}$ by \cref{real_div}.
                $\epsilon\in\reals$ by \cref{real_mul_closed}.
                Hence $0 < \epsilon$ by \cref{real_add_ident,real_lt_mul_pos,real_mul_zero,real_lt_subst_left}.
                Take $B$ such that
                    $B$ is finite and
                    $B$ is a covering of $X$ and
                    for all $U\in B$ there exists $x\in X$ such that $U = \metricBall{d}{X}{x}{\epsilon}$
                    by \cref{sequentially_compact_finite_ball_cover}.

                Show that for all $V\in B$ there exists $U\in A$ such that $V\subseteq U$.
                \begin{subproof}
                    Fix $V$ such that $V\in B$.
                    Take $x_0\in X$ such that $V = \metricBall{d}{X}{x_0}{\epsilon}$.
                    Show that for all $x,y\in V$ we have $d((x,y)) < \delta$.
                    \begin{subproof}
                        Fix $x$.
                        Fix $y$ such that $x\in V$ and $y\in V$.
                        $x\in X$ and $y\in X$ by \cref{metric_ball,subseteq}.
                        Hence $d((x_0,x)) < \epsilon$ and $d((x_0,y)) < \epsilon$ by \cref{metric_ball}.
                        Therefore $d((x,y)) \leq d((x,x_0)) + d((x_0,y))$ by \cref{metric_on,metric_triangle_inequality}.
                        $d((x,x_0)) < \epsilon$ by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        Show that $d((x,y)) < \epsilon + \epsilon$.
                        \begin{subproof}
                            $(x,x_0)\in X\times X$ and $(x_0,y)\in X\times X$ and $(x,y)\in X\times X$
                                by \cref{times_tuple_intro}.
                            $d((x,x_0))\in\reals$ and $d((x_0,y))\in\reals$ and $d((x,y))\in\reals$
                                by \cref{metric_on,funs_type_apply}.
                            Hence $d((x,x_0)) + d((x_0,y)) < \epsilon + d((x_0,y))$ by \cref{real_lt_add}.
                            $d((x,x_0)) + d((x_0,y)) = d((x_0,y)) + d((x,x_0))$ and
                                $\epsilon + d((x_0,y)) = d((x_0,y)) + \epsilon$ by \cref{real_add_comm}.
                            Therefore $d((x,x_0)) + d((x_0,y)) < d((x_0,y)) + \epsilon$
                                by \cref{real_lt_subst_left,real_lt_subst_right}.
                            $d((x_0,y)) + \epsilon < \epsilon + \epsilon$ by \cref{metric_ball,real_lt_add}.
                            Hence $d((x,x_0)) + d((x_0,y))\in\reals$ and $d((x_0,y)) + \epsilon\in\reals$ and
                                $\epsilon + \epsilon\in\reals$ by \cref{real_add_closed}.
                            Therefore $d((x,x_0)) + d((x_0,y)) < \epsilon + \epsilon$ by \cref{real_lt_trans}.
                            $d((x,y)) < \epsilon + \epsilon$
                                by \cref{real_leq_split,real_lt_trans,real_lt_subst_left}.
                        \end{subproof}
                        Hence $d((x,y)) < \delta$
                            by \cref{real_div,real_mul_assoc,real_mul_inverse,real_mul_comm,real_mul_ident,real_right_distrib,real_lt_subst_right}.
                    \end{subproof}
                    $V\subseteq X$ by \cref{metric_ball,subseteq}.
                    Hence there exists $U\in A$ such that $V\subseteq U$.
                \end{subproof}

                Let $R = \{w\in B\times A \mid \fst{w}\subseteq \snd{w}\}$.
                Show that for all $V\in B$ there exists $U$ such that $V\mathrel{R} U$.
                \begin{subproof}
                    Fix $V\in B$.
                    Take $U\in A$ such that $V\subseteq U$.
                    $(V,U)\in B\times A$ by \cref{times_tuple_intro}.
                    Hence $\fst{(V,U)}\subseteq\snd{(V,U)}$ by \cref{fst_eq,snd_eq}.
                    Therefore $V\mathrel{R} U$.
                \end{subproof}
                Take $h$ such that $h$ is a function on $B$ and for all $V\in B$ we have $V\mathrel{R}\apply{h}{V}$
                    by \cref{subseteq,times_elem_is_tuple,relation,axiom_of_choice}.
                Let $C = \img{h}{B}$.
                Hence $C$ is finite by \cref{finite_image_function}.
                Therefore $C\subseteq A$ by \cref{img_iff,function_apply_intro,subseteq,times_tuple_elim}.
                For all $x$ such that $x\in X$ we have $x\in\unions{C}$
                    by \cref{covering,subseteq,unions_iff,fst_eq,snd_eq,function_apply_elim,img_iff}.
                Hence $C$ is a covering of $X$ by \cref{subseteq,covering}.
                Show that there exists $D$ such that $D\subseteq A$ and $D$ is finite and $D$ is a covering of $X$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
            \end{byCase}
        \end{subproof}
        Hence $X$ is compact with respect to $T$ by \cref{compact}.
    \end{subproof}

    Show that if $X$ is limit point compact with respect to $T$ then $X$ is sequentially compact with respect to $T$.
    \begin{subproof}
        Assume $X$ is limit point compact with respect to $T$.
        Show that for all $s$ such that $s$ is a sequence in $X$
            there exist $t,x$ such that
                $t$ is a sequence in $X$ and
                $t$ is a subsequence of $s$ and
                $x\in X$ and
                $t$ converges to $x$ in $X$ with respect to $T$.
        \begin{subproof}
            Fix $s$ such that $s$ is a sequence in $X$.
            $s\in\funs{\naturalsPlus}{X}$ by \cref{sequence_in}.
            Let $A = \ran{s}$.
            $A\subseteq X$ by \cref{funs_ran}.
            \begin{byCase}
            \caseOf{$A$ is finite.}
                For all $n\in\dom{s}$ we have $s(n)\in A$
                    by \cref{funs_is_function,function_apply_elim,ran_iff}.
                $s\in\funs{\naturalsPlus}{A}$.
                Hence $s$ is a sequence in $A$ by \cref{sequence_in}.
                Take $t,a$ such that
                    $a\in A$ and
                    $t$ is a sequence in $A$ and
                    $t$ is a subsequence of $s$ and
                    for all $n\in\naturalsPlus$ we have $t(n) = a$
                    by \cref{finite_sequence_constant_subsequence}.
                $a\in X$ by \cref{subseteq}.
                For all $n\in\dom{t}$ we have $t(n)\in X$
                    by \cref{sequence_in,funs,funs_type_apply,subseteq}.
                $t\in\funs{\naturalsPlus}{X}$.
                Hence $t$ is a sequence in $X$ by \cref{sequence_in}.
                Hence $t$ converges to $a$ in $X$ with respect to $T$
                    by \cref{neighborhood,real_one_in_naturals,subseteq,converges_to}.
                Show that there exist $u,b$ such that
                    $u$ is a sequence in $X$ and
                    $u$ is a subsequence of $s$ and
                    $b\in X$ and
                    $u$ converges to $b$ in $X$ with respect to $T$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
            \caseOf{$A$ is infinite.}
                Take $x\in X$ such that $x$ is a limit point of $A$ in $X$ with respect to $T$
                    by \cref{limit_point_compact}.

                Hence $X$ satisfies the T-one axiom with respect to $T$
                    by \cref{metrizable,metric_space_hausdorff,finite_point_set_closed_hausdorff,t1_axiom}.

                For all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$
                    we have $U\inter A$ is infinite by \cref{limit_point_infinite_neighborhood}.

                For all $n\in\naturalsPlus$ we have
                    $\metricBall{d}{X}{x}{1 / n}$ is a neighborhood of $x$ in $X$ with respect to $T$
                    by \cref{positive_reciprocal_naturalsplus,real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans,real_pos_nonzero,real_mul_inverse,real_div,real_mul_closed,metric_ball,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,metric_topology,basis_for_topology,basis_topology_is_topology,open_in,metric_zero_characterization,metric_on,real_lt_subst_left,neighborhood}.

                Let $D = \{w\in\naturalsPlus\times\naturalsPlus \mid
                    \apply{s}{\snd{w}}\in\metricBall{d}{X}{x}{1 / (\fst{w})}\}$.

                Let $U_1 = \metricBall{d}{X}{x}{1 / 1}$.
                Hence $U_1\inter A$ is infinite by \cref{real_one_in_naturals,subseteq}.
                Take $y$ such that $y\in U_1\inter A$ by \cref{emptyset_is_finite,nonempty_inhabited}.
                Take $k$ such that $(k,y)\in s$ by \cref{inter_elim_right,ran_iff}.
                $k\in\naturalsPlus$ and $s(k) = y$
                    by \cref{dom,funs,subseteq,sequence_in,function_apply_iff,funs_is_function}.
                Let $a_0 = (1,k)$.
                Hence $a_0\in D$ and $\fst{a_0} = 1$
                    by \cref{real_one_in_naturals,times_tuple_intro,inter_elim_left,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}.
                    $n_0\in\naturalsPlus$ and $m_0\in\naturalsPlus$ by \cref{times_tuple_elim}.
                    Let $V = \metricBall{d}{X}{x}{1 / (n_0 + 1)}$.
                    Hence $V$ is a neighborhood of $x$ in $X$ with respect to $T$ by \cref{real_naturals_closed_succ,subseteq}.
                    Hence $V\inter A$ is infinite.
                    Let $J = \{m\in\naturalsPlus \mid \apply{s}{m}\in V\}$.
                    Show that $J$ is infinite.
                    \begin{subproof}
                        Suppose not.
                        $J$ is finite.
                        For all $y$ such that $y\in\img{s}{J}$ we have $y\in V\inter A$
                            by \cref{img_iff,function_apply_intro,funs_is_function,subseteq,ran_iff,inter_intro}.
                        Hence $\img{s}{J}\subseteq V\inter A$ by \cref{subseteq}.
                        For all $y$ such that $y\in V\inter A$ we have $y\in\img{s}{J}$
                            by \cref{inter_elim_right,ran_iff,dom,funs,subseteq,sequence_in,function_apply_intro,funs_is_function,inter_elim_left,img_iff}.
                        Therefore $V\inter A\subseteq \img{s}{J}$ by \cref{subseteq}.
                        $\img{s}{J} = V\inter A$ by \cref{subseteq_antisymmetric}.
                        Let $g = \restrl{s}{J}$.
                        Hence $g$ is a function on $J$
                            by \cref{sequence_in,funs_is_function,restrl_of_function_is_function,dom_of_restrl_eq_inter,funs_elim,subseteq,inter_absorb_supseteq_left}.
                        Therefore $\img{g}{J} = V\inter A$
                            by \cref{sequence_in,funs_elim,subseteq,restrl_img,subseteq_refl,inter_absorb_supseteq_right}.
                        $\img{g}{J}$ is finite by \cref{finite_image_function}.
                        Hence $V\inter A$ is finite.
                        Contradiction.
                    \end{subproof}
                    Show that there exists $k_1\in J$ such that $m_0 < k_1$.
                    \begin{subproof}
                        Suppose not.
                        For all $m\in J$ we have $m \leq m_0$.
                        Hence $J$ is finite
                            by \cref{initial_segment_naturalsplus,subseteq,initial_segment_finite,subseteq_finite_is_finite}.
                        Contradiction.
                    \end{subproof}
                    Take $k_1\in J$ such that $m_0 < k_1$.
                    $\apply{s}{k_1}\in V$.
                    Let $q = (n_0 + 1,k_1)$.
                    Hence $q\in\naturalsPlus\times\naturalsPlus$ by \cref{real_naturals_closed_succ,subseteq,times_tuple_intro}.
                    Therefore $\fst{q} = n_0 + 1$ and $\snd{q} = k_1$ by \cref{fst_eq,snd_eq}.
                    $\apply{s}{\snd{q}}\in\metricBall{d}{X}{x}{1 / (n_0 + 1)}$ by \cref{real_lt_subst_left}.
                    Hence $\apply{s}{\snd{q}}\in\metricBall{d}{X}{x}{1 / (\fst{q})}$ by \cref{real_lt_subst_right}.
                    Therefore $q\in D$ by \cref{subseteq}.
                    $k_1\in\naturalsPlus$ by \cref{subseteq}.
                    Hence $n_0 + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
                    Therefore $(p,q) = ((n_0,m_0),(n_0 + 1,k_1))$ by \cref{real_naturals_closed_succ,pair_eq_iff}.
                    $(p,q)\in D\times D$ by \cref{times_tuple_intro}.
                    Hence $\fst{\snd{(p,q)}} = n_0 + 1$ and $\fst{\fst{(p,q)}} = n_0$
                        by \cref{fst_eq,snd_eq}.
                    Therefore $\snd{\fst{(p,q)}} = m_0$ and $\snd{\snd{(p,q)}} = k_1$
                        by \cref{fst_eq,snd_eq}.
                    $\fst{\snd{(p,q)}} = \fst{\fst{(p,q)}} + 1$ and
                        $\snd{\fst{(p,q)}} < \snd{\snd{(p,q)}}$
                        by \cref{real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
                    Hence $(p,q)\in R$.
                    Therefore $p\mathrel{R} q$.
                    There exists $r$ such that $p\mathrel{R} r$.
                \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}.
                Hence $f\in\funs{D}{D}$ by \cref{funs_intro,subseteq,times_tuple_elim}.
                Take $v$ such that
                    $v$ is a sequence in $D$ and
                    $v(1) = a_0$ and
                    for all $n\in\naturalsPlus$ we have $v(n + 1) = \apply{f}{v(n)}$
                    by \cref{iteration_sequence_naturalsplus}.

                Let $g = \{(p,\snd{p}) \mid p\in D\}$.
                For all $p,y_1,y_2$ such that $(p,y_1)\in g$ and $(p,y_2)\in g$ we have $y_1 = y_2$.
                Therefore $g$ is a function by \cref{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}.
                Hence $g\in\funs{D}{\naturalsPlus}$ by \cref{funs_intro}.

                Let $u = g\circ v$.
                Hence $u$ is a sequence in $\naturalsPlus$ by \cref{sequence_in,funs_circ}.

                For all $n\in\naturalsPlus$ we have $u(n) = \snd{v(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{v(n)} = n\}$.
                Show that for all $n\in\naturalsPlus$ we have $n\in P$.
                \begin{subproof}
                    $P\subseteq\naturalsPlus$ by \cref{subseteq}.
                    Show that $1\in P$.
                    \begin{subproof}
                        Follows by \cref{real_one_in_naturals,fst_eq,pair_eq_pair_of_proj}.
                    \end{subproof}
                    Show that for all $n\in P$ we have $n + 1\in P$.
                    \begin{subproof}
                        Fix $n$ such that $n\in P$.
                        $\fst{v(n)} = n$.
                        Let $p = v(n)$.
                        Let $q = \apply{f}{p}$.
                        Hence $v(n + 1) = q$ by \cref{real_naturals_closed_succ,iteration_sequence_naturalsplus}.
                        $p\in D$ by \cref{sequence_in,funs_type_apply}.
                        Hence $q\in D$ by \cref{funs_type_apply}.
                        Take $n_0,k_0$ such that $p = (n_0,k_0)$ by \cref{times_elem_is_tuple}.
                        Take $n_1,k_1$ such that $q = (n_1,k_1)$ by \cref{times_elem_is_tuple}.
                        $n_0\in\naturalsPlus$ and $k_0\in\naturalsPlus$ and
                            $n_1\in\naturalsPlus$ and $k_1\in\naturalsPlus$ by \cref{times_tuple_elim}.
                        Hence $p\mathrel{R} q$.
                        Therefore $\fst{q} = \fst{p} + 1$ and $\snd{p} < \snd{q}$ by \cref{fst_eq,snd_eq}.
                        $(v(n),v(n + 1)) = ((n_0,k_0),(n_1,k_1))$
                            by \cref{pair_eq_iff}.
                        Hence $n_1 = n_0 + 1$ and $k_0 < k_1$
                            by \cref{fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
                        Therefore $\fst{v(n + 1)} = n + 1$
                            by \cref{pair_eq_iff,fst_eq,real_add_comm,real_add_ident}.
                        Hence $n + 1\in P$.
                    \end{subproof}
                    Therefore for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
                \end{subproof}
                For all $n\in\naturalsPlus$ we have $\apply{s}{u(n)}\in\metricBall{d}{X}{x}{1 / n}$
                    by \cref{funs_type_apply,sequence_in,snd_eq,subseteq}.

                Show that for all $n\in\naturalsPlus$ we have $u(n) < u(n + 1)$.
                \begin{subproof}
                    Fix $n\in\naturalsPlus$.
                    Let $p = v(n)$.
                    Let $q = \apply{f}{p}$.
                    Hence $v(n + 1) = q$ by \cref{iteration_sequence_naturalsplus}.
                    $p\in D$ by \cref{sequence_in,funs_type_apply}.
                    Hence $q\in D$ by \cref{funs_type_apply}.
                    Take $n_0,k_0$ such that $p = (n_0,k_0)$ by \cref{times_elem_is_tuple}.
                    Take $n_1,k_1$ such that $q = (n_1,k_1)$ by \cref{times_elem_is_tuple}.
                    $n_0\in\naturalsPlus$ and $k_0\in\naturalsPlus$ and
                        $n_1\in\naturalsPlus$ and $k_1\in\naturalsPlus$ by \cref{times_tuple_elim}.
                    Hence $p\mathrel{R} q$.
                    Therefore $\fst{q} = \fst{p} + 1$ and $\snd{p} < \snd{q}$ by \cref{fst_eq,snd_eq}.
                    $(v(n),v(n + 1)) = ((n_0,k_0),(n_1,k_1))$
                        by \cref{pair_eq_iff}.
                    Hence $n_1 = n_0 + 1$ and $k_0 < k_1$
                        by \cref{fst_eq,snd_eq,real_lt_subst_left,real_lt_subst_right,real_add_eq_subst}.
                    Therefore $u(n) < u(n + 1)$
                        by \cref{pair_eq_iff,snd_eq,real_naturals_closed_succ,real_lt_subst_left,real_lt_subst_right}.
                \end{subproof}

                Show that for all $m,n\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$.
                \begin{subproof}
                    Let $T_0 = \{n\in\naturalsPlus \mid \text{for all $m\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$}\}$.
                    Show that for all $n\in\naturalsPlus$ we have $n\in T_0$.
                    \begin{subproof}
                        $T_0\subseteq\naturalsPlus$ by \cref{subseteq}.
                        Show that $1\in T_0$.
                        \begin{subproof}
                            Follows 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}.
                        \end{subproof}
                        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.
                                Thus $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(n) < u(n + 1)$.
                                    Therefore $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}
                            Hence $n + 1\in T_0$.
                        \end{subproof}
                        Therefore for all $n\in\naturalsPlus$ we have $n\in T_0$ by \cref{real_naturals_induction}.
                    \end{subproof}
                    Thus for all $m,n\in\naturalsPlus$ such that $m < n$ we have $u(m) < u(n)$ by \cref{subseteq}.
                \end{subproof}
                Hence $u$ is strictly increasing on $\naturalsPlus$ by \cref{sequence_in,strictly_increasing_on_set}.

                Let $t = s\circ u$.
                Hence $t$ is a sequence in $X$ by \cref{sequence_in,funs_circ}.

                For all $n\in\naturalsPlus$ we have $t(n) = \apply{s}{\apply{u}{n}}$
                    by \cref{funs,sequence_in,funs_is_function,function_apply_elim,funs_type_apply,circ_iff,function_apply_intro}.
                Hence $t$ is a subsequence of $s$ by \cref{subsequence}.

                Show that for all $U$ if $U$ is a neighborhood of $x$ in $X$ with respect to $T$ then
                    there exists $N\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $N\leq n$ then $t(n)\in U$.
                \begin{subproof}
                    Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
                    $U$ is open in $X$ with respect to $T$ and $x\in U$ by \cref{neighborhood}.
                    Take $\epsilon\in\reals$ such that $0 < \epsilon$ and $\metricBall{d}{X}{x}{\epsilon}\subseteq U$
                        by \cref{open_in,topology_on,subseteq,powerset_elim,metric_open_iff}.
                    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 $t(n)\in U$.
                        \begin{subproof}
                            Follows by \cref{naturalsplus_reciprocal_antitone,real_leq_split,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans,real_pos_nonzero,real_mul_inverse,real_div,real_mul_closed,metric_ball_mono,subseteq_transitive,funs_type_apply,sequence_in,snd_eq}.
                        \end{subproof}
                        Hence there exists $M\in\naturalsPlus$ such that for all $n\in\naturalsPlus$ if $M\leq n$ then $t(n)\in U$.
                \end{subproof}
                Hence $t$ converges to $x$ in $X$ with respect to $T$ by \cref{converges_to}.
                Show that there exist $r,b$ such that
                    $r$ is a sequence in $X$ and
                    $r$ is a subsequence of $s$ and
                    $b\in X$ and
                    $r$ converges to $b$ in $X$ with respect to $T$.
                \begin{subproof}
                    Trivial.
                \end{subproof}
            \end{byCase}
        \end{subproof}
        Hence $X$ is sequentially compact with respect to $T$ by \cref{sequentially_compact}.
    \end{subproof}

    Show that if $X$ is compact with respect to $T$ then
        $X$ is limit point compact with respect to $T$ and
        $X$ is sequentially compact with respect to $T$.
    \begin{subproof}
        Trivial.
    \end{subproof}

    Show that if $X$ is limit point compact with respect to $T$ and $X$ is sequentially compact with respect to $T$ then $X$ is compact with respect to $T$.
    \begin{subproof}
        Trivial.
    \end{subproof}
\end{proof}