Topology (Munkres)

§47 Ascoli's Theorem

Definition 381
pointwise_compact_closure_function_family

$F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$ iff $d$ is a metric on $Y$ and $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $A$ such that $A = \{\apply{f}{a} \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in} F\}$ and $\closure{A}{Y}{\metricTopology{d}{Y}}$ is compact with respect to $\subspaceTopology{\metricTopology{d}{Y}}{\closure{A}{Y}{\metricTopology{d}{Y}}}$.

LaTeX source
\begin{definition}
\label{pointwise_compact_closure_function_family}
    $F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$ iff
        $d$ is a metric on $Y$ and
        $F\subseteq\funs{X}{Y}$ and
        for all $a\in X$ there exists $A$ such that
            $A = \{\apply{f}{a} \mid f\in F\}$ and
            $\closure{A}{Y}{\metricTopology{d}{Y}}$ is compact with respect to
                $\subspaceTopology{\metricTopology{d}{Y}}{\closure{A}{Y}{\metricTopology{d}{Y}}}$.
\end{definition}
Lemma 898
subspace_finer_from_ambient_finer_47

Assume $T_1$ is finer than $T$ on $X$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Then $\subspaceTopology{T_1}{A}$ is finer than $\subspaceTopology{T}{A}$ on $A$.

LaTeX source
\begin{lemma}
\label{subspace_finer_from_ambient_finer_47}
    Assume $T_1$ is finer than $T$ on $X$.
    Assume $A\subseteq X$.
    Then $\subspaceTopology{T_1}{A}$ is finer than $\subspaceTopology{T}{A}$ on $A$.
\end{lemma}
Proof

Follows by Definition 1, Definition 108, Definition 146, Lemma 131.

LaTeX source
\begin{proof}
    Follows by \cref{finer_topology,subspace_topology_is_topology,subspace_topology,subseteq}.
\end{proof}
Lemma 899
constant_indexed_product_function_space_47

Let $R = \{(a,Y) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Then $\productFamily{R} = \funs{X}{Y}$.

LaTeX source
\begin{lemma}
\label{constant_indexed_product_function_space_47}
    Let $R = \{(a,Y) \mid a\in X\}$.
    Then $\productFamily{R} = \funs{X}{Y}$.
\end{lemma}
Proof

For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $b_1 = b_2$ by Axiom 6.
$R$ is a function on $X$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.

Claim: For all $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ we have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.

$\productFamily{R}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1.

Claim: For all $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ we have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$.

$\funs{X}{Y}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Definition 1.
$\productFamily{R} = \funs{X}{Y}$ by Proposition 3.

LaTeX source
\begin{proof}
    For all $a,b_1,b_2$ such that $(a,b_1)\in R$ and $(a,b_2)\in R$ we have $b_1 = b_2$
        by \cref{pair_eq_iff}.
    $R$ is a function on $X$ by \cref{relation,rightunique,dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric}.
    Show that for all $f$ such that $f\in\productFamily{R}$ we have $f\in\funs{X}{Y}$.
    \begin{subproof}
        Follows by \cref{indexed_product,funs_elim,subseteq,function_apply_intro,funs_intro}.
    \end{subproof}
    $\productFamily{R}\subseteq\funs{X}{Y}$ by \cref{subseteq}.
    Show that for all $f$ such that $f\in\funs{X}{Y}$ we have $f\in\productFamily{R}$.
    \begin{subproof}
        Follows by \cref{funs,funs_is_function,subseteq,funs_type_apply,ran_intro,unions_iff,funs_intro,function_apply_intro,indexed_product}.
    \end{subproof}
    $\funs{X}{Y}\subseteq\productFamily{R}$ by \cref{subseteq}.
    $\productFamily{R} = \funs{X}{Y}$ by \cref{subseteq_antisymmetric}.
\end{proof}
Lemma 900
equicontinuous_family_continuous_functions_47

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Let $U = \metricTopology{d}{Y}$.
Assume $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$.
Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $U$.
Suppose $H$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
Then $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.

LaTeX source
\begin{lemma}
\label{equicontinuous_family_continuous_functions_47}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Let $U = \metricTopology{d}{Y}$.
    Assume $H\subseteq\funs{X}{Y}$.
    Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $U$.
    Suppose $H$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
    Then $H\subseteq C$.
\end{lemma}
Proof

$U$ is a topology on $Y$ by Definition 115, Definition 182, Lemma 76, Lemma 194.

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

Fix $h\class{latex-symbol-tip latex-symbol-id-in}{\in} H$.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ by Definition 1.

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

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

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

Fix $V$ such that $V$ is a neighborhood of $h(x)$ in $Y$ with respect to $U$.
Take $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ and $\metricBall{d}{Y}{h(x)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 153, Lemma 195.
Take $W$ such that $W$ is a neighborhood of $x$ in $X$ with respect to $T$ and for all $y, f$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ we have $d((\apply{f}{y},\apply{f}{x})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 361, Definition 362.
For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{h}{W}$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 153, Definition 177, Definition 179, Definition 180, Definition 361, Definition 362, Lemma 82, Proposition 235, Proposition 346, Proposition 356, Proposition 361.
$\img{h}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1.
Follows by definition.

$h$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $U$ by Definition 161.

$h\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 345, Lemma 162.

$H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.

LaTeX source
\begin{proof}
    $U$ is a topology on $Y$
        by \cref{metric_topology,metric_basis_is_basis,basis_for_topology,basis_topology_is_topology}.
    Show that for all $h$ such that $h\in H$ we have $h\in C$.
    \begin{subproof}
        Fix $h\in H$.
        $h\in\funs{X}{Y}$ by \cref{subseteq}.
        Show that for all $x\in X$ we have
            $h$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $U$.
        \begin{subproof}
            Fix $x\in X$.
            Show that for all $V$ such that $V$ is a neighborhood of $h(x)$ in $Y$ with respect to $U$
                there exists $W$ such that
                    $W$ is a neighborhood of $x$ in $X$ with respect to $T$ and
                    $\img{h}{W}\subseteq V$.
            \begin{subproof}
                Fix $V$ such that $V$ is a neighborhood of $h(x)$ in $Y$ with respect to $U$.
                Take $\epsilon\in\reals$ such that $0 < \epsilon$ and
                    $\metricBall{d}{Y}{h(x)}{\epsilon}\subseteq V$
                    by \cref{neighborhood,open_in,topology_on,subseteq,pow_iff,metric_open_iff}.
                Take $W$ such that
                    $W$ is a neighborhood of $x$ in $X$ with respect to $T$ and
                    for all $y, f$ such that $y\in W$ and $f\in H$ we have
                        $d((\apply{f}{y},\apply{f}{x})) < \epsilon$
                    by \cref{equicontinuous_family,equicontinuous_at_point}.
                For all $z$ such that $z\in\img{h}{W}$ we have $z\in V$
                    by \cref{img_iff,funs_is_function,function_apply_intro,neighborhood,open_in,topology_on,subseteq,pow_iff,funs_type_apply,equicontinuous_family,equicontinuous_at_point,metric_on,metric_symmetric,real_lt_subst_left,metric_ball}.
                $\img{h}{W}\subseteq V$ by \cref{subseteq}.
                Follows by definition.
            \end{subproof}
            $h$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $U$
                by \cref{continuous_at}.
        \end{subproof}
        $h\in C$ by \cref{continuous_at_implies_continuous,continuous_function_set}.
    \end{subproof}
    $H\subseteq C$ by \cref{subseteq}.
\end{proof}
Lemma 901
constant_indexed_family_47

Let $Q = \{(a,B) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Then $Q$ is a function and $\dom{Q} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{Q}{a} = B$.

LaTeX source
\begin{lemma}
\label{constant_indexed_family_47}
    Let $Q = \{(a,B) \mid a\in X\}$.
    Then $Q$ is a function and
        $\dom{Q} = X$ and
        for all $a\in X$ we have $\apply{Q}{a} = B$.
\end{lemma}
Proof

For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ we have $b_1 = b_2$ by Axiom 6.

Claim: $Q$ is a function and $\dom{Q} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{Q}{a} = B$.
LaTeX source
\begin{proof}
    For all $a,b_1,b_2$ such that $(a,b_1)\in Q$ and $(a,b_2)\in Q$ we have $b_1 = b_2$
        by \cref{pair_eq_iff}.
    Show that $Q$ is a function and
        $\dom{Q} = X$ and
        for all $a\in X$ we have $\apply{Q}{a} = B$.
    \begin{subproof}
        Follows by \cref{relation,rightunique,dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric,function_apply_intro}.
    \end{subproof}
\end{proof}
Lemma 902
indexed_product_subspace_finer_47

Assume $U$ is a topology on $Y$.
Let $R = \{(a,Y) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $S = \{(a,U) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Assume $A$ is a function on $X$.
Assume $X$ is inhabited.
Assume for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{A}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Let $T_1 = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $P = \productFamily{A}$.
Let $T_P = \productTopologyIndexed{T_1}{A}$.
Let $T_0 = \subspaceTopology{\productTopologyIndexed{S}{R}}{P}$.
Then $T_P$ is finer than $T_0$ on $P$.

LaTeX source
\begin{lemma}
\label{indexed_product_subspace_finer_47}
    Assume $U$ is a topology on $Y$.
    Let $R = \{(a,Y) \mid a\in X\}$.
    Let $S = \{(a,U) \mid a\in X\}$.
    Assume $A$ is a function on $X$.
    Assume $X$ is inhabited.
    Assume for all $a\in X$ we have $\apply{A}{a}\subseteq Y$.
    Let $T_1 = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\in X\}$.
    Let $P = \productFamily{A}$.
    Let $T_P = \productTopologyIndexed{T_1}{A}$.
    Let $T_0 = \subspaceTopology{\productTopologyIndexed{S}{R}}{P}$.
    Then $T_P$ is finer than $T_0$ on $P$.
\end{lemma}
Proof
Claim: $R$ is a function and $\dom{R} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{R}{a} = Y$.

Follows by Lemma 901.

Claim: $S$ is a function and $\dom{S} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{S}{a} = U$.

Follows by Lemma 901.

For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ we have $b_1 = b_2$ by Axiom 6.

Claim: $T_1$ is a function and $\dom{T_1} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{T_1}{a} = \subspaceTopology{U}{\apply{A}{a}}$.

For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{T_1}{a}$ is a topology on $\apply{A}{a}$ by Definition 1, Lemma 131, Proposition 346.
$A\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\pow{Y}}$ by Definition 1, Definition 55, Proposition 155, Proposition 358.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Definition 1, Definition 55, Definition 167, Lemma 899, Proposition 358, Proposition 359.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{R}$ by Definition 1.
Let $B_0 = \finiteIntersections{\productSubbasis{S}{R}}$.
$B_0$ is a basis for $\productTopologyIndexed{S}{R}$ on $\productFamily{R}$ by Lemma 177.
Let $C = \{D\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{P} \mid \class{latex-symbol-tip latex-symbol-id-exists}{\exists} E\class{latex-symbol-tip latex-symbol-id-in}{\in} B_0. D = E\inter P\}$.
$C$ is a basis for $T_0$ on $P$ by Lemma 132.
Let $B_1 = \finiteIntersections{\productSubbasis{T_1}{A}}$.
$B_1$ is a basis for $T_P$ on $P$ by Lemma 177.
$\productSubbasis{T_1}{A}$ is a subbasis on $P$ by Lemma 176.

Claim: For all $D$ such that $D\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $D\class{latex-symbol-tip latex-symbol-id-in}{\in} T_P$.

Fix $D$ such that $D\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Take $E\class{latex-symbol-tip latex-symbol-id-in}{\in} B_0$ such that $D = E\inter P$ by Definition 1.
Take $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productSubbasis{S}{R}$ such that $F$ is finite and inhabited and $E = \inters{F}$ by Definition 125.
Let $g = \{(V,V\inter P) \mid V\class{latex-symbol-tip latex-symbol-id-in}{\in} F\}$.
For all $V,W_1,W_2$ such that $(V,W_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(V,W_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $W_1 = W_2$ by Axiom 6.
$g$ is a function and $\dom{g} = F$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Let $H = \img{g}{F}$.
$H$ is finite by Lemma 192.
Take $V_0$ such that $V_0\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 10.
$H$ is inhabited by Definition 1, Lemma 323, Proposition 10, Proposition 235, Proposition 346.

Claim: For all $W$ such that $W\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ we have $W\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasis{T_1}{A}$.

Fix $W$ such that $W\class{latex-symbol-tip latex-symbol-id-in}{\in} H$.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ such that $(V,W)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Proposition 235.
$W = V\inter P$ by Proposition 346.
Take $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{S}{R}{a}$ by Definition 1, Definition 172.
Take $Z\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{S}{a}$ such that $V = \preimg{\piIndex{R}{a}}{Z}$ by Definition 171.
Let $Z_0 = \apply{A}{a}\inter Z$.
$Z_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{U}{\apply{A}{a}}$ by Definition 146, Proposition 346.

Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{\piIndex{A}{a}}{Z_0}$.

Fix $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 5.
Take $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ and $(p,z)\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{a}$ by Proposition 246.
$p(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_0$ by Axiom 6, Definition 167, Definition 170, Proposition 61, Proposition 359.
$(p,p(a))\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{A}{a}$ by Axiom 6, Definition 170.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{\piIndex{A}{a}}{Z_0}$ by Proposition 246.

$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{\piIndex{A}{a}}{Z_0}$ by Definition 1.

Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{\piIndex{A}{a}}{Z_0}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.

$\preimg{\piIndex{A}{a}}{Z_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} W$ by Definition 1.
$W = \preimg{\piIndex{A}{a}}{Z_0}$ by Proposition 3.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{P}$ by Proposition 74, Proposition 155.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{T_1}{A}{a}$ by Definition 171, Proposition 346.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasis{T_1}{A}$ by Definition 172.

$H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productSubbasis{T_1}{A}$ by Definition 1.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{H}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Proposition 10, Proposition 30, Proposition 63, Proposition 235, Proposition 346.
$\inters{H}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Definition 1.
$\unions{\productSubbasis{T_1}{A}} = P$ by Definition 124.
$\inters{H}\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{\unions{\productSubbasis{T_1}{A}}}$ by Proposition 3, Proposition 155.
$\inters{H}\class{latex-symbol-tip latex-symbol-id-in}{\in} T_P$ by Definition 115, Definition 125, Lemma 77.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{H}$ by Definition 5, Proposition 30, Proposition 31, Proposition 61, Proposition 235, Proposition 346.
$D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \inters{H}$ by Definition 1.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{H}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Proposition 10, Proposition 30, Proposition 31, Proposition 61, Proposition 62, Proposition 63, Proposition 235, Proposition 346.
$\inters{H}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Definition 1.
$D\class{latex-symbol-tip latex-symbol-id-in}{\in} T_P$ by Proposition 3.

$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_P$ by Definition 1.
$T_0$ is a topology on $P$ and $T_P$ is a topology on $P$ by Definition 115, Lemma 76, Lemma 131.
For all $p,D$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ and $D\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ there exists $B\class{latex-symbol-tip latex-symbol-id-in}{\in} B_1$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Definition 1, Definition 114, Definition 115.
$T_P$ is finer than $T_0$ on $P$ by Lemma 80.

LaTeX source
\begin{proof}
    Show that $R$ is a function and $\dom{R} = X$ and for all $a\in X$ we have $\apply{R}{a} = Y$.
    \begin{subproof}
        Follows by \cref{constant_indexed_family_47}.
    \end{subproof}
    Show that $S$ is a function and $\dom{S} = X$ and for all $a\in X$ we have $\apply{S}{a} = U$.
    \begin{subproof}
        Follows by \cref{constant_indexed_family_47}.
    \end{subproof}
    For all $a,b_1,b_2$ such that $(a,b_1)\in T_1$ and $(a,b_2)\in T_1$ we have $b_1 = b_2$
        by \cref{pair_eq_iff}.
    Show that $T_1$ is a function and
        $\dom{T_1} = X$ and
        for all $a\in X$ we have $\apply{T_1}{a} = \subspaceTopology{U}{\apply{A}{a}}$.
    \begin{subproof}
        Follows by \cref{relation,rightunique,dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric,function_apply_intro}.
    \end{subproof}
    For all $a\in X$ we have $\apply{T_1}{a}$ is a topology on $\apply{A}{a}$
        by \cref{subseteq,subspace_topology_is_topology,function_apply_intro}.
    $A\in\funs{X}{\pow{Y}}$ by \cref{funs,subseteq,powerset_intro,funs_intro}.
    For all $p$ such that $p\in P$ we have $p\in\productFamily{R}$
        by \cref{indexed_product,funs_elim,funs,subseteq,funs_intro,constant_indexed_product_function_space_47}.
    $P\subseteq\productFamily{R}$ by \cref{subseteq}.
    Let $B_0 = \finiteIntersections{\productSubbasis{S}{R}}$.
    $B_0$ is a basis for $\productTopologyIndexed{S}{R}$ on $\productFamily{R}$
        by \cref{product_subbasis_finite_intersections_basis}.
    Let $C = \{D\in\pow{P} \mid \exists E\in B_0. D = E\inter P\}$.
    $C$ is a basis for $T_0$ on $P$ by \cref{subspace_basis}.
    Let $B_1 = \finiteIntersections{\productSubbasis{T_1}{A}}$.
    $B_1$ is a basis for $T_P$ on $P$ by \cref{product_subbasis_finite_intersections_basis}.
    $\productSubbasis{T_1}{A}$ is a subbasis on $P$ by \cref{product_subbasis_is_subbasis}.
    Show that for all $D$ such that $D\in C$ we have $D\in T_P$.
    \begin{subproof}
        Fix $D$ such that $D\in C$.
        Take $E\in B_0$ such that $D = E\inter P$ by \cref{subseteq}.
        Take $F\subseteq\productSubbasis{S}{R}$ such that $F$ is finite and inhabited and $E = \inters{F}$
            by \cref{finite_intersections}.
        Let $g = \{(V,V\inter P) \mid V\in F\}$.
        For all $V,W_1,W_2$ such that $(V,W_1)\in g$ and $(V,W_2)\in g$ we have $W_1 = W_2$
            by \cref{pair_eq_iff}.
        $g$ is a function and $\dom{g} = F$
            by \cref{rightunique,relation,dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric}.
        Let $H = \img{g}{F}$.
        $H$ is finite by \cref{finite_image_function}.
        Take $V_0$ such that $V_0\in F$ by \cref{nonempty_inhabited}.
        $H$ is inhabited by \cref{subseteq,img_iff,function_apply_intro,nonempty_inhabited,inhabited_nonempty}.
        Show that for all $W$ such that $W\in H$ we have $W\in\productSubbasis{T_1}{A}$.
        \begin{subproof}
            Fix $W$ such that $W\in H$.
            Take $V\in F$ such that $(V,W)\in g$ by \cref{img_iff}.
            $W = V\inter P$ by \cref{function_apply_intro}.
            Take $a\in X$ such that $V\in\productSubbasisAt{S}{R}{a}$ by \cref{subseteq,product_subbasis_union_indexed}.
            Take $Z\in\apply{S}{a}$ such that $V = \preimg{\piIndex{R}{a}}{Z}$ by \cref{product_subbasis_indexed}.
            Let $Z_0 = \apply{A}{a}\inter Z$.
            $Z_0\in\subspaceTopology{U}{\apply{A}{a}}$ by \cref{subspace_topology,function_apply_intro}.
            Show that for all $p$ such that $p\in W$ we have $p\in\preimg{\piIndex{A}{a}}{Z_0}$.
            \begin{subproof}
                Fix $p$ such that $p\in W$.
                $p\in V$ and $p\in P$ by \cref{inter}.
                Take $z$ such that $z\in Z$ and $(p,z)\in\piIndex{R}{a}$ by \cref{preimg_iff}.
                $p(a)\in Z_0$
                    by \cref{projection_map_indexed,pair_eq_iff,indexed_product,funs_elim,inter_intro}.
                $(p,p(a))\in\piIndex{A}{a}$ by \cref{projection_map_indexed,pair_eq_iff}.
                $p\in\preimg{\piIndex{A}{a}}{Z_0}$ by \cref{preimg_iff}.
            \end{subproof}
            $W\subseteq \preimg{\piIndex{A}{a}}{Z_0}$ by \cref{subseteq}.
            Show that for all $p$ such that $p\in\preimg{\piIndex{A}{a}}{Z_0}$ we have $p\in W$.
            \begin{subproof}
                Follows by \cref{preimg_iff,projection_map_indexed,pair_eq_iff,inter_elim_right,subseteq,inter_intro}.
            \end{subproof}
            $\preimg{\piIndex{A}{a}}{Z_0}\subseteq W$ by \cref{subseteq}.
            $W = \preimg{\piIndex{A}{a}}{Z_0}$ by \cref{subseteq_antisymmetric}.
            $W\in\pow{P}$ by \cref{inter_lower_right,powerset_intro}.
            $W\in\productSubbasisAt{T_1}{A}{a}$ by \cref{product_subbasis_indexed,function_apply_intro}.
            $W\in\productSubbasis{T_1}{A}$ by \cref{product_subbasis_union_indexed}.
        \end{subproof}
        $H\subseteq\productSubbasis{T_1}{A}$ by \cref{subseteq}.
        For all $p$ such that $p\in\inters{H}$ we have $p\in P$
            by \cref{nonempty_inhabited,img_iff,function_apply_intro,inters_iff_forall,inter_elim_right}.
        $\inters{H}\subseteq P$ by \cref{subseteq}.
        $\unions{\productSubbasis{T_1}{A}} = P$ by \cref{subbasis_on}.
        $\inters{H}\in\pow{\unions{\productSubbasis{T_1}{A}}}$
            by \cref{powerset_intro,subseteq_antisymmetric}.
        $\inters{H}\in T_P$
            by \cref{finite_intersections,basis_elem_open_in_generated,basis_for_topology}.
        For all $p$ such that $p\in D$ we have $p\in\inters{H}$
            by \cref{inter,img_iff,function_apply_intro,inters_iff_forall,inter_intro,inters_intro}.
        $D\subseteq \inters{H}$ by \cref{subseteq}.
        For all $p$ such that $p\in\inters{H}$ we have $p\in D$
            by \cref{nonempty_inhabited,subseteq,img_iff,function_apply_intro,inters_iff_forall,inter_elim_right,inter_elim_left,inters_intro,inter_intro}.
        $\inters{H}\subseteq D$ by \cref{subseteq}.
        $D\in T_P$ by \cref{subseteq_antisymmetric}.
    \end{subproof}
    $C\subseteq T_P$ by \cref{subseteq}.
    $T_0$ is a topology on $P$ and $T_P$ is a topology on $P$
        by \cref{subspace_topology_is_topology,basis_topology_is_topology,basis_for_topology}.
    For all $p,D$ such that $p\in P$ and $D\in C$ and $p\in D$
        there exists $B\in B_1$ such that $p\in B$ and $B\subseteq D$
        by \cref{subseteq,basis_for_topology,topology_generated_by_basis}.
    $T_P$ is finer than $T_0$ on $P$ by \cref{basis_finer_criterion}.
\end{proof}
Lemma 903
constant_indexed_product_topology_is_pointwise_47

Assume $U$ is a topology on $Y$.
Assume $X$ is inhabited.
Let $R = \{(a,Y) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $S = \{(a,U) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $T_1 = \productTopologyIndexed{S}{R}$.
Then $T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$.

LaTeX source
\begin{lemma}
\label{constant_indexed_product_topology_is_pointwise_47}
    Assume $U$ is a topology on $Y$.
    Assume $X$ is inhabited.
    Let $R = \{(a,Y) \mid a\in X\}$.
    Let $S = \{(a,U) \mid a\in X\}$.
    Let $T_1 = \productTopologyIndexed{S}{R}$.
    Then $T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$.
\end{lemma}
Proof

$R$ is a function and $\dom{R} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{R}{a} = Y$ by Lemma 901.
$S$ is a function and $\dom{S} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{S}{a} = U$ by Lemma 901.
Let $P = \productSubbasis{S}{R}$.

Claim: For all $A$ if $A\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ then there exist $x,V$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $V\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$.

Fix $A\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{S}{R}{x}$ by Definition 172.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{S}{x}$ such that $A = \preimg{\piIndex{R}{x}}{V}$ by Definition 171.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 12, Definition 1, Definition 101, Proposition 346.
Let $B = \{f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y} \mid \apply{f}{x}\class{latex-symbol-tip latex-symbol-id-in}{\in} V\}$.

Claim: For all $f$ if $f\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ then $f\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.

Fix $f$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ such that $(f,y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{x}$ by Proposition 246.
Take $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ such that $(g,\apply{g}{x}) = (f,y)$ by Definition 170.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ by Definition 1, Lemma 899.
$f = g$ and $y = g(x)$ by Axiom 6.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 6.

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

Claim: For all $f$ if $f\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ then $f\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

Fix $f$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Proposition 30.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{R}$ by Definition 1, Lemma 899.
$(f,\apply{f}{x})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{R}{x}$ by Axiom 6, Definition 170.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 246.

$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 1.
$A = B$ by Proposition 3.
$A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$ by Definition 363.

For all $A\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $A\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{\funs{X}{Y}}$ by Definition 1, Definition 363, Proposition 155.

Claim: For all $A$ if there exist $x,V$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $V\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$ then $A\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.

Fix $A$.
Assume there exist $x,V$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $V\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$.
Take $x,V$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $V\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$.

Claim: For all $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{\piIndex{R}{x}}{V}$.

$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{\piIndex{R}{x}}{V}$ by Definition 1.

Claim: For all $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{\piIndex{R}{x}}{V}$ we have $f\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.

$\preimg{\piIndex{R}{x}}{V}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Definition 1.
$A = \preimg{\piIndex{R}{x}}{V}$ by Proposition 3.
$A\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{\productFamily{R}}$ by Axiom 12, Lemma 191, Proposition 6, Proposition 249, Proposition 359.
$A\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{S}{R}{x}$ by Definition 171, Proposition 346.
$A\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 172.

$P$ is the pointwise subbasis on functions from $X$ to $Y$ with respect to $U$ by Definition 364.
$T_1$ is a topology on $\productFamily{R}$ by Definition 115, Lemma 76, Lemma 177.
$\productFamily{R} = \funs{X}{Y}$ by Lemma 899.
$T_1 = \subbasisTopology{P}{\funs{X}{Y}}$ by Axiom 6, Definition 173.
$T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$ by Definition 365.

LaTeX source
\begin{proof}
    $R$ is a function and $\dom{R} = X$ and for all $a\in X$ we have $\apply{R}{a} = Y$
        by \cref{constant_indexed_family_47}.
    $S$ is a function and $\dom{S} = X$ and for all $a\in X$ we have $\apply{S}{a} = U$
        by \cref{constant_indexed_family_47}.
    Let $P = \productSubbasis{S}{R}$.
    Show that for all $A$ if $A\in P$ then there exist $x,V$ such that
        $x\in X$ and
        $V\in U$ and
        $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$.
    \begin{subproof}
        Fix $A\in P$.
        Take $x\in X$ such that $A\in\productSubbasisAt{S}{R}{x}$
            by \cref{product_subbasis_union_indexed}.
        Take $V\in\apply{S}{x}$ such that $A = \preimg{\piIndex{R}{x}}{V}$
            by \cref{product_subbasis_indexed}.
        $V\subseteq Y$ by \cref{function_apply_intro,topology_on,subseteq,pow_iff}.
        Let $B = \{f\in\funs{X}{Y} \mid \apply{f}{x}\in V\}$.
        Show that for all $f$ if $f\in A$ then $f\in B$.
        \begin{subproof}
            Fix $f$.
            Assume $f\in A$.
            Take $y\in V$ such that $(f,y)\in\piIndex{R}{x}$ by \cref{preimg_iff}.
            Take $g\in\productFamily{R}$ such that $(g,\apply{g}{x}) = (f,y)$ by \cref{projection_map_indexed}.
            $g\in\funs{X}{Y}$ by \cref{constant_indexed_product_function_space_47,subseteq}.
            $f = g$ and $y = g(x)$ by \cref{pair_eq_iff}.
            $f\in B$ by \cref{pair_eq_iff}.
        \end{subproof}
        $A\subseteq B$ by \cref{subseteq}.
        Show that for all $f$ if $f\in B$ then $f\in A$.
        \begin{subproof}
            Fix $f$.
            Assume $f\in B$.
            $f\in\funs{X}{Y}$ and $f(x)\in V$ by \cref{inters_iff_forall}.
            $f\in\productFamily{R}$ by \cref{constant_indexed_product_function_space_47,subseteq}.
            $(f,\apply{f}{x})\in\piIndex{R}{x}$ by \cref{projection_map_indexed,pair_eq_iff}.
            $f\in A$ by \cref{preimg_iff}.
        \end{subproof}
        $B\subseteq A$ by \cref{subseteq}.
        $A = B$ by \cref{subseteq_antisymmetric}.
        $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$ by \cref{point_open_set}.
    \end{subproof}
    For all $A\in P$ we have $A\in\pow{\funs{X}{Y}}$ by \cref{point_open_set,subseteq,powerset_intro}.
    Show that for all $A$ if
        there exist $x,V$ such that
            $x\in X$ and
            $V\in U$ and
            $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$
    then $A\in P$.
    \begin{subproof}
        Fix $A$.
        Assume there exist $x,V$ such that
            $x\in X$ and
            $V\in U$ and
            $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$.
        Take $x,V$ such that
            $x\in X$ and
            $V\in U$ and
            $A$ is the point-open set at $x$ with value set $V$ from $X$ to $Y$.
        Show that for all $f$ such that $f\in A$ we have $f\in\preimg{\piIndex{R}{x}}{V}$.
        \begin{subproof}
            Follows by \cref{point_open_set,constant_indexed_product_function_space_47,projection_map_indexed,function_apply_elim,preimg_iff}.
        \end{subproof}
        $A\subseteq \preimg{\piIndex{R}{x}}{V}$ by \cref{subseteq}.
        Show that for all $f$ such that $f\in\preimg{\piIndex{R}{x}}{V}$ we have $f\in A$.
        \begin{subproof}
            Follows by \cref{preimg_iff,projection_map_indexed,pair_eq_iff,constant_indexed_product_function_space_47,point_open_set}.
        \end{subproof}
        $\preimg{\piIndex{R}{x}}{V}\subseteq A$ by \cref{subseteq}.
        $A = \preimg{\piIndex{R}{x}}{V}$ by \cref{subseteq_antisymmetric}.
        $A\in\pow{\productFamily{R}}$
            by \cref{projection_map_indexed_function,funs_elim,preimg_subseteq_dom,subseteq_transitive,pow_iff}.
        $A\in\productSubbasisAt{S}{R}{x}$ by \cref{function_apply_intro,product_subbasis_indexed}.
        $A\in P$ by \cref{product_subbasis_union_indexed}.
    \end{subproof}
    $P$ is the pointwise subbasis on functions from $X$ to $Y$ with respect to $U$
        by \cref{pointwise_function_space_subbasis}.
    $T_1$ is a topology on $\productFamily{R}$
        by \cref{product_subbasis_finite_intersections_basis,basis_for_topology,basis_topology_is_topology}.
    $\productFamily{R} = \funs{X}{Y}$ by \cref{constant_indexed_product_function_space_47}.
    $T_1 = \subbasisTopology{P}{\funs{X}{Y}}$ by \cref{product_topology_indexed,pair_eq_iff}.
    $T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$
        by \cref{pointwise_convergence_topology}.
\end{proof}
Lemma 904
compactness_from_finer_topology_47

Assume $T_1$ is finer than $T$ on $X$.
Suppose $X$ is compact with respect to $T_1$.
Then $X$ is compact with respect to $T$.

LaTeX source
\begin{lemma}
\label{compactness_from_finer_topology_47}
    Assume $T_1$ is finer than $T$ on $X$.
    Suppose $X$ is compact with respect to $T_1$.
    Then $X$ is compact with respect to $T$.
\end{lemma}
Proof

Follows by Definition 1, Definition 103, Definition 108, Definition 246, Definition 247.

LaTeX source
\begin{proof}
    Follows by \cref{finer_topology,open_covering,open_in,subseteq,compact}.
\end{proof}
Lemma 905
constant_indexed_projection_apply_47

Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $R = \{(x,Y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.
Then $\apply{\piIndex{R}{a}}{f} = f(a)$.

LaTeX source
\begin{lemma}
\label{constant_indexed_projection_apply_47}
    Assume $a\in X$.
    Let $R = \{(x,Y) \mid x\in X\}$.
    Assume $f\in\funs{X}{Y}$.
    Then $\apply{\piIndex{R}{a}}{f} = f(a)$.
\end{lemma}
Proof

Follows by Definition 170, Lemma 191, Lemma 899, Lemma 901, Proposition 346, Proposition 348, Proposition 356.

LaTeX source
\begin{proof}
    Follows by \cref{constant_indexed_family_47,constant_indexed_product_function_space_47,projection_map_indexed_function,funs_is_function,projection_map_indexed,function_apply_elim,function_apply_intro}.
\end{proof}
Lemma 906
pointwise_closure_equicontinuous_47

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Let $U = \metricTopology{d}{Y}$.
Assume $T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$.
Assume $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$.
Suppose $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
Let $G = \closure{F}{\funs{X}{Y}}{T_1}$.
Then $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.

LaTeX source
\begin{lemma}
\label{pointwise_closure_equicontinuous_47}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Let $U = \metricTopology{d}{Y}$.
    Assume $T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$.
    Assume $F\subseteq\funs{X}{Y}$.
    Suppose $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
    Let $G = \closure{F}{\funs{X}{Y}}{T_1}$.
    Then $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
\end{lemma}
Proof

$T_1$ is a topology on $\funs{X}{Y}$ by Definition 365.

Claim: For all $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$.

Fix $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Take $S$ such that $S$ is the pointwise subbasis on functions from $X$ to $Y$ with respect to $U$ and $T_1 = \subbasisTopology{S}{\funs{X}{Y}}$ by Definition 365.

Claim: For all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $W$ such that $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and for all $x, g$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{g}{x},\apply{g}{x_0})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Take $\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 $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} < 1$ and $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} + \class{latex-symbol-tip latex-symbol-id-delta}{\delta} + \class{latex-symbol-tip latex-symbol-id-delta}{\delta} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 834.
Take $W$ such that $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and for all $x, f$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $d((\apply{f}{x},\apply{f}{x_0})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 361, Definition 362.

Claim: For all $x, g$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{g}{x},\apply{g}{x_0})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $x$.
Fix $g$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ by Definition 1, Definition 151.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 101, Definition 103, Definition 153, Proposition 156.
Let $C = \{x_0,x\}$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $C$ is finite and inhabited by Axiom 2, Definition 1, Lemma 40, Proposition 10, Proposition 16, Proposition 19.
Take $M$ such that $M$ is open in $\funs{X}{Y}$ with respect to $\subbasisTopology{S}{\funs{X}{Y}}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ and for all $h$ if $h\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ then $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $h(z)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(z)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Axiom 2, Lemma 878, Lemma 879, Proposition 10.
$M$ intersects $F$ by Axiom 6, Theorem 11.
Take $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} M\inter F$ by Definition 152, Proposition 10.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 5.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(x)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ and $f(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(x_0)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 1, Proposition 16, Proposition 17.
$d((g(x),f(x))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $d((g(x_0),f(x_0))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 180.
$d((f(x_0),g(x_0))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 177, Definition 179, Lemma 82, Proposition 361.
$d((f(x),f(x_0))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 361.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $f(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $g(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 361.
$d((g(x),g(x_0))) < \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 Lemma 846.
$d((g(x),g(x_0))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 13, Axiom 36, Definition 179, Proposition 115, Proposition 361.

Follows by definition.

$G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 1, Definition 151, Definition 361.

$G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$ by Definition 1, Definition 151, Definition 362.

LaTeX source
\begin{proof}
    $T_1$ is a topology on $\funs{X}{Y}$ by \cref{pointwise_convergence_topology}.
    Show that for all $x_0\in X$ we have
        $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$.
    \begin{subproof}
        Fix $x_0\in X$.
        Take $S$ such that
            $S$ is the pointwise subbasis on functions from $X$ to $Y$ with respect to $U$ and
            $T_1 = \subbasisTopology{S}{\funs{X}{Y}}$ by \cref{pointwise_convergence_topology}.
        Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$
            there exists $W$ such that
                $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and
                for all $x, g$ such that $x\in W$ and $g\in G$ we have
                    $d((\apply{g}{x},\apply{g}{x_0})) < \epsilon$.
        \begin{subproof}
            Fix $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$.
            Take $\delta\in\reals$ such that
                $0 < \delta$ and
                $\delta < 1$ and
                $\delta + \delta + \delta < \epsilon$
                by \cref{positive_real_small_triple_bound}.
            Take $W$ such that
                $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and
                for all $x, f$ such that $x\in W$ and $f\in F$ we have
                    $d((\apply{f}{x},\apply{f}{x_0})) < \delta$
                by \cref{equicontinuous_family,equicontinuous_at_point}.
            Show that for all $x, g$ such that $x\in W$ and $g\in G$ we have
                $d((\apply{g}{x},\apply{g}{x_0})) < \epsilon$.
            \begin{subproof}
                Fix $x$.
                Fix $g$.
                Assume $x\in W$ and $g\in G$.
                $g\in\funs{X}{Y}$ by \cref{closure,subseteq}.
                $x\in X$ by \cref{neighborhood,open_in,topology_on,subseteq,powerset_elim}.
                Let $C = \{x_0,x\}$.
                $C\subseteq X$ and $C$ is finite and inhabited
                    by \cref{upair_iff,subseteq,pair_is_finite,upair_intro_left,nonempty_inhabited,emptyset}.
                Take $M$ such that
                    $M$ is open in $\funs{X}{Y}$ with respect to $\subbasisTopology{S}{\funs{X}{Y}}$ and
                    $g\in M$ and
                    for all $h$ if $h\in M$ then
                        $h\in\funs{X}{Y}$ and
                        for all $z\in C$ we have $h(z)\in\metricBall{d}{Y}{g(z)}{\delta}$
                    by \cref{nonempty_inhabited,emptyset,pointwise_subbasis_is_subbasis_inhabited_domain,finite_point_open_metric_neighborhoods_open}.
                $M$ intersects $F$ by \cref{closure_iff_intersects_open,pair_eq_iff}.
                Take $f$ such that $f\in M\inter F$ by \cref{intersects,nonempty_inhabited}.
                $f\in M$ and $f\in F$ by \cref{inter}.
                $f(x)\in\metricBall{d}{Y}{g(x)}{\delta}$ and
                    $f(x_0)\in\metricBall{d}{Y}{g(x_0)}{\delta}$ by \cref{subseteq,upair_intro_right,upair_intro_left}.
                $d((g(x),f(x))) < \delta$ and $d((g(x_0),f(x_0))) < \delta$ by \cref{metric_ball}.
                $d((f(x_0),g(x_0))) < \delta$
                    by \cref{metric_on,metric_symmetric,funs_type_apply,real_lt_subst_left}.
                $d((f(x),f(x_0))) < \delta$ by \cref{equicontinuous_at_point}.
                $f(x)\in Y$ and $f(x_0)\in Y$ and $g(x)\in Y$ and $g(x_0)\in Y$
                    by \cref{funs_type_apply}.
                $d((g(x),g(x_0))) < \delta + \delta + \delta$
                    by \cref{metric_three_step_lt_sum}.
                $d((g(x),g(x_0))) < \epsilon$
                    by \cref{metric_on,funs_type_apply,times_tuple_intro,real_add_closed,real_lt_trans}.
            \end{subproof}
            Follows by definition.
        \end{subproof}
        $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{closure,subseteq,equicontinuous_at_point}.
    \end{subproof}
    $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
        by \cref{closure,subseteq,equicontinuous_family}.
\end{proof}
Lemma 907
coordinatewise_product_closure_equicontinuous_47

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Let $U = \metricTopology{d}{Y}$.
Assume $A$ is a function on $X$.
Assume for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{A}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Let $T_A = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $P = \productFamily{A}$.
Let $T_P = \productTopologyIndexed{T_A}{A}$.
Assume $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$.
Suppose $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
Let $G = \closure{F}{P}{T_P}$.
Then $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.

LaTeX source
\begin{lemma}
\label{coordinatewise_product_closure_equicontinuous_47}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Let $U = \metricTopology{d}{Y}$.
    Assume $A$ is a function on $X$.
    Assume for all $a\in X$ we have $\apply{A}{a}\subseteq Y$.
    Let $T_A = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\in X\}$.
    Let $P = \productFamily{A}$.
    Let $T_P = \productTopologyIndexed{T_A}{A}$.
    Assume $F\subseteq P$.
    Suppose $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
    Let $G = \closure{F}{P}{T_P}$.
    Then $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
\end{lemma}
Proof

For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ we have $b_1 = b_2$ by Axiom 6.

Claim: $T_A$ is a function and $\dom{T_A} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{T_A}{a} = \subspaceTopology{U}{\apply{A}{a}}$.

For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{T_A}{a}$ is a topology on $\apply{A}{a}$ by Definition 1, Definition 115, Definition 182, Lemma 76, Lemma 131, Lemma 194, Proposition 346.
For all $a,p$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $p(a)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Axiom 6, Definition 1, Definition 167, Proposition 359.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Axiom 6, Definition 1, Definition 167, Proposition 358, Proposition 359.

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

$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1, Definition 151, Proposition 6.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $G$ is equicontinuous at $x$ from $X$ to $Y$ with respect to $T$ and $d$ by Axiom 2.
$G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$ by Definition 362.

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

$X$ is inhabited by Proposition 10.
Let $B_P = \finiteIntersections{\productSubbasis{T_A}{A}}$.
$B_P$ is a basis for $T_P$ on $P$ by Lemma 177.
$T_P$ is a topology on $P$ by Definition 115, Lemma 76.

Claim: For all $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$.

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

Claim: For all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $W$ such that $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and for all $x, g$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{g}{x},\apply{g}{x_0})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Take $\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 $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} < 1$ and $\class{latex-symbol-tip latex-symbol-id-delta}{\delta} + \class{latex-symbol-tip latex-symbol-id-delta}{\delta} + \class{latex-symbol-tip latex-symbol-id-delta}{\delta} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 834.
Take $W$ such that $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and for all $x, f$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $d((\apply{f}{x},\apply{f}{x_0})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 361, Definition 362.

Claim: For all $x, g$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{g}{x},\apply{g}{x_0})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $x$.
Fix $g$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 1, Definition 151.
$g$ is a function and $\dom{g} = X$ by Axiom 6, Definition 167, Proposition 359.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 101, Definition 103, Definition 153, Proposition 156.
$g(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{A}{x_0}$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{A}{x}$ by Definition 167.
$g(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1.
Let $Z_0 = \apply{A}{x_0}\inter\metricBall{d}{Y}{g(x_0)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
Let $Z_1 = \apply{A}{x}\inter\metricBall{d}{Y}{g(x)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$.
$\metricBall{d}{Y}{g(x_0)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $\metricBall{d}{Y}{g(x)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1, Definition 103, Definition 180, Definition 181, Definition 182, Lemma 77, Lemma 194, Proposition 155.
$Z_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{U}{\apply{A}{x_0}}$ and $Z_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{U}{\apply{A}{x}}$ by Definition 146.
Let $N_0 = \preimg{\piIndex{A}{x_0}}{Z_0}$.
Let $N_1 = \preimg{\piIndex{A}{x}}{Z_1}$.
$Z_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{T_A}{x_0}$ and $Z_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{T_A}{x}$ by Proposition 346.
$N_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ and $N_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Lemma 191, Proposition 6, Proposition 249, Proposition 359.
$N_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{P}$ and $N_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{P}$ by Proposition 155.
$N_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{T_A}{A}{x_0}$ and $N_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{T_A}{A}{x}$ by Definition 171.
$N_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasis{T_A}{A}$ and $N_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasis{T_A}{A}$ by Definition 172.
Let $H = \{N_0,N_1\}$.
$H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productSubbasis{T_A}{A}$ by Definition 1, Proposition 19.
$H$ is finite and inhabited by Lemma 40, Proposition 16.
Let $M = \inters{H}$.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 1, Proposition 16, Proposition 32.
$M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Definition 1.
$M\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{\unions{\productSubbasis{T_A}{A}}}$ by Definition 1, Definition 124, Lemma 176, Proposition 3, Proposition 155.
$M$ is open in $P$ with respect to $T_P$ by Definition 103, Definition 115, Definition 125, Lemma 77.
$(g,g(x_0))\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{A}{x_0}$ by Definition 170, Proposition 348.
$d((g(x_0),g(x_0))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 176, Definition 179, Lemma 82.
$g(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(x_0)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 180.
$g(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_0$ by Proposition 61.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in} N_0$ by Proposition 246.
$(g,g(x))\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{A}{x}$ by Definition 170, Proposition 348.
$d((g(x),g(x))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 176, Definition 179, Lemma 82.
$g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(x)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Definition 180.
$g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_1$ by Proposition 61.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in} N_1$ by Proposition 246.
For all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ we have $g\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Lemma 82, Lemma 83, Proposition 19.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ by Proposition 31.
$M$ intersects $F$ by Theorem 11.
Take $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} M\inter F$ by Definition 152, Proposition 10.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 5.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 1.
$f$ is a function and $\dom{f} = X$ by Axiom 6, Definition 167, Proposition 359.
$f(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{A}{x_0}$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{A}{x}$ by Definition 167.
$f(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} N_0$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in} N_1$ by Proposition 16, Proposition 17, Proposition 30.
Take $z_0$ such that $z_0\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_0$ and $(f,z_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{A}{x_0}$ by Proposition 246.
Take $z_1$ such that $z_1\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_1$ and $(f,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{A}{x}$ by Proposition 246.
$z_0 = f(x_0)$ and $z_1 = f(x)$ by Axiom 6, Definition 170.
$f(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_0$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_1$ by Axiom 6, Definition 170.
$f(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(x_0)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(x)}{\class{latex-symbol-tip latex-symbol-id-delta}{\delta}}$ by Proposition 63.
$d((g(x_0),f(x_0))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $d((g(x),f(x))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 180.
$d((f(x_0),g(x_0))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 177, Definition 179, Lemma 82, Proposition 361.
$d((f(x),f(x_0))) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Definition 361.
$d((g(x),g(x_0))) < \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 Lemma 846.
$d((g(x),g(x_0))) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 13, Axiom 36, Definition 179, Proposition 115, Proposition 361.

Follows by definition.

$G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 1, Definition 151, Definition 361, Proposition 6.

$G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$ by Definition 1, Definition 151, Definition 362, Proposition 6.

LaTeX source
\begin{byCase}
    \caseOf{$X = \emptyset$.}
        $G\subseteq\funs{X}{Y}$ by \cref{closure,subseteq,subseteq_transitive}.
        For all $x\in X$ we have
            $G$ is equicontinuous at $x$ from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{emptyset}.
        $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{equicontinuous_family}.
    \caseOf{$X \neq \emptyset$.}
        $X$ is inhabited by \cref{nonempty_inhabited}.
        Let $B_P = \finiteIntersections{\productSubbasis{T_A}{A}}$.
        $B_P$ is a basis for $T_P$ on $P$ by \cref{product_subbasis_finite_intersections_basis}.
        $T_P$ is a topology on $P$ by \cref{basis_for_topology,basis_topology_is_topology}.
        Show that for all $x_0\in X$ we have
            $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$.
        \begin{subproof}
            Fix $x_0\in X$.
            Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$
                there exists $W$ such that
                    $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and
                    for all $x, g$ such that $x\in W$ and $g\in G$ we have
                        $d((\apply{g}{x},\apply{g}{x_0})) < \epsilon$.
            \begin{subproof}
                Fix $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$.
                Take $\delta\in\reals$ such that
                    $0 < \delta$ and
                    $\delta < 1$ and
                    $\delta + \delta + \delta < \epsilon$
                    by \cref{positive_real_small_triple_bound}.
                Take $W$ such that
                    $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and
                    for all $x, f$ such that $x\in W$ and $f\in F$ we have
                        $d((\apply{f}{x},\apply{f}{x_0})) < \delta$
                    by \cref{equicontinuous_family,equicontinuous_at_point}.
                Show that for all $x, g$ such that $x\in W$ and $g\in G$ we have
                    $d((\apply{g}{x},\apply{g}{x_0})) < \epsilon$.
                \begin{subproof}
                    Fix $x$.
                    Fix $g$.
                    Assume $x\in W$ and $g\in G$.
                    $g\in P$ by \cref{closure,subseteq}.
                    $g$ is a function and $\dom{g} = X$ by \cref{indexed_product,funs_elim,pair_eq_iff}.
                    $x\in X$ by \cref{neighborhood,open_in,topology_on,subseteq,powerset_elim}.
                    $g(x_0)\in\apply{A}{x_0}$ and $g(x)\in\apply{A}{x}$ by \cref{indexed_product}.
                    $g(x_0)\in Y$ and $g(x)\in Y$ by \cref{subseteq}.
                    Let $Z_0 = \apply{A}{x_0}\inter\metricBall{d}{Y}{g(x_0)}{\delta}$.
                    Let $Z_1 = \apply{A}{x}\inter\metricBall{d}{Y}{g(x)}{\delta}$.
                    $\metricBall{d}{Y}{g(x_0)}{\delta}\in U$ and
                        $\metricBall{d}{Y}{g(x)}{\delta}\in U$
                        by \cref{metric_ball,subseteq,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,metric_topology,open_in}.
                    $Z_0\in\subspaceTopology{U}{\apply{A}{x_0}}$ and
                        $Z_1\in\subspaceTopology{U}{\apply{A}{x}}$ by \cref{subspace_topology}.
                    Let $N_0 = \preimg{\piIndex{A}{x_0}}{Z_0}$.
                    Let $N_1 = \preimg{\piIndex{A}{x}}{Z_1}$.
                    $Z_0\in\apply{T_A}{x_0}$ and $Z_1\in\apply{T_A}{x}$ by \cref{function_apply_intro}.
                    $N_0\subseteq P$ and $N_1\subseteq P$
                        by \cref{projection_map_indexed_function,funs_elim,preimg_subseteq_dom,subseteq_transitive}.
                    $N_0\in\pow{P}$ and $N_1\in\pow{P}$ by \cref{powerset_intro}.
                    $N_0\in\productSubbasisAt{T_A}{A}{x_0}$ and
                        $N_1\in\productSubbasisAt{T_A}{A}{x}$ by \cref{product_subbasis_indexed}.
                    $N_0\in\productSubbasis{T_A}{A}$ and
                        $N_1\in\productSubbasis{T_A}{A}$ by \cref{product_subbasis_union_indexed}.
                    Let $H = \{N_0,N_1\}$.
                    $H\subseteq\productSubbasis{T_A}{A}$ by \cref{upair_iff,subseteq}.
                    $H$ is finite and inhabited by \cref{pair_is_finite,upair_intro_left}.
                    Let $M = \inters{H}$.
                    For all $p$ such that $p\in M$ we have $p\in P$ by \cref{inters_destr,upair_intro_left,subseteq}.
                    $M\subseteq P$ by \cref{subseteq}.
                    $M\in\pow{\unions{\productSubbasis{T_A}{A}}}$
                        by \cref{product_subbasis_is_subbasis,subseteq,subbasis_on,powerset_intro,subseteq_antisymmetric}.
                    $M$ is open in $P$ with respect to $T_P$
                        by \cref{finite_intersections,basis_elem_open_in_generated,basis_for_topology,open_in}.
                    $(g,g(x_0))\in\piIndex{A}{x_0}$ by \cref{projection_map_indexed,function_apply_elim}.
                    $d((g(x_0),g(x_0))) < \delta$
                        by \cref{metric_on,metric_zero_characterization,real_lt_subst_left}.
                    $g(x_0)\in\metricBall{d}{Y}{g(x_0)}{\delta}$ by \cref{metric_ball}.
                    $g(x_0)\in Z_0$ by \cref{inter_intro}.
                    $g\in N_0$ by \cref{preimg_iff}.
                    $(g,g(x))\in\piIndex{A}{x}$ by \cref{projection_map_indexed,function_apply_elim}.
                    $d((g(x),g(x))) < \delta$
                        by \cref{metric_on,metric_zero_characterization,real_lt_subst_left}.
                    $g(x)\in\metricBall{d}{Y}{g(x)}{\delta}$ by \cref{metric_ball}.
                    $g(x)\in Z_1$ by \cref{inter_intro}.
                    $g\in N_1$ by \cref{preimg_iff}.
                    For all $B$ such that $B\in H$ we have $g\in B$ by \cref{upair_iff,real_lt_subst_left,real_lt_subst_right}.
                    $g\in M$ by \cref{inters_intro}.
                    $M$ intersects $F$ by \cref{closure_iff_intersects_open}.
                    Take $f$ such that $f\in M\inter F$ by \cref{intersects,nonempty_inhabited}.
                    $f\in M$ and $f\in F$ by \cref{inter}.
                    $f\in P$ by \cref{subseteq}.
                    $f$ is a function and $\dom{f} = X$ by \cref{indexed_product,funs_elim,pair_eq_iff}.
                    $f(x_0)\in\apply{A}{x_0}$ and $f(x)\in\apply{A}{x}$ by \cref{indexed_product}.
                    $f(x_0)\in Y$ and $f(x)\in Y$ by \cref{subseteq}.
                    $f\in N_0$ and $f\in N_1$ by \cref{inters_iff_forall,upair_intro_left,upair_intro_right}.
                    Take $z_0$ such that $z_0\in Z_0$ and $(f,z_0)\in\piIndex{A}{x_0}$ by \cref{preimg_iff}.
                    Take $z_1$ such that $z_1\in Z_1$ and $(f,z_1)\in\piIndex{A}{x}$ by \cref{preimg_iff}.
                    $z_0 = f(x_0)$ and $z_1 = f(x)$ by \cref{projection_map_indexed,pair_eq_iff}.
                    $f(x_0)\in Z_0$ and $f(x)\in Z_1$ by \cref{projection_map_indexed,pair_eq_iff}.
                    $f(x_0)\in\metricBall{d}{Y}{g(x_0)}{\delta}$ and
                        $f(x)\in\metricBall{d}{Y}{g(x)}{\delta}$ by \cref{inter_elim_right}.
                    $d((g(x_0),f(x_0))) < \delta$ and $d((g(x),f(x))) < \delta$ by \cref{metric_ball}.
                    $d((f(x_0),g(x_0))) < \delta$
                        by \cref{metric_on,metric_symmetric,funs_type_apply,real_lt_subst_left}.
                    $d((f(x),f(x_0))) < \delta$ by \cref{equicontinuous_at_point}.
                    $d((g(x),g(x_0))) < \delta + \delta + \delta$
                        by \cref{metric_three_step_lt_sum}.
                    $d((g(x),g(x_0))) < \epsilon$
                        by \cref{metric_on,funs_type_apply,times_tuple_intro,real_add_closed,real_lt_trans}.
                \end{subproof}
                Follows by definition.
            \end{subproof}
            $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$
                by \cref{closure,subseteq,subseteq_transitive,equicontinuous_at_point}.
        \end{subproof}
        $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{closure,subseteq,subseteq_transitive,equicontinuous_family}.
    
\end{byCase}
LaTeX source
\begin{proof}
    For all $a,b_1,b_2$ such that $(a,b_1)\in T_A$ and $(a,b_2)\in T_A$ we have $b_1 = b_2$
        by \cref{pair_eq_iff}.
    Show that $T_A$ is a function and
        $\dom{T_A} = X$ and
        for all $a\in X$ we have $\apply{T_A}{a} = \subspaceTopology{U}{\apply{A}{a}}$.
    \begin{subproof}
        Follows by \cref{relation,rightunique,dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric,function_apply_intro}.
    \end{subproof}
    For all $a\in X$ we have $\apply{T_A}{a}$ is a topology on $\apply{A}{a}$
        by \cref{metric_topology,metric_basis_is_basis,basis_topology_is_topology,basis_for_topology,subseteq,subspace_topology_is_topology,function_apply_intro}.
    For all $a,p$ such that $a\in X$ and $p\in P$ we have $p(a)\in Y$
        by \cref{indexed_product,funs_elim,pair_eq_iff,subseteq}.
    $P\subseteq\funs{X}{Y}$ by \cref{indexed_product,funs_elim,pair_eq_iff,funs_intro,subseteq}.
    \begin{byCase}
    \caseOf{$X = \emptyset$.}
        $G\subseteq\funs{X}{Y}$ by \cref{closure,subseteq,subseteq_transitive}.
        For all $x\in X$ we have
            $G$ is equicontinuous at $x$ from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{emptyset}.
        $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{equicontinuous_family}.
    \caseOf{$X \neq \emptyset$.}
        $X$ is inhabited by \cref{nonempty_inhabited}.
        Let $B_P = \finiteIntersections{\productSubbasis{T_A}{A}}$.
        $B_P$ is a basis for $T_P$ on $P$ by \cref{product_subbasis_finite_intersections_basis}.
        $T_P$ is a topology on $P$ by \cref{basis_for_topology,basis_topology_is_topology}.
        Show that for all $x_0\in X$ we have
            $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$.
        \begin{subproof}
            Fix $x_0\in X$.
            Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$
                there exists $W$ such that
                    $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and
                    for all $x, g$ such that $x\in W$ and $g\in G$ we have
                        $d((\apply{g}{x},\apply{g}{x_0})) < \epsilon$.
            \begin{subproof}
                Fix $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$.
                Take $\delta\in\reals$ such that
                    $0 < \delta$ and
                    $\delta < 1$ and
                    $\delta + \delta + \delta < \epsilon$
                    by \cref{positive_real_small_triple_bound}.
                Take $W$ such that
                    $W$ is a neighborhood of $x_0$ in $X$ with respect to $T$ and
                    for all $x, f$ such that $x\in W$ and $f\in F$ we have
                        $d((\apply{f}{x},\apply{f}{x_0})) < \delta$
                    by \cref{equicontinuous_family,equicontinuous_at_point}.
                Show that for all $x, g$ such that $x\in W$ and $g\in G$ we have
                    $d((\apply{g}{x},\apply{g}{x_0})) < \epsilon$.
                \begin{subproof}
                    Fix $x$.
                    Fix $g$.
                    Assume $x\in W$ and $g\in G$.
                    $g\in P$ by \cref{closure,subseteq}.
                    $g$ is a function and $\dom{g} = X$ by \cref{indexed_product,funs_elim,pair_eq_iff}.
                    $x\in X$ by \cref{neighborhood,open_in,topology_on,subseteq,powerset_elim}.
                    $g(x_0)\in\apply{A}{x_0}$ and $g(x)\in\apply{A}{x}$ by \cref{indexed_product}.
                    $g(x_0)\in Y$ and $g(x)\in Y$ by \cref{subseteq}.
                    Let $Z_0 = \apply{A}{x_0}\inter\metricBall{d}{Y}{g(x_0)}{\delta}$.
                    Let $Z_1 = \apply{A}{x}\inter\metricBall{d}{Y}{g(x)}{\delta}$.
                    $\metricBall{d}{Y}{g(x_0)}{\delta}\in U$ and
                        $\metricBall{d}{Y}{g(x)}{\delta}\in U$
                        by \cref{metric_ball,subseteq,powerset_intro,metric_basis,metric_basis_is_basis,basis_elem_open_in_generated,metric_topology,open_in}.
                    $Z_0\in\subspaceTopology{U}{\apply{A}{x_0}}$ and
                        $Z_1\in\subspaceTopology{U}{\apply{A}{x}}$ by \cref{subspace_topology}.
                    Let $N_0 = \preimg{\piIndex{A}{x_0}}{Z_0}$.
                    Let $N_1 = \preimg{\piIndex{A}{x}}{Z_1}$.
                    $Z_0\in\apply{T_A}{x_0}$ and $Z_1\in\apply{T_A}{x}$ by \cref{function_apply_intro}.
                    $N_0\subseteq P$ and $N_1\subseteq P$
                        by \cref{projection_map_indexed_function,funs_elim,preimg_subseteq_dom,subseteq_transitive}.
                    $N_0\in\pow{P}$ and $N_1\in\pow{P}$ by \cref{powerset_intro}.
                    $N_0\in\productSubbasisAt{T_A}{A}{x_0}$ and
                        $N_1\in\productSubbasisAt{T_A}{A}{x}$ by \cref{product_subbasis_indexed}.
                    $N_0\in\productSubbasis{T_A}{A}$ and
                        $N_1\in\productSubbasis{T_A}{A}$ by \cref{product_subbasis_union_indexed}.
                    Let $H = \{N_0,N_1\}$.
                    $H\subseteq\productSubbasis{T_A}{A}$ by \cref{upair_iff,subseteq}.
                    $H$ is finite and inhabited by \cref{pair_is_finite,upair_intro_left}.
                    Let $M = \inters{H}$.
                    For all $p$ such that $p\in M$ we have $p\in P$ by \cref{inters_destr,upair_intro_left,subseteq}.
                    $M\subseteq P$ by \cref{subseteq}.
                    $M\in\pow{\unions{\productSubbasis{T_A}{A}}}$
                        by \cref{product_subbasis_is_subbasis,subseteq,subbasis_on,powerset_intro,subseteq_antisymmetric}.
                    $M$ is open in $P$ with respect to $T_P$
                        by \cref{finite_intersections,basis_elem_open_in_generated,basis_for_topology,open_in}.
                    $(g,g(x_0))\in\piIndex{A}{x_0}$ by \cref{projection_map_indexed,function_apply_elim}.
                    $d((g(x_0),g(x_0))) < \delta$
                        by \cref{metric_on,metric_zero_characterization,real_lt_subst_left}.
                    $g(x_0)\in\metricBall{d}{Y}{g(x_0)}{\delta}$ by \cref{metric_ball}.
                    $g(x_0)\in Z_0$ by \cref{inter_intro}.
                    $g\in N_0$ by \cref{preimg_iff}.
                    $(g,g(x))\in\piIndex{A}{x}$ by \cref{projection_map_indexed,function_apply_elim}.
                    $d((g(x),g(x))) < \delta$
                        by \cref{metric_on,metric_zero_characterization,real_lt_subst_left}.
                    $g(x)\in\metricBall{d}{Y}{g(x)}{\delta}$ by \cref{metric_ball}.
                    $g(x)\in Z_1$ by \cref{inter_intro}.
                    $g\in N_1$ by \cref{preimg_iff}.
                    For all $B$ such that $B\in H$ we have $g\in B$ by \cref{upair_iff,real_lt_subst_left,real_lt_subst_right}.
                    $g\in M$ by \cref{inters_intro}.
                    $M$ intersects $F$ by \cref{closure_iff_intersects_open}.
                    Take $f$ such that $f\in M\inter F$ by \cref{intersects,nonempty_inhabited}.
                    $f\in M$ and $f\in F$ by \cref{inter}.
                    $f\in P$ by \cref{subseteq}.
                    $f$ is a function and $\dom{f} = X$ by \cref{indexed_product,funs_elim,pair_eq_iff}.
                    $f(x_0)\in\apply{A}{x_0}$ and $f(x)\in\apply{A}{x}$ by \cref{indexed_product}.
                    $f(x_0)\in Y$ and $f(x)\in Y$ by \cref{subseteq}.
                    $f\in N_0$ and $f\in N_1$ by \cref{inters_iff_forall,upair_intro_left,upair_intro_right}.
                    Take $z_0$ such that $z_0\in Z_0$ and $(f,z_0)\in\piIndex{A}{x_0}$ by \cref{preimg_iff}.
                    Take $z_1$ such that $z_1\in Z_1$ and $(f,z_1)\in\piIndex{A}{x}$ by \cref{preimg_iff}.
                    $z_0 = f(x_0)$ and $z_1 = f(x)$ by \cref{projection_map_indexed,pair_eq_iff}.
                    $f(x_0)\in Z_0$ and $f(x)\in Z_1$ by \cref{projection_map_indexed,pair_eq_iff}.
                    $f(x_0)\in\metricBall{d}{Y}{g(x_0)}{\delta}$ and
                        $f(x)\in\metricBall{d}{Y}{g(x)}{\delta}$ by \cref{inter_elim_right}.
                    $d((g(x_0),f(x_0))) < \delta$ and $d((g(x),f(x))) < \delta$ by \cref{metric_ball}.
                    $d((f(x_0),g(x_0))) < \delta$
                        by \cref{metric_on,metric_symmetric,funs_type_apply,real_lt_subst_left}.
                    $d((f(x),f(x_0))) < \delta$ by \cref{equicontinuous_at_point}.
                    $d((g(x),g(x_0))) < \delta + \delta + \delta$
                        by \cref{metric_three_step_lt_sum}.
                    $d((g(x),g(x_0))) < \epsilon$
                        by \cref{metric_on,funs_type_apply,times_tuple_intro,real_add_closed,real_lt_trans}.
                \end{subproof}
                Follows by definition.
            \end{subproof}
            $G$ is equicontinuous at $x_0$ from $X$ to $Y$ with respect to $T$ and $d$
                by \cref{closure,subseteq,subseteq_transitive,equicontinuous_at_point}.
        \end{subproof}
        $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{closure,subseteq,subseteq_transitive,equicontinuous_family}.
    \end{byCase}
\end{proof}
Lemma 908
indexed_product_subset_function_space_47

Assume $A$ is a function on $X$.
Assume for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{A}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Let $P = \productFamily{A}$.
Then $P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$.

LaTeX source
\begin{lemma}
\label{indexed_product_subset_function_space_47}
    Assume $A$ is a function on $X$.
    Assume for all $a\in X$ we have $\apply{A}{a}\subseteq Y$.
    Let $P = \productFamily{A}$.
    Then $P\subseteq\funs{X}{Y}$.
\end{lemma}
Proof

Follows by Axiom 6, Definition 1, Definition 167, Proposition 358, Proposition 359.

LaTeX source
\begin{proof}
    Follows by \cref{indexed_product,funs_elim,pair_eq_iff,funs_intro,subseteq}.
\end{proof}
Lemma 909
equicontinuous_product_topology_finer_than_compact_convergence_47

Assume $T$ is a topology on $X$.
Assume $X$ is inhabited.
Assume $d$ is a metric on $Y$.
Let $U = \metricTopology{d}{Y}$.
Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
Assume $A$ is a function on $X$.
Assume for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{A}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Let $T_A = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $P = \productFamily{A}$.
Let $T_P = \productTopologyIndexed{T_A}{A}$.
Assume $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$.
Suppose $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
Then $\subspaceTopology{T_P}{G}$ is finer than $\subspaceTopology{T_0}{G}$ on $G$.

LaTeX source
\begin{lemma}
\label{equicontinuous_product_topology_finer_than_compact_convergence_47}
    Assume $T$ is a topology on $X$.
    Assume $X$ is inhabited.
    Assume $d$ is a metric on $Y$.
    Let $U = \metricTopology{d}{Y}$.
    Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
    Assume $A$ is a function on $X$.
    Assume for all $a\in X$ we have $\apply{A}{a}\subseteq Y$.
    Let $T_A = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\in X\}$.
    Let $P = \productFamily{A}$.
    Let $T_P = \productTopologyIndexed{T_A}{A}$.
    Assume $G\subseteq P$.
    Suppose $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
    Then $\subspaceTopology{T_P}{G}$ is finer than $\subspaceTopology{T_0}{G}$ on $G$.
\end{lemma}
Proof

Let $F = \funs{X}{Y}$.
Let $R = \{(a,Y) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $S = \{(a,U) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $T_1 = \productTopologyIndexed{S}{R}$.
$U$ is a topology on $Y$ by Definition 115, Definition 182, Lemma 76, Lemma 194.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} F$ by Lemma 908, Proposition 6.
$T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$ by Lemma 903.
$T_P$ is finer than $\subspaceTopology{T_1}{P}$ on $P$ by Lemma 902.

Claim: $T_P$ is a topology on $P$ and $\subspaceTopology{T_1}{P}$ is a topology on $P$.

Follows by Definition 108.

$\subspaceTopology{T_P}{G}$ is a topology on $G$ by Definition 1, Lemma 131.
$\subspaceTopology{T_0}{G}$ is a topology on $G$ by Definition 1, Definition 369, Lemma 131.
Take $B$ such that $B$ is the compact-convergence basis on functions from $X$ to $Y$ with respect to $T$ and $d$ and $T_0 = \basisTopology{B}{F}$ by Definition 369.
$T_0$ is a topology on $F$ by Definition 369.
For all $E\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $E$ is open in $F$ with respect to $T_0$ by Definition 368, Lemma 866.
For all $W,h$ such that $W\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ and $h\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ there exists $E\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ such that $h\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ and $E\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} W$ by Definition 114.
$B$ is a basis for $T_0$ on $F$ by Lemma 79.
Let $C = \{D\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{G} \mid \class{latex-symbol-tip latex-symbol-id-exists}{\exists} E\class{latex-symbol-tip latex-symbol-id-in}{\in} B. D = E\inter G\}$.
$C$ is a basis for $\subspaceTopology{T_0}{G}$ on $G$ by Lemma 132.

Claim: For all $D$ such that $D\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $D$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$.

Fix $D$ such that $D\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Take $E\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ such that $D = E\inter G$ by Definition 1.

Claim: For all $g\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ there exists $N$ such that $N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$ and $N\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$.

Fix $g\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ by Definition 5.
Take $f_0, K, \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $E$ is the compact-convergence ball about $f_0$ over $K$ with radius $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 368.
Take $H,\class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ such that $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $H$ is the compact-convergence ball about $g$ over $K$ with radius $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ from $X$ to $Y$ with respect to $T$ and $d$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} E$ by Lemma 864.

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

$H = F$ by Lemma 880.
Let $N = G$.
$N$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$ by Definition 101, Definition 103.
$N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$ by Definition 153, Proposition 2.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} H$ by Definition 1, Lemma 82.
$H\inter G = G$ by Definition 1, Proposition 70.
$N\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} H\inter G$ by Axiom 6, Proposition 2.
For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} H\inter G$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} E\inter G$ by Definition 1, Definition 5, Proposition 61.
$H\inter G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} E\inter G$ by Definition 1.
$N\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Axiom 6, Proposition 6.
Follows by definition.

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

$K$ is a compact subspace of $X$ with respect to $T$ by Definition 367.
$K\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 263.
$K$ is inhabited by Proposition 10.
Take $\theta\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \theta$ and $\theta < 1$ and $\theta < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 867.
Take $\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 $\class{latex-symbol-tip latex-symbol-id-eta}{\eta} < 1$ and $\class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} < \theta$ by Lemma 834.
$\class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Axiom 13, Axiom 36.
Let $N_0 = \{V\class{latex-symbol-tip latex-symbol-id-in}{\in} T \mid \text{there exists $a\in K$ such that $V$ is a neighborhood of $a$ in $X$ with respect to $T$ and for all $x,h$ such that $x\in V$ and $h\in G$ we have $d((\apply{h}{x},\apply{h}{a})) < \eta$}\}$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{N_0}$ by Axiom 4, Definition 1, Definition 103, Definition 153, Definition 361, Definition 362.
$N_0$ is a covering of $K$ by Definition 1, Definition 245.
For all $V$ such that $V\class{latex-symbol-tip latex-symbol-id-in}{\in} N_0$ we have $V$ is open in $X$ with respect to $T$ by Definition 1, Definition 103.
$K$ is a subspace of $X$ with respect to $T$ by Definition 147.
$K$ is compact with respect to $\subspaceTopology{T}{K}$ by Definition 263.
Take $L$ such that $L\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} N_0$ and $L$ is finite and $L$ is a covering of $K$ by Lemma 356.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} L\class{latex-symbol-tip latex-symbol-id-times}{\times} K \mid \text{$\fst{w}$ is a neighborhood of $\snd{w}$ in $X$ with respect to $T$ and for all $x,h$ such that $x\in\fst{w}$ and $h\in G$ we have $d((\apply{h}{x},\apply{h}{\snd{w}})) < \eta$}\}$.
$Q$ is a relation by Definition 12, Proposition 121.
For all $V\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ there exists $a$ such that $V\mathrel{Q} a$ by Axiom 10, Axiom 11, Definition 1, Proposition 115.
Take $e$ such that $e$ is a function on $L$ and for all $V\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ we have $V\mathrel{Q}\apply{e}{V}$ by Axiom 54.
Let $J = \img{e}{L}$.
$J$ is finite by Lemma 192.
For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Axiom 6, Axiom 54, Definition 1, Proposition 114, Proposition 235, Proposition 346.
$J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1.
$L$ is inhabited by Axiom 4, Definition 1, Definition 245, Proposition 10.
$J$ is inhabited by Axiom 54, Definition 1, Proposition 10, Proposition 235, Proposition 349.
Take $S_0$ such that $S_0$ is the pointwise subbasis on functions from $X$ to $Y$ with respect to $U$ and $T_1 = \subbasisTopology{S_0}{F}$ by Definition 365.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 1.
Take $M_0$ such that $M_0$ is open in $F$ with respect to $\subbasisTopology{S_0}{F}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} M_0$ and for all $h$ if $h\class{latex-symbol-tip latex-symbol-id-in}{\in} M_0$ then $h\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $h(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(a)}{\class{latex-symbol-tip latex-symbol-id-eta}{\eta}}$ by Lemma 878, Lemma 879.
Let $M = P\inter M_0$.
$M$ is open in $P$ with respect to $\subspaceTopology{T_1}{P}$ by Axiom 6, Definition 103, Definition 146.
$M$ is open in $P$ with respect to $T_P$ by Definition 1, Definition 103, Definition 108.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ by Definition 1, Proposition 61.
Let $N = G\inter M$.
$N$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$ by Definition 103, Definition 146.
$N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$ by Definition 153, Proposition 61.
Take $\sigma$ such that $\sigma$ is the uniform metric on functions from $K$ to $Y$ with respect to $d$ and $H = \{h\class{latex-symbol-tip latex-symbol-id-in}{\in} F \mid \sigma((\restrl{g}{K},\restrl{h}{K})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}\}$ by Definition 367.

Claim: For all $h$ such that $h\class{latex-symbol-tip latex-symbol-id-in}{\in} N$ we have $h\class{latex-symbol-tip latex-symbol-id-in}{\in} H\inter G$.

Fix $h\class{latex-symbol-tip latex-symbol-id-in}{\in} N$.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ and $h\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 5.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ and $h\class{latex-symbol-tip latex-symbol-id-in}{\in} M_0$ by Definition 5.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 6.
$\restrl{g}{K}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K}{Y}$ and $\restrl{h}{K}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K}{Y}$ by Definition 1, Definition 263, Lemma 862.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ we have $d((\apply{h}{x},\apply{g}{x})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{L}$ by Definition 1, Definition 245.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Axiom 4.
$(V,\apply{e}{V})\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ by Axiom 6, Axiom 54.
$\apply{e}{V}\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ and $V$ is a neighborhood of $\apply{e}{V}$ in $X$ with respect to $T$ and for all $y,u$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $u\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{u}{y},\apply{u}{\apply{e}{V}})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Axiom 10, Axiom 11, Definition 1, Proposition 114.
$e(V)\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Proposition 235, Proposition 348.
$d((\apply{h}{x},\apply{h}{e(V)})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ and $d((\apply{g}{x},\apply{g}{e(V)})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Definition 1.
$h(e(V))\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{Y}{g(e(V))}{\class{latex-symbol-tip latex-symbol-id-eta}{\eta}}$ by Definition 1.
$d((\apply{g}{e(V)},\apply{h}{e(V)})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Definition 180.
$h(e(V))\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $g(e(V))\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 1, Proposition 361.
$d((\apply{h}{e(V)},\apply{g}{e(V)})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ and $d((\apply{g}{e(V)},\apply{g}{x})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Definition 177, Definition 179, Lemma 82.
$d((\apply{h}{x},\apply{g}{x})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Lemma 846.

$\class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.

Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ we have $\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$.

Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$d((\apply{h}{x},\apply{g}{x})) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Definition 1.
$h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 361.
$d((h(x),g(x)))\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 179, Proposition 115, Proposition 361.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
$\class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} < 1$ by Axiom 36.
$d((h(x),g(x))) < 1$ by Axiom 36.
$(g(x),h(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Proposition 115.
$d((g(x),h(x))) < 1$ by Definition 177, Definition 179, Lemma 82.
$\apply{\boundedMetric{d}}{(g(x),h(x))} = d((g(x),h(x)))$ by Lemma 204.
$d((g(x),h(x))) < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Definition 177, Definition 179, Lemma 82.
$\apply{\boundedMetric{d}}{(g(x),h(x))} < \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Lemma 82.
$\apply{\boundedMetric{d}}{(g(x),h(x))} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Lemma 231.
$\apply{\restrl{g}{K}}{x} = g(x)$ and $\apply{\restrl{h}{K}}{x} = h(x)$ by Definition 1, Definition 263, Proposition 355, Proposition 356, Proposition 359, Proposition 384.
$\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})} = \apply{\boundedMetric{d}}{(g(x),h(x))}$ by Axiom 6.
$\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Axiom 6.

$\sigma((\restrl{g}{K},\restrl{h}{K})) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta} + \class{latex-symbol-tip latex-symbol-id-eta}{\eta}$ by Lemma 677.
$(\restrl{g}{K},\restrl{h}{K})\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K}{Y}\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{K}{Y}$ by Proposition 115.
$\sigma\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\funs{K}{Y}\class{latex-symbol-tip latex-symbol-id-times}{\times}\funs{K}{Y}}{\reals}$ by Definition 179, Definition 344.
$\sigma((\restrl{g}{K},\restrl{h}{K})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ by Lemma 266, Proposition 361.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in} H$ by Definition 1.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in} H\inter G$ by Proposition 61.

$N\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} H\inter G$ by Definition 1.
For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} H\inter G$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} E\inter G$ by Definition 1, Definition 5, Proposition 61.
$H\inter G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} E\inter G$ by Definition 1.
$N\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Axiom 6, Proposition 6.
Follows by definition.

LaTeX source
\begin{byCase}
            \caseOf{$K = \emptyset$.}
                $H = F$ by \cref{compact_convergence_ball_over_empty_is_whole_space}.
                Let $N = G$.
                $N$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$ by \cref{open_in,topology_on}.
                $N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$
                    by \cref{neighborhood,subseteq_refl}.
                $G\subseteq H$ by \cref{subseteq,real_lt_subst_left}.
                $H\inter G = G$ by \cref{inter_absorb_supseteq_left,subseteq}.
                $N\subseteq H\inter G$ by \cref{pair_eq_iff,subseteq_refl}.
                For all $u$ such that $u\in H\inter G$ we have $u\in E\inter G$ by \cref{inter,subseteq,inter_intro}.
                $H\inter G\subseteq E\inter G$ by \cref{subseteq}.
                $N\subseteq D$ by \cref{subseteq_transitive,pair_eq_iff}.
                Follows by definition.
            \caseOf{$K \neq \emptyset$.}
                $K$ is a compact subspace of $X$ with respect to $T$ by \cref{compact_convergence_ball}.
                $K\subseteq X$ by \cref{compact_subspace}.
                $K$ is inhabited by \cref{nonempty_inhabited}.
                Take $\theta\in\reals$ such that
                    $0 < \theta$ and
                    $\theta < 1$ and
                    $\theta < \delta$ by \cref{positive_real_has_smaller_positive_below_one}.
                Take $\eta\in\reals$ such that
                    $0 < \eta$ and
                    $\eta < 1$ and
                    $\eta + \eta + \eta < \theta$
                    by \cref{positive_real_small_triple_bound}.
                $\eta + \eta + \eta < \delta$ by \cref{real_add_closed,real_lt_trans}.
                Let $N_0 = \{V\in T \mid \text{there exists $a\in K$ such that
                    $V$ is a neighborhood of $a$ in $X$ with respect to $T$ and
                    for all $x,h$ such that $x\in V$ and $h\in G$ we have
                        $d((\apply{h}{x},\apply{h}{a})) < \eta$}\}$.
                For all $x$ such that $x\in K$ we have $x\in\unions{N_0}$
                    by \cref{subseteq,equicontinuous_family,equicontinuous_at_point,neighborhood,open_in,unions_iff}.
                $N_0$ is a covering of $K$ by \cref{subseteq,covering}.
                For all $V$ such that $V\in N_0$ we have $V$ is open in $X$ with respect to $T$ by \cref{subseteq,open_in}.
                $K$ is a subspace of $X$ with respect to $T$ by \cref{subspace_of}.
                $K$ is compact with respect to $\subspaceTopology{T}{K}$ by \cref{compact_subspace}.
                Take $L$ such that
                    $L\subseteq N_0$ and
                    $L$ is finite and
                    $L$ is a covering of $K$
                    by \cref{compact_subspace_open_covering}.
                Let $Q = \{w\in L\times K \mid \text{$\fst{w}$ is a neighborhood of $\snd{w}$ in $X$ with respect to $T$ and
                    for all $x,h$ such that $x\in\fst{w}$ and $h\in G$ we have
                        $d((\apply{h}{x},\apply{h}{\snd{w}})) < \eta$}\}$.
                $Q$ is a relation by \cref{times_elem_is_tuple,relation}.
                For all $V\in L$ there exists $a$ such that $V\mathrel{Q} a$
                    by \cref{subseteq,times_tuple_intro,fst_eq,snd_eq}.
                Take $e$ such that $e$ is a function on $L$ and for all $V\in L$ we have $V\mathrel{Q}\apply{e}{V}$
                    by \cref{axiom_of_choice}.
                Let $J = \img{e}{L}$.
                $J$ is finite by \cref{finite_image_function}.
                For all $a$ such that $a\in J$ we have $a\in X$
                    by \cref{img_iff,function_apply_intro,axiom_of_choice,pair_eq_iff,subseteq,times_tuple_elim}.
                $J\subseteq X$ by \cref{subseteq}.
                $L$ is inhabited by \cref{covering,subseteq,unions_iff,nonempty_inhabited}.
                $J$ is inhabited by \cref{axiom_of_choice,subseteq,function_apply_iff,img_iff,nonempty_inhabited}.
                Take $S_0$ such that
                    $S_0$ is the pointwise subbasis on functions from $X$ to $Y$ with respect to $U$ and
                    $T_1 = \subbasisTopology{S_0}{F}$ by \cref{pointwise_convergence_topology}.
                $g\in F$ by \cref{subseteq}.
                Take $M_0$ such that
                    $M_0$ is open in $F$ with respect to $\subbasisTopology{S_0}{F}$ and
                    $g\in M_0$ and
                    for all $h$ if $h\in M_0$ then
                        $h\in F$ and
                        for all $a\in J$ we have $h(a)\in\metricBall{d}{Y}{g(a)}{\eta}$
                    by \cref{pointwise_subbasis_is_subbasis_inhabited_domain,finite_point_open_metric_neighborhoods_open}.
                Let $M = P\inter M_0$.
                $M$ is open in $P$ with respect to $\subspaceTopology{T_1}{P}$
                    by \cref{subspace_topology,open_in,pair_eq_iff}.
                $M$ is open in $P$ with respect to $T_P$ by \cref{finer_topology,open_in,subseteq}.
                $g\in M$ by \cref{subseteq,inter_intro}.
                Let $N = G\inter M$.
                $N$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$
                    by \cref{subspace_topology,open_in}.
                $N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$
                    by \cref{neighborhood,inter_intro}.
                Take $\sigma$ such that
                    $\sigma$ is the uniform metric on functions from $K$ to $Y$ with respect to $d$ and
                    $H = \{h\in F \mid \sigma((\restrl{g}{K},\restrl{h}{K})) < \delta\}$
                    by \cref{compact_convergence_ball}.
                Show that for all $h$ such that $h\in N$ we have $h\in H\inter G$.
                \begin{subproof}
                    Fix $h\in N$.
                    $h\in M$ and $h\in G$ by \cref{inter}.
                    $h\in P$ and $h\in M_0$ by \cref{inter}.
                    $h\in F$ and $g\in F$ by \cref{subseteq_transitive}.
                    $\restrl{g}{K}\in\funs{K}{Y}$ and $\restrl{h}{K}\in\funs{K}{Y}$
                        by \cref{restrl_typed_function,compact_subspace,subseteq}.
                    Show that for all $x\in K$ we have
                        $d((\apply{h}{x},\apply{g}{x})) < \eta + \eta + \eta$.
                    \begin{subproof}
                        Fix $x\in K$.
                        $x\in\unions{L}$ by \cref{covering,subseteq}.
                        Take $V\in L$ such that $x\in V$ by \cref{unions_iff}.
                        $(V,\apply{e}{V})\in Q$ by \cref{axiom_of_choice,pair_eq_iff}.
                        $\apply{e}{V}\in K$ and
                            $V$ is a neighborhood of $\apply{e}{V}$ in $X$ with respect to $T$ and
                            for all $y,u$ such that $y\in V$ and $u\in G$ we have
                                $d((\apply{u}{y},\apply{u}{\apply{e}{V}})) < \eta$
                            by \cref{fst_eq,snd_eq,subseteq,times_tuple_elim}.
                        $e(V)\in J$ by \cref{function_apply_elim,img_iff}.
                        $d((\apply{h}{x},\apply{h}{e(V)})) < \eta$ and
                            $d((\apply{g}{x},\apply{g}{e(V)})) < \eta$ by \cref{subseteq}.
                        $h(e(V))\in\metricBall{d}{Y}{g(e(V))}{\eta}$ by \cref{subseteq}.
                        $d((\apply{g}{e(V)},\apply{h}{e(V)})) < \eta$ by \cref{metric_ball}.
                        $h(e(V))\in Y$ and $g(e(V))\in Y$ and $h(x)\in Y$ and $g(x)\in Y$
                            by \cref{funs_type_apply,subseteq}.
                        $d((\apply{h}{e(V)},\apply{g}{e(V)})) < \eta$ and
                            $d((\apply{g}{e(V)},\apply{g}{x})) < \eta$
                            by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        $d((\apply{h}{x},\apply{g}{x})) < \eta + \eta + \eta$
                            by \cref{metric_three_step_lt_sum}.
                    \end{subproof}
                    $\eta + \eta + \eta\in\reals$ by \cref{real_add_closed}.
                    Show that for all $x\in K$ we have
                        $\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})}
                            \leq \eta + \eta + \eta$.
                    \begin{subproof}
                        Fix $x\in K$.
                        $x\in X$ by \cref{subseteq}.
                        $d((\apply{h}{x},\apply{g}{x})) < \eta + \eta + \eta$ by \cref{subseteq}.
                        $h(x)\in Y$ and $g(x)\in Y$ by \cref{funs_type_apply}.
                        $d((h(x),g(x)))\in\reals$ by \cref{metric_on,funs_type_apply,times_tuple_intro}.
                        $1\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
                        $\eta + \eta + \eta < 1$ by \cref{real_lt_trans}.
                        $d((h(x),g(x))) < 1$ by \cref{real_lt_trans}.
                        $(g(x),h(x))\in Y\times Y$ by \cref{times_tuple_intro}.
                        $d((g(x),h(x))) < 1$ by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        $\apply{\boundedMetric{d}}{(g(x),h(x))} = d((g(x),h(x)))$
                            by \cref{bounded_metric_apply_below_one}.
                        $d((g(x),h(x))) < \eta + \eta + \eta$
                            by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        $\apply{\boundedMetric{d}}{(g(x),h(x))} < \eta + \eta + \eta$
                            by \cref{real_lt_subst_left}.
                        $\apply{\boundedMetric{d}}{(g(x),h(x))}
                            \leq \eta + \eta + \eta$ by \cref{real_lt_imp_leq}.
                        $\apply{\restrl{g}{K}}{x} = g(x)$ and $\apply{\restrl{h}{K}}{x} = h(x)$
                            by \cref{restrl_of_function_apply,compact_subspace,subseteq,funs_is_function,funs_is_relation,funs_elim}.
                        $\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})}
                            = \apply{\boundedMetric{d}}{(g(x),h(x))}$ by \cref{pair_eq_iff}.
                        $\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})}
                            \leq \eta + \eta + \eta$ by \cref{pair_eq_iff}.
                    \end{subproof}
                    $\sigma((\restrl{g}{K},\restrl{h}{K})) \leq \eta + \eta + \eta$
                        by \cref{uniform_metric_leq_from_coordinate_bounds}.
                    $(\restrl{g}{K},\restrl{h}{K})\in\funs{K}{Y}\times\funs{K}{Y}$
                        by \cref{times_tuple_intro}.
                    $\sigma\in\funs{\funs{K}{Y}\times\funs{K}{Y}}{\reals}$
                        by \cref{uniform_metric_on_function_space,metric_on}.
                    $\sigma((\restrl{g}{K},\restrl{h}{K})) < \delta$
                        by \cref{funs_type_apply,real_leq_lt_trans}.
                    $h\in H$ by \cref{subseteq}.
                    $h\in H\inter G$ by \cref{inter_intro}.
                \end{subproof}
                $N\subseteq H\inter G$ by \cref{subseteq}.
                For all $u$ such that $u\in H\inter G$ we have $u\in E\inter G$ by \cref{inter,subseteq,inter_intro}.
                $H\inter G\subseteq E\inter G$ by \cref{subseteq}.
                $N\subseteq D$ by \cref{pair_eq_iff,subseteq_transitive}.
                Follows by definition.
            
\end{byCase}

$D$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$ by Axiom 12, Lemma 870.

For all $W$ such that $W\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T_0}{G}$ we have $W\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T_P}{G}$ by Definition 1, Definition 101, Definition 103, Definition 115, Lemma 76, Lemma 78.
$\subspaceTopology{T_0}{G}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\subspaceTopology{T_P}{G}$ by Definition 1.
$\subspaceTopology{T_P}{G}$ is finer than $\subspaceTopology{T_0}{G}$ on $G$ by Definition 108.

LaTeX source
\begin{proof}
    Let $F = \funs{X}{Y}$.
    Let $R = \{(a,Y) \mid a\in X\}$.
    Let $S = \{(a,U) \mid a\in X\}$.
    Let $T_1 = \productTopologyIndexed{S}{R}$.
    $U$ is a topology on $Y$
        by \cref{metric_topology,metric_basis_is_basis,basis_topology_is_topology,basis_for_topology}.
    $G\subseteq F$ by \cref{indexed_product_subset_function_space_47,subseteq_transitive}.
    $T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$
        by \cref{constant_indexed_product_topology_is_pointwise_47}.
    $T_P$ is finer than $\subspaceTopology{T_1}{P}$ on $P$
        by \cref{indexed_product_subspace_finer_47}.
    Show that $T_P$ is a topology on $P$ and $\subspaceTopology{T_1}{P}$ is a topology on $P$.
    \begin{subproof}
        Follows by \cref{finer_topology}.
    \end{subproof}
    $\subspaceTopology{T_P}{G}$ is a topology on $G$
        by \cref{subspace_topology_is_topology,subseteq}.
    $\subspaceTopology{T_0}{G}$ is a topology on $G$
        by \cref{subspace_topology_is_topology,compact_convergence_topology,subseteq}.
    Take $B$ such that
        $B$ is the compact-convergence basis on functions from $X$ to $Y$ with respect to $T$ and $d$ and
        $T_0 = \basisTopology{B}{F}$ by \cref{compact_convergence_topology}.
    $T_0$ is a topology on $F$ by \cref{compact_convergence_topology}.
    For all $E\in B$ we have $E$ is open in $F$ with respect to $T_0$
        by \cref{compact_convergence_function_space_basis,compact_convergence_ball_open}.
    For all $W,h$ such that $W\in T_0$ and $h\in W$ there exists $E\in B$ such that
        $h\in E$ and $E\subseteq W$ by \cref{topology_generated_by_basis}.
    $B$ is a basis for $T_0$ on $F$ by \cref{open_collection_basis}.
    Let $C = \{D\in\pow{G} \mid \exists E\in B. D = E\inter G\}$.
    $C$ is a basis for $\subspaceTopology{T_0}{G}$ on $G$ by \cref{subspace_basis}.
    Show that for all $D$ such that $D\in C$ we have
        $D$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$.
    \begin{subproof}
        Fix $D$ such that $D\in C$.
        Take $E\in B$ such that $D = E\inter G$ by \cref{subseteq}.
        Show that for all $g\in D$ there exists $N$ such that
            $N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$ and
            $N\subseteq D$.
        \begin{subproof}
            Fix $g\in D$.
            $g\in G$ and $g\in E$ by \cref{inter}.
            Take $f_0, K, \epsilon$ such that
                $E$ is the compact-convergence ball about $f_0$ over $K$ with radius $\epsilon$
                    from $X$ to $Y$ with respect to $T$ and $d$
                by \cref{compact_convergence_function_space_basis}.
            Take $H,\delta$ such that
                $\delta\in\reals$ and
                $0 < \delta$ and
                $H$ is the compact-convergence ball about $g$ over $K$ with radius $\delta$
                    from $X$ to $Y$ with respect to $T$ and $d$ and
                $H\subseteq E$ by \cref{compact_convergence_ball_refinement}.
            \begin{byCase}
            \caseOf{$K = \emptyset$.}
                $H = F$ by \cref{compact_convergence_ball_over_empty_is_whole_space}.
                Let $N = G$.
                $N$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$ by \cref{open_in,topology_on}.
                $N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$
                    by \cref{neighborhood,subseteq_refl}.
                $G\subseteq H$ by \cref{subseteq,real_lt_subst_left}.
                $H\inter G = G$ by \cref{inter_absorb_supseteq_left,subseteq}.
                $N\subseteq H\inter G$ by \cref{pair_eq_iff,subseteq_refl}.
                For all $u$ such that $u\in H\inter G$ we have $u\in E\inter G$ by \cref{inter,subseteq,inter_intro}.
                $H\inter G\subseteq E\inter G$ by \cref{subseteq}.
                $N\subseteq D$ by \cref{subseteq_transitive,pair_eq_iff}.
                Follows by definition.
            \caseOf{$K \neq \emptyset$.}
                $K$ is a compact subspace of $X$ with respect to $T$ by \cref{compact_convergence_ball}.
                $K\subseteq X$ by \cref{compact_subspace}.
                $K$ is inhabited by \cref{nonempty_inhabited}.
                Take $\theta\in\reals$ such that
                    $0 < \theta$ and
                    $\theta < 1$ and
                    $\theta < \delta$ by \cref{positive_real_has_smaller_positive_below_one}.
                Take $\eta\in\reals$ such that
                    $0 < \eta$ and
                    $\eta < 1$ and
                    $\eta + \eta + \eta < \theta$
                    by \cref{positive_real_small_triple_bound}.
                $\eta + \eta + \eta < \delta$ by \cref{real_add_closed,real_lt_trans}.
                Let $N_0 = \{V\in T \mid \text{there exists $a\in K$ such that
                    $V$ is a neighborhood of $a$ in $X$ with respect to $T$ and
                    for all $x,h$ such that $x\in V$ and $h\in G$ we have
                        $d((\apply{h}{x},\apply{h}{a})) < \eta$}\}$.
                For all $x$ such that $x\in K$ we have $x\in\unions{N_0}$
                    by \cref{subseteq,equicontinuous_family,equicontinuous_at_point,neighborhood,open_in,unions_iff}.
                $N_0$ is a covering of $K$ by \cref{subseteq,covering}.
                For all $V$ such that $V\in N_0$ we have $V$ is open in $X$ with respect to $T$ by \cref{subseteq,open_in}.
                $K$ is a subspace of $X$ with respect to $T$ by \cref{subspace_of}.
                $K$ is compact with respect to $\subspaceTopology{T}{K}$ by \cref{compact_subspace}.
                Take $L$ such that
                    $L\subseteq N_0$ and
                    $L$ is finite and
                    $L$ is a covering of $K$
                    by \cref{compact_subspace_open_covering}.
                Let $Q = \{w\in L\times K \mid \text{$\fst{w}$ is a neighborhood of $\snd{w}$ in $X$ with respect to $T$ and
                    for all $x,h$ such that $x\in\fst{w}$ and $h\in G$ we have
                        $d((\apply{h}{x},\apply{h}{\snd{w}})) < \eta$}\}$.
                $Q$ is a relation by \cref{times_elem_is_tuple,relation}.
                For all $V\in L$ there exists $a$ such that $V\mathrel{Q} a$
                    by \cref{subseteq,times_tuple_intro,fst_eq,snd_eq}.
                Take $e$ such that $e$ is a function on $L$ and for all $V\in L$ we have $V\mathrel{Q}\apply{e}{V}$
                    by \cref{axiom_of_choice}.
                Let $J = \img{e}{L}$.
                $J$ is finite by \cref{finite_image_function}.
                For all $a$ such that $a\in J$ we have $a\in X$
                    by \cref{img_iff,function_apply_intro,axiom_of_choice,pair_eq_iff,subseteq,times_tuple_elim}.
                $J\subseteq X$ by \cref{subseteq}.
                $L$ is inhabited by \cref{covering,subseteq,unions_iff,nonempty_inhabited}.
                $J$ is inhabited by \cref{axiom_of_choice,subseteq,function_apply_iff,img_iff,nonempty_inhabited}.
                Take $S_0$ such that
                    $S_0$ is the pointwise subbasis on functions from $X$ to $Y$ with respect to $U$ and
                    $T_1 = \subbasisTopology{S_0}{F}$ by \cref{pointwise_convergence_topology}.
                $g\in F$ by \cref{subseteq}.
                Take $M_0$ such that
                    $M_0$ is open in $F$ with respect to $\subbasisTopology{S_0}{F}$ and
                    $g\in M_0$ and
                    for all $h$ if $h\in M_0$ then
                        $h\in F$ and
                        for all $a\in J$ we have $h(a)\in\metricBall{d}{Y}{g(a)}{\eta}$
                    by \cref{pointwise_subbasis_is_subbasis_inhabited_domain,finite_point_open_metric_neighborhoods_open}.
                Let $M = P\inter M_0$.
                $M$ is open in $P$ with respect to $\subspaceTopology{T_1}{P}$
                    by \cref{subspace_topology,open_in,pair_eq_iff}.
                $M$ is open in $P$ with respect to $T_P$ by \cref{finer_topology,open_in,subseteq}.
                $g\in M$ by \cref{subseteq,inter_intro}.
                Let $N = G\inter M$.
                $N$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$
                    by \cref{subspace_topology,open_in}.
                $N$ is a neighborhood of $g$ in $G$ with respect to $\subspaceTopology{T_P}{G}$
                    by \cref{neighborhood,inter_intro}.
                Take $\sigma$ such that
                    $\sigma$ is the uniform metric on functions from $K$ to $Y$ with respect to $d$ and
                    $H = \{h\in F \mid \sigma((\restrl{g}{K},\restrl{h}{K})) < \delta\}$
                    by \cref{compact_convergence_ball}.
                Show that for all $h$ such that $h\in N$ we have $h\in H\inter G$.
                \begin{subproof}
                    Fix $h\in N$.
                    $h\in M$ and $h\in G$ by \cref{inter}.
                    $h\in P$ and $h\in M_0$ by \cref{inter}.
                    $h\in F$ and $g\in F$ by \cref{subseteq_transitive}.
                    $\restrl{g}{K}\in\funs{K}{Y}$ and $\restrl{h}{K}\in\funs{K}{Y}$
                        by \cref{restrl_typed_function,compact_subspace,subseteq}.
                    Show that for all $x\in K$ we have
                        $d((\apply{h}{x},\apply{g}{x})) < \eta + \eta + \eta$.
                    \begin{subproof}
                        Fix $x\in K$.
                        $x\in\unions{L}$ by \cref{covering,subseteq}.
                        Take $V\in L$ such that $x\in V$ by \cref{unions_iff}.
                        $(V,\apply{e}{V})\in Q$ by \cref{axiom_of_choice,pair_eq_iff}.
                        $\apply{e}{V}\in K$ and
                            $V$ is a neighborhood of $\apply{e}{V}$ in $X$ with respect to $T$ and
                            for all $y,u$ such that $y\in V$ and $u\in G$ we have
                                $d((\apply{u}{y},\apply{u}{\apply{e}{V}})) < \eta$
                            by \cref{fst_eq,snd_eq,subseteq,times_tuple_elim}.
                        $e(V)\in J$ by \cref{function_apply_elim,img_iff}.
                        $d((\apply{h}{x},\apply{h}{e(V)})) < \eta$ and
                            $d((\apply{g}{x},\apply{g}{e(V)})) < \eta$ by \cref{subseteq}.
                        $h(e(V))\in\metricBall{d}{Y}{g(e(V))}{\eta}$ by \cref{subseteq}.
                        $d((\apply{g}{e(V)},\apply{h}{e(V)})) < \eta$ by \cref{metric_ball}.
                        $h(e(V))\in Y$ and $g(e(V))\in Y$ and $h(x)\in Y$ and $g(x)\in Y$
                            by \cref{funs_type_apply,subseteq}.
                        $d((\apply{h}{e(V)},\apply{g}{e(V)})) < \eta$ and
                            $d((\apply{g}{e(V)},\apply{g}{x})) < \eta$
                            by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        $d((\apply{h}{x},\apply{g}{x})) < \eta + \eta + \eta$
                            by \cref{metric_three_step_lt_sum}.
                    \end{subproof}
                    $\eta + \eta + \eta\in\reals$ by \cref{real_add_closed}.
                    Show that for all $x\in K$ we have
                        $\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})}
                            \leq \eta + \eta + \eta$.
                    \begin{subproof}
                        Fix $x\in K$.
                        $x\in X$ by \cref{subseteq}.
                        $d((\apply{h}{x},\apply{g}{x})) < \eta + \eta + \eta$ by \cref{subseteq}.
                        $h(x)\in Y$ and $g(x)\in Y$ by \cref{funs_type_apply}.
                        $d((h(x),g(x)))\in\reals$ by \cref{metric_on,funs_type_apply,times_tuple_intro}.
                        $1\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
                        $\eta + \eta + \eta < 1$ by \cref{real_lt_trans}.
                        $d((h(x),g(x))) < 1$ by \cref{real_lt_trans}.
                        $(g(x),h(x))\in Y\times Y$ by \cref{times_tuple_intro}.
                        $d((g(x),h(x))) < 1$ by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        $\apply{\boundedMetric{d}}{(g(x),h(x))} = d((g(x),h(x)))$
                            by \cref{bounded_metric_apply_below_one}.
                        $d((g(x),h(x))) < \eta + \eta + \eta$
                            by \cref{metric_on,metric_symmetric,real_lt_subst_left}.
                        $\apply{\boundedMetric{d}}{(g(x),h(x))} < \eta + \eta + \eta$
                            by \cref{real_lt_subst_left}.
                        $\apply{\boundedMetric{d}}{(g(x),h(x))}
                            \leq \eta + \eta + \eta$ by \cref{real_lt_imp_leq}.
                        $\apply{\restrl{g}{K}}{x} = g(x)$ and $\apply{\restrl{h}{K}}{x} = h(x)$
                            by \cref{restrl_of_function_apply,compact_subspace,subseteq,funs_is_function,funs_is_relation,funs_elim}.
                        $\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})}
                            = \apply{\boundedMetric{d}}{(g(x),h(x))}$ by \cref{pair_eq_iff}.
                        $\apply{\boundedMetric{d}}{(\apply{\restrl{g}{K}}{x}, \apply{\restrl{h}{K}}{x})}
                            \leq \eta + \eta + \eta$ by \cref{pair_eq_iff}.
                    \end{subproof}
                    $\sigma((\restrl{g}{K},\restrl{h}{K})) \leq \eta + \eta + \eta$
                        by \cref{uniform_metric_leq_from_coordinate_bounds}.
                    $(\restrl{g}{K},\restrl{h}{K})\in\funs{K}{Y}\times\funs{K}{Y}$
                        by \cref{times_tuple_intro}.
                    $\sigma\in\funs{\funs{K}{Y}\times\funs{K}{Y}}{\reals}$
                        by \cref{uniform_metric_on_function_space,metric_on}.
                    $\sigma((\restrl{g}{K},\restrl{h}{K})) < \delta$
                        by \cref{funs_type_apply,real_leq_lt_trans}.
                    $h\in H$ by \cref{subseteq}.
                    $h\in H\inter G$ by \cref{inter_intro}.
                \end{subproof}
                $N\subseteq H\inter G$ by \cref{subseteq}.
                For all $u$ such that $u\in H\inter G$ we have $u\in E\inter G$ by \cref{inter,subseteq,inter_intro}.
                $H\inter G\subseteq E\inter G$ by \cref{subseteq}.
                $N\subseteq D$ by \cref{pair_eq_iff,subseteq_transitive}.
                Follows by definition.
            \end{byCase}
        \end{subproof}
        $D$ is open in $G$ with respect to $\subspaceTopology{T_P}{G}$
            by \cref{pow_iff,open_from_local_neighborhoods}.
    \end{subproof}
    For all $W$ such that $W\in\subspaceTopology{T_0}{G}$ we have
        $W\in\subspaceTopology{T_P}{G}$
        by \cref{basis_topology_unions,basis_topology_is_topology,basis_for_topology,open_in,subseteq,topology_on}.
    $\subspaceTopology{T_0}{G}\subseteq\subspaceTopology{T_P}{G}$ by \cref{subseteq}.
    $\subspaceTopology{T_P}{G}$ is finer than $\subspaceTopology{T_0}{G}$ on $G$
        by \cref{finer_topology}.
\end{proof}
Lemma 910
pointwise_value_set_subset_codomain_47

Assume $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Assume $B = \{\apply{f}{a} \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in} F\}$.
Then $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.

LaTeX source
\begin{lemma}
\label{pointwise_value_set_subset_codomain_47}
    Assume $F\subseteq\funs{X}{Y}$.
    Assume $a\in X$.
    Assume $B = \{\apply{f}{a} \mid f\in F\}$.
    Then $B\subseteq Y$.
\end{lemma}
Theorem 135
ascoli_general_compact_containment

Assume $T$ is a topology on $X$.
Assume $d$ is a metric on $Y$.
Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
Assume $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Suppose $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
Suppose $F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$.
Then there exists $G$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.

LaTeX source
\begin{theorem}
\label{ascoli_general_compact_containment}
    Assume $T$ is a topology on $X$.
    Assume $d$ is a metric on $Y$.
    Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
    Assume $F\subseteq C$.
    Suppose $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
    Suppose $F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$.
    Then there exists $G$ such that
        $F\subseteq G$ and
        $G\subseteq C$ and
        $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
\end{theorem}
Proof

Let $U = \metricTopology{d}{Y}$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1, Definition 345.

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

Let $G = F$.

Claim: $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.

$F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ by Proposition 2.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Proposition 2.
$T_0$ is a topology on $\funs{X}{Y}$ by Definition 369.

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

$\subspaceTopology{T_0}{G}$ is a topology on $G$ by Lemma 131, Proposition 11.
$G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by Lemma 411.

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

Take $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Proposition 10.
For all $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\}$ by Definition 1, Definition 345, Lemma 664, Proposition 20, Proposition 359.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\}$ by Definition 1.
$\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 1, Definition 345, Lemma 82, Lemma 664, Proposition 359.
$G = \{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\}$ by Proposition 3, Proposition 25.
$\{\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}\}$ is a compact subspace of $\funs{X}{Y}$ with respect to $T_0$ by Definition 1, Definition 345, Definition 369, Lemma 82, Lemma 875.
$G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by Definition 263, Lemma 82.

LaTeX source
\begin{byCase}
            \caseOf{$G = \emptyset$.}
                $\subspaceTopology{T_0}{G}$ is a topology on $G$ by \cref{subspace_topology_is_topology,emptyset_subseteq}.
                $G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by \cref{emptyset_compact}.
            \caseOf{$G \neq \emptyset$.}
                Take $f$ such that $f\in G$ by \cref{nonempty_inhabited}.
                For all $g$ such that $g\in G$ we have $g\in\{\emptyset\}$
                    by \cref{subseteq,continuous_function_set,funs_elim,function_from_emptyset_is_empty,singleton_intro}.
                $G\subseteq\{\emptyset\}$ by \cref{subseteq}.
                $\emptyset\in G$
                    by \cref{real_lt_subst_left,subseteq,continuous_function_set,funs_elim,function_from_emptyset_is_empty}.
                $G = \{\emptyset\}$ by \cref{subseteq_antisymmetric,singleton_subset_intro}.
                $\{\emptyset\}$ is a compact subspace of $\funs{X}{Y}$ with respect to $T_0$
                    by \cref{continuous_function_set,subseteq,real_lt_subst_left,singleton_compact_subspace,compact_convergence_topology}.
                $G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by \cref{compact_subspace,real_lt_subst_left}.
            
\end{byCase}

There exists $H$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} H$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $H$ is compact with respect to $\subspaceTopology{T_0}{H}$.

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

$X$ is inhabited by Proposition 10.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times}\pow{Y} \mid \text{$\snd{w} = \{\apply{f}{\fst{w}} \mid f\in F\}$ and $\closure{\snd{w}}{Y}{U}$ is compact with respect to $\subspaceTopology{U}{\closure{\snd{w}}{Y}{U}}$}\}$.
$Q$ is a relation by Definition 12, Proposition 121.
$F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 381.
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $B$ such that $a\mathrel{Q} B$ by Axiom 10, Axiom 11, Definition 381, Lemma 910, Proposition 115, Proposition 155.
Take $e$ such that $e$ is a function on $X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $a\mathrel{Q}\apply{e}{a}$ by Axiom 54.
Let $A = \{(a,\closure{e(a)}{Y}{U}) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $b_1 = b_2$ by Axiom 6.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ there exist $a,b$ such that $w = (a,b)$.
$A$ is a function by Definition 12, Definition 51.

Claim: $\dom{A} = X$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{A}{a} = \closure{e(a)}{Y}{U}$ and $\apply{A}{a}$ is compact with respect to $\subspaceTopology{U}{\apply{A}{a}}$ and $\apply{A}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.

Let $T_A = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ we have $b_1 = b_2$ by Axiom 6.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} T_A$ there exist $a,b$ such that $w = (a,b)$.

Claim: $T_A$ is a function and $\dom{T_A} = X$.

Let $P = \productFamily{A}$.
Let $T_P = \productTopologyIndexed{T_A}{A}$.
For all $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ and for all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f(a)\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{A}{a}$ by Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 182, Definition 345, Definition 381, Lemma 76, Lemma 82, Lemma 146, Lemma 194, Lemma 910, Proposition 346.
For all $f$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\dom{A}}{\unions{\ran{A}}}$ by Axiom 4, Definition 1, Definition 55, Lemma 82, Proposition 209, Proposition 348, Proposition 356, Proposition 358.
$F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Definition 1, Definition 167.
For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{A}$ we have $\apply{T_A}{a}$ is a topology on $\apply{A}{a}$ and $\apply{A}{a}$ is compact with respect to $\apply{T_A}{a}$ by Definition 1, Definition 115, Definition 182, Lemma 76, Lemma 82, Lemma 131, Lemma 194, Proposition 346.
$P$ is compact with respect to $T_P$ by Lemma 82, Theorem 95.
$T_P$ is a topology on $P$ by Definition 115, Definition 173, Lemma 76, Lemma 177.
Let $G = \closure{F}{P}{T_P}$.
$F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ by Lemma 146.
$G$ is closed in $P$ with respect to $T_P$ by Lemma 144.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Definition 1, Definition 151, Lemma 82.
$G$ is compact with respect to $\subspaceTopology{T_P}{G}$ by Theorem 59.
$G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$ by Lemma 907.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1, Definition 151, Lemma 908, Proposition 6.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Lemma 900.
$\subspaceTopology{T_P}{G}$ is finer than $\subspaceTopology{T_0}{G}$ on $G$ by Lemma 909.
$G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by Lemma 904.
There exists $K$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} K$ and $K\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $K$ is compact with respect to $\subspaceTopology{T_0}{K}$.

LaTeX source
\begin{byCase}
    \caseOf{$X = \emptyset$.}
        Let $G = F$.
        Show that $F\subseteq G$ and $G\subseteq C$ and
            $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
        \begin{subproof}
            $F\subseteq G$ by \cref{subseteq_refl}.
            $G\subseteq C$ by \cref{subseteq_refl}.
            $T_0$ is a topology on $\funs{X}{Y}$ by \cref{compact_convergence_topology}.
            \begin{byCase}
            \caseOf{$G = \emptyset$.}
                $\subspaceTopology{T_0}{G}$ is a topology on $G$ by \cref{subspace_topology_is_topology,emptyset_subseteq}.
                $G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by \cref{emptyset_compact}.
            \caseOf{$G \neq \emptyset$.}
                Take $f$ such that $f\in G$ by \cref{nonempty_inhabited}.
                For all $g$ such that $g\in G$ we have $g\in\{\emptyset\}$
                    by \cref{subseteq,continuous_function_set,funs_elim,function_from_emptyset_is_empty,singleton_intro}.
                $G\subseteq\{\emptyset\}$ by \cref{subseteq}.
                $\emptyset\in G$
                    by \cref{real_lt_subst_left,subseteq,continuous_function_set,funs_elim,function_from_emptyset_is_empty}.
                $G = \{\emptyset\}$ by \cref{subseteq_antisymmetric,singleton_subset_intro}.
                $\{\emptyset\}$ is a compact subspace of $\funs{X}{Y}$ with respect to $T_0$
                    by \cref{continuous_function_set,subseteq,real_lt_subst_left,singleton_compact_subspace,compact_convergence_topology}.
                $G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by \cref{compact_subspace,real_lt_subst_left}.
            \end{byCase}
        \end{subproof}
        There exists $H$ such that
            $F\subseteq H$ and
            $H\subseteq C$ and
            $H$ is compact with respect to $\subspaceTopology{T_0}{H}$.
    \caseOf{$X \neq \emptyset$.}
        $X$ is inhabited by \cref{nonempty_inhabited}.
        Let $Q = \{w\in X\times\pow{Y} \mid \text{$\snd{w} = \{\apply{f}{\fst{w}} \mid f\in F\}$ and
            $\closure{\snd{w}}{Y}{U}$ is compact with respect to
                $\subspaceTopology{U}{\closure{\snd{w}}{Y}{U}}$}\}$.
        $Q$ is a relation by \cref{times_elem_is_tuple,relation}.
        $F\subseteq\funs{X}{Y}$ by \cref{pointwise_compact_closure_function_family}.
        For all $a\in X$ there exists $B$ such that $a\mathrel{Q} B$
            by \cref{pointwise_compact_closure_function_family,pointwise_value_set_subset_codomain_47,powerset_intro,times_tuple_intro,fst_eq,snd_eq}.
        Take $e$ such that $e$ is a function on $X$ and for all $a\in X$ we have $a\mathrel{Q}\apply{e}{a}$
            by \cref{axiom_of_choice}.
        Let $A = \{(a,\closure{e(a)}{Y}{U}) \mid a\in X\}$.
        For all $a,b_1,b_2$ such that $(a,b_1)\in A$ and $(a,b_2)\in A$ we have $b_1 = b_2$
            by \cref{pair_eq_iff}.
        For all $w\in A$ there exist $a,b$ such that $w = (a,b)$.
        $A$ is a function by \cref{relation,rightunique}.
        Show that $\dom{A} = X$ and for all $a\in X$ we have
            $\apply{A}{a} = \closure{e(a)}{Y}{U}$ and
            $\apply{A}{a}$ is compact with respect to $\subspaceTopology{U}{\apply{A}{a}}$ and
            $\apply{A}{a}\subseteq Y$.
        \begin{subproof}
            Follows by \cref{dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric,function_apply_intro,axiom_of_choice,fst_eq,snd_eq,closure}.
        \end{subproof}
        Let $T_A = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\in X\}$.
        For all $a,b_1,b_2$ such that $(a,b_1)\in T_A$ and $(a,b_2)\in T_A$ we have $b_1 = b_2$
            by \cref{pair_eq_iff}.
        For all $w\in T_A$ there exist $a,b$ such that $w = (a,b)$.
        Show that $T_A$ is a function and $\dom{T_A} = X$.
        \begin{subproof}
            Follows by \cref{relation,rightunique,dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric}.
        \end{subproof}
        Let $P = \productFamily{A}$.
        Let $T_P = \productTopologyIndexed{T_A}{A}$.
        For all $f$ such that $f\in F$ we have
            $f\in\funs{X}{Y}$ and
            for all $a$ such that $a\in X$ we have $f(a)\in\apply{A}{a}$
            by \cref{subseteq,continuous_function_set,axiom_of_choice,pointwise_compact_closure_function_family,fst_eq,snd_eq,pointwise_value_set_subset_codomain_47,real_lt_subst_left,metric_basis_is_basis,basis_topology_is_topology,metric_topology,subseteq_closure,function_apply_intro}.
        For all $f$ such that $f\in F$ we have $f\in\funs{\dom{A}}{\unions{\ran{A}}}$
            by \cref{funs_is_function,funs,funs_intro,real_lt_subst_left,subseteq,function_apply_elim,ran_intro,unions_iff}.
        $F\subseteq P$ by \cref{indexed_product,subseteq}.
        For all $a$ such that $a\in\dom{A}$ we have
            $\apply{T_A}{a}$ is a topology on $\apply{A}{a}$ and
            $\apply{A}{a}$ is compact with respect to $\apply{T_A}{a}$
            by \cref{real_lt_subst_left,subseteq,function_apply_intro,subspace_topology_is_topology,metric_topology,metric_basis_is_basis,basis_topology_is_topology,basis_for_topology}.
        $P$ is compact with respect to $T_P$ by \cref{real_lt_subst_left,tychonoff_theorem}.
        $T_P$ is a topology on $P$ by
            \cref{product_subbasis_finite_intersections_basis,product_topology_indexed,basis_topology_is_topology,basis_for_topology}.
        Let $G = \closure{F}{P}{T_P}$.
        $F\subseteq G$ by \cref{subseteq_closure}.
        $G$ is closed in $P$ with respect to $T_P$ by \cref{closure_closed_in}.
        $G\subseteq P$ by \cref{real_lt_subst_left,closure,subseteq}.
        $G$ is compact with respect to $\subspaceTopology{T_P}{G}$ by \cref{closed_subspace_compact}.
        $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{coordinatewise_product_closure_equicontinuous_47}.
        $G\subseteq\funs{X}{Y}$
            by \cref{indexed_product_subset_function_space_47,closure,subseteq,subseteq_transitive}.
        $G\subseteq C$ by \cref{equicontinuous_family_continuous_functions_47}.
        $\subspaceTopology{T_P}{G}$ is finer than $\subspaceTopology{T_0}{G}$ on $G$
            by \cref{equicontinuous_product_topology_finer_than_compact_convergence_47}.
        $G$ is compact with respect to $\subspaceTopology{T_0}{G}$
            by \cref{compactness_from_finer_topology_47}.
        There exists $K$ such that
            $F\subseteq K$ and
            $K\subseteq C$ and
            $K$ is compact with respect to $\subspaceTopology{T_0}{K}$.
    
\end{byCase}
LaTeX source
\begin{proof}
    Let $U = \metricTopology{d}{Y}$.
    $C\subseteq\funs{X}{Y}$ by \cref{continuous_function_set,subseteq}.
    \begin{byCase}
    \caseOf{$X = \emptyset$.}
        Let $G = F$.
        Show that $F\subseteq G$ and $G\subseteq C$ and
            $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
        \begin{subproof}
            $F\subseteq G$ by \cref{subseteq_refl}.
            $G\subseteq C$ by \cref{subseteq_refl}.
            $T_0$ is a topology on $\funs{X}{Y}$ by \cref{compact_convergence_topology}.
            \begin{byCase}
            \caseOf{$G = \emptyset$.}
                $\subspaceTopology{T_0}{G}$ is a topology on $G$ by \cref{subspace_topology_is_topology,emptyset_subseteq}.
                $G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by \cref{emptyset_compact}.
            \caseOf{$G \neq \emptyset$.}
                Take $f$ such that $f\in G$ by \cref{nonempty_inhabited}.
                For all $g$ such that $g\in G$ we have $g\in\{\emptyset\}$
                    by \cref{subseteq,continuous_function_set,funs_elim,function_from_emptyset_is_empty,singleton_intro}.
                $G\subseteq\{\emptyset\}$ by \cref{subseteq}.
                $\emptyset\in G$
                    by \cref{real_lt_subst_left,subseteq,continuous_function_set,funs_elim,function_from_emptyset_is_empty}.
                $G = \{\emptyset\}$ by \cref{subseteq_antisymmetric,singleton_subset_intro}.
                $\{\emptyset\}$ is a compact subspace of $\funs{X}{Y}$ with respect to $T_0$
                    by \cref{continuous_function_set,subseteq,real_lt_subst_left,singleton_compact_subspace,compact_convergence_topology}.
                $G$ is compact with respect to $\subspaceTopology{T_0}{G}$ by \cref{compact_subspace,real_lt_subst_left}.
            \end{byCase}
        \end{subproof}
        There exists $H$ such that
            $F\subseteq H$ and
            $H\subseteq C$ and
            $H$ is compact with respect to $\subspaceTopology{T_0}{H}$.
    \caseOf{$X \neq \emptyset$.}
        $X$ is inhabited by \cref{nonempty_inhabited}.
        Let $Q = \{w\in X\times\pow{Y} \mid \text{$\snd{w} = \{\apply{f}{\fst{w}} \mid f\in F\}$ and
            $\closure{\snd{w}}{Y}{U}$ is compact with respect to
                $\subspaceTopology{U}{\closure{\snd{w}}{Y}{U}}$}\}$.
        $Q$ is a relation by \cref{times_elem_is_tuple,relation}.
        $F\subseteq\funs{X}{Y}$ by \cref{pointwise_compact_closure_function_family}.
        For all $a\in X$ there exists $B$ such that $a\mathrel{Q} B$
            by \cref{pointwise_compact_closure_function_family,pointwise_value_set_subset_codomain_47,powerset_intro,times_tuple_intro,fst_eq,snd_eq}.
        Take $e$ such that $e$ is a function on $X$ and for all $a\in X$ we have $a\mathrel{Q}\apply{e}{a}$
            by \cref{axiom_of_choice}.
        Let $A = \{(a,\closure{e(a)}{Y}{U}) \mid a\in X\}$.
        For all $a,b_1,b_2$ such that $(a,b_1)\in A$ and $(a,b_2)\in A$ we have $b_1 = b_2$
            by \cref{pair_eq_iff}.
        For all $w\in A$ there exist $a,b$ such that $w = (a,b)$.
        $A$ is a function by \cref{relation,rightunique}.
        Show that $\dom{A} = X$ and for all $a\in X$ we have
            $\apply{A}{a} = \closure{e(a)}{Y}{U}$ and
            $\apply{A}{a}$ is compact with respect to $\subspaceTopology{U}{\apply{A}{a}}$ and
            $\apply{A}{a}\subseteq Y$.
        \begin{subproof}
            Follows by \cref{dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric,function_apply_intro,axiom_of_choice,fst_eq,snd_eq,closure}.
        \end{subproof}
        Let $T_A = \{(a,\subspaceTopology{U}{\apply{A}{a}}) \mid a\in X\}$.
        For all $a,b_1,b_2$ such that $(a,b_1)\in T_A$ and $(a,b_2)\in T_A$ we have $b_1 = b_2$
            by \cref{pair_eq_iff}.
        For all $w\in T_A$ there exist $a,b$ such that $w = (a,b)$.
        Show that $T_A$ is a function and $\dom{T_A} = X$.
        \begin{subproof}
            Follows by \cref{relation,rightunique,dom_iff,dom_intro,pair_eq_iff,subseteq,subseteq_antisymmetric}.
        \end{subproof}
        Let $P = \productFamily{A}$.
        Let $T_P = \productTopologyIndexed{T_A}{A}$.
        For all $f$ such that $f\in F$ we have
            $f\in\funs{X}{Y}$ and
            for all $a$ such that $a\in X$ we have $f(a)\in\apply{A}{a}$
            by \cref{subseteq,continuous_function_set,axiom_of_choice,pointwise_compact_closure_function_family,fst_eq,snd_eq,pointwise_value_set_subset_codomain_47,real_lt_subst_left,metric_basis_is_basis,basis_topology_is_topology,metric_topology,subseteq_closure,function_apply_intro}.
        For all $f$ such that $f\in F$ we have $f\in\funs{\dom{A}}{\unions{\ran{A}}}$
            by \cref{funs_is_function,funs,funs_intro,real_lt_subst_left,subseteq,function_apply_elim,ran_intro,unions_iff}.
        $F\subseteq P$ by \cref{indexed_product,subseteq}.
        For all $a$ such that $a\in\dom{A}$ we have
            $\apply{T_A}{a}$ is a topology on $\apply{A}{a}$ and
            $\apply{A}{a}$ is compact with respect to $\apply{T_A}{a}$
            by \cref{real_lt_subst_left,subseteq,function_apply_intro,subspace_topology_is_topology,metric_topology,metric_basis_is_basis,basis_topology_is_topology,basis_for_topology}.
        $P$ is compact with respect to $T_P$ by \cref{real_lt_subst_left,tychonoff_theorem}.
        $T_P$ is a topology on $P$ by
            \cref{product_subbasis_finite_intersections_basis,product_topology_indexed,basis_topology_is_topology,basis_for_topology}.
        Let $G = \closure{F}{P}{T_P}$.
        $F\subseteq G$ by \cref{subseteq_closure}.
        $G$ is closed in $P$ with respect to $T_P$ by \cref{closure_closed_in}.
        $G\subseteq P$ by \cref{real_lt_subst_left,closure,subseteq}.
        $G$ is compact with respect to $\subspaceTopology{T_P}{G}$ by \cref{closed_subspace_compact}.
        $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{coordinatewise_product_closure_equicontinuous_47}.
        $G\subseteq\funs{X}{Y}$
            by \cref{indexed_product_subset_function_space_47,closure,subseteq,subseteq_transitive}.
        $G\subseteq C$ by \cref{equicontinuous_family_continuous_functions_47}.
        $\subspaceTopology{T_P}{G}$ is finer than $\subspaceTopology{T_0}{G}$ on $G$
            by \cref{equicontinuous_product_topology_finer_than_compact_convergence_47}.
        $G$ is compact with respect to $\subspaceTopology{T_0}{G}$
            by \cref{compactness_from_finer_topology_47}.
        There exists $K$ such that
            $F\subseteq K$ and
            $K\subseteq C$ and
            $K$ is compact with respect to $\subspaceTopology{T_0}{K}$.
    \end{byCase}
\end{proof}
Lemma 911
restrl_restrl_typed_function_47

Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.
Assume $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Then $\restrl{\restrl{f}{A}}{C} = \restrl{f}{C}$.

LaTeX source
\begin{lemma}
\label{restrl_restrl_typed_function_47}
    Assume $f\in\funs{X}{Y}$.
    Assume $C\subseteq A\subseteq X$.
    Then $\restrl{\restrl{f}{A}}{C} = \restrl{f}{C}$.
\end{lemma}
Lemma 912
named_restrl_restrl_typed_function_47

Assume $p = \restrl{f}{A}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.
Assume $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Then $\restrl{p}{C} = \restrl{f}{C}$.

LaTeX source
\begin{lemma}
\label{named_restrl_restrl_typed_function_47}
    Assume $p = \restrl{f}{A}$.
    Assume $f\in\funs{X}{Y}$.
    Assume $C\subseteq A\subseteq X$.
    Then $\restrl{p}{C} = \restrl{f}{C}$.
\end{lemma}
Lemma 913
restriction_graph_typed_function_47

Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Let $F = \funs{X}{Y}$.
Let $F_A = \funs{A}{Y}$.
Let $r = \{(f,\restrl{f}{A}) \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in} F\}$.
Then $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $r(f) = \restrl{f}{A}$.

LaTeX source
\begin{lemma}
\label{restriction_graph_typed_function_47}
    Assume $A\subseteq X$.
    Let $F = \funs{X}{Y}$.
    Let $F_A = \funs{A}{Y}$.
    Let $r = \{(f,\restrl{f}{A}) \mid f\in F\}$.
    Then $r\in\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\in F$ we have $r(f) = \restrl{f}{A}$.
\end{lemma}
Proof

For all $f,g_1,g_2$ such that $(f,g_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} r$ and $(f,g_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} r$ we have $g_1 = g_2$ by Axiom 6.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} r$ there exist $f,g$ such that $w = (f,g)$.
$r$ is a function by Definition 12, Definition 51.

Claim: $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $r(f) = \restrl{f}{A}$.
LaTeX source
\begin{proof}
    For all $f,g_1,g_2$ such that $(f,g_1)\in r$ and $(f,g_2)\in r$ we have $g_1 = g_2$
        by \cref{pair_eq_iff}.
    For all $w\in r$ there exist $f,g$ such that $w = (f,g)$.
    $r$ is a function by \cref{relation,rightunique}.
    Show that $r\in\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\in F$ we have $r(f) = \restrl{f}{A}$.
    \begin{subproof}
        Follows by \cref{function_apply_intro,restrl_typed_function,subseteq,real_lt_subst_left,funs_intro,dom_iff,pair_eq_iff,dom_intro,subseteq_antisymmetric,funs}.
    \end{subproof}
\end{proof}
Lemma 914
restriction_map_continuous_compact_convergence_47

Assume $T$ is a topology on $X$.
Assume $A$ is a subspace of $X$ with respect to $T$.
Let $T_A = \subspaceTopology{T}{A}$.
Assume $d$ is a metric on $Y$.
Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
Assume $T_1$ is the topology of compact convergence on functions from $A$ to $Y$ with respect to $T_A$ and $d$.
Let $r = \{(f,\restrl{f}{A}) \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}\}$.
Then $r$ is continuous from $\funs{X}{Y}$ to $\funs{A}{Y}$ with respect to $T_0$ and $T_1$.

LaTeX source
\begin{lemma}
\label{restriction_map_continuous_compact_convergence_47}
    Assume $T$ is a topology on $X$.
    Assume $A$ is a subspace of $X$ with respect to $T$.
    Let $T_A = \subspaceTopology{T}{A}$.
    Assume $d$ is a metric on $Y$.
    Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
    Assume $T_1$ is the topology of compact convergence on functions from $A$ to $Y$ with respect to $T_A$ and $d$.
    Let $r = \{(f,\restrl{f}{A}) \mid f\in\funs{X}{Y}\}$.
    Then $r$ is continuous from $\funs{X}{Y}$ to $\funs{A}{Y}$ with respect to $T_0$ and $T_1$.
\end{lemma}
Proof

Let $F = \funs{X}{Y}$.
Let $F_A = \funs{A}{Y}$.

Claim: $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $r(f) = \restrl{f}{A}$.
Claim: $r$ is right-unique and $r$ is a relation.
Claim: $T_0$ is a topology on $F$ and $T_1$ is a topology on $F_A$.

Follows by Definition 369.

Claim: For all $U$ such that $U$ is open in $F_A$ with respect to $T_1$ we have $\preimg{r}{U}$ is open in $F$ with respect to $T_0$.

Fix $U$ such that $U$ is open in $F_A$ with respect to $T_1$.
Take $B$ such that $B$ is the compact-convergence basis on functions from $A$ to $Y$ with respect to $T_A$ and $d$ and $T_1 = \basisTopology{B}{F_A}$ by Definition 369.
$U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ by Definition 103.
$\preimg{r}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} F$ by Definition 1, Proposition 249.

Claim: For all $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{r}{U}$ there exists $E$ such that $E$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and $E\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{r}{U}$.

Fix $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{r}{U}$.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 1.
Take $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $(f,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} r$ by Proposition 246.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 114.
Take $h, C, \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $V$ is the compact-convergence ball about $h$ over $C$ with radius $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ from $A$ to $Y$ with respect to $T_A$ and $d$ by Definition 368.
$r(f)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Lemma 82, Proposition 346.
$r(f) = \restrl{f}{A}$ by Definition 1.
Take $D,\class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ such that $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ and $D$ is the compact-convergence ball about $r(f)$ over $C$ with radius $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ from $A$ to $Y$ with respect to $T_A$ and $d$ and $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Lemma 864.
Take $\class{latex-symbol-tip latex-symbol-id-rho}{\rho}$ such that $\class{latex-symbol-tip latex-symbol-id-rho}{\rho}$ is the uniform metric on functions from $C$ to $Y$ with respect to $d$ and $D = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in} F_A \mid \class{latex-symbol-tip latex-symbol-id-rho}{\rho}((\restrl{r(f)}{C},\restrl{k}{C})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}\}$ by Definition 367.
$C$ is a compact subspace of $A$ with respect to $T_A$ by Definition 367.
$\subspaceTopology{T_A}{C} = \subspaceTopology{T}{C}$ by Definition 1, Definition 147, Definition 263, Lemma 307.
$C$ is compact with respect to $\subspaceTopology{T}{C}$ by Definition 263, Lemma 83.
$C$ is a compact subspace of $X$ with respect to $T$ by Definition 147, Definition 263, Lemma 83, Proposition 6.
Let $E = \{g\class{latex-symbol-tip latex-symbol-id-in}{\in} F \mid \class{latex-symbol-tip latex-symbol-id-rho}{\rho}((\restrl{f}{C},\restrl{g}{C})) < \class{latex-symbol-tip latex-symbol-id-delta}{\delta}\}$.
$E$ is the compact-convergence ball about $f$ over $C$ with radius $\class{latex-symbol-tip latex-symbol-id-delta}{\delta}$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 367.
$E$ is open in $F$ with respect to $T_0$ by Lemma 866.
For all $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ we have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{r}{U}$ by Definition 1, Definition 55, Definition 147, Definition 263, Definition 367, Lemma 82, Lemma 83, Lemma 912, Proposition 246, Proposition 348, Proposition 361.
There exists $H$ such that $H$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{r}{U}$ by Definition 1, Definition 153, Lemma 865, Lemma 866.

$\preimg{r}{U}$ is open in $F$ with respect to $T_0$ by Lemma 870.

$r$ is continuous from $F$ to $F_A$ with respect to $T_0$ and $T_1$ by Definition 160.

LaTeX source
\begin{proof}
    Let $F = \funs{X}{Y}$.
    Let $F_A = \funs{A}{Y}$.
    Show that $r\in\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\in F$ we have $r(f) = \restrl{f}{A}$.
    \begin{subproof}
        Follows by \cref{restriction_graph_typed_function_47,subspace_of}.
    \end{subproof}
    Show that $r$ is right-unique and $r$ is a relation.
    \begin{subproof}
        Follows by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
    \end{subproof}
    Show that $T_0$ is a topology on $F$ and $T_1$ is a topology on $F_A$.
    \begin{subproof}
        Follows by \cref{compact_convergence_topology}.
    \end{subproof}
    Show that for all $U$ such that $U$ is open in $F_A$ with respect to $T_1$ we have
        $\preimg{r}{U}$ is open in $F$ with respect to $T_0$.
    \begin{subproof}
        Fix $U$ such that $U$ is open in $F_A$ with respect to $T_1$.
        Take $B$ such that
            $B$ is the compact-convergence basis on functions from $A$ to $Y$ with respect to $T_A$ and $d$ and
            $T_1 = \basisTopology{B}{F_A}$ by \cref{compact_convergence_topology}.
        $U\in T_1$ by \cref{open_in}.
        $\preimg{r}{U}\subseteq F$ by \cref{preimg_subseteq_dom,subseteq}.
        Show that for all $f\in\preimg{r}{U}$ there exists $E$ such that
            $E$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and
            $E\subseteq \preimg{r}{U}$.
        \begin{subproof}
            Fix $f\in\preimg{r}{U}$.
            $f\in F$ by \cref{subseteq}.
            Take $u$ such that $u\in U$ and $(f,u)\in r$ by \cref{preimg_iff}.
            Take $V\in B$ such that $u\in V$ and $V\subseteq U$
                by \cref{topology_generated_by_basis}.
            Take $h, C, \epsilon$ such that
                $V$ is the compact-convergence ball about $h$ over $C$ with radius $\epsilon$
                    from $A$ to $Y$ with respect to $T_A$ and $d$
                by \cref{compact_convergence_function_space_basis}.
            $r(f)\in V$ by \cref{function_apply_intro,real_lt_subst_left}.
            $r(f) = \restrl{f}{A}$ by \cref{subseteq}.
            Take $D,\delta$ such that
                $\delta\in\reals$ and
                $0 < \delta$ and
                $D$ is the compact-convergence ball about $r(f)$ over $C$ with radius $\delta$
                    from $A$ to $Y$ with respect to $T_A$ and $d$ and
                $D\subseteq V$ by \cref{compact_convergence_ball_refinement}.
            Take $\rho$ such that
                $\rho$ is the uniform metric on functions from $C$ to $Y$ with respect to $d$ and
                $D = \{k\in F_A \mid \rho((\restrl{r(f)}{C},\restrl{k}{C})) < \delta\}$
                by \cref{compact_convergence_ball}.
            $C$ is a compact subspace of $A$ with respect to $T_A$ by \cref{compact_convergence_ball}.
            $\subspaceTopology{T_A}{C} = \subspaceTopology{T}{C}$
                by \cref{subspace_subspace_topology,compact_subspace,subspace_of,subseteq}.
            $C$ is compact with respect to $\subspaceTopology{T}{C}$ by \cref{compact_subspace,real_lt_subst_right}.
            $C$ is a compact subspace of $X$ with respect to $T$
                by \cref{compact_subspace,subspace_of,subseteq_transitive,real_lt_subst_right}.
            Let $E = \{g\in F \mid \rho((\restrl{f}{C},\restrl{g}{C})) < \delta\}$.
            $E$ is the compact-convergence ball about $f$ over $C$ with radius $\delta$
                from $X$ to $Y$ with respect to $T$ and $d$ by \cref{compact_convergence_ball}.
            $E$ is open in $F$ with respect to $T_0$ by \cref{compact_convergence_ball_open}.
            For all $g$ such that $g\in E$ we have $g\in\preimg{r}{U}$
                by \cref{compact_convergence_ball,subseteq,funs_type_apply,compact_subspace,subspace_of,named_restrl_restrl_typed_function_47,real_lt_subst_left,real_lt_subst_right,funs,function_apply_elim,preimg_iff}.
            There exists $H$ such that
                $H$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and
                $H\subseteq \preimg{r}{U}$
                by \cref{subseteq,neighborhood,compact_convergence_ball_open,compact_convergence_ball_center}.
        \end{subproof}
        $\preimg{r}{U}$ is open in $F$ with respect to $T_0$ by \cref{open_from_local_neighborhoods}.
    \end{subproof}
    $r$ is continuous from $F$ to $F_A$ with respect to $T_0$ and $T_1$ by \cref{continuous}.
\end{proof}
Lemma 915
restriction_map_continuous_uniform_metric_47

Assume $T$ is a topology on $X$.
Assume $A$ is a compact subspace of $X$ with respect to $T$.
Assume $d$ is a metric on $Y$.
Assume $\class{latex-symbol-tip latex-symbol-id-rho}{\rho}$ is the uniform metric on functions from $A$ to $Y$ with respect to $d$.
Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
Let $r = \{(f,\restrl{f}{A}) \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}\}$.
Then $r$ is continuous from $\funs{X}{Y}$ to $\funs{A}{Y}$ with respect to $T_0$ and $\metricTopology{\class{latex-symbol-tip latex-symbol-id-rho}{\rho}}{\funs{A}{Y}}$.

LaTeX source
\begin{lemma}
\label{restriction_map_continuous_uniform_metric_47}
    Assume $T$ is a topology on $X$.
    Assume $A$ is a compact subspace of $X$ with respect to $T$.
    Assume $d$ is a metric on $Y$.
    Assume $\rho$ is the uniform metric on functions from $A$ to $Y$ with respect to $d$.
    Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
    Let $r = \{(f,\restrl{f}{A}) \mid f\in\funs{X}{Y}\}$.
    Then $r$ is continuous from $\funs{X}{Y}$ to $\funs{A}{Y}$ with respect to $T_0$ and
        $\metricTopology{\rho}{\funs{A}{Y}}$.
\end{lemma}
Proof

Let $F = \funs{X}{Y}$.
Let $F_A = \funs{A}{Y}$.
Let $T_1 = \metricTopology{\class{latex-symbol-tip latex-symbol-id-rho}{\rho}}{F_A}$.

Claim: $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $r(f) = \restrl{f}{A}$.
Claim: $r$ is right-unique and $r$ is a relation.
Claim: $T_0$ is a topology on $F$ and $T_1$ is a topology on $F_A$.
Claim: For all $U$ such that $U$ is open in $F_A$ with respect to $T_1$ we have $\preimg{r}{U}$ is open in $F$ with respect to $T_0$.

Fix $U$ such that $U$ is open in $F_A$ with respect to $T_1$.
$U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} F_A$ by Axiom 12, Definition 1, Definition 101, Definition 103.
$\preimg{r}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} F$ by Definition 1, Proposition 249.

Claim: For all $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{r}{U}$ there exists $E$ such that $E$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and $E\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{r}{U}$.

Fix $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{r}{U}$.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 1.
Take $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $(f,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} r$ by Proposition 246.
$r(f)\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1, Lemma 82, Proposition 346.
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{\class{latex-symbol-tip latex-symbol-id-rho}{\rho}}{F_A}{r(f)}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 344, Lemma 195.
Let $E = \{g\class{latex-symbol-tip latex-symbol-id-in}{\in} F \mid \class{latex-symbol-tip latex-symbol-id-rho}{\rho}((\restrl{f}{A},\restrl{g}{A})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\}$.
$E$ is the compact-convergence ball about $f$ over $A$ with radius $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 367.
$E$ is open in $F$ with respect to $T_0$ by Lemma 866.
For all $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ we have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{r}{U}$ by Definition 1, Definition 55, Definition 180, Definition 367, Lemma 82, Lemma 83, Proposition 246, Proposition 348, Proposition 361.
There exists $H$ such that $H$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{r}{U}$ by Definition 1, Definition 153, Lemma 865, Lemma 866.

$\preimg{r}{U}$ is open in $F$ with respect to $T_0$ by Lemma 870.

$r$ is continuous from $F$ to $F_A$ with respect to $T_0$ and $T_1$ by Definition 160.

LaTeX source
\begin{proof}
    Let $F = \funs{X}{Y}$.
    Let $F_A = \funs{A}{Y}$.
    Let $T_1 = \metricTopology{\rho}{F_A}$.
    Show that $r\in\funs{F}{F_A}$ and $\dom{r} = F$ and for all $f\in F$ we have $r(f) = \restrl{f}{A}$.
    \begin{subproof}
        Follows by \cref{restriction_graph_typed_function_47,compact_subspace}.
    \end{subproof}
    Show that $r$ is right-unique and $r$ is a relation.
    \begin{subproof}
        Follows by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
    \end{subproof}
    Show that $T_0$ is a topology on $F$ and $T_1$ is a topology on $F_A$.
    \begin{subproof}
        Follows by \cref{compact_convergence_topology,metric_topology,metric_basis_is_basis,basis_topology_is_topology,basis_for_topology,uniform_metric_on_function_space}.
    \end{subproof}
    Show that for all $U$ such that $U$ is open in $F_A$ with respect to $T_1$ we have
        $\preimg{r}{U}$ is open in $F$ with respect to $T_0$.
    \begin{subproof}
        Fix $U$ such that $U$ is open in $F_A$ with respect to $T_1$.
        $U\subseteq F_A$ by \cref{open_in,topology_on,subseteq,pow_iff}.
        $\preimg{r}{U}\subseteq F$ by \cref{preimg_subseteq_dom,subseteq}.
        Show that for all $f\in\preimg{r}{U}$ there exists $E$ such that
            $E$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and
            $E\subseteq \preimg{r}{U}$.
        \begin{subproof}
            Fix $f\in\preimg{r}{U}$.
            $f\in F$ by \cref{subseteq}.
            Take $u$ such that $u\in U$ and $(f,u)\in r$ by \cref{preimg_iff}.
            $r(f)\in U$ by \cref{subseteq,function_apply_intro,real_lt_subst_left}.
            Take $\epsilon\in\reals$ such that
                $0 < \epsilon$ and
                $\metricBall{\rho}{F_A}{r(f)}{\epsilon}\subseteq U$
                by \cref{metric_open_iff,uniform_metric_on_function_space}.
            Let $E = \{g\in F \mid \rho((\restrl{f}{A},\restrl{g}{A})) < \epsilon\}$.
            $E$ is the compact-convergence ball about $f$ over $A$ with radius $\epsilon$
                from $X$ to $Y$ with respect to $T$ and $d$ by \cref{compact_convergence_ball}.
            $E$ is open in $F$ with respect to $T_0$ by \cref{compact_convergence_ball_open}.
            For all $g$ such that $g\in E$ we have $g\in\preimg{r}{U}$
                by \cref{compact_convergence_ball,subseteq,funs_type_apply,real_lt_subst_left,real_lt_subst_right,metric_ball,funs,function_apply_elim,preimg_iff}.
            There exists $H$ such that
                $H$ is a neighborhood of $f$ in $F$ with respect to $T_0$ and
                $H\subseteq \preimg{r}{U}$
                by \cref{subseteq,neighborhood,compact_convergence_ball_open,compact_convergence_ball_center}.
        \end{subproof}
        $\preimg{r}{U}$ is open in $F$ with respect to $T_0$ by \cref{open_from_local_neighborhoods}.
    \end{subproof}
    $r$ is continuous from $F$ to $F_A$ with respect to $T_0$ and $T_1$ by \cref{continuous}.
\end{proof}
Theorem 136
ascoli_general_compact_containment_implies_equicontinuous

Assume $T$ is a topology on $X$.
Assume $X$ is locally compact with respect to $T$.
Assume $X$ is Hausdorff with respect to $T$.
Assume $d$ is a metric on $Y$.
Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
Assume $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Suppose there exists $G$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
Then $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.

LaTeX source
\begin{theorem}
\label{ascoli_general_compact_containment_implies_equicontinuous}
    Assume $T$ is a topology on $X$.
    Assume $X$ is locally compact with respect to $T$.
    Assume $X$ is Hausdorff with respect to $T$.
    Assume $d$ is a metric on $Y$.
    Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
    Assume $F\subseteq C$.
    Suppose there exists $G$ such that
        $F\subseteq G$ and
        $G\subseteq C$ and
        $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
    Then $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
\end{theorem}
Proof

Let $U = \metricTopology{d}{Y}$.
Let $F_X = \funs{X}{Y}$.
Take $G$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
$F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1, Definition 345, Proposition 6.

Claim: For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $G$ is equicontinuous at $a$ from $X$ to $Y$ with respect to $T$ and $d$.

Fix $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
$X$ is a neighborhood of $a$ in $X$ with respect to $T$ by Definition 101, Definition 103, Definition 153.
Take $V$ such that $V$ is a neighborhood of $a$ in $X$ with respect to $T$ and $\closure{V}{X}{T}$ is a compact subspace of $X$ with respect to $T$ and $\closure{V}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Theorem 77.
Let $A = \closure{V}{X}{T}$.
Let $T_A = \subspaceTopology{T}{A}$.
$A$ is a subspace of $X$ with respect to $T$ by Definition 147, Definition 263.
$V$ is open in $X$ with respect to $T$ and $a\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 153.
$V\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Axiom 12, Definition 1, Definition 101, Definition 147, Lemma 146.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1, Definition 153.
$A$ is inhabited by Proposition 10.
Let $C_A = \{h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{Y} \mid \text{$h$ is continuous from $A$ to $Y$ with respect to $T_A$ and $U$}\}$.
$T_A$ is a topology on $A$ by Definition 147, Lemma 131.
$C_A$ is the set of continuous functions from $A$ to $Y$ with respect to $T_A$ and $U$ by Definition 345.
Take $\class{latex-symbol-tip latex-symbol-id-rho}{\rho}$ such that $\class{latex-symbol-tip latex-symbol-id-rho}{\rho}$ is the uniform metric on functions from $A$ to $Y$ with respect to $d$ by Lemma 869.
Let $T_1 = \metricTopology{\class{latex-symbol-tip latex-symbol-id-rho}{\rho}}{\funs{A}{Y}}$.
Let $q = \{(f,\restrl{f}{A}) \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in} F_X\}$.
$q$ is continuous from $F_X$ to $\funs{A}{Y}$ with respect to $T_0$ and $T_1$ by Lemma 915.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{F_X}{\funs{A}{Y}}$ by Definition 160.
$q$ is right-unique and $q$ is a relation by Definition 55, Proposition 345, Proposition 355, Proposition 356.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} F_X$ by Definition 1, Definition 345, Proposition 6.
$T_0$ is a topology on $F_X$ by Definition 369.
$G$ is a subspace of $F_X$ with respect to $T_0$ by Definition 147.
Let $r = \restrl{q}{G}$.
$r$ is continuous from $G$ to $\funs{A}{Y}$ with respect to $\subspaceTopology{T_0}{G}$ and $T_1$ by Lemma 166.
Let $R = \img{r}{G}$.
For all $h$ such that $h\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $h\class{latex-symbol-tip latex-symbol-id-in}{\in} C_A$ by Definition 1, Definition 345, Lemma 82, Lemma 83, Lemma 166, Proposition 235, Proposition 262, Proposition 346, Proposition 361.
$R\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C_A$ by Definition 1.
$R$ is compact with respect to $\subspaceTopology{T_1}{R}$ by Theorem 61.
$R$ is compact with respect to $\subspaceTopology{\metricTopology{\class{latex-symbol-tip latex-symbol-id-rho}{\rho}}{\funs{A}{Y}}}{R}$ by Lemma 82.
$\class{latex-symbol-tip latex-symbol-id-rho}{\rho}$ is a metric on $\funs{A}{Y}$ by Definition 344.
$R\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \funs{A}{Y}$ by Definition 1, Definition 345.
$R$ is totally bounded in $\funs{A}{Y}$ with respect to $\class{latex-symbol-tip latex-symbol-id-rho}{\rho}$ by Lemma 849.
$R$ is equicontinuous from $A$ to $Y$ with respect to $T_A$ and $d$ by Lemma 835.
$R$ is equicontinuous at $a$ from $A$ to $Y$ with respect to $T_A$ and $d$ by Definition 362.

Claim: For all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $W$ such that $W$ is a neighborhood of $a$ in $X$ with respect to $T$ and for all $x, g$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{g}{x},\apply{g}{a})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Take $B$ such that $B$ is a neighborhood of $a$ in $A$ with respect to $T_A$ and for all $x, h$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $h\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $d((\apply{h}{x},\apply{h}{a})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 361.
$B$ is open in $A$ with respect to $T_A$ and $a\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 153.
Take $W_0\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ such that $B = A\inter W_0$ by Definition 103, Definition 146, Definition 147.
Let $W = V\inter W_0$.
$W\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 101.
$W$ is open in $X$ with respect to $T$ by Definition 103.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Definition 5, Definition 153, Lemma 83, Proposition 61.

Claim: For all $x, g$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{g}{x},\apply{g}{a})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.

Fix $x$.
Fix $g$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_0$ by Definition 5.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 1, Lemma 82, Proposition 61.
$(g,\restrl{g}{A})\class{latex-symbol-tip latex-symbol-id-in}{\in} q$ by Definition 1.
$(g,\restrl{g}{A})\class{latex-symbol-tip latex-symbol-id-in}{\in} r$ by Definition 1, Proposition 262.
$\restrl{g}{A}\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Proposition 235, Proposition 346.
$d((\apply{\restrl{g}{A}}{x},\apply{\restrl{g}{A}}{a})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 1.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$ by Definition 1, Definition 345.
$\dom{g} = X$ by Definition 55.
$g$ is right-unique and $g$ is a relation by Definition 55, Proposition 345, Proposition 355, Proposition 356.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{g}$ by Definition 147, Lemma 83.
$\apply{\restrl{g}{A}}{x} = g(x)$ by Definition 1, Proposition 384.
$\apply{\restrl{g}{A}}{a} = g(a)$ by Definition 1, Proposition 384.
$d((\apply{g}{x},\apply{g}{a})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 82, Lemma 83.

There exists $Z$ such that $Z$ is a neighborhood of $a$ in $X$ with respect to $T$ and for all $x, g$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $d((\apply{g}{x},\apply{g}{a})) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Definition 153.

$G$ is equicontinuous at $a$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 361.

$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1, Definition 345.
$G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$ by Definition 362.
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $F$ is equicontinuous at $a$ from $X$ to $Y$ with respect to $T$ and $d$ by Definition 1, Definition 361, Definition 362.
$F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$ by Definition 362.

LaTeX source
\begin{proof}
    Let $U = \metricTopology{d}{Y}$.
    Let $F_X = \funs{X}{Y}$.
    Take $G$ such that
        $F\subseteq G$ and
        $G\subseteq C$ and
        $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
    $F\subseteq\funs{X}{Y}$ by \cref{continuous_function_set,subseteq,subseteq_transitive}.
    Show that for all $a\in X$ we have
        $G$ is equicontinuous at $a$ from $X$ to $Y$ with respect to $T$ and $d$.
    \begin{subproof}
        Fix $a\in X$.
        $X$ is a neighborhood of $a$ in $X$ with respect to $T$ by \cref{topology_on,open_in,neighborhood}.
        Take $V$ such that
            $V$ is a neighborhood of $a$ in $X$ with respect to $T$ and
            $\closure{V}{X}{T}$ is a compact subspace of $X$ with respect to $T$ and
            $\closure{V}{X}{T}\subseteq X$
            by \cref{locally_compact_neighborhood_characterization}.
        Let $A = \closure{V}{X}{T}$.
        Let $T_A = \subspaceTopology{T}{A}$.
        $A$ is a subspace of $X$ with respect to $T$ by \cref{compact_subspace,subspace_of}.
        $V$ is open in $X$ with respect to $T$ and $a\in V$ by \cref{neighborhood}.
        $V\in T$ by \cref{open_in}.
        $V\subseteq A$ by \cref{topology_on,pow_iff,subseteq,subseteq_closure,subspace_of}.
        $a\in A$ by \cref{neighborhood,subseteq}.
        $A$ is inhabited by \cref{nonempty_inhabited}.
        Let $C_A = \{h\in\funs{A}{Y} \mid \text{$h$ is continuous from $A$ to $Y$ with respect to $T_A$ and $U$}\}$.
        $T_A$ is a topology on $A$ by \cref{subspace_of,subspace_topology_is_topology}.
        $C_A$ is the set of continuous functions from $A$ to $Y$ with respect to $T_A$ and $U$
            by \cref{continuous_function_set}.
        Take $\rho$ such that
            $\rho$ is the uniform metric on functions from $A$ to $Y$ with respect to $d$
            by \cref{uniform_metric_on_function_space_exists_inhabited}.
        Let $T_1 = \metricTopology{\rho}{\funs{A}{Y}}$.
        Let $q = \{(f,\restrl{f}{A}) \mid f\in F_X\}$.
        $q$ is continuous from $F_X$ to $\funs{A}{Y}$ with respect to $T_0$ and $T_1$
            by \cref{restriction_map_continuous_uniform_metric_47}.
        $q\in\funs{F_X}{\funs{A}{Y}}$ by \cref{continuous}.
        $q$ is right-unique and $q$ is a relation
            by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
        $G\subseteq F_X$ by \cref{continuous_function_set,subseteq,subseteq_transitive}.
        $T_0$ is a topology on $F_X$ by \cref{compact_convergence_topology}.
        $G$ is a subspace of $F_X$ with respect to $T_0$ by \cref{subspace_of}.
        Let $r = \restrl{q}{G}$.
        $r$ is continuous from $G$ to $\funs{A}{Y}$ with respect to $\subspaceTopology{T_0}{G}$ and $T_1$
            by \cref{continuous_restrict_domain}.
        Let $R = \img{r}{G}$.
        For all $h$ such that $h\in R$ we have $h\in C_A$
            by \cref{img_iff,subseteq,continuous_function_set,restrl_iff,function_apply_intro,continuous_restrict_domain,funs_type_apply,real_lt_subst_left,real_lt_subst_right}.
        $R\subseteq C_A$ by \cref{subseteq}.
        $R$ is compact with respect to $\subspaceTopology{T_1}{R}$ by \cref{continuous_image_compact}.
        $R$ is compact with respect to $\subspaceTopology{\metricTopology{\rho}{\funs{A}{Y}}}{R}$
            by \cref{real_lt_subst_left}.
        $\rho$ is a metric on $\funs{A}{Y}$ by \cref{uniform_metric_on_function_space}.
        $R\subseteq \funs{A}{Y}$ by \cref{continuous_function_set,subseteq}.
        $R$ is totally bounded in $\funs{A}{Y}$ with respect to $\rho$
            by \cref{compact_metric_subspace_ambient_totally_bounded}.
        $R$ is equicontinuous from $A$ to $Y$ with respect to $T_A$ and $d$
            by \cref{totally_bounded_function_family_equicontinuous}.
        $R$ is equicontinuous at $a$ from $A$ to $Y$ with respect to $T_A$ and $d$
            by \cref{equicontinuous_family}.
        Show that for all $\epsilon\in\reals$ such that $0 < \epsilon$
            there exists $W$ such that
                $W$ is a neighborhood of $a$ in $X$ with respect to $T$ and
                for all $x, g$ such that $x\in W$ and $g\in G$ we have
                    $d((\apply{g}{x},\apply{g}{a})) < \epsilon$.
        \begin{subproof}
            Fix $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$.
            Take $B$ such that
                $B$ is a neighborhood of $a$ in $A$ with respect to $T_A$ and
                for all $x, h$ such that $x\in B$ and $h\in R$ we have
                    $d((\apply{h}{x},\apply{h}{a})) < \epsilon$
                by \cref{equicontinuous_at_point}.
            $B$ is open in $A$ with respect to $T_A$ and $a\in B$ by \cref{neighborhood}.
            Take $W_0\in T$ such that $B = A\inter W_0$ by \cref{subspace_topology,open_in,subspace_of}.
            Let $W = V\inter W_0$.
            $W\in T$ by \cref{topology_on}.
            $W$ is open in $X$ with respect to $T$ by \cref{open_in}.
            $a\in W$ by \cref{neighborhood,real_lt_subst_right,inter,inter_intro}.
            Show that for all $x, g$ such that $x\in W$ and $g\in G$ we have
                $d((\apply{g}{x},\apply{g}{a})) < \epsilon$.
            \begin{subproof}
                Fix $x$.
                Fix $g$.
                Assume $x\in W$ and $g\in G$.
                $x\in V$ and $x\in W_0$ by \cref{inter}.
                $x\in B$ by \cref{inter_intro,subseteq,real_lt_subst_left}.
                $(g,\restrl{g}{A})\in q$ by \cref{subseteq}.
                $(g,\restrl{g}{A})\in r$ by \cref{restrl_iff,subseteq}.
                $\restrl{g}{A}\in R$ by \cref{img_iff,function_apply_intro}.
                $d((\apply{\restrl{g}{A}}{x},\apply{\restrl{g}{A}}{a})) < \epsilon$ by \cref{subseteq}.
                $g\in\funs{X}{Y}$ by \cref{continuous_function_set,subseteq}.
                $\dom{g} = X$ by \cref{funs}.
                $g$ is right-unique and $g$ is a relation
                    by \cref{funs,funs_is_function,function_rightunique,funs_is_relation}.
                $A\subseteq\dom{g}$ by \cref{subspace_of,real_lt_subst_right}.
                $\apply{\restrl{g}{A}}{x} = g(x)$ by \cref{restrl_of_function_apply,subseteq}.
                $\apply{\restrl{g}{A}}{a} = g(a)$ by \cref{restrl_of_function_apply,subseteq}.
                $d((\apply{g}{x},\apply{g}{a})) < \epsilon$ by \cref{real_lt_subst_left,real_lt_subst_right}.
            \end{subproof}
            There exists $Z$ such that
                $Z$ is a neighborhood of $a$ in $X$ with respect to $T$ and
                for all $x, g$ such that $x\in Z$ and $g\in G$ we have
                    $d((\apply{g}{x},\apply{g}{a})) < \epsilon$
                by \cref{neighborhood}.
        \end{subproof}
        $G$ is equicontinuous at $a$ from $X$ to $Y$ with respect to $T$ and $d$
            by \cref{equicontinuous_at_point}.
    \end{subproof}
    $G\subseteq\funs{X}{Y}$ by \cref{continuous_function_set,subseteq}.
    $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
        by \cref{equicontinuous_family}.
    For all $a\in X$ we have
        $F$ is equicontinuous at $a$ from $X$ to $Y$ with respect to $T$ and $d$
        by \cref{equicontinuous_family,equicontinuous_at_point,subseteq}.
    $F$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$
        by \cref{equicontinuous_family}.
\end{proof}
Theorem 137
ascoli_general_compact_containment_implies_pointwise_compact_closure

Assume $T$ is a topology on $X$.
Assume $X$ is locally compact with respect to $T$.
Assume $X$ is Hausdorff with respect to $T$.
Assume $d$ is a metric on $Y$.
Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
Assume $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Suppose there exists $G$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
Then $F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$.

LaTeX source
\begin{theorem}
\label{ascoli_general_compact_containment_implies_pointwise_compact_closure}
    Assume $T$ is a topology on $X$.
    Assume $X$ is locally compact with respect to $T$.
    Assume $X$ is Hausdorff with respect to $T$.
    Assume $d$ is a metric on $Y$.
    Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
    Assume $F\subseteq C$.
    Suppose there exists $G$ such that
        $F\subseteq G$ and
        $G\subseteq C$ and
        $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
    Then $F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$.
\end{theorem}
Proof

Let $U = \metricTopology{d}{Y}$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1, Definition 345.
Take $G$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.

Claim: For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $A$ such that $A = \{\apply{f}{a} \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in} F\}$ and $\closure{A}{Y}{U}$ is compact with respect to $\subspaceTopology{U}{\closure{A}{Y}{U}}$.

Fix $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $R = \{(x,Y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $S = \{(x,U) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $T_1 = \productTopologyIndexed{S}{R}$.
$U$ is a topology on $Y$ by Definition 115, Definition 182, Lemma 76, Lemma 194.
$T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$ by Axiom 2, Lemma 903, Proposition 10.
$T_0$ is finer than $T_1$ on $\funs{X}{Y}$ by Theorem 128.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\funs{X}{Y}$ by Definition 1, Proposition 6.
$\subspaceTopology{T_0}{G}$ is finer than $\subspaceTopology{T_1}{G}$ on $G$ by Lemma 898.
$G$ is compact with respect to $\subspaceTopology{T_1}{G}$ by Lemma 904.

Claim: $R$ is a function and $\dom{R} = X$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{R}{x} = Y$.

Follows by Lemma 901.

Claim: $S$ is a function and $\dom{S} = X$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\apply{S}{x} = U$.

Follows by Lemma 901.

$\piIndex{R}{a}$ is continuous from $\productFamily{R}$ to $\apply{R}{a}$ with respect to $T_1$ and $\apply{S}{a}$ by Lemma 366, Proposition 346.
$\piIndex{R}{a}$ is continuous from $\funs{X}{Y}$ to $Y$ with respect to $T_1$ and $U$ by Lemma 899, Proposition 346.

Claim: $\subspaceTopology{T_1}{G}$ is a topology on $G$ and $G$ is a subspace of $\funs{X}{Y}$ with respect to $T_1$.

Let $p = \restrl{\piIndex{R}{a}}{G}$.
$p$ is continuous from $G$ to $Y$ with respect to $\subspaceTopology{T_1}{G}$ and $U$ by Lemma 166.
Let $B = \img{p}{G}$.
$B$ is compact with respect to $\subspaceTopology{U}{B}$ by Theorem 61.
$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 55, Definition 160, Proposition 6, Proposition 237, Proposition 284.
$B$ is closed in $Y$ with respect to $U$ by Lemma 395, Theorem 60.
Let $A = \{\apply{f}{a} \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in} F\}$.

Claim: $\piIndex{R}{a}$ is a function and $\dom{\piIndex{R}{a}} = \productFamily{R}$.

$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{\piIndex{R}{a}}$ by Definition 1, Lemma 899.
For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 6, Definition 1, Definition 170, Lemma 899, Proposition 235, Proposition 262, Proposition 348.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Definition 1.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Proposition 6.
$\closure{A}{Y}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Lemma 147, Proposition 6.
$\closure{A}{Y}{U}$ is closed in $Y$ with respect to $U$ by Lemma 144.
$B$ is a subspace of $Y$ with respect to $U$ by Definition 55, Definition 147, Definition 160, Proposition 6, Proposition 237, Proposition 284.
$\closure{A}{Y}{U}\inter B = \closure{A}{Y}{U}$ by Definition 1, Proposition 69.
There exists $D$ such that $D$ is closed in $Y$ with respect to $U$ and $\closure{A}{Y}{U} = D\inter B$.
$\closure{A}{Y}{U}$ is closed in $B$ with respect to $\subspaceTopology{U}{B}$ by Theorem 8.
$\closure{A}{Y}{U}$ is compact with respect to $\subspaceTopology{U}{\closure{A}{Y}{U}}$ by Definition 1, Definition 147, Lemma 131, Lemma 307, Theorem 8, Theorem 59.
There exists $E$ such that $E = \{\apply{f}{a} \mid f\class{latex-symbol-tip latex-symbol-id-in}{\in} F\}$ and $\closure{E}{Y}{U}$ is compact with respect to $\subspaceTopology{U}{\closure{E}{Y}{U}}$.

$F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$ by Definition 1, Definition 345, Definition 381, Proposition 6.

LaTeX source
\begin{proof}
    Let $U = \metricTopology{d}{Y}$.
    $C\subseteq\funs{X}{Y}$ by \cref{continuous_function_set,subseteq}.
    Take $G$ such that
        $F\subseteq G$ and
        $G\subseteq C$ and
        $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
    Show that for all $a\in X$ there exists $A$ such that
        $A = \{\apply{f}{a} \mid f\in F\}$ and
        $\closure{A}{Y}{U}$ is compact with respect to
            $\subspaceTopology{U}{\closure{A}{Y}{U}}$.
    \begin{subproof}
            Fix $a$ such that $a\in X$.
                Let $R = \{(x,Y) \mid x\in X\}$.
                Let $S = \{(x,U) \mid x\in X\}$.
                Let $T_1 = \productTopologyIndexed{S}{R}$.
                $U$ is a topology on $Y$
                    by \cref{metric_topology,metric_basis_is_basis,basis_topology_is_topology,basis_for_topology}.
                $T_1$ is the topology of pointwise convergence on functions from $X$ to $Y$ with respect to $U$
                    by \cref{constant_indexed_product_topology_is_pointwise_47,nonempty_inhabited,emptyset}.
                $T_0$ is finer than $T_1$ on $\funs{X}{Y}$ by \cref{compact_convergence_finer_than_pointwise}.
                $G\subseteq\funs{X}{Y}$ by \cref{subseteq_transitive,subseteq}.
                $\subspaceTopology{T_0}{G}$ is finer than $\subspaceTopology{T_1}{G}$ on $G$
                    by \cref{subspace_finer_from_ambient_finer_47}.
                $G$ is compact with respect to $\subspaceTopology{T_1}{G}$
                    by \cref{compactness_from_finer_topology_47}.
                Show that $R$ is a function and $\dom{R} = X$ and for all $x\in X$ we have $\apply{R}{x} = Y$.
                \begin{subproof}
                    Follows by \cref{constant_indexed_family_47}.
                \end{subproof}
                Show that $S$ is a function and $\dom{S} = X$ and for all $x\in X$ we have $\apply{S}{x} = U$.
                \begin{subproof}
                    Follows by \cref{constant_indexed_family_47}.
                \end{subproof}
                $\piIndex{R}{a}$ is continuous from $\productFamily{R}$ to $\apply{R}{a}$
                    with respect to $T_1$ and $\apply{S}{a}$ by \cref{projection_map_indexed_continuous,function_apply_intro}.
                $\piIndex{R}{a}$ is continuous from $\funs{X}{Y}$ to $Y$ with respect to $T_1$ and $U$
                    by \cref{constant_indexed_product_function_space_47,function_apply_intro}.
                Show that $\subspaceTopology{T_1}{G}$ is a topology on $G$ and $G$ is a subspace of $\funs{X}{Y}$ with respect to $T_1$.
                \begin{subproof}
                    Follows by \cref{subspace_topology_is_topology,subspace_of,pointwise_convergence_topology}.
                \end{subproof}
                Let $p = \restrl{\piIndex{R}{a}}{G}$.
                $p$ is continuous from $G$ to $Y$ with respect to $\subspaceTopology{T_1}{G}$ and $U$
                    by \cref{continuous_restrict_domain}.
                Let $B = \img{p}{G}$.
                $B$ is compact with respect to $\subspaceTopology{U}{B}$ by \cref{continuous_image_compact}.
                $B\subseteq Y$ by \cref{continuous,funs,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive}.
                $B$ is closed in $Y$ with respect to $U$ by \cref{compact_subspace_closed,metric_space_hausdorff}.
                Let $A = \{\apply{f}{a} \mid f\in F\}$.
                Show that $\piIndex{R}{a}$ is a function and $\dom{\piIndex{R}{a}} = \productFamily{R}$.
                \begin{subproof}
                    Follows by \cref{projection_map_indexed_function,funs_is_function,funs}.
                \end{subproof}
                $G\subseteq \dom{\piIndex{R}{a}}$ by \cref{constant_indexed_product_function_space_47,subseteq}.
                For all $z$ such that $z\in A$ we have $z\in B$
                    by \cref{pair_eq_iff,subseteq,constant_indexed_product_function_space_47,projection_map_indexed,function_apply_elim,restrl_iff,img_iff}.
                $A\subseteq B$ by \cref{subseteq}.
                $A\subseteq Y$ by \cref{subseteq_transitive}.
                $\closure{A}{Y}{U}\subseteq B$ by \cref{subseteq_transitive,closure_subseteq_closed}.
                $\closure{A}{Y}{U}$ is closed in $Y$ with respect to $U$ by \cref{closure_closed_in}.
                $B$ is a subspace of $Y$ with respect to $U$
                    by \cref{subspace_of,continuous,funs,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive}.
                $\closure{A}{Y}{U}\inter B = \closure{A}{Y}{U}$
                    by \cref{inter_absorb_supseteq_right,subseteq}.
                There exists $D$ such that
                    $D$ is closed in $Y$ with respect to $U$ and
                    $\closure{A}{Y}{U} = D\inter B$.
                $\closure{A}{Y}{U}$ is closed in $B$ with respect to $\subspaceTopology{U}{B}$
                    by \cref{closed_in_subspace_iff}.
                $\closure{A}{Y}{U}$ is compact with respect to
                    $\subspaceTopology{U}{\closure{A}{Y}{U}}$
                    by \cref{closed_in_subspace_iff,closed_subspace_compact,subspace_subspace_topology,subseteq,subspace_topology_is_topology,subspace_of}.
                There exists $E$ such that
                    $E = \{\apply{f}{a} \mid f\in F\}$ and
                    $\closure{E}{Y}{U}$ is compact with respect to
                        $\subspaceTopology{U}{\closure{E}{Y}{U}}$.
    \end{subproof}
    $F$ has pointwise compact closure from $X$ to $Y$ with respect to $d$
        by \cref{pointwise_compact_closure_function_family,continuous_function_set,subseteq,subseteq_transitive}.
\end{proof}
Lemma 916
compact_contained_family_equicontinuous_47

Assume $T$ is a topology on $X$.
Assume $X$ is locally compact with respect to $T$.
Assume $X$ is Hausdorff with respect to $T$.
Assume $d$ is a metric on $Y$.
Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
Assume $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Suppose $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
Then $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.

LaTeX source
\begin{lemma}
\label{compact_contained_family_equicontinuous_47}
    Assume $T$ is a topology on $X$.
    Assume $X$ is locally compact with respect to $T$.
    Assume $X$ is Hausdorff with respect to $T$.
    Assume $d$ is a metric on $Y$.
    Assume $C$ is the set of continuous functions from $X$ to $Y$ with respect to $T$ and $\metricTopology{d}{Y}$.
    Assume $T_0$ is the topology of compact convergence on functions from $X$ to $Y$ with respect to $T$ and $d$.
    Assume $G\subseteq C$.
    Suppose $G$ is compact with respect to $\subspaceTopology{T_0}{G}$.
    Then $G$ is equicontinuous from $X$ to $Y$ with respect to $T$ and $d$.
\end{lemma}
Proof

Follows by Lemma 82, Lemma 83, Proposition 2, Theorem 136.

LaTeX source
\begin{proof}
    Follows by \cref{ascoli_general_compact_containment_implies_equicontinuous,subseteq_refl,real_lt_subst_left,real_lt_subst_right}.
\end{proof}