Topology (Munkres)
§25 Components and Local Connectedness
$\componentRelation{T}{X} = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X \mid \text{there exists $A$ such that $A$ is a subspace of $X$ with respect to $T$ and $\fst{w}\in A$ and $\snd{w}\in A$ and $A$ is connected with respect to $\subspaceTopology{T}{A}$}\}$.
LaTeX source
\begin{definition}
\label{component_relation}
$\componentRelation{T}{X} = \{w\in X\times X \mid
\text{there exists $A$ such that
$A$ is a subspace of $X$ with respect to $T$ and
$\fst{w}\in A$ and $\snd{w}\in A$ and
$A$ is connected with respect to $\subspaceTopology{T}{A}$}\}$.
\end{definition}
Assume $T$ is a topology on $X$.
$C$ is a component of $X$ with respect to $T$ iff there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{x}$.
LaTeX source
\begin{definition}
\label{component}
Assume $T$ is a topology on $X$.
$C$ is a component of $X$ with respect to $T$ iff
there exists $x\in X$ such that
$C = \equivalenceClass{\componentRelation{T}{X}}{x}$.
\end{definition}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is a binary relation on $X$.
LaTeX source
\begin{lemma}
\label{component_relation_binary}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is a binary relation on $X$.
\end{lemma}
Proof
Follows by Definition 1, Definition 237.
LaTeX source
\begin{proof}
Follows by \cref{component_relation,subseteq}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is reflexive on $X$.
LaTeX source
\begin{lemma}
\label{component_relation_reflexive}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is reflexive on $X$.
\end{lemma}
Proof
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\mathrel{\componentRelation{T}{X}}x$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $A = \{x\}$.
We have $A$ is a subspace of $X$ with respect to $T$ by Definition 147, Proposition 25.
Claim: $A$ is connected with respect to $\subspaceTopology{T}{A}$.
Suppose not.
Take $U,V$ such that $A$ is separated by $U$ and $V$ with respect to $\subspaceTopology{T}{A}$.
Take $u,v$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $v\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 226, Proposition 10.
$u = x$ and $v = x$ by Definition 1, Definition 101, Definition 103, Definition 147, Definition 226, Lemma 131, Proposition 22, Proposition 156.
Contradiction by Definition 3, Definition 226.
Therefore $x\mathrel{\componentRelation{T}{X}}x$ by Axiom 10, Axiom 11, Definition 237, Proposition 20, Proposition 115.
Hence $\componentRelation{T}{X}$ is reflexive on $X$ by Definition 32.
LaTeX source
\begin{proof}
Show that for all $x\in X$ we have $x\mathrel{\componentRelation{T}{X}}x$.
\begin{subproof}
Fix $x\in X$.
Let $A = \{x\}$.
We have $A$ is a subspace of $X$ with respect to $T$ by \cref{singleton_subset_intro,subspace_of}.
Show that $A$ is connected with respect to $\subspaceTopology{T}{A}$.
\begin{subproof}
Suppose not.
Take $U,V$ such that $A$ is separated by $U$ and $V$ with respect to $\subspaceTopology{T}{A}$.
Take $u,v$ such that $u\in U$ and $v\in V$ by \cref{nonempty_inhabited,separation}.
$u = x$ and $v = x$
by \cref{separation,open_in,subspace_topology_is_topology,subspace_of,topology_on,powerset_elim,subseteq,singleton_iff}.
Contradiction by \cref{disjoint,separation}.
\end{subproof}
Therefore $x\mathrel{\componentRelation{T}{X}}x$
by \cref{singleton_intro,fst_eq,snd_eq,times_tuple_intro,component_relation}.
\end{subproof}
Hence $\componentRelation{T}{X}$ is reflexive on $X$ by \cref{reflexive_on}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is symmetric.
LaTeX source
\begin{lemma}
\label{component_relation_symmetric}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is symmetric.
\end{lemma}
Proof
Follows by Axiom 10, Axiom 11, Definition 1, Definition 35 [Symmetry], Definition 147, Definition 237, Proposition 115.
LaTeX source
\begin{proof}
Follows by \cref{component_relation,subspace_of,subseteq,times_tuple_intro,fst_eq,snd_eq,symmetric}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is transitive.
LaTeX source
\begin{lemma}
\label{component_relation_transitive}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is transitive.
\end{lemma}
Proof
Claim: For all $x,y,z$ such that $x\mathrel{\componentRelation{T}{X}}y$ and $y\mathrel{\componentRelation{T}{X}}z$ we have $x\mathrel{\componentRelation{T}{X}}z$.
Fix $x$.
Fix $y$.
Fix $z$.
Assume $x\mathrel{\componentRelation{T}{X}}y$ and $y\mathrel{\componentRelation{T}{X}}z$.
Take $A$ such that $A$ is a subspace of $X$ with respect to $T$ and $\fst{(x,y)}\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $\snd{(x,y)}\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $A$ is connected with respect to $\subspaceTopology{T}{A}$ by Definition 237.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 10, Axiom 11.
Take $B$ such that $B$ is a subspace of $X$ with respect to $T$ and $\fst{(y,z)}\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $\snd{(y,z)}\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $B$ is connected with respect to $\subspaceTopology{T}{B}$ by Definition 237.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 10, Axiom 11.
Let $M = \{A,B\}$.
$M\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Proposition 16.
Claim: For all $C$ such that $C\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $C$ is connected with respect to $\subspaceTopology{T}{C}$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Follows by Definition 147, Proposition 19.
Therefore $\inters{M}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Proposition 10, Proposition 16, Proposition 30.
Hence $A\union B$ is connected with respect to $\subspaceTopology{T}{A\union B}$ by Proposition 40, Theorem 40.
$A\union B$ is a subspace of $X$ with respect to $T$ by Axiom 5, Definition 1, Definition 147.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\union B$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in} A\union B$ by Axiom 5.
Therefore $x\mathrel{\componentRelation{T}{X}}z$ by Axiom 10, Axiom 11, Definition 1, Definition 147, Definition 237, Proposition 115.
Therefore $\componentRelation{T}{X}$ is transitive by Definition 37 [Transitivity].
LaTeX source
\begin{proof}
Show that for all $x,y,z$ such that
$x\mathrel{\componentRelation{T}{X}}y$ and $y\mathrel{\componentRelation{T}{X}}z$
we have $x\mathrel{\componentRelation{T}{X}}z$.
\begin{subproof}
Fix $x$.
Fix $y$.
Fix $z$.
Assume $x\mathrel{\componentRelation{T}{X}}y$ and $y\mathrel{\componentRelation{T}{X}}z$.
Take $A$ such that
$A$ is a subspace of $X$ with respect to $T$ and
$\fst{(x,y)}\in A$ and $\snd{(x,y)}\in A$ and
$A$ is connected with respect to $\subspaceTopology{T}{A}$
by \cref{component_relation}.
$x\in A$ and $y\in A$ by \cref{fst_eq,snd_eq}.
Take $B$ such that
$B$ is a subspace of $X$ with respect to $T$ and
$\fst{(y,z)}\in B$ and $\snd{(y,z)}\in B$ and
$B$ is connected with respect to $\subspaceTopology{T}{B}$
by \cref{component_relation}.
$y\in B$ and $z\in B$ by \cref{fst_eq,snd_eq}.
Let $M = \{A,B\}$.
$M\neq\emptyset$ by \cref{upair_intro_left,emptyset}.
Show that for all $C$ such that $C\in M$ we have
$C\subseteq X$ and
$C$ is connected with respect to $\subspaceTopology{T}{C}$ and
$y\in C$.
\begin{subproof}
Follows by \cref{upair_iff,subspace_of}.
\end{subproof}
Therefore $\inters{M}\neq\emptyset$ by \cref{upair_intro_left,nonempty_inhabited,inters_iff_forall,emptyset}.
Hence $A\union B$ is connected with respect to $\subspaceTopology{T}{A\union B}$
by \cref{union_connected_common_point,union_as_unions}.
$A\union B$ is a subspace of $X$ with respect to $T$ by \cref{union_iff,subspace_of,subseteq}.
We have $x\in A\union B$ and $z\in A\union B$ by \cref{union_iff}.
Therefore $x\mathrel{\componentRelation{T}{X}}z$
by \cref{subspace_of,subseteq,times_tuple_intro,fst_eq,snd_eq,component_relation}.
\end{subproof}
Therefore $\componentRelation{T}{X}$ is transitive by \cref{transitive}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is an equivalence on $X$.
LaTeX source
\begin{lemma}
\label{component_relation_equivalence}
Assume $T$ is a topology on $X$.
Then $\componentRelation{T}{X}$ is an equivalence on $X$.
\end{lemma}
Proof
Assume $T$ is a topology on $X$.
Suppose $C$ is a component of $X$ with respect to $T$.
Then $C$ is connected with respect to $\subspaceTopology{T}{C}$.
LaTeX source
\begin{theorem}
\label{component_connected}
Assume $T$ is a topology on $X$.
Suppose $C$ is a component of $X$ with respect to $T$.
Then $C$ is connected with respect to $\subspaceTopology{T}{C}$.
\end{theorem}
Proof
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{x}$ by Definition 238.
Let $M = \{A\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X} \mid \text{$x\in A$ and $A$ is connected with respect to $\subspaceTopology{T}{A}$}\}$.
Take $A$ such that $A$ is a subspace of $X$ with respect to $T$ and $\fst{(x,x)}\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $\snd{(x,x)}\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $A$ is connected with respect to $\subspaceTopology{T}{A}$ by Definition 32, Definition 237, Lemma 328.
Therefore $M\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Axiom 10, Axiom 11, Definition 147, Proposition 155.
Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A$ is connected with respect to $\subspaceTopology{T}{A}$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Follows by Proposition 156.
Hence $\inters{M}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Axiom 10, Axiom 11, Definition 147, Proposition 10, Proposition 30, Proposition 155.
Let $U = \unions{M}$.
$U$ is connected with respect to $\subspaceTopology{T}{U}$ by Theorem 40.
Claim: $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Hence $U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.
Claim: $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Follows by Axiom 4, Axiom 10, Axiom 11, Definition 147, Definition 237, Proposition 155, Proposition 253.
Hence $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1.
Therefore $U = C$ by Proposition 3.
Hence $C$ is connected with respect to $\subspaceTopology{T}{C}$.
LaTeX source
\begin{proof}
Take $x\in X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{x}$ by \cref{component}.
Let $M = \{A\in\pow{X} \mid \text{$x\in A$ and $A$ is connected with respect to $\subspaceTopology{T}{A}$}\}$.
Take $A$ such that
$A$ is a subspace of $X$ with respect to $T$ and
$\fst{(x,x)}\in A$ and $\snd{(x,x)}\in A$ and
$A$ is connected with respect to $\subspaceTopology{T}{A}$
by \cref{component_relation_reflexive,reflexive_on,component_relation}.
Therefore $M\neq\emptyset$ by \cref{fst_eq,snd_eq,subspace_of,powerset_intro,emptyset}.
Show that for all $A$ such that $A\in M$ we have
$A\subseteq X$ and
$A$ is connected with respect to $\subspaceTopology{T}{A}$ and
$x\in A$.
\begin{subproof}
Follows by \cref{powerset_elim}.
\end{subproof}
Hence $\inters{M}\neq\emptyset$ by \cref{fst_eq,snd_eq,subspace_of,powerset_intro,nonempty_inhabited,inters_iff_forall,emptyset}.
Let $U = \unions{M}$.
$U$ is connected with respect to $\subspaceTopology{T}{U}$ by \cref{union_connected_common_point}.
Show that $U\subseteq C$.
\begin{subproof}
Show that for all $y$ such that $y\in U$ we have $y\in C$.
\begin{subproof}
Follows by \cref{unions_iff,powerset_elim,subspace_of,subseteq,times_tuple_intro,fst_eq,snd_eq,component_relation,component_relation_symmetric,symmetric,downward_closure_iff}.
\end{subproof}
Hence $U\subseteq C$ by \cref{subseteq}.
\end{subproof}
Show that $C\subseteq U$.
\begin{subproof}
Show that for all $y$ such that $y\in C$ we have $y\in U$.
\begin{subproof}
Follows by \cref{downward_closure_iff,component_relation,fst_eq,snd_eq,subspace_of,powerset_intro,unions_iff}.
\end{subproof}
Hence $C\subseteq U$ by \cref{subseteq}.
\end{subproof}
Therefore $U = C$ by \cref{subseteq_antisymmetric}.
Hence $C$ is connected with respect to $\subspaceTopology{T}{C}$.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $C$ is a component of $X$ with respect to $T$.
Suppose $D$ is a component of $X$ with respect to $T$.
Suppose $C\class{latex-symbol-tip latex-symbol-id-neq}{\neq} D$.
Then $C$ is disjoint from $D$.
LaTeX source
\begin{theorem}
\label{components_disjoint}
Assume $T$ is a topology on $X$.
Suppose $C$ is a component of $X$ with respect to $T$.
Suppose $D$ is a component of $X$ with respect to $T$.
Suppose $C\neq D$.
Then $C$ is disjoint from $D$.
\end{theorem}
Proof
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{x}$ by Definition 238.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $D = \equivalenceClass{\componentRelation{T}{X}}{y}$ by Definition 238.
We have $C$ is disjoint from $D$ by Lemma 331, Corollary 5.
LaTeX source
\begin{proof}
Take $x\in X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{x}$ by \cref{component}.
Take $y\in X$ such that $D = \equivalenceClass{\componentRelation{T}{X}}{y}$ by \cref{component}.
We have $C$ is disjoint from $D$
by \cref{component_relation_equivalence,equivalenceon_equivclasses_diseq_implies_disjoint}.
\end{proof}
Assume $T$ is a topology on $X$.
Then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $C$ such that $C$ is a component of $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
LaTeX source
\begin{theorem}
\label{components_cover}
Assume $T$ is a topology on $X$.
Then for all $x\in X$ there exists $C$ such that
$C$ is a component of $X$ with respect to $T$ and $x\in C$.
\end{theorem}
Proof
Follows by Definition 238, Lemma 331, Proposition 320.
LaTeX source
\begin{proof}
Follows by \cref{component_relation_equivalence,equivclasses_inhabited_equivalenceon,component}.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Suppose $A$ is connected with respect to $\subspaceTopology{T}{A}$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Then for all $C,D$ such that $C$ is a component of $X$ with respect to $T$ and $D$ is a component of $X$ with respect to $T$ and $A$ intersects $C$ and $A$ intersects $D$ we have $C = D$.
LaTeX source
\begin{theorem}
\label{connected_subspace_single_component}
Assume $T$ is a topology on $X$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Suppose $A$ is connected with respect to $\subspaceTopology{T}{A}$.
Suppose $A\neq\emptyset$.
Then for all $C,D$ such that
$C$ is a component of $X$ with respect to $T$ and
$D$ is a component of $X$ with respect to $T$ and
$A$ intersects $C$ and $A$ intersects $D$
we have $C = D$.
\end{theorem}
Proof
Fix $C$.
Fix $D$ such that $C$ is a component of $X$ with respect to $T$ and $D$ is a component of $X$ with respect to $T$ and $A$ intersects $C$ and $A$ intersects $D$.
Take $x,y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter C$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter D$ by Definition 152, Proposition 10.
Therefore $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} \componentRelation{T}{X}$ by Axiom 10, Axiom 11, Definition 1, Definition 5, Definition 147, Definition 237, Proposition 115.
Take $c\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{c}$ by Definition 238.
Take $d\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $D = \equivalenceClass{\componentRelation{T}{X}}{d}$ by Definition 238.
Therefore $C = D$ by Definition 5, Definition 35 [Symmetry], Definition 37 [Transitivity], Lemma 329, Lemma 330, Lemma 331, Proposition 253, Proposition 323.
LaTeX source
\begin{proof}
Fix $C$.
Fix $D$ such that
$C$ is a component of $X$ with respect to $T$ and
$D$ is a component of $X$ with respect to $T$ and
$A$ intersects $C$ and $A$ intersects $D$.
Take $x,y$ such that $x\in A\inter C$ and $y\in A\inter D$ by \cref{intersects,nonempty_inhabited}.
Therefore $(x,y)\in \componentRelation{T}{X}$
by \cref{inter,subspace_of,subseteq,times_tuple_intro,fst_eq,snd_eq,component_relation}.
Take $c\in X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{c}$ by \cref{component}.
Take $d\in X$ such that $D = \equivalenceClass{\componentRelation{T}{X}}{d}$ by \cref{component}.
Therefore $C = D$
by \cref{inter,downward_closure_iff,component_relation_symmetric,component_relation_transitive,symmetric,transitive,component_relation_equivalence,equiv_iff_equivclasses_eq}.
\end{proof}
$\pathRelation{T}{X} = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X \mid \text{there exists $f$ such that $f$ is a path in $X$ from $\fst{w}$ to $\snd{w}$ with respect to $T$}\}$.
LaTeX source
\begin{definition}
\label{path_relation}
$\pathRelation{T}{X} = \{w\in X\times X \mid
\text{there exists $f$ such that
$f$ is a path in $X$ from $\fst{w}$ to $\snd{w}$ with respect to $T$}\}$.
\end{definition}
Assume $T$ is a topology on $X$.
$C$ is a path component of $X$ with respect to $T$ iff there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\pathRelation{T}{X}}{x}$.
LaTeX source
\begin{definition}
\label{path_component}
Assume $T$ is a topology on $X$.
$C$ is a path component of $X$ with respect to $T$ iff
there exists $x\in X$ such that
$C = \equivalenceClass{\pathRelation{T}{X}}{x}$.
\end{definition}
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ there exists $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $b < a$.
LaTeX source
\begin{lemma}
\label{reals_has_smaller}
For all $a\in\reals$ there exists $b\in\reals$ such that $b < a$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 16, Axiom 17, Axiom 18, Axiom 21, Axiom 37, Lemma 82, Lemma 83, Lemma 84, Proposition 462, Proposition 465.
LaTeX source
\begin{proof}
Follows by \cref{real_add_ident,real_mul_ident,real_add_inverse,real_zero_lt_one,real_lt_neg,real_neg_zero,real_lt_subst_right,real_lt_add,real_add_comm,real_lt_subst_left,real_add_closed}.
\end{proof}
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ there exists $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a < b$.
LaTeX source
\begin{lemma}
\label{reals_has_larger}
For all $a\in\reals$ there exists $b\in\reals$ such that $a < b$.
\end{lemma}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\intervalopenrel{\realOrderRel}{\reals}{a}{b} = \intervalopen{a}{b}$.
LaTeX source
\begin{lemma}
\label{intervalopenrel_real_eq_intervalopen}
Suppose $a\in\reals$ and $b\in\reals$.
Then $\intervalopenrel{\realOrderRel}{\reals}{a}{b} = \intervalopen{a}{b}$.
\end{lemma}
Proof
Follows by Definition 1, Definition 76, Definition 129, Lemma 320, Lemma 321, Proposition 3.
LaTeX source
\begin{proof}
Follows by \cref{intervalopen_rel,real_order_relation_elim,intervalopen,real_order_relation_intro,subseteq,subseteq_antisymmetric}.
\end{proof}
$\orderBasis{\realOrderRel}{\reals} = \standardBasisR$.
LaTeX source
\begin{lemma}
\label{order_basis_reals_standard}
$\orderBasis{\realOrderRel}{\reals} = \standardBasisR$.
\end{lemma}
Proof
Claim: For all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\orderBasis{\realOrderRel}{\reals}$ we have $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardBasisR$.
Fix $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\orderBasis{\realOrderRel}{\reals}$.
We have $(\class{latex-symbol-tip latex-symbol-id-exists}{\exists} a, b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. a\mathrel{\realOrderRel}b \class{latex-symbol-tip latex-symbol-id-land}{\land} B = \intervalopenrel{\realOrderRel}{\reals}{a}{b}) \class{latex-symbol-tip latex-symbol-id-lor}{\lor} (\class{latex-symbol-tip latex-symbol-id-exists}{\exists} b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. \class{latex-symbol-tip latex-symbol-id-exists}{\exists} a_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. (\class{latex-symbol-tip latex-symbol-id-forall}{\forall} x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. a_0\mathrel{\realOrderRel}x \class{latex-symbol-tip latex-symbol-id-lor}{\lor} a_0 = x) \class{latex-symbol-tip latex-symbol-id-land}{\land} B = \intervalclosedopenrel{\realOrderRel}{\reals}{a_0}{b}) \class{latex-symbol-tip latex-symbol-id-lor}{\lor} (\class{latex-symbol-tip latex-symbol-id-exists}{\exists} a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. \class{latex-symbol-tip latex-symbol-id-exists}{\exists} b_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. (\class{latex-symbol-tip latex-symbol-id-forall}{\forall} x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. x\mathrel{\realOrderRel}b_0 \class{latex-symbol-tip latex-symbol-id-lor}{\lor} x = b_0) \class{latex-symbol-tip latex-symbol-id-land}{\land} B = \intervalopenclosedrel{\realOrderRel}{\reals}{a}{b_0})$ by Definition 133.
Take $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a\mathrel{\realOrderRel}b$ and $B = \intervalopenrel{\realOrderRel}{\reals}{a}{b}$.
Hence $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardBasisR$ by Definition 1, Definition 117, Lemma 87, Lemma 321, Lemma 334, Proposition 155.
Suppose not.
Take $b,a_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $(\class{latex-symbol-tip latex-symbol-id-forall}{\forall} x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. a_0\mathrel{\realOrderRel}x \class{latex-symbol-tip latex-symbol-id-lor}{\lor} a_0 = x)$ and $B = \intervalclosedopenrel{\realOrderRel}{\reals}{a_0}{b}$.
Take $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $c < a_0$ by Lemma 332.
$a_0\mathrel{\realOrderRel}c$ or $a_0 = c$.
Contradiction by Axiom 36, Axiom 39, Lemma 82, Lemma 83, Lemma 321.
Suppose not.
Take $a,b_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $(\class{latex-symbol-tip latex-symbol-id-forall}{\forall} x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals. x\mathrel{\realOrderRel}b_0 \class{latex-symbol-tip latex-symbol-id-lor}{\lor} x = b_0)$ and $B = \intervalopenclosedrel{\realOrderRel}{\reals}{a}{b_0}$.
Take $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $b_0 < c$ by Lemma 333.
$c\mathrel{\realOrderRel}b_0$ or $c = b_0$.
Contradiction by Axiom 36, Axiom 39, Lemma 82, Lemma 83, Lemma 321.
LaTeX source
\begin{byCase}
\caseOf{$\exists a, b\in\reals. a\mathrel{\realOrderRel}b \land B = \intervalopenrel{\realOrderRel}{\reals}{a}{b}$.}
Take $a,b\in\reals$ such that $a\mathrel{\realOrderRel}b$ and
$B = \intervalopenrel{\realOrderRel}{\reals}{a}{b}$.
Hence $B\in\standardBasisR$
by \cref{real_order_relation_elim,intervalopenrel_real_eq_intervalopen,intervalopen_subset_reals,subseteq,powerset_intro,standard_basis_reals}.
\caseOf{$\exists b\in\reals. \exists a_0\in\reals. (\forall x\in\reals. a_0\mathrel{\realOrderRel}x \lor a_0 = x) \land B = \intervalclosedopenrel{\realOrderRel}{\reals}{a_0}{b}$.}
Suppose not.
Take $b,a_0\in\reals$ such that
$(\forall x\in\reals. a_0\mathrel{\realOrderRel}x \lor a_0 = x)$ and
$B = \intervalclosedopenrel{\realOrderRel}{\reals}{a_0}{b}$.
Take $c\in\reals$ such that $c < a_0$ by \cref{reals_has_smaller}.
$a_0\mathrel{\realOrderRel}c$ or $a_0 = c$.
Contradiction by \cref{real_order_relation_elim,real_lt_trans,real_lt_irreflexive,real_lt_subst_left,real_lt_subst_right}.
\caseOf{$\exists a\in\reals. \exists b_0\in\reals. (\forall x\in\reals. x\mathrel{\realOrderRel}b_0 \lor x = b_0) \land B = \intervalopenclosedrel{\realOrderRel}{\reals}{a}{b_0}$.}
Suppose not.
Take $a,b_0\in\reals$ such that
$(\forall x\in\reals. x\mathrel{\realOrderRel}b_0 \lor x = b_0)$ and
$B = \intervalopenclosedrel{\realOrderRel}{\reals}{a}{b_0}$.
Take $c\in\reals$ such that $b_0 < c$ by \cref{reals_has_larger}.
$c\mathrel{\realOrderRel}b_0$ or $c = b_0$.
Contradiction by \cref{real_order_relation_elim,real_lt_trans,real_lt_irreflexive,real_lt_subst_left,real_lt_subst_right}.
\end{byCase}
Claim: $\orderBasis{\realOrderRel}{\reals} \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \standardBasisR$.
Follows by Definition 1.
Claim: For all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardBasisR$ we have $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\orderBasis{\realOrderRel}{\reals}$.
Follows by Definition 1, Definition 117, Definition 133, Lemma 87, Lemma 320, Lemma 334, Proposition 155.
Claim: $\standardBasisR \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \orderBasis{\realOrderRel}{\reals}$.
Follows by Definition 1.
Hence $\orderBasis{\realOrderRel}{\reals} = \standardBasisR$ by Proposition 3.
LaTeX source
\begin{proof}
Show that for all $B$ such that $B\in\orderBasis{\realOrderRel}{\reals}$ we have
$B\in\standardBasisR$.
\begin{subproof}
Fix $B$ such that $B\in\orderBasis{\realOrderRel}{\reals}$.
We have
$(\exists a, b\in\reals. a\mathrel{\realOrderRel}b \land B = \intervalopenrel{\realOrderRel}{\reals}{a}{b}) \lor
(\exists b\in\reals. \exists a_0\in\reals. (\forall x\in\reals. a_0\mathrel{\realOrderRel}x \lor a_0 = x) \land B = \intervalclosedopenrel{\realOrderRel}{\reals}{a_0}{b}) \lor
(\exists a\in\reals. \exists b_0\in\reals. (\forall x\in\reals. x\mathrel{\realOrderRel}b_0 \lor x = b_0) \land B = \intervalopenclosedrel{\realOrderRel}{\reals}{a}{b_0})$
by \cref{order_basis}.
\begin{byCase}
\caseOf{$\exists a, b\in\reals. a\mathrel{\realOrderRel}b \land B = \intervalopenrel{\realOrderRel}{\reals}{a}{b}$.}
Take $a,b\in\reals$ such that $a\mathrel{\realOrderRel}b$ and
$B = \intervalopenrel{\realOrderRel}{\reals}{a}{b}$.
Hence $B\in\standardBasisR$
by \cref{real_order_relation_elim,intervalopenrel_real_eq_intervalopen,intervalopen_subset_reals,subseteq,powerset_intro,standard_basis_reals}.
\caseOf{$\exists b\in\reals. \exists a_0\in\reals. (\forall x\in\reals. a_0\mathrel{\realOrderRel}x \lor a_0 = x) \land B = \intervalclosedopenrel{\realOrderRel}{\reals}{a_0}{b}$.}
Suppose not.
Take $b,a_0\in\reals$ such that
$(\forall x\in\reals. a_0\mathrel{\realOrderRel}x \lor a_0 = x)$ and
$B = \intervalclosedopenrel{\realOrderRel}{\reals}{a_0}{b}$.
Take $c\in\reals$ such that $c < a_0$ by \cref{reals_has_smaller}.
$a_0\mathrel{\realOrderRel}c$ or $a_0 = c$.
Contradiction by \cref{real_order_relation_elim,real_lt_trans,real_lt_irreflexive,real_lt_subst_left,real_lt_subst_right}.
\caseOf{$\exists a\in\reals. \exists b_0\in\reals. (\forall x\in\reals. x\mathrel{\realOrderRel}b_0 \lor x = b_0) \land B = \intervalopenclosedrel{\realOrderRel}{\reals}{a}{b_0}$.}
Suppose not.
Take $a,b_0\in\reals$ such that
$(\forall x\in\reals. x\mathrel{\realOrderRel}b_0 \lor x = b_0)$ and
$B = \intervalopenclosedrel{\realOrderRel}{\reals}{a}{b_0}$.
Take $c\in\reals$ such that $b_0 < c$ by \cref{reals_has_larger}.
$c\mathrel{\realOrderRel}b_0$ or $c = b_0$.
Contradiction by \cref{real_order_relation_elim,real_lt_trans,real_lt_irreflexive,real_lt_subst_left,real_lt_subst_right}.
\end{byCase}
\end{subproof}
Show that $\orderBasis{\realOrderRel}{\reals} \subseteq \standardBasisR$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that for all $B$ such that $B\in\standardBasisR$ we have
$B\in\orderBasis{\realOrderRel}{\reals}$.
\begin{subproof}
Follows by \cref{standard_basis_reals,real_order_relation_intro,intervalopenrel_real_eq_intervalopen,intervalopen_subset_reals,subseteq,powerset_intro,order_basis}.
\end{subproof}
Show that $\standardBasisR \subseteq \orderBasis{\realOrderRel}{\reals}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Hence $\orderBasis{\realOrderRel}{\reals} = \standardBasisR$ by \cref{subseteq_antisymmetric}.
\end{proof}
$\realOrderTopology = \standardTopologyR$.
LaTeX source
\begin{lemma}
\label{real_order_topology_eq_standard}
$\realOrderTopology = \standardTopologyR$.
\end{lemma}
Proof
Follows by Definition 118, Definition 233, Lemma 335.
LaTeX source
\begin{proof}
Follows by \cref{real_order_topology,standard_topology_reals,order_basis_reals_standard}.
\end{proof}
Assume $R$ is a simple order relation on $X$.
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $\closedrayright{R}{X}{a} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}$.
LaTeX source
\begin{lemma}
\label{closedrayright_complement_openrayleft}
Assume $R$ is a simple order relation on $X$.
Suppose $a\in X$.
Then $\closedrayright{R}{X}{a} = X\setminus \openrayleft{R}{X}{a}$.
\end{lemma}
Proof
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayright{R}{X}{a}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayright{R}{X}{a}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 137.
$a\mathrel{R}x$ or $x = a$ by Definition 137.
Claim: $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\openrayleft{R}{X}{a}$.
Suppose not.
$x\mathrel{R}a$ by Definition 136.
Contradiction by Definition 36, Definition 98.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}$ by Proposition 85.
Claim: $\closedrayright{R}{X}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}$.
Follows by Definition 1.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayright{R}{X}{a}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\openrayleft{R}{X}{a}$ by Proposition 86, Proposition 87.
$a\mathrel{R}x$ or $x = a$ by Definition 40, Definition 98, Definition 136.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayright{R}{X}{a}$ by Definition 137.
Claim: $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closedrayright{R}{X}{a}$.
Follows by Definition 1.
Therefore $\closedrayright{R}{X}{a} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayleft{R}{X}{a}$ by Proposition 3.
LaTeX source
\begin{proof}
Show that for all $x$ such that $x\in\closedrayright{R}{X}{a}$ we have
$x\in X\setminus \openrayleft{R}{X}{a}$.
\begin{subproof}
Fix $x$ such that $x\in\closedrayright{R}{X}{a}$.
$x\in X$ by \cref{closedray_right}.
$a\mathrel{R}x$ or $x = a$ by \cref{closedray_right}.
Show that $x\notin\openrayleft{R}{X}{a}$.
\begin{subproof}
Suppose not.
$x\mathrel{R}a$ by \cref{openray_left}.
Contradiction by \cref{simple_order_relation,asymmetric}.
\end{subproof}
Therefore $x\in X\setminus \openrayleft{R}{X}{a}$ by \cref{setminus_intro}.
\end{subproof}
Show that $\closedrayright{R}{X}{a}\subseteq X\setminus \openrayleft{R}{X}{a}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that for all $x$ such that $x\in X\setminus \openrayleft{R}{X}{a}$ we have
$x\in\closedrayright{R}{X}{a}$.
\begin{subproof}
Fix $x$ such that $x\in X\setminus \openrayleft{R}{X}{a}$.
$x\in X$ and $x\notin\openrayleft{R}{X}{a}$ by \cref{setminus_elim_left,setminus_elim_right}.
$a\mathrel{R}x$ or $x = a$ by \cref{simple_order_relation,connex,openray_left}.
Therefore $x\in\closedrayright{R}{X}{a}$ by \cref{closedray_right}.
\end{subproof}
Show that $X\setminus \openrayleft{R}{X}{a}\subseteq \closedrayright{R}{X}{a}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Therefore $\closedrayright{R}{X}{a} = X\setminus \openrayleft{R}{X}{a}$
by \cref{subseteq_antisymmetric}.
\end{proof}
Assume $R$ is a simple order relation on $X$.
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $\closedrayleft{R}{X}{a} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}$.
LaTeX source
\begin{lemma}
\label{closedrayleft_complement_openrayright}
Assume $R$ is a simple order relation on $X$.
Suppose $a\in X$.
Then $\closedrayleft{R}{X}{a} = X\setminus \openrayright{R}{X}{a}$.
\end{lemma}
Proof
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayleft{R}{X}{a}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayleft{R}{X}{a}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 138.
$x\mathrel{R}a$ or $x = a$ by Definition 138.
Claim: $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\openrayright{R}{X}{a}$.
Suppose not.
$a\mathrel{R}x$ by Definition 135.
Contradiction by Definition 36, Definition 98.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}$ by Proposition 85.
Claim: $\closedrayleft{R}{X}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}$.
Follows by Definition 1.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayleft{R}{X}{a}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\openrayright{R}{X}{a}$ by Proposition 86, Proposition 87.
$x\mathrel{R}a$ or $x = a$ by Definition 40, Definition 98, Definition 135.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closedrayleft{R}{X}{a}$ by Definition 138.
Claim: $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closedrayleft{R}{X}{a}$.
Follows by Definition 1.
Therefore $\closedrayleft{R}{X}{a} = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \openrayright{R}{X}{a}$ by Proposition 3.
LaTeX source
\begin{proof}
Show that for all $x$ such that $x\in\closedrayleft{R}{X}{a}$ we have
$x\in X\setminus \openrayright{R}{X}{a}$.
\begin{subproof}
Fix $x$ such that $x\in\closedrayleft{R}{X}{a}$.
$x\in X$ by \cref{closedray_left}.
$x\mathrel{R}a$ or $x = a$ by \cref{closedray_left}.
Show that $x\notin\openrayright{R}{X}{a}$.
\begin{subproof}
Suppose not.
$a\mathrel{R}x$ by \cref{openray_right}.
Contradiction by \cref{simple_order_relation,asymmetric}.
\end{subproof}
Therefore $x\in X\setminus \openrayright{R}{X}{a}$ by \cref{setminus_intro}.
\end{subproof}
Show that $\closedrayleft{R}{X}{a}\subseteq X\setminus \openrayright{R}{X}{a}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that for all $x$ such that $x\in X\setminus \openrayright{R}{X}{a}$ we have
$x\in\closedrayleft{R}{X}{a}$.
\begin{subproof}
Fix $x$ such that $x\in X\setminus \openrayright{R}{X}{a}$.
$x\in X$ and $x\notin\openrayright{R}{X}{a}$ by \cref{setminus_elim_left,setminus_elim_right}.
$x\mathrel{R}a$ or $x = a$ by \cref{simple_order_relation,connex,openray_right}.
Therefore $x\in\closedrayleft{R}{X}{a}$ by \cref{closedray_left}.
\end{subproof}
Show that $X\setminus \openrayright{R}{X}{a}\subseteq \closedrayleft{R}{X}{a}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Therefore $\closedrayleft{R}{X}{a} = X\setminus \openrayright{R}{X}{a}$
by \cref{subseteq_antisymmetric}.
\end{proof}
Assume $R$ is a simple order relation on $X$.
Assume $X$ has more than one element.
Assume $T$ is the order topology on $X$ with respect to $R$.
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $\closedrayright{R}{X}{a}$ is closed in $X$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{closedrayright_closed_in_order_topology}
Assume $R$ is a simple order relation on $X$.
Assume $X$ has more than one element.
Assume $T$ is the order topology on $X$ with respect to $R$.
Suppose $a\in X$.
Then $\closedrayright{R}{X}{a}$ is closed in $X$ with respect to $T$.
\end{lemma}
Proof
Follows by Definition 1, Definition 103, Definition 136, Definition 137, Definition 149, Lemma 154, Lemma 337, Proposition 70, Proposition 91.
LaTeX source
\begin{proof}
Follows by \cref{openrayleft_open_in_order_topology,closedray_right,openray_left,subseteq,closedrayright_complement_openrayleft,setminus_setminus,inter_absorb_supseteq_left,open_in,closed_in}.
\end{proof}
Assume $R$ is a simple order relation on $X$.
Assume $X$ has more than one element.
Assume $T$ is the order topology on $X$ with respect to $R$.
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $\closedrayleft{R}{X}{a}$ is closed in $X$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{closedrayleft_closed_in_order_topology}
Assume $R$ is a simple order relation on $X$.
Assume $X$ has more than one element.
Assume $T$ is the order topology on $X$ with respect to $R$.
Suppose $a\in X$.
Then $\closedrayleft{R}{X}{a}$ is closed in $X$ with respect to $T$.
\end{lemma}
Proof
Follows by Definition 1, Definition 103, Definition 135, Definition 138, Definition 149, Lemma 153, Lemma 338, Proposition 70, Proposition 91.
LaTeX source
\begin{proof}
Follows by \cref{openrayright_open_in_order_topology,closedray_left,openray_right,subseteq,closedrayleft_complement_openrayright,setminus_setminus,inter_absorb_supseteq_left,open_in,closed_in}.
\end{proof}
Assume $R$ is a simple order relation on $X$.
Assume $X$ has more than one element.
Assume $T$ is the order topology on $X$ with respect to $R$.
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Suppose $b\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $\intervalclosedrel{R}{X}{a}{b}$ is closed in $X$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{intervalclosedrel_closed_in_order_topology}
Assume $R$ is a simple order relation on $X$.
Assume $X$ has more than one element.
Assume $T$ is the order topology on $X$ with respect to $R$.
Suppose $a\in X$.
Suppose $b\in X$.
Then $\intervalclosedrel{R}{X}{a}{b}$ is closed in $X$ with respect to $T$.
\end{lemma}
Proof
Let $A = \closedrayright{R}{X}{a}$.
Let $B = \closedrayleft{R}{X}{b}$.
$T$ is a topology on $X$ by Definition 134, Lemma 76, Lemma 113.
Claim: $A$ is closed in $X$ with respect to $T$.
Follows by Lemma 339.
Claim: $B$ is closed in $X$ with respect to $T$.
Follows by Lemma 340.
Claim: $A\inter B$ is closed in $X$ with respect to $T$.
Follows by Definition 1, Definition 137, Definition 138, Lemma 140, Proposition 19, Proposition 64, Proposition 155.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosedrel{R}{X}{a}{b}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter B$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosedrel{R}{X}{a}{b}$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 132.
$a\mathrel{R}x$ or $x = a$ by Definition 132.
$x\mathrel{R}b$ or $x = b$ by Definition 132.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 137, Definition 138.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter B$ by Definition 5.
Claim: $\intervalclosedrel{R}{X}{a}{b}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A\inter B$.
Follows by Definition 1.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter B$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosedrel{R}{X}{a}{b}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter B$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 5.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 137.
$a\mathrel{R}x$ or $x = a$ by Definition 137.
$x\mathrel{R}b$ or $x = b$ by Definition 138.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosedrel{R}{X}{a}{b}$ by Definition 132.
Claim: $A\inter B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosedrel{R}{X}{a}{b}$.
Follows by Definition 1.
Therefore $\intervalclosedrel{R}{X}{a}{b} = A\inter B$ by Proposition 3.
Claim: $\intervalclosedrel{R}{X}{a}{b}$ is closed in $X$ with respect to $T$.
Follows by Definition 1.
LaTeX source
\begin{proof}
Let $A = \closedrayright{R}{X}{a}$.
Let $B = \closedrayleft{R}{X}{b}$.
$T$ is a topology on $X$ by \cref{order_basis_is_basis,basis_topology_is_topology,order_topology}.
Show that $A$ is closed in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{closedrayright_closed_in_order_topology}.
\end{subproof}
Show that $B$ is closed in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{closedrayleft_closed_in_order_topology}.
\end{subproof}
Show that $A\inter B$ is closed in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{upair_iff,closedray_right,closedray_left,subseteq,powerset_intro,closed_inters,inter_as_inters}.
\end{subproof}
Show that for all $x$ such that $x\in\intervalclosedrel{R}{X}{a}{b}$ we have $x\in A\inter B$.
\begin{subproof}
Fix $x$ such that $x\in\intervalclosedrel{R}{X}{a}{b}$.
$x\in X$ by \cref{intervalclosed_rel}.
$a\mathrel{R}x$ or $x = a$ by \cref{intervalclosed_rel}.
$x\mathrel{R}b$ or $x = b$ by \cref{intervalclosed_rel}.
Hence $x\in A$ and $x\in B$ by \cref{closedray_right,closedray_left}.
Therefore $x\in A\inter B$ by \cref{inter}.
\end{subproof}
Show that $\intervalclosedrel{R}{X}{a}{b}\subseteq A\inter B$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that for all $x$ such that $x\in A\inter B$ we have $x\in\intervalclosedrel{R}{X}{a}{b}$.
\begin{subproof}
Fix $x$ such that $x\in A\inter B$.
$x\in A$ and $x\in B$ by \cref{inter}.
$x\in X$ by \cref{closedray_right}.
$a\mathrel{R}x$ or $x = a$ by \cref{closedray_right}.
$x\mathrel{R}b$ or $x = b$ by \cref{closedray_left}.
Therefore $x\in\intervalclosedrel{R}{X}{a}{b}$ by \cref{intervalclosed_rel}.
\end{subproof}
Show that $A\inter B\subseteq \intervalclosedrel{R}{X}{a}{b}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Therefore $\intervalclosedrel{R}{X}{a}{b} = A\inter B$ by \cref{subseteq_antisymmetric}.
Show that $\intervalclosedrel{R}{X}{a}{b}$ is closed in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $f$ is a path in $X$ from $x$ to $y$ with respect to $T$.
Then there exists $g$ such that $g$ is a path in $X$ from $y$ to $x$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{path_reverse}
Assume $T$ is a topology on $X$.
Suppose $f$ is a path in $X$ from $x$ to $y$ with respect to $T$.
Then there exists $g$ such that $g$ is a path in $X$ from $y$ to $x$ with respect to $T$.
\end{lemma}
Proof
Take $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a\mathrel{\realOrderRel} b$ and $f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and $f(a) = x$ and $f(b) = y$ by Definition 235.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
$\realOrderTopology$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93, Lemma 336.
$I$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by Definition 1, Definition 132, Definition 147.
$T_I$ is a topology on $I$ by Definition 147, Lemma 131.
Let $c_0 = a + b$.
$c_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Let $k = \{(t,c_0) \mid t\class{latex-symbol-tip latex-symbol-id-in}{\in} I\}$.
$k$ is a function from $I$ to $\reals$ by Lemma 309.
Claim: For all $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $k(t) = c_0$.
Fix $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
$(t,c_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} k$.
Hence $k(t) = c_0$ by Proposition 349, Proposition 356.
Hence $k$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$ by Lemma 163, Lemma 336.
Let $j = \identity{I}$.
$j$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$ by Lemma 164, Lemma 336.
Let $r = \{(t, k(t) - j(t)) \mid t\class{latex-symbol-tip latex-symbol-id-in}{\in} I\}$.
$r$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$ by Theorem 33.
$r$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\realOrderTopology$ by Lemma 336.
Claim: For all $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $r(t)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Fix $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 132.
$a\mathrel{\realOrderRel}t$ or $t = a$ by Definition 132.
$t\mathrel{\realOrderRel}b$ or $t = b$ by Definition 132.
$j(t) = t$ by Proposition 293, Proposition 349, Proposition 356, Proposition 406.
$(t, k(t) - j(t))\class{latex-symbol-tip latex-symbol-id-in}{\in} r$.
$r(t) = k(t) - j(t)$ by Definition 160, Proposition 349, Proposition 356.
$k(t) = c_0$.
$r(t) = c_0 - t$.
$r(t)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
Claim: $a\mathrel{\realOrderRel}r(t)$ or $r(t) = a$.
$b + \neg{b} = 0$ by Axiom 18.
$c_0 - b = (a + b) + \neg{b}$ by Definition 64, Proposition 437.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$\neg{b}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$(a + b) + \neg{b} = a + (b + \neg{b})$ by Axiom 15.
Hence $r(t) = a + 0$ by Proposition 437.
Therefore $r(t) = a$ by Axiom 16, Axiom 17.
$t < b$ by Lemma 321.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$\neg{t}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
Hence $t + \neg{t} < b + \neg{t}$ by Axiom 37.
$t + \neg{t} = 0$ by Axiom 18.
Therefore $0 < b + \neg{t}$ by Lemma 82.
Hence $0 < b - t$ by Definition 64, Lemma 83.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$b - t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
Hence $0 + a < (b - t) + a$ by Axiom 37.
$0 + a = a$ by Axiom 17.
$(b - t) + a = a + (b - t)$ by Axiom 16.
Therefore $a < a + (b - t)$ by Lemma 82, Lemma 83.
$a + (b - t) = a + (b + \neg{t})$ by Definition 64, Proposition 437.
$a + (b + \neg{t}) = (a + b) + \neg{t}$ by Axiom 15.
$(a + b) + \neg{t} = (a + b) - t$ by Definition 64.
$a + (b - t) = c_0 - t$.
Hence $a < c_0 - t$ by Lemma 83.
Therefore $a\mathrel{\realOrderRel}r(t)$ by Lemma 320.
LaTeX source
\begin{byCase}
\caseOf{$t = b$.}
$b + \neg{b} = 0$ by \cref{real_add_inverse}.
$c_0 - b = (a + b) + \neg{b}$ by \cref{real_sub,real_add_eq_subst}.
$a\in\reals$ and $b\in\reals$.
$\neg{b}\in\reals$ by \cref{real_add_inverse}.
$(a + b) + \neg{b} = a + (b + \neg{b})$ by \cref{real_add_assoc}.
Hence $r(t) = a + 0$ by \cref{real_add_eq_subst}.
Therefore $r(t) = a$ by \cref{real_add_ident,real_add_comm}.
\caseOf{$t\mathrel{\realOrderRel}b$.}
$t < b$ by \cref{real_order_relation_elim}.
$b\in\reals$.
$\neg{t}\in\reals$ by \cref{real_add_inverse}.
Hence $t + \neg{t} < b + \neg{t}$ by \cref{real_lt_add}.
$t + \neg{t} = 0$ by \cref{real_add_inverse}.
Therefore $0 < b + \neg{t}$ by \cref{real_lt_subst_left}.
Hence $0 < b - t$ by \cref{real_sub,real_lt_subst_right}.
$0\in\reals$ by \cref{real_add_ident}.
$a\in\reals$.
$b - t\in\reals$ by \cref{real_sub,real_add_closed}.
Hence $0 + a < (b - t) + a$ by \cref{real_lt_add}.
$0 + a = a$ by \cref{real_add_ident}.
$(b - t) + a = a + (b - t)$ by \cref{real_add_comm}.
Therefore $a < a + (b - t)$ by \cref{real_lt_subst_left,real_lt_subst_right}.
$a + (b - t) = a + (b + \neg{t})$ by \cref{real_sub,real_add_eq_subst}.
$a + (b + \neg{t}) = (a + b) + \neg{t}$ by \cref{real_add_assoc}.
$(a + b) + \neg{t} = (a + b) - t$ by \cref{real_sub}.
$a + (b - t) = c_0 - t$.
Hence $a < c_0 - t$ by \cref{real_lt_subst_right}.
Therefore $a\mathrel{\realOrderRel}r(t)$ by \cref{real_order_relation_intro}.
\end{byCase}
Claim: $r(t)\mathrel{\realOrderRel}b$ or $r(t) = b$.
$c_0 = b + a$ by Axiom 16, Proposition 437.
Hence $c_0 - a = (b + a) + \neg{a}$ by Definition 64, Proposition 437.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$(b + a) + \neg{a} = b + (a + \neg{a})$ by Axiom 15.
$a + \neg{a} = 0$ by Axiom 18.
Therefore $r(t) = b + 0$ by Proposition 437.
Hence $r(t) = b$ by Axiom 16, Axiom 17.
$a < t$ by Lemma 321.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$\neg{t}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
Hence $b - t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$a + (b - t) < t + (b - t)$ by Axiom 37.
$t + (b - t) = t + (b + \neg{t})$ by Definition 64, Proposition 437.
$t + (b + \neg{t}) = (t + b) + \neg{t}$ by Axiom 15.
$(t + b) + \neg{t} = (b + t) + \neg{t}$ by Axiom 16.
$(b + t) + \neg{t} = b + (t + \neg{t})$ by Axiom 15.
$t + \neg{t} = 0$ by Axiom 18.
Therefore $t + (b - t) = b + 0$ by Proposition 437.
Hence $t + (b - t) = b$ by Axiom 16, Axiom 17.
Hence $a + (b - t) < b$ by Lemma 83.
$a + (b - t) = a + (b + \neg{t})$ by Definition 64, Proposition 437.
$a + (b + \neg{t}) = (a + b) + \neg{t}$ by Axiom 15.
$(a + b) + \neg{t} = (a + b) - t$ by Definition 64.
$a + (b - t) = c_0 - t$.
Therefore $c_0 - t < b$ by Lemma 82.
Hence $r(t)\mathrel{\realOrderRel}b$ by Lemma 320.
LaTeX source
\begin{byCase}
\caseOf{$t = a$.}
$c_0 = b + a$ by \cref{real_add_comm,real_add_eq_subst}.
Hence $c_0 - a = (b + a) + \neg{a}$ by \cref{real_sub,real_add_eq_subst}.
$a\in\reals$ and $b\in\reals$.
$\neg{a}\in\reals$ by \cref{real_add_inverse}.
$(b + a) + \neg{a} = b + (a + \neg{a})$ by \cref{real_add_assoc}.
$a + \neg{a} = 0$ by \cref{real_add_inverse}.
Therefore $r(t) = b + 0$ by \cref{real_add_eq_subst}.
Hence $r(t) = b$ by \cref{real_add_ident,real_add_comm}.
\caseOf{$a\mathrel{\realOrderRel}t$.}
$a < t$ by \cref{real_order_relation_elim}.
$a\in\reals$ and $t\in\reals$ and $b\in\reals$.
$\neg{t}\in\reals$ by \cref{real_add_inverse}.
Hence $b - t\in\reals$ by \cref{real_sub,real_add_closed}.
$a + (b - t) < t + (b - t)$ by \cref{real_lt_add}.
$t + (b - t) = t + (b + \neg{t})$ by \cref{real_sub,real_add_eq_subst}.
$t + (b + \neg{t}) = (t + b) + \neg{t}$ by \cref{real_add_assoc}.
$(t + b) + \neg{t} = (b + t) + \neg{t}$ by \cref{real_add_comm}.
$(b + t) + \neg{t} = b + (t + \neg{t})$ by \cref{real_add_assoc}.
$t + \neg{t} = 0$ by \cref{real_add_inverse}.
Therefore $t + (b - t) = b + 0$ by \cref{real_add_eq_subst}.
Hence $t + (b - t) = b$ by \cref{real_add_ident,real_add_comm}.
Hence $a + (b - t) < b$ by \cref{real_lt_subst_right}.
$a + (b - t) = a + (b + \neg{t})$ by \cref{real_sub,real_add_eq_subst}.
$a + (b + \neg{t}) = (a + b) + \neg{t}$ by \cref{real_add_assoc}.
$(a + b) + \neg{t} = (a + b) - t$ by \cref{real_sub}.
$a + (b - t) = c_0 - t$.
Therefore $c_0 - t < b$ by \cref{real_lt_subst_left}.
Hence $r(t)\mathrel{\realOrderRel}b$ by \cref{real_order_relation_intro}.
\end{byCase}
Therefore $r(t)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 132.
Hence $\img{r}{I}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Definition 160, Proposition 235, Proposition 349, Proposition 356.
Therefore $r$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ by Lemma 167.
Let $g = f\class{latex-symbol-tip latex-symbol-id-circ}{\circ} r$.
$f$ is composable with $r$ by Definition 1, Definition 55, Definition 160, Proposition 238, Proposition 356.
Hence $g$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by Lemma 165.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 132.
$(a, k(a) - j(a))\class{latex-symbol-tip latex-symbol-id-in}{\in} r$ and $(b, k(b) - j(b))\class{latex-symbol-tip latex-symbol-id-in}{\in} r$.
Hence $r(a) = k(a) - j(a)$ and $r(b) = k(b) - j(b)$ by Definition 160, Proposition 349, Proposition 356.
We have $k(a) = c_0$ and $k(b) = c_0$.
We have $j(a) = a$ and $j(b) = b$ by Proposition 293, Proposition 349, Proposition 356, Proposition 406.
$r(a) = c_0 - a$ and $r(b) = c_0 - b$.
We have $c_0 = b + a$ by Axiom 16, Proposition 437.
Therefore $c_0 - a = (b + a) + \neg{a}$ by Definition 64, Proposition 437.
$\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$(b + a) + \neg{a} = b + (a + \neg{a})$ by Axiom 15.
$a + \neg{a} = 0$ by Axiom 18.
Therefore $r(a) = b + 0$ by Proposition 437.
We have $c_0 - b = (a + b) + \neg{b}$ by Definition 64, Proposition 437.
$\neg{b}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$(a + b) + \neg{b} = a + (b + \neg{b})$ by Axiom 15.
$b + \neg{b} = 0$ by Axiom 18.
Therefore $r(b) = a + 0$ by Proposition 437.
Hence $g(a) = f(r(a))$ and $g(b) = f(r(b))$ by Definition 1, Definition 55, Definition 132, Definition 160, Proposition 356, Proposition 373.
Claim: $g(a) = y$ and $g(b) = x$.
Trivial.
Therefore $g$ is a path in $X$ from $y$ to $x$ with respect to $T$ by Definition 235.
Hence there exists a function $g$ such that $g$ is a path in $X$ from $y$ to $x$ with respect to $T$.
LaTeX source
\begin{proof}
Take $a,b\in\reals$ such that
$a\mathrel{\realOrderRel} b$ and
$f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and
$f(a) = x$ and $f(b) = y$
by \cref{path_in_space}.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
$\realOrderTopology$ is a topology on $\reals$ by
\cref{standard_basis_is_basis,standard_topology_reals,basis_topology_is_topology,real_order_topology_eq_standard}.
$I$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by \cref{intervalclosed_rel,subseteq,subspace_of}.
$T_I$ is a topology on $I$ by \cref{subspace_topology_is_topology,subspace_of}.
Let $c_0 = a + b$.
$c_0\in\reals$ by \cref{real_add_closed}.
Let $k = \{(t,c_0) \mid t\in I\}$.
$k$ is a function from $I$ to $\reals$ by \cref{constant_map_function}.
Show that for all $t\in I$ we have $k(t) = c_0$.
\begin{subproof}
Fix $t\in I$.
$(t,c_0)\in k$.
Hence $k(t) = c_0$ by \cref{funs_is_function,function_apply_iff}.
\end{subproof}
Hence $k$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$
by \cref{constant_continuous,real_order_topology_eq_standard}.
Let $j = \identity{I}$.
$j$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$
by \cref{inclusion_continuous,real_order_topology_eq_standard}.
Let $r = \{(t, k(t) - j(t)) \mid t\in I\}$.
$r$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\standardTopologyR$
by \cref{real_function_subtraction_continuous}.
$r$ is continuous from $I$ to $\reals$ with respect to $T_I$ and $\realOrderTopology$
by \cref{real_order_topology_eq_standard}.
Show that for all $t$ such that $t\in I$ we have $r(t)\in I$.
\begin{subproof}
Fix $t$ such that $t\in I$.
$t\in\reals$ by \cref{intervalclosed_rel}.
$a\mathrel{\realOrderRel}t$ or $t = a$ by \cref{intervalclosed_rel}.
$t\mathrel{\realOrderRel}b$ or $t = b$ by \cref{intervalclosed_rel}.
$j(t) = t$ by \cref{id_elem_funs,id_iff,funs_is_function,function_apply_iff}.
$(t, k(t) - j(t))\in r$.
$r(t) = k(t) - j(t)$ by \cref{continuous,funs_is_function,function_apply_iff}.
$k(t) = c_0$.
$r(t) = c_0 - t$.
$r(t)\in\reals$ by \cref{real_add_inverse,real_add_closed,real_sub}.
Show that $a\mathrel{\realOrderRel}r(t)$ or $r(t) = a$.
\begin{subproof}
\begin{byCase}
\caseOf{$t = b$.}
$b + \neg{b} = 0$ by \cref{real_add_inverse}.
$c_0 - b = (a + b) + \neg{b}$ by \cref{real_sub,real_add_eq_subst}.
$a\in\reals$ and $b\in\reals$.
$\neg{b}\in\reals$ by \cref{real_add_inverse}.
$(a + b) + \neg{b} = a + (b + \neg{b})$ by \cref{real_add_assoc}.
Hence $r(t) = a + 0$ by \cref{real_add_eq_subst}.
Therefore $r(t) = a$ by \cref{real_add_ident,real_add_comm}.
\caseOf{$t\mathrel{\realOrderRel}b$.}
$t < b$ by \cref{real_order_relation_elim}.
$b\in\reals$.
$\neg{t}\in\reals$ by \cref{real_add_inverse}.
Hence $t + \neg{t} < b + \neg{t}$ by \cref{real_lt_add}.
$t + \neg{t} = 0$ by \cref{real_add_inverse}.
Therefore $0 < b + \neg{t}$ by \cref{real_lt_subst_left}.
Hence $0 < b - t$ by \cref{real_sub,real_lt_subst_right}.
$0\in\reals$ by \cref{real_add_ident}.
$a\in\reals$.
$b - t\in\reals$ by \cref{real_sub,real_add_closed}.
Hence $0 + a < (b - t) + a$ by \cref{real_lt_add}.
$0 + a = a$ by \cref{real_add_ident}.
$(b - t) + a = a + (b - t)$ by \cref{real_add_comm}.
Therefore $a < a + (b - t)$ by \cref{real_lt_subst_left,real_lt_subst_right}.
$a + (b - t) = a + (b + \neg{t})$ by \cref{real_sub,real_add_eq_subst}.
$a + (b + \neg{t}) = (a + b) + \neg{t}$ by \cref{real_add_assoc}.
$(a + b) + \neg{t} = (a + b) - t$ by \cref{real_sub}.
$a + (b - t) = c_0 - t$.
Hence $a < c_0 - t$ by \cref{real_lt_subst_right}.
Therefore $a\mathrel{\realOrderRel}r(t)$ by \cref{real_order_relation_intro}.
\end{byCase}
\end{subproof}
Show that $r(t)\mathrel{\realOrderRel}b$ or $r(t) = b$.
\begin{subproof}
\begin{byCase}
\caseOf{$t = a$.}
$c_0 = b + a$ by \cref{real_add_comm,real_add_eq_subst}.
Hence $c_0 - a = (b + a) + \neg{a}$ by \cref{real_sub,real_add_eq_subst}.
$a\in\reals$ and $b\in\reals$.
$\neg{a}\in\reals$ by \cref{real_add_inverse}.
$(b + a) + \neg{a} = b + (a + \neg{a})$ by \cref{real_add_assoc}.
$a + \neg{a} = 0$ by \cref{real_add_inverse}.
Therefore $r(t) = b + 0$ by \cref{real_add_eq_subst}.
Hence $r(t) = b$ by \cref{real_add_ident,real_add_comm}.
\caseOf{$a\mathrel{\realOrderRel}t$.}
$a < t$ by \cref{real_order_relation_elim}.
$a\in\reals$ and $t\in\reals$ and $b\in\reals$.
$\neg{t}\in\reals$ by \cref{real_add_inverse}.
Hence $b - t\in\reals$ by \cref{real_sub,real_add_closed}.
$a + (b - t) < t + (b - t)$ by \cref{real_lt_add}.
$t + (b - t) = t + (b + \neg{t})$ by \cref{real_sub,real_add_eq_subst}.
$t + (b + \neg{t}) = (t + b) + \neg{t}$ by \cref{real_add_assoc}.
$(t + b) + \neg{t} = (b + t) + \neg{t}$ by \cref{real_add_comm}.
$(b + t) + \neg{t} = b + (t + \neg{t})$ by \cref{real_add_assoc}.
$t + \neg{t} = 0$ by \cref{real_add_inverse}.
Therefore $t + (b - t) = b + 0$ by \cref{real_add_eq_subst}.
Hence $t + (b - t) = b$ by \cref{real_add_ident,real_add_comm}.
Hence $a + (b - t) < b$ by \cref{real_lt_subst_right}.
$a + (b - t) = a + (b + \neg{t})$ by \cref{real_sub,real_add_eq_subst}.
$a + (b + \neg{t}) = (a + b) + \neg{t}$ by \cref{real_add_assoc}.
$(a + b) + \neg{t} = (a + b) - t$ by \cref{real_sub}.
$a + (b - t) = c_0 - t$.
Therefore $c_0 - t < b$ by \cref{real_lt_subst_left}.
Hence $r(t)\mathrel{\realOrderRel}b$ by \cref{real_order_relation_intro}.
\end{byCase}
\end{subproof}
Therefore $r(t)\in I$ by \cref{intervalclosed_rel}.
\end{subproof}
Hence $\img{r}{I}\subseteq I$
by \cref{img_iff,continuous,funs_is_function,function_apply_iff,subseteq}.
Therefore $r$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ by \cref{continuous_restrict_range}.
Let $g = f\circ r$.
$f$ is composable with $r$ by \cref{continuous,funs,img_dom,subseteq,funs_is_function}.
Hence $g$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by \cref{continuous_composite}.
$a\in I$ and $b\in I$ by \cref{intervalclosed_rel}.
$(a, k(a) - j(a))\in r$ and $(b, k(b) - j(b))\in r$.
Hence $r(a) = k(a) - j(a)$ and $r(b) = k(b) - j(b)$
by \cref{continuous,funs_is_function,function_apply_iff}.
We have $k(a) = c_0$ and $k(b) = c_0$.
We have $j(a) = a$ and $j(b) = b$
by \cref{id_elem_funs,id_iff,funs_is_function,function_apply_iff}.
$r(a) = c_0 - a$ and $r(b) = c_0 - b$.
We have $c_0 = b + a$ by \cref{real_add_comm,real_add_eq_subst}.
Therefore $c_0 - a = (b + a) + \neg{a}$ by \cref{real_sub,real_add_eq_subst}.
$\neg{a}\in\reals$ by \cref{real_add_inverse}.
$(b + a) + \neg{a} = b + (a + \neg{a})$ by \cref{real_add_assoc}.
$a + \neg{a} = 0$ by \cref{real_add_inverse}.
Therefore $r(a) = b + 0$ by \cref{real_add_eq_subst}.
Show that $r(a) = b$.
\begin{subproof}
Follows by \cref{real_add_ident,real_add_comm}.
\end{subproof}
We have $c_0 - b = (a + b) + \neg{b}$ by \cref{real_sub,real_add_eq_subst}.
$\neg{b}\in\reals$ by \cref{real_add_inverse}.
$(a + b) + \neg{b} = a + (b + \neg{b})$ by \cref{real_add_assoc}.
$b + \neg{b} = 0$ by \cref{real_add_inverse}.
Therefore $r(b) = a + 0$ by \cref{real_add_eq_subst}.
Show that $r(b) = a$.
\begin{subproof}
Follows by \cref{real_add_ident,real_add_comm}.
\end{subproof}
Hence $g(a) = f(r(a))$ and $g(b) = f(r(b))$
by \cref{intervalclosed_rel,continuous,funs,funs_is_function,subseteq,circ_apply}.
Show that $g(a) = y$ and $g(b) = x$.
\begin{subproof}
Trivial.
\end{subproof}
Therefore $g$ is a path in $X$ from $y$ to $x$ with respect to $T$ by \cref{path_in_space}.
Hence there exists a function $g$ such that $g$ is a path in $X$ from $y$ to $x$ with respect to $T$.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $b + (a - b) = a$.
LaTeX source
\begin{lemma}
\label{real_add_sub_cancel_right}
Suppose $a\in\reals$ and $b\in\reals$.
Then $b + (a - b) = a$.
\end{lemma}
Proof
$\neg{b}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$a - b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$b + (a - b) = (a - b) + b$ by Axiom 16.
$a - b = a + \neg{b}$ by Definition 64.
We have $b + (a - b) = (a + \neg{b}) + b$ by Proposition 437.
$(a + \neg{b}) + b = a + (\neg{b} + b)$ by Axiom 15.
$\neg{b} + b = 0$ by Axiom 16, Axiom 18.
Hence $b + (a - b) = a + 0$ by Proposition 437.
Therefore $b + (a - b) = a$ by Axiom 16, Axiom 17.
LaTeX source
\begin{proof}
$\neg{b}\in\reals$ by \cref{real_add_inverse}.
$a - b\in\reals$ by \cref{real_sub,real_add_closed}.
$b + (a - b) = (a - b) + b$ by \cref{real_add_comm}.
$a - b = a + \neg{b}$ by \cref{real_sub}.
We have $b + (a - b) = (a + \neg{b}) + b$ by \cref{real_add_eq_subst}.
$(a + \neg{b}) + b = a + (\neg{b} + b)$ by \cref{real_add_assoc}.
$\neg{b} + b = 0$ by \cref{real_add_inverse,real_add_comm}.
Hence $b + (a - b) = a + 0$ by \cref{real_add_eq_subst}.
Therefore $b + (a - b) = a$ by \cref{real_add_ident,real_add_comm}.
\end{proof}
Suppose $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(b + (d - c)) + (c - b) = d$.
LaTeX source
\begin{lemma}
\label{real_add_sub_sub_cancel}
Suppose $b\in\reals$ and $c\in\reals$ and $d\in\reals$.
Then $(b + (d - c)) + (c - b) = d$.
\end{lemma}
Proof
$\neg{c}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{b}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$d - c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$c - b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$b + (d - c) = (d - c) + b$ by Axiom 16.
Hence $(b + (d - c)) + (c - b) = (d - c) + (b + (c - b))$ by Axiom 15, Proposition 437.
$b + (c - b) = c$ by Lemma 343.
We have $(b + (d - c)) + (c - b) = (d - c) + c$ by Proposition 437.
$(d - c) + c = c + (d - c)$ by Axiom 16.
Hence $(b + (d - c)) + (c - b) = d$ by Lemma 343, Proposition 437.
LaTeX source
\begin{proof}
$\neg{c}\in\reals$ and $\neg{b}\in\reals$ by \cref{real_add_inverse}.
$d - c\in\reals$ by \cref{real_sub,real_add_closed}.
$c - b\in\reals$ by \cref{real_sub,real_add_closed}.
$b + (d - c) = (d - c) + b$ by \cref{real_add_comm}.
Hence $(b + (d - c)) + (c - b) = (d - c) + (b + (c - b))$ by \cref{real_add_assoc,real_add_eq_subst}.
$b + (c - b) = c$ by \cref{real_add_sub_cancel_right}.
We have $(b + (d - c)) + (c - b) = (d - c) + c$ by \cref{real_add_eq_subst}.
$(d - c) + c = c + (d - c)$ by \cref{real_add_comm}.
Hence $(b + (d - c)) + (c - b) = d$ by \cref{real_add_eq_subst,real_add_sub_cancel_right}.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $f$ is a path in $X$ from $x$ to $y$ with respect to $T$.
Suppose $g$ is a path in $X$ from $y$ to $z$ with respect to $T$.
Then there exists $h$ such that $h$ is a path in $X$ from $x$ to $z$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{path_concatenation}
Assume $T$ is a topology on $X$.
Suppose $f$ is a path in $X$ from $x$ to $y$ with respect to $T$.
Suppose $g$ is a path in $X$ from $y$ to $z$ with respect to $T$.
Then there exists $h$ such that $h$ is a path in $X$ from $x$ to $z$ with respect to $T$.
\end{lemma}
Proof
Take $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a\mathrel{\realOrderRel} b$ and $f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and $f(a) = x$ and $f(b) = y$ by Definition 235.
Let $I_1 = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_1 = \subspaceTopology{\realOrderTopology}{I_1}$.
Take $c,d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $c\mathrel{\realOrderRel} d$ and $g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{c}{d}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{c}{d}}$ and $T$ and $g(c) = y$ and $g(d) = z$ by Definition 235.
Let $I_2 = \intervalclosedrel{\realOrderRel}{\reals}{c}{d}$.
Let $T_2 = \subspaceTopology{\realOrderTopology}{I_2}$.
Let $s = c - b$.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$\neg{b}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
Let $e = b + (d - c)$.
$\neg{c}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$d - c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
Hence $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Let $I_3 = \intervalclosedrel{\realOrderRel}{\reals}{b}{e}$.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{e}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
Let $T_3 = \subspaceTopology{\realOrderTopology}{I_3}$.
$\realOrderTopology$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93, Lemma 336.
$I$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by Definition 1, Definition 132, Definition 147.
$T_I$ is a topology on $I$ by Definition 147, Lemma 131.
$I_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 132.
$I_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 132.
$I_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 132.
Hence $I_1$ is a subspace of $\reals$ with respect to $\realOrderTopology$ and $I_2$ is a subspace of $\reals$ with respect to $\realOrderTopology$ and $I_3$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by Definition 147.
Therefore $T_1$ is a topology on $I_1$ and $T_2$ is a topology on $I_2$ and $T_3$ is a topology on $I_3$ by Definition 147, Lemma 131.
Let $k = \{(t,s) \mid t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3\}$.
$k$ is a function from $I_3$ to $\reals$ by Lemma 309.
Claim: For all $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ we have $k(t) = s$.
Fix $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$.
$(t,s)\class{latex-symbol-tip latex-symbol-id-in}{\in} k$.
Hence $k(t) = s$ by Proposition 349, Proposition 356.
Hence $k$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\standardTopologyR$ by Lemma 163, Lemma 336.
Let $j = \identity{I_3}$.
$j$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\standardTopologyR$ by Lemma 164, Lemma 336.
Let $u = \{(t, j(t) + k(t)) \mid t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3\}$.
$u$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\standardTopologyR$ by Theorem 32.
Hence $u$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\realOrderTopology$ by Lemma 336.
Claim: For all $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ we have $u(t)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_2$.
Fix $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 132.
$b\mathrel{\realOrderRel}t$ or $t = b$ by Definition 132.
$t\mathrel{\realOrderRel}e$ or $t = e$ by Definition 132.
$j(t) = t$ by Proposition 293, Proposition 349, Proposition 356, Proposition 406.
$(t, j(t) + k(t))\class{latex-symbol-tip latex-symbol-id-in}{\in} u$.
$u(t) = j(t) + k(t)$ by Definition 160, Proposition 349, Proposition 356.
$k(t) = s$.
$u(t) = t + s$ by Proposition 437.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$u(t)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Claim: $c\mathrel{\realOrderRel}u(t)$ or $u(t) = c$.
$s = c - b$.
Hence $u(t) = c$ by Lemma 343.
$b < t$ by Lemma 321.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$b + s < t + s$ by Axiom 37.
Hence $b + s = c$ by Lemma 343.
Therefore $c < u(t)$ by Lemma 82, Lemma 83.
Hence $c\mathrel{\realOrderRel}u(t)$ by Lemma 320.
LaTeX source
\begin{byCase}
\caseOf{$t = b$.}
$s = c - b$.
Hence $u(t) = c$ by \cref{real_add_sub_cancel_right}.
\caseOf{$b\mathrel{\realOrderRel}t$.}
$b < t$ by \cref{real_order_relation_elim}.
$b\in\reals$ and $t\in\reals$ and $s\in\reals$.
$b + s < t + s$ by \cref{real_lt_add}.
Hence $b + s = c$ by \cref{real_add_sub_cancel_right}.
Therefore $c < u(t)$ by \cref{real_lt_subst_left,real_lt_subst_right}.
Hence $c\mathrel{\realOrderRel}u(t)$ by \cref{real_order_relation_intro}.
\end{byCase}
Claim: $u(t)\mathrel{\realOrderRel}d$ or $u(t) = d$.
$s = c - b$.
$e = b + (d - c)$.
Hence $u(t) = d$ by Lemma 344.
$t < e$ by Lemma 321.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$t + s < e + s$ by Axiom 37.
$s = c - b$.
$e = b + (d - c)$.
Hence $e + s = d$ by Lemma 344.
Therefore $u(t) < d$ by Lemma 83.
Hence $u(t)\mathrel{\realOrderRel}d$ by Lemma 320.
LaTeX source
\begin{byCase}
\caseOf{$t = e$.}
$s = c - b$.
$e = b + (d - c)$.
Hence $u(t) = d$ by \cref{real_add_sub_sub_cancel}.
\caseOf{$t\mathrel{\realOrderRel}e$.}
$t < e$ by \cref{real_order_relation_elim}.
$t\in\reals$ and $e\in\reals$ and $s\in\reals$.
$t + s < e + s$ by \cref{real_lt_add}.
$s = c - b$.
$e = b + (d - c)$.
Hence $e + s = d$ by \cref{real_add_sub_sub_cancel}.
Therefore $u(t) < d$ by \cref{real_lt_subst_right}.
Hence $u(t)\mathrel{\realOrderRel}d$ by \cref{real_order_relation_intro}.
\end{byCase}
Therefore $u(t)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_2$ by Definition 132.
Claim: For all $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{u}{I_3}$ we have $w\class{latex-symbol-tip latex-symbol-id-in}{\in} I_2$.
Fix $w$ such that $w\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{u}{I_3}$.
Take $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ such that $(t,w)\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ by Proposition 235.
Hence $u(t) = w$ by Definition 160, Proposition 349, Proposition 356.
$u(t)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_2$.
Hence $w\class{latex-symbol-tip latex-symbol-id-in}{\in} I_2$.
Therefore $\img{u}{I_3}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_2$ by Definition 1.
Hence $u$ is continuous from $I_3$ to $I_2$ with respect to $T_3$ and $T_2$ by Lemma 167.
Let $g_1 = g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} u$.
$g$ is composable with $u$ by Definition 1, Definition 55, Definition 160, Proposition 238, Proposition 356.
Hence $g_1$ is continuous from $I_3$ to $X$ with respect to $T_3$ and $T$ by Lemma 165.
$c < d$ by Lemma 321.
$c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$c + \neg{c} < d + \neg{c}$ by Axiom 37.
$c + \neg{c} = 0$ by Axiom 18.
Therefore $0 < d + \neg{c}$ by Lemma 82.
$d + \neg{c} = d - c$ by Definition 64.
Hence $0 < d - c$ by Lemma 83.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d - c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
Therefore $0 + b < (d - c) + b$ by Axiom 37.
$0 + b = b$ by Axiom 16, Axiom 17.
Hence $b < (d - c) + b$ by Lemma 82.
$(d - c) + b = b + (d - c)$ by Axiom 16.
Hence $b < b + (d - c)$ by Lemma 83.
Therefore $b < e$ by Lemma 83.
Hence $b\mathrel{\realOrderRel}e$ by Lemma 320.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ by Definition 132.
$(b, j(b) + k(b))\class{latex-symbol-tip latex-symbol-id-in}{\in} u$ and $(e, j(e) + k(e))\class{latex-symbol-tip latex-symbol-id-in}{\in} u$.
$u(b) = j(b) + k(b)$ and $u(e) = j(e) + k(e)$ by Definition 160, Proposition 349, Proposition 356.
$j(b) = b$ and $j(e) = e$ by Proposition 293, Proposition 349, Proposition 356, Proposition 406.
We have $k(b) = s$ and $k(e) = s$.
$u(b) = b + s$ and $u(e) = e + s$ by Proposition 437.
Claim: $u(b) = c$.
Follows by Lemma 343.
Claim: $u(e) = d$.
Follows by Lemma 344.
Therefore $g_1(b) = g(u(b))$ and $g_1(e) = g(u(e))$ by Definition 1, Definition 55, Definition 132, Definition 160, Proposition 356, Proposition 373.
Claim: $g_1(b) = y$ and $g_1(e) = z$.
Trivial.
Claim: For all $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1\union I_3$ we have $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Fix $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1\union I_3$.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1$ or $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ by Axiom 5.
$a\mathrel{\realOrderRel}t$ or $t = a$ by Definition 132.
$t\mathrel{\realOrderRel}b$ or $t = b$ by Definition 132.
$t\mathrel{\realOrderRel}e$ by Lemma 83.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 132.
$t < b$ by Lemma 321.
$b < e$ by Lemma 321.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 132.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$t < e$ by Axiom 36.
$t\mathrel{\realOrderRel}e$ by Lemma 320.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 132.
LaTeX source
\begin{byCase}
\caseOf{$t = b$.}
$t\mathrel{\realOrderRel}e$ by \cref{real_lt_subst_right}.
$t\in I$ by \cref{intervalclosed_rel}.
\caseOf{$t\mathrel{\realOrderRel}b$.}
$t < b$ by \cref{real_order_relation_elim}.
$b < e$ by \cref{real_order_relation_elim}.
$t\in\reals$ by \cref{intervalclosed_rel}.
$b\in\reals$ and $e\in\reals$.
$t < e$ by \cref{real_lt_trans}.
$t\mathrel{\realOrderRel}e$ by \cref{real_order_relation_intro}.
$t\in I$ by \cref{intervalclosed_rel}.
\end{byCase}
$b\mathrel{\realOrderRel}t$ or $t = b$ by Definition 132.
$t\mathrel{\realOrderRel}e$ or $t = e$ by Definition 132.
$a\mathrel{\realOrderRel}t$ by Lemma 83.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 132.
$a < b$ by Lemma 321.
$b < t$ by Lemma 321.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 132.
$a < t$ by Axiom 36.
$a\mathrel{\realOrderRel}t$ by Lemma 320.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 132.
LaTeX source
\begin{byCase}
\caseOf{$t = b$.}
$a\mathrel{\realOrderRel}t$ by \cref{real_lt_subst_right}.
$t\in I$ by \cref{intervalclosed_rel}.
\caseOf{$b\mathrel{\realOrderRel}t$.}
$a < b$ by \cref{real_order_relation_elim}.
$b < t$ by \cref{real_order_relation_elim}.
$a\in\reals$ and $b\in\reals$.
$t\in\reals$ by \cref{intervalclosed_rel}.
$a < t$ by \cref{real_lt_trans}.
$a\mathrel{\realOrderRel}t$ by \cref{real_order_relation_intro}.
$t\in I$ by \cref{intervalclosed_rel}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$t\in I_1$.}
$a\mathrel{\realOrderRel}t$ or $t = a$ by \cref{intervalclosed_rel}.
$t\mathrel{\realOrderRel}b$ or $t = b$ by \cref{intervalclosed_rel}.
\begin{byCase}
\caseOf{$t = b$.}
$t\mathrel{\realOrderRel}e$ by \cref{real_lt_subst_right}.
$t\in I$ by \cref{intervalclosed_rel}.
\caseOf{$t\mathrel{\realOrderRel}b$.}
$t < b$ by \cref{real_order_relation_elim}.
$b < e$ by \cref{real_order_relation_elim}.
$t\in\reals$ by \cref{intervalclosed_rel}.
$b\in\reals$ and $e\in\reals$.
$t < e$ by \cref{real_lt_trans}.
$t\mathrel{\realOrderRel}e$ by \cref{real_order_relation_intro}.
$t\in I$ by \cref{intervalclosed_rel}.
\end{byCase}
\caseOf{$t\in I_3$.}
$b\mathrel{\realOrderRel}t$ or $t = b$ by \cref{intervalclosed_rel}.
$t\mathrel{\realOrderRel}e$ or $t = e$ by \cref{intervalclosed_rel}.
\begin{byCase}
\caseOf{$t = b$.}
$a\mathrel{\realOrderRel}t$ by \cref{real_lt_subst_right}.
$t\in I$ by \cref{intervalclosed_rel}.
\caseOf{$b\mathrel{\realOrderRel}t$.}
$a < b$ by \cref{real_order_relation_elim}.
$b < t$ by \cref{real_order_relation_elim}.
$a\in\reals$ and $b\in\reals$.
$t\in\reals$ by \cref{intervalclosed_rel}.
$a < t$ by \cref{real_lt_trans}.
$a\mathrel{\realOrderRel}t$ by \cref{real_order_relation_intro}.
$t\in I$ by \cref{intervalclosed_rel}.
\end{byCase}
\end{byCase}
Claim: $I_1\union I_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$.
Follows by Definition 1.
Claim: For all $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1\union I_3$.
Fix $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 132.
$a\mathrel{\realOrderRel}t$ or $t = a$ by Definition 132.
$t\mathrel{\realOrderRel}e$ or $t = e$ by Definition 132.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1$ by Definition 132.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1\union I_3$ by Axiom 5.
$b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
$t\class{latex-symbol-tip latex-symbol-id-neq}{\neq} b$.
$t < b$ or $b < t$ by Axiom 34.
$t\mathrel{\realOrderRel}b$ by Lemma 320.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1$ by Definition 132.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1\union I_3$ by Axiom 5.
$b\mathrel{\realOrderRel}t$ by Lemma 320.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ by Definition 132.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1\union I_3$ by Axiom 5.
LaTeX source
\begin{byCase}
\caseOf{$t < b$.}
$t\mathrel{\realOrderRel}b$ by \cref{real_order_relation_intro}.
$t\in I_1$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\caseOf{$b < t$.}
$b\mathrel{\realOrderRel}t$ by \cref{real_order_relation_intro}.
$t\in I_3$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$t = b$.}
$t\in I_1$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\caseOf{$t\neq b$.}
$b\in\reals$ and $t\in\reals$.
$t\neq b$.
$t < b$ or $b < t$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$t < b$.}
$t\mathrel{\realOrderRel}b$ by \cref{real_order_relation_intro}.
$t\in I_1$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\caseOf{$b < t$.}
$b\mathrel{\realOrderRel}t$ by \cref{real_order_relation_intro}.
$t\in I_3$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\end{byCase}
\end{byCase}
Claim: $I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_1\union I_3$.
Follows by Definition 1.
Hence $I = I_1\union I_3$ by Proposition 3.
$I_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ and $I_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Proposition 46, Proposition 47.
$\realOrderRel$ is a simple order relation on $\reals$ and $\reals$ has more than one element by Definition 231, Lemma 326.
Hence $\realOrderTopology$ is the order topology on $\reals$ with respect to $\realOrderRel$ by Definition 134, Definition 233.
$I$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by Definition 147.
$I_1$ is closed in $\reals$ with respect to $\realOrderTopology$ by Lemma 341.
Therefore there exists $C$ such that $C$ is closed in $\reals$ with respect to $\realOrderTopology$ and $I_1 = C\inter I$.
Claim: $I_1$ is closed in $I$ with respect to $T_I$.
Follows by Definition 147, Theorem 8.
$I_3$ is closed in $\reals$ with respect to $\realOrderTopology$ by Lemma 341.
Therefore there exists a set $D$ such that $D$ is closed in $\reals$ with respect to $\realOrderTopology$ and $I_3 = D\inter I$.
Claim: $I_3$ is closed in $I$ with respect to $T_I$.
Follows by Definition 147, Theorem 8.
Claim: For all $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1\inter I_3$ we have $f(t) = g_1(t)$.
Follows by Axiom 35, Definition 5, Definition 132, Lemma 83, Lemma 321.
Let $T_{I1} = \subspaceTopology{T_I}{I_1}$.
Let $T_{I3} = \subspaceTopology{T_I}{I_3}$.
Claim: $T_{I1} = T_1$.
Follows by Definition 1, Definition 132, Definition 146, Definition 147, Lemma 307, Proposition 46.
Claim: $T_{I3} = T_3$.
Follows by Definition 1, Definition 132, Definition 146, Definition 147, Lemma 307, Proposition 47.
We have $f$ is continuous from $I_1$ to $X$ with respect to $T_{I1}$ and $T$.
$g_1$ is continuous from $I_3$ to $X$ with respect to $T_{I3}$ and $T$.
Let $h = f\union g_1$.
Therefore $h$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by Theorem 20.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in} I_1$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in} I_3$ by Definition 132, Lemma 321.
$(a, f(a))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(e, g_1(e))\class{latex-symbol-tip latex-symbol-id-in}{\in} g_1$ by Definition 160, Proposition 349, Proposition 359.
Hence $h(a) = f(a)$ and $h(e) = g_1(e)$ by Axiom 5, Definition 160, Proposition 349, Proposition 356.
Claim: $h(a) = x$ and $h(e) = z$.
Trivial.
$a < b$ by Lemma 321.
We have $b < e$ by Lemma 83.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Therefore $a < e$ by Axiom 36.
Hence $a\mathrel{\realOrderRel}e$ by Lemma 320.
We have $h$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{e}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{e}}$ and $T$.
Therefore $h$ is a path in $X$ from $x$ to $z$ with respect to $T$ by Definition 235.
Hence there exists a function $h$ such that $h$ is a path in $X$ from $x$ to $z$ with respect to $T$.
LaTeX source
\begin{proof}
Take $a,b\in\reals$ such that
$a\mathrel{\realOrderRel} b$ and
$f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and
$f(a) = x$ and $f(b) = y$
by \cref{path_in_space}.
Let $I_1 = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_1 = \subspaceTopology{\realOrderTopology}{I_1}$.
Take $c,d\in\reals$ such that
$c\mathrel{\realOrderRel} d$ and
$g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{c}{d}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{c}{d}}$ and $T$ and
$g(c) = y$ and $g(d) = z$
by \cref{path_in_space}.
Let $I_2 = \intervalclosedrel{\realOrderRel}{\reals}{c}{d}$.
Let $T_2 = \subspaceTopology{\realOrderTopology}{I_2}$.
Let $s = c - b$.
$b\in\reals$ and $c\in\reals$.
$\neg{b}\in\reals$ by \cref{real_add_inverse}.
$s\in\reals$ by \cref{real_sub,real_add_closed}.
Let $e = b + (d - c)$.
$\neg{c}\in\reals$ by \cref{real_add_inverse}.
$d - c\in\reals$ by \cref{real_sub,real_add_closed}.
Hence $e\in\reals$ by \cref{real_add_closed}.
Let $I_3 = \intervalclosedrel{\realOrderRel}{\reals}{b}{e}$.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{e}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
Let $T_3 = \subspaceTopology{\realOrderTopology}{I_3}$.
$\realOrderTopology$ is a topology on $\reals$ by
\cref{standard_basis_is_basis,standard_topology_reals,basis_topology_is_topology,real_order_topology_eq_standard}.
$I$ is a subspace of $\reals$ with respect to $\realOrderTopology$
by \cref{intervalclosed_rel,subseteq,subspace_of}.
$T_I$ is a topology on $I$ by \cref{subspace_topology_is_topology,subspace_of}.
$I_1\subseteq\reals$ by \cref{intervalclosed_rel,subseteq}.
$I_2\subseteq\reals$ by \cref{intervalclosed_rel,subseteq}.
$I_3\subseteq\reals$ by \cref{intervalclosed_rel,subseteq}.
Hence $I_1$ is a subspace of $\reals$ with respect to $\realOrderTopology$ and
$I_2$ is a subspace of $\reals$ with respect to $\realOrderTopology$ and
$I_3$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by \cref{subspace_of}.
Therefore $T_1$ is a topology on $I_1$ and $T_2$ is a topology on $I_2$ and $T_3$ is a topology on $I_3$
by \cref{subspace_topology_is_topology,subspace_of}.
Let $k = \{(t,s) \mid t\in I_3\}$.
$k$ is a function from $I_3$ to $\reals$ by \cref{constant_map_function}.
Show that for all $t\in I_3$ we have $k(t) = s$.
\begin{subproof}
Fix $t\in I_3$.
$(t,s)\in k$.
Hence $k(t) = s$ by \cref{funs_is_function,function_apply_iff}.
\end{subproof}
Hence $k$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\standardTopologyR$
by \cref{constant_continuous,real_order_topology_eq_standard}.
Let $j = \identity{I_3}$.
$j$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\standardTopologyR$
by \cref{inclusion_continuous,real_order_topology_eq_standard}.
Let $u = \{(t, j(t) + k(t)) \mid t\in I_3\}$.
$u$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\standardTopologyR$
by \cref{real_function_addition_continuous}.
Hence $u$ is continuous from $I_3$ to $\reals$ with respect to $T_3$ and $\realOrderTopology$
by \cref{real_order_topology_eq_standard}.
Show that for all $t$ such that $t\in I_3$ we have $u(t)\in I_2$.
\begin{subproof}
Fix $t$ such that $t\in I_3$.
$t\in\reals$ by \cref{intervalclosed_rel}.
$b\mathrel{\realOrderRel}t$ or $t = b$ by \cref{intervalclosed_rel}.
$t\mathrel{\realOrderRel}e$ or $t = e$ by \cref{intervalclosed_rel}.
$j(t) = t$ by \cref{id_elem_funs,id_iff,funs_is_function,function_apply_iff}.
$(t, j(t) + k(t))\in u$.
$u(t) = j(t) + k(t)$ by \cref{continuous,funs_is_function,function_apply_iff}.
$k(t) = s$.
$u(t) = t + s$ by \cref{real_add_eq_subst}.
$s\in\reals$.
$u(t)\in\reals$ by \cref{real_add_closed}.
Show that $c\mathrel{\realOrderRel}u(t)$ or $u(t) = c$.
\begin{subproof}
\begin{byCase}
\caseOf{$t = b$.}
$s = c - b$.
Hence $u(t) = c$ by \cref{real_add_sub_cancel_right}.
\caseOf{$b\mathrel{\realOrderRel}t$.}
$b < t$ by \cref{real_order_relation_elim}.
$b\in\reals$ and $t\in\reals$ and $s\in\reals$.
$b + s < t + s$ by \cref{real_lt_add}.
Hence $b + s = c$ by \cref{real_add_sub_cancel_right}.
Therefore $c < u(t)$ by \cref{real_lt_subst_left,real_lt_subst_right}.
Hence $c\mathrel{\realOrderRel}u(t)$ by \cref{real_order_relation_intro}.
\end{byCase}
\end{subproof}
Show that $u(t)\mathrel{\realOrderRel}d$ or $u(t) = d$.
\begin{subproof}
\begin{byCase}
\caseOf{$t = e$.}
$s = c - b$.
$e = b + (d - c)$.
Hence $u(t) = d$ by \cref{real_add_sub_sub_cancel}.
\caseOf{$t\mathrel{\realOrderRel}e$.}
$t < e$ by \cref{real_order_relation_elim}.
$t\in\reals$ and $e\in\reals$ and $s\in\reals$.
$t + s < e + s$ by \cref{real_lt_add}.
$s = c - b$.
$e = b + (d - c)$.
Hence $e + s = d$ by \cref{real_add_sub_sub_cancel}.
Therefore $u(t) < d$ by \cref{real_lt_subst_right}.
Hence $u(t)\mathrel{\realOrderRel}d$ by \cref{real_order_relation_intro}.
\end{byCase}
\end{subproof}
Therefore $u(t)\in I_2$ by \cref{intervalclosed_rel}.
\end{subproof}
Show that for all $w$ such that $w\in\img{u}{I_3}$ we have $w\in I_2$.
\begin{subproof}
Fix $w$ such that $w\in\img{u}{I_3}$.
Take $t\in I_3$ such that $(t,w)\in u$ by \cref{img_iff}.
Hence $u(t) = w$ by \cref{continuous,funs_is_function,function_apply_iff}.
$u(t)\in I_2$.
Hence $w\in I_2$.
\end{subproof}
Therefore $\img{u}{I_3}\subseteq I_2$ by \cref{subseteq}.
Hence $u$ is continuous from $I_3$ to $I_2$ with respect to $T_3$ and $T_2$
by \cref{continuous_restrict_range}.
Let $g_1 = g\circ u$.
$g$ is composable with $u$ by \cref{continuous,funs,img_dom,subseteq,funs_is_function}.
Hence $g_1$ is continuous from $I_3$ to $X$ with respect to $T_3$ and $T$ by \cref{continuous_composite}.
$c < d$ by \cref{real_order_relation_elim}.
$c\in\reals$ and $d\in\reals$.
$c + \neg{c} < d + \neg{c}$ by \cref{real_lt_add}.
$c + \neg{c} = 0$ by \cref{real_add_inverse}.
Therefore $0 < d + \neg{c}$ by \cref{real_lt_subst_left}.
$d + \neg{c} = d - c$ by \cref{real_sub}.
Hence $0 < d - c$ by \cref{real_lt_subst_right}.
$b\in\reals$ and $d - c\in\reals$.
$0\in\reals$ by \cref{real_add_ident}.
Therefore $0 + b < (d - c) + b$ by \cref{real_lt_add}.
$0 + b = b$ by \cref{real_add_comm,real_add_ident}.
Hence $b < (d - c) + b$ by \cref{real_lt_subst_left}.
$(d - c) + b = b + (d - c)$ by \cref{real_add_comm}.
Hence $b < b + (d - c)$ by \cref{real_lt_subst_right}.
Therefore $b < e$ by \cref{real_lt_subst_right}.
Hence $b\mathrel{\realOrderRel}e$ by \cref{real_order_relation_intro}.
$b\in I_3$ and $e\in I_3$ by \cref{intervalclosed_rel}.
$(b, j(b) + k(b))\in u$ and $(e, j(e) + k(e))\in u$.
$u(b) = j(b) + k(b)$ and $u(e) = j(e) + k(e)$
by \cref{continuous,funs_is_function,function_apply_iff}.
$j(b) = b$ and $j(e) = e$
by \cref{id_elem_funs,id_iff,funs_is_function,function_apply_iff}.
We have $k(b) = s$ and $k(e) = s$.
$u(b) = b + s$ and $u(e) = e + s$ by \cref{real_add_eq_subst}.
Show that $u(b) = c$.
\begin{subproof}
Follows by \cref{real_add_sub_cancel_right}.
\end{subproof}
Show that $u(e) = d$.
\begin{subproof}
Follows by \cref{real_add_sub_sub_cancel}.
\end{subproof}
Therefore $g_1(b) = g(u(b))$ and $g_1(e) = g(u(e))$
by \cref{intervalclosed_rel,continuous,funs,funs_is_function,subseteq,circ_apply}.
Show that $g_1(b) = y$ and $g_1(e) = z$.
\begin{subproof}
Trivial.
\end{subproof}
Show that for all $t$ such that $t\in I_1\union I_3$ we have $t\in I$.
\begin{subproof}
Fix $t$ such that $t\in I_1\union I_3$.
$t\in I_1$ or $t\in I_3$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$t\in I_1$.}
$a\mathrel{\realOrderRel}t$ or $t = a$ by \cref{intervalclosed_rel}.
$t\mathrel{\realOrderRel}b$ or $t = b$ by \cref{intervalclosed_rel}.
\begin{byCase}
\caseOf{$t = b$.}
$t\mathrel{\realOrderRel}e$ by \cref{real_lt_subst_right}.
$t\in I$ by \cref{intervalclosed_rel}.
\caseOf{$t\mathrel{\realOrderRel}b$.}
$t < b$ by \cref{real_order_relation_elim}.
$b < e$ by \cref{real_order_relation_elim}.
$t\in\reals$ by \cref{intervalclosed_rel}.
$b\in\reals$ and $e\in\reals$.
$t < e$ by \cref{real_lt_trans}.
$t\mathrel{\realOrderRel}e$ by \cref{real_order_relation_intro}.
$t\in I$ by \cref{intervalclosed_rel}.
\end{byCase}
\caseOf{$t\in I_3$.}
$b\mathrel{\realOrderRel}t$ or $t = b$ by \cref{intervalclosed_rel}.
$t\mathrel{\realOrderRel}e$ or $t = e$ by \cref{intervalclosed_rel}.
\begin{byCase}
\caseOf{$t = b$.}
$a\mathrel{\realOrderRel}t$ by \cref{real_lt_subst_right}.
$t\in I$ by \cref{intervalclosed_rel}.
\caseOf{$b\mathrel{\realOrderRel}t$.}
$a < b$ by \cref{real_order_relation_elim}.
$b < t$ by \cref{real_order_relation_elim}.
$a\in\reals$ and $b\in\reals$.
$t\in\reals$ by \cref{intervalclosed_rel}.
$a < t$ by \cref{real_lt_trans}.
$a\mathrel{\realOrderRel}t$ by \cref{real_order_relation_intro}.
$t\in I$ by \cref{intervalclosed_rel}.
\end{byCase}
\end{byCase}
\end{subproof}
Show that $I_1\union I_3\subseteq I$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that for all $t$ such that $t\in I$ we have $t\in I_1\union I_3$.
\begin{subproof}
Fix $t$ such that $t\in I$.
$t\in\reals$ by \cref{intervalclosed_rel}.
$a\mathrel{\realOrderRel}t$ or $t = a$ by \cref{intervalclosed_rel}.
$t\mathrel{\realOrderRel}e$ or $t = e$ by \cref{intervalclosed_rel}.
\begin{byCase}
\caseOf{$t = b$.}
$t\in I_1$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\caseOf{$t\neq b$.}
$b\in\reals$ and $t\in\reals$.
$t\neq b$.
$t < b$ or $b < t$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$t < b$.}
$t\mathrel{\realOrderRel}b$ by \cref{real_order_relation_intro}.
$t\in I_1$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\caseOf{$b < t$.}
$b\mathrel{\realOrderRel}t$ by \cref{real_order_relation_intro}.
$t\in I_3$ by \cref{intervalclosed_rel}.
$t\in I_1\union I_3$ by \cref{union_iff}.
\end{byCase}
\end{byCase}
\end{subproof}
Show that $I\subseteq I_1\union I_3$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Hence $I = I_1\union I_3$ by \cref{subseteq_antisymmetric}.
$I_1\subseteq I$ and $I_3\subseteq I$ by \cref{union_upper_left,union_upper_right,subseteq}.
$\realOrderRel$ is a simple order relation on $\reals$ and $\reals$ has more than one element
by \cref{reals_linear_continuum,linear_continuum}.
Hence $\realOrderTopology$ is the order topology on $\reals$ with respect to $\realOrderRel$
by \cref{real_order_topology,order_topology}.
$I$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by \cref{subspace_of}.
$I_1$ is closed in $\reals$ with respect to $\realOrderTopology$ by \cref{intervalclosedrel_closed_in_order_topology}.
Therefore there exists $C$ such that $C$ is closed in $\reals$ with respect to $\realOrderTopology$ and $I_1 = C\inter I$.
Show that $I_1$ is closed in $I$ with respect to $T_I$.
\begin{subproof}
Follows by \cref{closed_in_subspace_iff,subspace_of}.
\end{subproof}
$I_3$ is closed in $\reals$ with respect to $\realOrderTopology$ by \cref{intervalclosedrel_closed_in_order_topology}.
Therefore there exists a set $D$ such that $D$ is closed in $\reals$ with respect to $\realOrderTopology$ and $I_3 = D\inter I$.
Show that $I_3$ is closed in $I$ with respect to $T_I$.
\begin{subproof}
Follows by \cref{closed_in_subspace_iff,subspace_of}.
\end{subproof}
Show that for all $t$ such that $t\in I_1\inter I_3$ we have $f(t) = g_1(t)$.
\begin{subproof}
Follows by \cref{inter,intervalclosed_rel,real_order_relation_elim,real_lt_asym,real_lt_subst_right}.
\end{subproof}
Let $T_{I1} = \subspaceTopology{T_I}{I_1}$.
Let $T_{I3} = \subspaceTopology{T_I}{I_3}$.
Show that $T_{I1} = T_1$.
\begin{subproof}
Follows by \cref{intervalclosed_rel,union_upper_left,subseteq,subspace_subspace_topology,subspace_of,subspace_topology}.
\end{subproof}
Show that $T_{I3} = T_3$.
\begin{subproof}
Follows by \cref{intervalclosed_rel,union_upper_right,subseteq,subspace_subspace_topology,subspace_of,subspace_topology}.
\end{subproof}
We have $f$ is continuous from $I_1$ to $X$ with respect to $T_{I1}$ and $T$.
$g_1$ is continuous from $I_3$ to $X$ with respect to $T_{I3}$ and $T$.
Let $h = f\union g_1$.
Therefore $h$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by \cref{pasting_lemma}.
$a\in I_1$ and $e\in I_3$ by \cref{intervalclosed_rel,real_order_relation_elim}.
$(a, f(a))\in f$ and $(e, g_1(e))\in g_1$ by \cref{continuous,funs_elim,function_apply_iff}.
Hence $h(a) = f(a)$ and $h(e) = g_1(e)$
by \cref{continuous,funs_is_function,function_apply_iff,union_iff}.
Show that $h(a) = x$ and $h(e) = z$.
\begin{subproof}
Trivial.
\end{subproof}
$a < b$ by \cref{real_order_relation_elim}.
We have $b < e$ by \cref{real_lt_subst_right}.
$a\in\reals$ and $b\in\reals$ and $e\in\reals$.
Therefore $a < e$ by \cref{real_lt_trans}.
Hence $a\mathrel{\realOrderRel}e$ by \cref{real_order_relation_intro}.
We have $h$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{e}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{e}}$ and $T$.
Therefore $h$ is a path in $X$ from $x$ to $z$ with respect to $T$ by \cref{path_in_space}.
Hence there exists a function $h$ such that $h$ is a path in $X$ from $x$ to $z$ with respect to $T$.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is a binary relation on $X$.
LaTeX source
\begin{lemma}
\label{path_relation_binary}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is a binary relation on $X$.
\end{lemma}
Proof
Follows by Definition 1, Definition 239.
LaTeX source
\begin{proof}
Follows by \cref{path_relation,subseteq}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is reflexive on $X$.
LaTeX source
\begin{lemma}
\label{path_relation_reflexive}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is reflexive on $X$.
\end{lemma}
Proof
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\mathrel{\pathRelation{T}{X}}x$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $0\mathrel{\realOrderRel}1$ by Axiom 17, Axiom 21, Lemma 320, Proposition 462.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{0}{1}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
For all $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 132.
Hence $I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1.
$\realOrderTopology$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93, Lemma 336.
Therefore $I$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by Definition 147.
Hence $T_I$ is a topology on $I$ by Definition 147, Lemma 131.
Let $f = \{(t,x) \mid t\class{latex-symbol-tip latex-symbol-id-in}{\in} I\}$.
$f$ is a function from $I$ to $X$ by Lemma 309.
Claim: For all $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $f(t) = x$.
Fix $t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
$(t,x)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$.
Hence $f(t) = x$ by Proposition 349, Proposition 356.
Therefore $f$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by Lemma 163.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 132, Lemma 321.
$f(0) = x$ and $f(1) = x$.
Hence $x\mathrel{\pathRelation{T}{X}}x$ by Axiom 10, Axiom 11, Definition 235, Definition 239, Proposition 115.
Hence $\pathRelation{T}{X}$ is reflexive on $X$ by Definition 32.
LaTeX source
\begin{proof}
Show that for all $x\in X$ we have $x\mathrel{\pathRelation{T}{X}}x$.
\begin{subproof}
Fix $x\in X$.
We have $0\mathrel{\realOrderRel}1$ by
\cref{real_add_ident,real_mul_ident,real_zero_lt_one,real_order_relation_intro}.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{0}{1}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
For all $t$ such that $t\in I$ we have $t\in\reals$ by \cref{intervalclosed_rel}.
Hence $I\subseteq\reals$ by \cref{subseteq}.
$\realOrderTopology$ is a topology on $\reals$ by
\cref{standard_basis_is_basis,standard_topology_reals,basis_topology_is_topology,real_order_topology_eq_standard}.
Therefore $I$ is a subspace of $\reals$ with respect to $\realOrderTopology$ by \cref{subspace_of}.
Hence $T_I$ is a topology on $I$ by \cref{subspace_topology_is_topology,subspace_of}.
Let $f = \{(t,x) \mid t\in I\}$.
$f$ is a function from $I$ to $X$ by \cref{constant_map_function}.
Show that for all $t\in I$ we have $f(t) = x$.
\begin{subproof}
Fix $t\in I$.
$(t,x)\in f$.
Hence $f(t) = x$ by \cref{funs_is_function,function_apply_iff}.
\end{subproof}
Therefore $f$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by \cref{constant_continuous}.
$0\in I$ and $1\in I$ by \cref{intervalclosed_rel,real_order_relation_elim}.
$f(0) = x$ and $f(1) = x$.
Hence $x\mathrel{\pathRelation{T}{X}}x$ by \cref{path_in_space,path_relation,times_tuple_intro,fst_eq,snd_eq}.
\end{subproof}
Hence $\pathRelation{T}{X}$ is reflexive on $X$ by \cref{reflexive_on}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is symmetric.
LaTeX source
\begin{lemma}
\label{path_relation_symmetric}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is symmetric.
\end{lemma}
Proof
Follows by Axiom 10, Axiom 11, Definition 35 [Symmetry], Definition 239, Lemma 342, Proposition 114, Proposition 115.
LaTeX source
\begin{proof}
Follows by \cref{path_relation,times_tuple_elim,fst_eq,snd_eq,path_reverse,times_tuple_intro,symmetric}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is transitive.
LaTeX source
\begin{lemma}
\label{path_relation_transitive}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is transitive.
\end{lemma}
Proof
Follows by Axiom 10, Axiom 11, Definition 37 [Transitivity], Definition 239, Lemma 345, Proposition 114, Proposition 115.
LaTeX source
\begin{proof}
Follows by \cref{path_relation,times_tuple_elim,fst_eq,snd_eq,path_concatenation,times_tuple_intro,transitive}.
\end{proof}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is an equivalence on $X$.
LaTeX source
\begin{lemma}
\label{path_relation_equivalence}
Assume $T$ is a topology on $X$.
Then $\pathRelation{T}{X}$ is an equivalence on $X$.
\end{lemma}
Proof
Assume $T$ is a topology on $X$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Suppose $f$ is a path in $A$ from $x$ to $y$ with respect to $\subspaceTopology{T}{A}$.
Then there exists $g$ such that $g$ is a path in $X$ from $x$ to $y$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{path_in_subspace_implies_path_in_superspace}
Assume $T$ is a topology on $X$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Suppose $f$ is a path in $A$ from $x$ to $y$ with respect to $\subspaceTopology{T}{A}$.
Then there exists $g$ such that $g$ is a path in $X$ from $x$ to $y$ with respect to $T$.
\end{lemma}
Proof
Take $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a\mathrel{\realOrderRel} b$ and $f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $A$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $\subspaceTopology{T}{A}$ and $f(a) = x$ and $f(b) = y$ by Definition 235.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
Let $j = \identity{A}$.
$j$ is continuous from $A$ to $X$ with respect to $\subspaceTopology{T}{A}$ and $T$ by Lemma 164.
Let $g = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$j$ is composable with $f$ by Definition 1, Definition 55, Definition 147, Definition 160, Proposition 356, Proposition 363.
$g$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by Lemma 165.
$g(a) = x$ and $g(b) = y$ by Definition 1, Definition 55, Definition 132, Definition 160, Proposition 356, Proposition 361, Proposition 373, Proposition 405.
$g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$.
$g$ is a path in $X$ from $x$ to $y$ with respect to $T$ by Definition 235.
Claim: There exists a function $h$ such that $h$ is a path in $X$ from $x$ to $y$ with respect to $T$.
Trivial.
LaTeX source
\begin{proof}
Take $a,b\in\reals$ such that
$a\mathrel{\realOrderRel} b$ and
$f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $A$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and
$\subspaceTopology{T}{A}$ and
$f(a) = x$ and $f(b) = y$
by \cref{path_in_space}.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
Let $j = \identity{A}$.
$j$ is continuous from $A$ to $X$ with respect to $\subspaceTopology{T}{A}$ and $T$
by \cref{inclusion_continuous}.
Let $g = j\circ f$.
$j$ is composable with $f$
by \cref{continuous,funs,funs_is_function,funs_ran,subseteq,subspace_of}.
$g$ is continuous from $I$ to $X$ with respect to $T_I$ and $T$ by \cref{continuous_composite}.
$g(a) = x$ and $g(b) = y$
by \cref{intervalclosed_rel,continuous,funs,funs_is_function,funs_type_apply,subseteq,circ_apply,id_apply}.
$g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$.
$g$ is a path in $X$ from $x$ to $y$ with respect to $T$ by \cref{path_in_space}.
Show that there exists a function $h$ such that $h$ is a path in $X$ from $x$ to $y$ with respect to $T$.
\begin{subproof}
Trivial.
\end{subproof}
\end{proof}
Assume $M\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Assume $T$ is a topology on $X$.
Assume for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Assume for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A$ is path connected with respect to $\subspaceTopology{T}{A}$.
Assume $\inters{M}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Then $\unions{M}$ is path connected with respect to $\subspaceTopology{T}{\unions{M}}$.
LaTeX source
\begin{lemma}
\label{union_path_connected_common_point}
Assume $M\neq\emptyset$.
Assume $T$ is a topology on $X$.
Assume for all $A$ such that $A\in M$ we have $A\subseteq X$.
Assume for all $A$ such that $A\in M$ we have
$A$ is path connected with respect to $\subspaceTopology{T}{A}$.
Assume $\inters{M}\neq\emptyset$.
Then $\unions{M}$ is path connected with respect to $\subspaceTopology{T}{\unions{M}}$.
\end{lemma}
Proof
Let $U = \unions{M}$.
Let $T_U = \subspaceTopology{T}{U}$.
$U$ is a subspace of $X$ with respect to $T$ by Axiom 4, Definition 1, Definition 147.
$T_U$ is a topology on $U$ by Definition 147, Lemma 131.
Claim: For all $x,y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ there exists $h$ such that $h$ is a path in $U$ from $x$ to $y$ with respect to $T_U$.
Fix $x$.
Fix $y$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$.
Take $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 4.
Take $B\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 4.
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{M}$ by Proposition 10.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Proposition 30.
Take $f$ such that $f$ is a path in $A$ from $x$ to $p$ with respect to $\subspaceTopology{T}{A}$ by Definition 236.
Take $g$ such that $g$ is a path in $B$ from $p$ to $y$ with respect to $\subspaceTopology{T}{B}$ by Definition 236.
Claim: $A$ is a subspace of $U$ with respect to $T_U$.
Follows by Axiom 4, Definition 1, Definition 147.
Claim: $B$ is a subspace of $U$ with respect to $T_U$.
Follows by Axiom 4, Definition 1, Definition 147.
Claim: $\subspaceTopology{T_U}{A} = \subspaceTopology{T}{A}$.
Follows by Definition 147, Lemma 307.
Claim: $\subspaceTopology{T_U}{B} = \subspaceTopology{T}{B}$.
Follows by Definition 147, Lemma 307.
Take $f_1$ such that $f_1$ is a path in $U$ from $x$ to $p$ with respect to $T_U$ by Lemma 351.
Take $g_1$ such that $g_1$ is a path in $U$ from $p$ to $y$ with respect to $T_U$ by Lemma 351.
Claim: There exists $h$ such that $h$ is a path in $U$ from $x$ to $y$ with respect to $T_U$.
Follows by Lemma 345.
$U$ is path connected with respect to $T_U$ by Definition 236.
LaTeX source
\begin{proof}
Let $U = \unions{M}$.
Let $T_U = \subspaceTopology{T}{U}$.
$U$ is a subspace of $X$ with respect to $T$ by \cref{unions_iff,subseteq,subspace_of}.
$T_U$ is a topology on $U$ by \cref{subspace_topology_is_topology,subspace_of}.
Show that for all $x,y\in U$ there exists $h$ such that
$h$ is a path in $U$ from $x$ to $y$ with respect to $T_U$.
\begin{subproof}
Fix $x$.
Fix $y$ such that $x\in U$ and $y\in U$.
Take $A\in M$ such that $x\in A$ by \cref{unions_iff}.
Take $B\in M$ such that $y\in B$ by \cref{unions_iff}.
Take $p$ such that $p\in\inters{M}$ by \cref{nonempty_inhabited}.
$p\in A$ and $p\in B$ by \cref{inters_iff_forall}.
Take $f$ such that $f$ is a path in $A$ from $x$ to $p$ with respect to $\subspaceTopology{T}{A}$
by \cref{path_connected}.
Take $g$ such that $g$ is a path in $B$ from $p$ to $y$ with respect to $\subspaceTopology{T}{B}$
by \cref{path_connected}.
Show that $A$ is a subspace of $U$ with respect to $T_U$.
\begin{subproof}
Follows by \cref{unions_iff,subseteq,subspace_of}.
\end{subproof}
Show that $B$ is a subspace of $U$ with respect to $T_U$.
\begin{subproof}
Follows by \cref{unions_iff,subseteq,subspace_of}.
\end{subproof}
Show that $\subspaceTopology{T_U}{A} = \subspaceTopology{T}{A}$.
\begin{subproof}
Follows by \cref{subspace_of,subspace_subspace_topology}.
\end{subproof}
Show that $\subspaceTopology{T_U}{B} = \subspaceTopology{T}{B}$.
\begin{subproof}
Follows by \cref{subspace_of,subspace_subspace_topology}.
\end{subproof}
Take $f_1$ such that $f_1$ is a path in $U$ from $x$ to $p$ with respect to $T_U$
by \cref{path_in_subspace_implies_path_in_superspace}.
Take $g_1$ such that $g_1$ is a path in $U$ from $p$ to $y$ with respect to $T_U$
by \cref{path_in_subspace_implies_path_in_superspace}.
Show that there exists $h$ such that $h$ is a path in $U$ from $x$ to $y$ with respect to $T_U$.
\begin{subproof}
Follows by \cref{path_concatenation}.
\end{subproof}
\end{subproof}
$U$ is path connected with respect to $T_U$ by \cref{path_connected}.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $f$ is a path in $X$ from $x$ to $y$ with respect to $T$.
Suppose $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$.
Then there exists $g$ such that $g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{path_initial_segment}
Assume $T$ is a topology on $X$.
Suppose $f$ is a path in $X$ from $x$ to $y$ with respect to $T$.
Suppose $t\in\dom{f}$.
Then there exists $g$ such that $g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
\end{lemma}
Proof
Take $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a\mathrel{\realOrderRel} b$ and $f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and $f(a) = x$ and $f(b) = y$ by Definition 235.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
$\dom{f} = I$ by Definition 55, Definition 160.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 1, Definition 55, Definition 160.
$f$ is a function by Definition 160, Proposition 356.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 132, Definition 160, Proposition 361.
$f(t) = x$.
$(x,x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pathRelation{T}{X}$ by Definition 32, Lemma 347.
Take $g$ such that $g$ is a path in $X$ from $x$ to $x$ with respect to $T$ by Axiom 10, Axiom 11, Definition 239.
$g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
Claim: There exists $h$ such that $h$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
Trivial.
$a\mathrel{\realOrderRel} t$ by Definition 132.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 321.
Let $J = \intervalclosedrel{\realOrderRel}{\reals}{a}{t}$.
$J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Definition 98, Definition 132, Definition 148, Lemma 313, Lemma 322.
$J$ is a subspace of $I$ with respect to $T_I$ by Definition 147, Definition 160.
Let $T_J = \subspaceTopology{T_I}{J}$.
Let $g = \restrl{f}{J}$.
$g$ is continuous from $J$ to $X$ with respect to $T_J$ and $T$ by Lemma 166.
$\realOrderTopology$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93, Lemma 336.
$T_J = \subspaceTopology{\realOrderTopology}{J}$ by Definition 1, Definition 132, Lemma 307.
$g$ is continuous from $J$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{J}$ and $T$.
$g(a) = x$ and $g(t) = f(t)$ by Definition 132, Proposition 356, Proposition 384.
$g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{t}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{t}}$ and $T$.
$g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$ by Definition 235.
Claim: There exists $h$ such that $h$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
Trivial.
LaTeX source
\begin{byCase}
\caseOf{$t = a$.}
$f(t) = x$.
$(x,x)\in\pathRelation{T}{X}$ by \cref{path_relation_reflexive,reflexive_on}.
Take $g$ such that $g$ is a path in $X$ from $x$ to $x$ with respect to $T$
by \cref{path_relation,fst_eq,snd_eq}.
$g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
Show that there exists $h$ such that $h$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$t\neq a$.}
$a\mathrel{\realOrderRel} t$ by \cref{intervalclosed_rel}.
$t\in\reals$ by \cref{real_order_relation_elim}.
Let $J = \intervalclosedrel{\realOrderRel}{\reals}{a}{t}$.
$J\subseteq I$ by \cref{real_order_relation_simple,simple_order_relation,intervalclosedrel_convex,intervalclosed_rel,convex_in,subseteq}.
$J$ is a subspace of $I$ with respect to $T_I$ by \cref{continuous,subspace_of}.
Let $T_J = \subspaceTopology{T_I}{J}$.
Let $g = \restrl{f}{J}$.
$g$ is continuous from $J$ to $X$ with respect to $T_J$ and $T$
by \cref{continuous_restrict_domain}.
$\realOrderTopology$ is a topology on $\reals$ by
\cref{standard_basis_is_basis,standard_topology_reals,basis_topology_is_topology,real_order_topology_eq_standard}.
$T_J = \subspaceTopology{\realOrderTopology}{J}$ by \cref{intervalclosed_rel,subseteq,subspace_subspace_topology}.
$g$ is continuous from $J$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{J}$ and $T$.
$g(a) = x$ and $g(t) = f(t)$ by \cref{intervalclosed_rel,funs_is_function,restrl_of_function_apply}.
$g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{t}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{t}}$ and $T$.
$g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$ by \cref{path_in_space}.
Show that there exists $h$ such that $h$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
Take $a,b\in\reals$ such that
$a\mathrel{\realOrderRel} b$ and
$f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and
$f(a) = x$ and $f(b) = y$
by \cref{path_in_space}.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
$\dom{f} = I$ by \cref{continuous,funs}.
$t\in I$ by \cref{continuous,funs,subseteq}.
$f$ is a function by \cref{continuous,funs_is_function}.
$x\in X$ by \cref{intervalclosed_rel,continuous,funs_type_apply}.
\begin{byCase}
\caseOf{$t = a$.}
$f(t) = x$.
$(x,x)\in\pathRelation{T}{X}$ by \cref{path_relation_reflexive,reflexive_on}.
Take $g$ such that $g$ is a path in $X$ from $x$ to $x$ with respect to $T$
by \cref{path_relation,fst_eq,snd_eq}.
$g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
Show that there exists $h$ such that $h$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$t\neq a$.}
$a\mathrel{\realOrderRel} t$ by \cref{intervalclosed_rel}.
$t\in\reals$ by \cref{real_order_relation_elim}.
Let $J = \intervalclosedrel{\realOrderRel}{\reals}{a}{t}$.
$J\subseteq I$ by \cref{real_order_relation_simple,simple_order_relation,intervalclosedrel_convex,intervalclosed_rel,convex_in,subseteq}.
$J$ is a subspace of $I$ with respect to $T_I$ by \cref{continuous,subspace_of}.
Let $T_J = \subspaceTopology{T_I}{J}$.
Let $g = \restrl{f}{J}$.
$g$ is continuous from $J$ to $X$ with respect to $T_J$ and $T$
by \cref{continuous_restrict_domain}.
$\realOrderTopology$ is a topology on $\reals$ by
\cref{standard_basis_is_basis,standard_topology_reals,basis_topology_is_topology,real_order_topology_eq_standard}.
$T_J = \subspaceTopology{\realOrderTopology}{J}$ by \cref{intervalclosed_rel,subseteq,subspace_subspace_topology}.
$g$ is continuous from $J$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{J}$ and $T$.
$g(a) = x$ and $g(t) = f(t)$ by \cref{intervalclosed_rel,funs_is_function,restrl_of_function_apply}.
$g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{t}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{t}}$ and $T$.
$g$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$ by \cref{path_in_space}.
Show that there exists $h$ such that $h$ is a path in $X$ from $x$ to $f(t)$ with respect to $T$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $C$ is a path component of $X$ with respect to $T$.
Then $C$ is path connected with respect to $\subspaceTopology{T}{C}$.
LaTeX source
\begin{theorem}
\label{path_component_path_connected}
Assume $T$ is a topology on $X$.
Suppose $C$ is a path component of $X$ with respect to $T$.
Then $C$ is path connected with respect to $\subspaceTopology{T}{C}$.
\end{theorem}
Proof
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\pathRelation{T}{X}}{x}$ by Definition 240.
$C$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 147, Definition 239, Proposition 114, Proposition 253.
Let $T_C = \subspaceTopology{T}{C}$.
$T_C$ is a topology on $C$ by Definition 147, Lemma 131.
Claim: For all $y,z\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ there exists $h$ such that $h$ is a path in $C$ from $y$ to $z$ with respect to $T_C$.
Fix $y$.
Fix $z$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
$x\mathrel{\pathRelation{T}{X}}y$ and $x\mathrel{\pathRelation{T}{X}}z$ by Definition 35 [Symmetry], Lemma 348, Proposition 253.
Take $f$ such that $f$ is a path in $X$ from $x$ to $y$ with respect to $T$ by Axiom 10, Axiom 11, Definition 239.
Take $g$ such that $g$ is a path in $X$ from $x$ to $z$ with respect to $T$ by Axiom 10, Axiom 11, Definition 239.
Take $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a\mathrel{\realOrderRel} b$ and $f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and $f(a) = x$ and $f(b) = y$ by Definition 235.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
Take $c,d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $c\mathrel{\realOrderRel} d$ and $g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{c}{d}$ to $X$ with respect to $\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{c}{d}}$ and $T$ and $g(c) = x$ and $g(d) = z$ by Definition 235.
Let $J = \intervalclosedrel{\realOrderRel}{\reals}{c}{d}$.
Let $T_J = \subspaceTopology{\realOrderTopology}{J}$.
$\ran{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Axiom 10, Axiom 11, Definition 1, Definition 35 [Symmetry], Definition 160, Definition 239, Lemma 348, Lemma 353, Proposition 115, Proposition 209, Proposition 253, Proposition 348, Proposition 352, Proposition 356, Proposition 363.
$\ran{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Axiom 10, Axiom 11, Definition 1, Definition 35 [Symmetry], Definition 160, Definition 239, Lemma 348, Lemma 353, Proposition 115, Proposition 209, Proposition 253, Proposition 348, Proposition 352, Proposition 356, Proposition 363.
$f$ is continuous from $I$ to $C$ with respect to $T_I$ and $T_C$ and $g$ is continuous from $J$ to $C$ with respect to $T_J$ and $T_C$ by Definition 1, Lemma 167, Proposition 237.
$f$ is a path in $C$ from $x$ to $y$ with respect to $T_C$ and $g$ is a path in $C$ from $x$ to $z$ with respect to $T_C$ by Definition 235.
$C$ is path connected with respect to $T_C$ by Definition 236.
LaTeX source
\begin{proof}
Take $x\in X$ such that $C = \equivalenceClass{\pathRelation{T}{X}}{x}$ by \cref{path_component}.
$C$ is a subspace of $X$ with respect to $T$
by \cref{downward_closure_iff,path_relation,times_tuple_elim,subseteq,subspace_of}.
Let $T_C = \subspaceTopology{T}{C}$.
$T_C$ is a topology on $C$ by \cref{subspace_topology_is_topology,subspace_of}.
Show that for all $y,z\in C$ there exists $h$ such that
$h$ is a path in $C$ from $y$ to $z$ with respect to $T_C$.
\begin{subproof}
Fix $y$.
Fix $z$ such that $y\in C$ and $z\in C$.
$x\mathrel{\pathRelation{T}{X}}y$ and $x\mathrel{\pathRelation{T}{X}}z$
by \cref{downward_closure_iff,path_relation_symmetric,symmetric}.
Take $f$ such that $f$ is a path in $X$ from $x$ to $y$ with respect to $T$
by \cref{path_relation,fst_eq,snd_eq}.
Take $g$ such that $g$ is a path in $X$ from $x$ to $z$ with respect to $T$
by \cref{path_relation,fst_eq,snd_eq}.
Take $a,b\in\reals$ such that
$a\mathrel{\realOrderRel} b$ and
$f$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{a}{b}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{a}{b}}$ and $T$ and
$f(a) = x$ and $f(b) = y$
by \cref{path_in_space}.
Let $I = \intervalclosedrel{\realOrderRel}{\reals}{a}{b}$.
Let $T_I = \subspaceTopology{\realOrderTopology}{I}$.
Take $c,d\in\reals$ such that
$c\mathrel{\realOrderRel} d$ and
$g$ is continuous from $\intervalclosedrel{\realOrderRel}{\reals}{c}{d}$ to $X$ with respect to
$\subspaceTopology{\realOrderTopology}{\intervalclosedrel{\realOrderRel}{\reals}{c}{d}}$ and $T$ and
$g(c) = x$ and $g(d) = z$
by \cref{path_in_space}.
Let $J = \intervalclosedrel{\realOrderRel}{\reals}{c}{d}$.
Let $T_J = \subspaceTopology{\realOrderTopology}{J}$.
$\ran{f}\subseteq C$
by \cref{fun_ran_iff,function_apply_elim,ran_intro,continuous,funs_is_function,funs_ran,subseteq,path_initial_segment,times_tuple_intro,path_relation,fst_eq,snd_eq,path_relation_symmetric,symmetric,downward_closure_iff}.
$\ran{g}\subseteq C$
by \cref{fun_ran_iff,function_apply_elim,ran_intro,continuous,funs_is_function,funs_ran,subseteq,path_initial_segment,times_tuple_intro,path_relation,fst_eq,snd_eq,path_relation_symmetric,symmetric,downward_closure_iff}.
$f$ is continuous from $I$ to $C$ with respect to $T_I$ and $T_C$
and $g$ is continuous from $J$ to $C$ with respect to $T_J$ and $T_C$
by \cref{img_subseteq_ran,subseteq,continuous_restrict_range}.
$f$ is a path in $C$ from $x$ to $y$ with respect to $T_C$
and $g$ is a path in $C$ from $x$ to $z$ with respect to $T_C$
by \cref{path_in_space}.
Show that there exists $h$ such that $h$ is a path in $C$ from $y$ to $z$ with respect to $T_C$.
\begin{subproof}
Follows by \cref{path_reverse,path_concatenation}.
\end{subproof}
\end{subproof}
$C$ is path connected with respect to $T_C$ by \cref{path_connected}.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $C$ is a path component of $X$ with respect to $T$.
Suppose $D$ is a path component of $X$ with respect to $T$.
Suppose $C\class{latex-symbol-tip latex-symbol-id-neq}{\neq} D$.
Then $C$ is disjoint from $D$.
LaTeX source
\begin{theorem}
\label{path_components_disjoint}
Assume $T$ is a topology on $X$.
Suppose $C$ is a path component of $X$ with respect to $T$.
Suppose $D$ is a path component of $X$ with respect to $T$.
Suppose $C\neq D$.
Then $C$ is disjoint from $D$.
\end{theorem}
Proof
Follows by Definition 240, Lemma 350, Corollary 5.
LaTeX source
\begin{proof}
Follows by \cref{path_component,path_relation_equivalence,equivalenceon_equivclasses_diseq_implies_disjoint}.
\end{proof}
Assume $T$ is a topology on $X$.
Then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ there exists $C$ such that $C$ is a path component of $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
LaTeX source
\begin{theorem}
\label{path_components_cover}
Assume $T$ is a topology on $X$.
Then for all $x\in X$ there exists $C$ such that
$C$ is a path component of $X$ with respect to $T$ and $x\in C$.
\end{theorem}
Proof
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Follows by Definition 240, Lemma 350, Proposition 320.
LaTeX source
\begin{proof}
Fix $x\in X$.
Follows by \cref{path_relation_equivalence,equivclasses_inhabited_equivalenceon,path_component}.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Suppose $A$ is path connected with respect to $\subspaceTopology{T}{A}$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Then for all $C,D$ such that $C$ is a path component of $X$ with respect to $T$ and $D$ is a path component of $X$ with respect to $T$ and $A$ intersects $C$ and $A$ intersects $D$ we have $C = D$.
LaTeX source
\begin{theorem}
\label{path_connected_subspace_single_component}
Assume $T$ is a topology on $X$.
Suppose $A$ is a subspace of $X$ with respect to $T$.
Suppose $A$ is path connected with respect to $\subspaceTopology{T}{A}$.
Suppose $A\neq\emptyset$.
Then for all $C,D$ such that
$C$ is a path component of $X$ with respect to $T$ and
$D$ is a path component of $X$ with respect to $T$ and
$A$ intersects $C$ and $A$ intersects $D$
we have $C = D$.
\end{theorem}
Proof
Fix $C$.
Fix $D$ such that $C$ is a path component of $X$ with respect to $T$ and $D$ is a path component of $X$ with respect to $T$ and $A$ intersects $C$ and $A$ intersects $D$.
Take $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter C$ by Definition 152, Proposition 10.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A\inter D$ by Definition 152, Proposition 10.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 5.
Take $f$ such that $f$ is a path in $A$ from $x$ to $y$ with respect to $\subspaceTopology{T}{A}$ by Definition 236.
Take $f_1$ such that $f_1$ is a path in $X$ from $x$ to $y$ with respect to $T$ by Lemma 351.
$x\mathrel{\pathRelation{T}{X}}y$ by Axiom 10, Axiom 11, Definition 1, Definition 147, Definition 239, Proposition 115.
Take $c\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\pathRelation{T}{X}}{c}$ by Definition 240.
Take $d\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $D = \equivalenceClass{\pathRelation{T}{X}}{d}$ by Definition 240.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} \downward{\pathRelation{T}{X}}{c}$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \downward{\pathRelation{T}{X}}{d}$.
$C = D$ by Definition 35 [Symmetry], Definition 37 [Transitivity], Lemma 348, Lemma 349, Lemma 350, Proposition 253, Proposition 323.
LaTeX source
\begin{proof}
Fix $C$.
Fix $D$ such that
$C$ is a path component of $X$ with respect to $T$ and
$D$ is a path component of $X$ with respect to $T$ and
$A$ intersects $C$ and $A$ intersects $D$.
Take $x$ such that $x\in A\inter C$ by \cref{intersects,nonempty_inhabited}.
Take $y$ such that $y\in A\inter D$ by \cref{intersects,nonempty_inhabited}.
$x\in A$ and $x\in C$ and $y\in A$ and $y\in D$ by \cref{inter}.
Take $f$ such that $f$ is a path in $A$ from $x$ to $y$ with respect to $\subspaceTopology{T}{A}$
by \cref{path_connected}.
Take $f_1$ such that $f_1$ is a path in $X$ from $x$ to $y$ with respect to $T$
by \cref{path_in_subspace_implies_path_in_superspace}.
$x\mathrel{\pathRelation{T}{X}}y$ by \cref{subspace_of,subseteq,times_tuple_intro,path_relation,fst_eq,snd_eq}.
Take $c\in X$ such that $C = \equivalenceClass{\pathRelation{T}{X}}{c}$ by \cref{path_component}.
Take $d\in X$ such that $D = \equivalenceClass{\pathRelation{T}{X}}{d}$ by \cref{path_component}.
$x\in \downward{\pathRelation{T}{X}}{c}$ and $y\in \downward{\pathRelation{T}{X}}{d}$.
$C = D$
by \cref{downward_closure_iff,path_relation_symmetric,path_relation_transitive,symmetric,transitive,path_relation_equivalence,equiv_iff_equivclasses_eq}.
\end{proof}
$X$ is locally connected at $x$ with respect to $T$ iff for all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $V$ such that $V$ is a neighborhood of $x$ in $X$ with respect to $T$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $V$ is connected with respect to $\subspaceTopology{T}{V}$.
LaTeX source
\begin{definition}
\label{locally_connected_at}
$X$ is locally connected at $x$ with respect to $T$ iff
for all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $V$ such that
$V$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$V\subseteq U$ and
$V$ is connected with respect to $\subspaceTopology{T}{V}$.
\end{definition}
$X$ is locally connected with respect to $T$ iff for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $X$ is locally connected at $x$ with respect to $T$.
LaTeX source
\begin{definition}
\label{locally_connected}
$X$ is locally connected with respect to $T$ iff
for all $x\in X$ we have $X$ is locally connected at $x$ with respect to $T$.
\end{definition}
$X$ is locally path connected at $x$ with respect to $T$ iff for all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $V$ such that $V$ is a neighborhood of $x$ in $X$ with respect to $T$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $V$ is path connected with respect to $\subspaceTopology{T}{V}$.
LaTeX source
\begin{definition}
\label{locally_path_connected_at}
$X$ is locally path connected at $x$ with respect to $T$ iff
for all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $V$ such that
$V$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$V\subseteq U$ and
$V$ is path connected with respect to $\subspaceTopology{T}{V}$.
\end{definition}
$X$ is locally path connected with respect to $T$ iff for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $X$ is locally path connected at $x$ with respect to $T$.
LaTeX source
\begin{definition}
\label{locally_path_connected}
$X$ is locally path connected with respect to $T$ iff
for all $x\in X$ we have $X$ is locally path connected at $x$ with respect to $T$.
\end{definition}
Assume $T$ is a topology on $X$.
Then $X$ is locally connected with respect to $T$ iff for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$.
LaTeX source
\begin{theorem}
\label{locally_connected_iff_components_open}
Assume $T$ is a topology on $X$.
Then $X$ is locally connected with respect to $T$ iff
for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$.
\end{theorem}
Proof
Claim: If $X$ is locally connected with respect to $T$ then for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$.
Assume $X$ is locally connected with respect to $T$.
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
$U$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103, Definition 147, Proposition 156.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by Definition 147, Lemma 131.
Fix $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$.
$C$ is a component of $U$ with respect to $T_U$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have there exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1, Definition 237, Definition 238, Proposition 114, Proposition 253.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 147.
$U$ is a neighborhood of $x$ in $X$ with respect to $T$ by Definition 153.
Take $W$ such that $W$ is a neighborhood of $x$ in $X$ with respect to $T$ and $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $W$ is connected with respect to $\subspaceTopology{T}{W}$ by Definition 241, Definition 242.
$W$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Definition 153.
$W$ is a subspace of $U$ with respect to $T_U$ by Definition 1, Definition 147.
$\subspaceTopology{T_U}{W} = \subspaceTopology{T}{W}$ by Definition 1, Definition 147, Lemma 307.
$W$ is connected with respect to $\subspaceTopology{T_U}{W}$.
$W\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Lemma 323.
Claim: $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1.
Take $D$ such that $D$ is a component of $U$ with respect to $T_U$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Theorem 49.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter C$ by Definition 5.
$W$ intersects $C$ by Definition 152, Lemma 323.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter D$ by Definition 5.
$W$ intersects $D$ by Definition 152, Lemma 323.
$C = D$ by Theorem 50.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.
Claim: There exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Trivial.
Let $M = \{V\class{latex-symbol-tip latex-symbol-id-in}{\in} T \mid V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C\}$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} \unions{M}$ by Axiom 4, Definition 1, Definition 103.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \unions{M}$ by Definition 1.
Claim: $\unions{M}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Follows by Axiom 4, Definition 1.
$C$ is open in $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103, Proposition 3.
Claim: If for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$ then $X$ is locally connected with respect to $T$.
Assume for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $X$ is locally connected at $x$ with respect to $T$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Claim: For all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $V$ such that $V$ is a neighborhood of $x$ in $X$ with respect to $T$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $V$ is connected with respect to $\subspaceTopology{T}{V}$.
Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
$U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 153.
$U$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103, Definition 147, Proposition 156.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by Definition 147, Lemma 131.
Take $C$ such that $C$ is a component of $U$ with respect to $T_U$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Theorem 49.
$C$ is open in $X$ with respect to $T$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1, Definition 237, Definition 238, Proposition 114, Proposition 253.
Let $T_C = \subspaceTopology{T}{C}$.
$C$ is connected with respect to $T_C$ by Definition 1, Definition 147, Lemma 307, Theorem 47.
$C$ is a neighborhood of $x$ in $X$ with respect to $T$ by Definition 103, Definition 153.
Claim: There exists $V$ such that $V$ is a neighborhood of $x$ in $X$ with respect to $T$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $V$ is connected with respect to $\subspaceTopology{T}{V}$.
Trivial.
$X$ is locally connected at $x$ with respect to $T$ by Definition 241.
$X$ is locally connected with respect to $T$ by Definition 242.
LaTeX source
\begin{proof}
Show that if $X$ is locally connected with respect to $T$ then
for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$.
\begin{subproof}
Assume $X$ is locally connected with respect to $T$.
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
$U$ is a subspace of $X$ with respect to $T$
by \cref{topology_on,open_in,powerset_elim,subseteq,subspace_of}.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by \cref{subspace_topology_is_topology,subspace_of}.
Fix $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$.
$C$ is a component of $U$ with respect to $T_U$.
Show that for all $x$ such that $x\in C$ we have
there exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\in V$ and $V\subseteq C$.
\begin{subproof}
Fix $x$ such that $x\in C$.
$C\subseteq U$ by \cref{component,downward_closure_iff,component_relation,times_tuple_elim,subseteq}.
$x\in U$ and $x\in X$ by \cref{subseteq,subspace_of}.
$U$ is a neighborhood of $x$ in $X$ with respect to $T$ by \cref{neighborhood}.
Take $W$ such that
$W$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$W\subseteq U$ and
$W$ is connected with respect to $\subspaceTopology{T}{W}$
by \cref{locally_connected,locally_connected_at}.
$W$ is open in $X$ with respect to $T$ and $x\in W$ by \cref{neighborhood}.
$W$ is a subspace of $U$ with respect to $T_U$ by \cref{subseteq,subspace_of}.
$\subspaceTopology{T_U}{W} = \subspaceTopology{T}{W}$ by \cref{subspace_subspace_topology,subspace_of,subseteq}.
$W$ is connected with respect to $\subspaceTopology{T_U}{W}$.
$W\neq\emptyset$ by \cref{inhabited_nonempty}.
Show that $W\subseteq C$.
\begin{subproof}
Show that for all $y$ such that $y\in W$ we have $y\in C$.
\begin{subproof}
Fix $y$ such that $y\in W$.
$y\in U$ by \cref{subseteq}.
Take $D$ such that $D$ is a component of $U$ with respect to $T_U$ and $y\in D$
by \cref{components_cover}.
$x\in W\inter C$ by \cref{inter}.
$W$ intersects $C$ by \cref{inhabited_nonempty,intersects}.
$y\in W\inter D$ by \cref{inter}.
$W$ intersects $D$ by \cref{inhabited_nonempty,intersects}.
$C = D$ by \cref{connected_subspace_single_component}.
$y\in C$.
\end{subproof}
$W\subseteq C$ by \cref{subseteq}.
\end{subproof}
Show that there exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\in V$ and $V\subseteq C$.
\begin{subproof}
Trivial.
\end{subproof}
\end{subproof}
Let $M = \{V\in T \mid V\subseteq C\}$.
For all $x$ such that $x\in C$ we have $x\in \unions{M}$ by \cref{subseteq,open_in,unions_iff}.
$C\subseteq \unions{M}$ by \cref{subseteq}.
Show that $\unions{M}\subseteq C$.
\begin{subproof}
Follows by \cref{unions_iff,subseteq}.
\end{subproof}
$C$ is open in $X$ with respect to $T$ by \cref{subseteq_antisymmetric,topology_on,subseteq,open_in}.
\end{subproof}
Show that if for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$ then
$X$ is locally connected with respect to $T$.
\begin{subproof}
Assume for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$.
Show that for all $x\in X$ we have $X$ is locally connected at $x$ with respect to $T$.
\begin{subproof}
Fix $x\in X$.
Show that for all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $V$ such that
$V$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$V\subseteq U$ and
$V$ is connected with respect to $\subspaceTopology{T}{V}$.
\begin{subproof}
Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
$U$ is open in $X$ with respect to $T$ and $x\in U$ by \cref{neighborhood}.
$U$ is a subspace of $X$ with respect to $T$
by \cref{topology_on,open_in,powerset_elim,subseteq,subspace_of}.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by \cref{subspace_topology_is_topology,subspace_of}.
Take $C$ such that
$C$ is a component of $U$ with respect to $T_U$ and $x\in C$
by \cref{components_cover}.
$C$ is open in $X$ with respect to $T$.
$C\subseteq U$ by \cref{component,downward_closure_iff,component_relation,times_tuple_elim,subseteq}.
Let $T_C = \subspaceTopology{T}{C}$.
$C$ is connected with respect to $T_C$
by \cref{component_connected,subspace_of,subspace_subspace_topology,subseteq}.
$C$ is a neighborhood of $x$ in $X$ with respect to $T$ by \cref{neighborhood,open_in}.
Show that there exists $V$ such that
$V$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$V\subseteq U$ and
$V$ is connected with respect to $\subspaceTopology{T}{V}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{subproof}
$X$ is locally connected at $x$ with respect to $T$ by \cref{locally_connected_at}.
\end{subproof}
$X$ is locally connected with respect to $T$ by \cref{locally_connected}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Then $X$ is locally path connected with respect to $T$ iff for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$.
LaTeX source
\begin{theorem}
\label{locally_path_connected_iff_components_open}
Assume $T$ is a topology on $X$.
Then $X$ is locally path connected with respect to $T$ iff
for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$.
\end{theorem}
Proof
Claim: If $X$ is locally path connected with respect to $T$ then for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$.
Assume $X$ is locally path connected with respect to $T$.
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
$U$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103, Definition 147, Proposition 156.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by Definition 147, Lemma 131.
Fix $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$.
$C$ is a path component of $U$ with respect to $T_U$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have there exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1, Definition 239, Definition 240, Proposition 114, Proposition 253.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 147.
$U$ is a neighborhood of $x$ in $X$ with respect to $T$ by Definition 153.
Take $W$ such that $W$ is a neighborhood of $x$ in $X$ with respect to $T$ and $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $W$ is path connected with respect to $\subspaceTopology{T}{W}$ by Definition 243, Definition 244.
$W$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Definition 153.
$W$ is a subspace of $U$ with respect to $T_U$ by Definition 1, Definition 147.
$\subspaceTopology{T_U}{W} = \subspaceTopology{T}{W}$ by Definition 1, Definition 147, Lemma 307.
$W$ is path connected with respect to $\subspaceTopology{T_U}{W}$.
$W\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Lemma 323.
Claim: $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 1.
Take $D$ such that $D$ is a path component of $U$ with respect to $T_U$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Theorem 53.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter C$ by Definition 5.
$W$ intersects $C$ by Definition 152, Lemma 323.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} W\inter D$ by Definition 5.
$W$ intersects $D$ by Definition 152, Lemma 323.
$C = D$ by Theorem 54.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.
Claim: There exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Trivial.
Let $M = \{V\class{latex-symbol-tip latex-symbol-id-in}{\in} T \mid V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C\}$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} \unions{M}$ by Axiom 4, Definition 1, Definition 103.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \unions{M}$ by Definition 1.
Claim: $\unions{M}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Follows by Axiom 4, Definition 1.
$C$ is open in $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103, Proposition 3.
Claim: If for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$ then $X$ is locally path connected with respect to $T$.
Assume for all $U$ such that $U$ is open in $X$ with respect to $T$ for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$ we have $C$ is open in $X$ with respect to $T$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $X$ is locally path connected at $x$ with respect to $T$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Claim: For all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$ there exists $V$ such that $V$ is a neighborhood of $x$ in $X$ with respect to $T$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $V$ is path connected with respect to $\subspaceTopology{T}{V}$.
Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
$U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 153.
$U$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 101, Definition 103, Definition 147, Proposition 156.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by Definition 147, Lemma 131.
Take $C$ such that $C$ is a path component of $U$ with respect to $T_U$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Theorem 53.
$C$ is open in $X$ with respect to $T$.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 1, Definition 239, Definition 240, Proposition 114, Proposition 253.
Let $T_C = \subspaceTopology{T}{C}$.
$C$ is path connected with respect to $T_C$ by Definition 1, Definition 147, Lemma 307, Theorem 51.
$C$ is a neighborhood of $x$ in $X$ with respect to $T$ by Definition 103, Definition 153.
Claim: There exists $V$ such that $V$ is a neighborhood of $x$ in $X$ with respect to $T$ and $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ and $V$ is path connected with respect to $\subspaceTopology{T}{V}$.
Trivial.
$X$ is locally path connected at $x$ with respect to $T$ by Definition 243.
$X$ is locally path connected with respect to $T$ by Definition 244.
LaTeX source
\begin{proof}
Show that if $X$ is locally path connected with respect to $T$ then
for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$.
\begin{subproof}
Assume $X$ is locally path connected with respect to $T$.
Fix $U$ such that $U$ is open in $X$ with respect to $T$.
$U$ is a subspace of $X$ with respect to $T$
by \cref{topology_on,open_in,powerset_elim,subseteq,subspace_of}.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by \cref{subspace_topology_is_topology,subspace_of}.
Fix $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$.
$C$ is a path component of $U$ with respect to $T_U$.
Show that for all $x$ such that $x\in C$ we have
there exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\in V$ and $V\subseteq C$.
\begin{subproof}
Fix $x$ such that $x\in C$.
$C\subseteq U$ by \cref{path_component,downward_closure_iff,path_relation,times_tuple_elim,subseteq}.
$x\in U$ and $x\in X$ by \cref{subseteq,subspace_of}.
$U$ is a neighborhood of $x$ in $X$ with respect to $T$ by \cref{neighborhood}.
Take $W$ such that
$W$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$W\subseteq U$ and
$W$ is path connected with respect to $\subspaceTopology{T}{W}$
by \cref{locally_path_connected,locally_path_connected_at}.
$W$ is open in $X$ with respect to $T$ and $x\in W$ by \cref{neighborhood}.
$W$ is a subspace of $U$ with respect to $T_U$ by \cref{subseteq,subspace_of}.
$\subspaceTopology{T_U}{W} = \subspaceTopology{T}{W}$ by \cref{subspace_subspace_topology,subspace_of,subseteq}.
$W$ is path connected with respect to $\subspaceTopology{T_U}{W}$.
$W\neq\emptyset$ by \cref{inhabited_nonempty}.
Show that $W\subseteq C$.
\begin{subproof}
Show that for all $y$ such that $y\in W$ we have $y\in C$.
\begin{subproof}
Fix $y$ such that $y\in W$.
$y\in U$ by \cref{subseteq}.
Take $D$ such that $D$ is a path component of $U$ with respect to $T_U$ and $y\in D$
by \cref{path_components_cover}.
$x\in W\inter C$ by \cref{inter}.
$W$ intersects $C$ by \cref{inhabited_nonempty,intersects}.
$y\in W\inter D$ by \cref{inter}.
$W$ intersects $D$ by \cref{inhabited_nonempty,intersects}.
$C = D$ by \cref{path_connected_subspace_single_component}.
$y\in C$.
\end{subproof}
$W\subseteq C$ by \cref{subseteq}.
\end{subproof}
Show that there exists $V$ such that $V$ is open in $X$ with respect to $T$ and $x\in V$ and $V\subseteq C$.
\begin{subproof}
Trivial.
\end{subproof}
\end{subproof}
Let $M = \{V\in T \mid V\subseteq C\}$.
For all $x$ such that $x\in C$ we have $x\in \unions{M}$ by \cref{subseteq,open_in,unions_iff}.
$C\subseteq \unions{M}$ by \cref{subseteq}.
Show that $\unions{M}\subseteq C$.
\begin{subproof}
Follows by \cref{unions_iff,subseteq}.
\end{subproof}
$C$ is open in $X$ with respect to $T$ by \cref{subseteq_antisymmetric,topology_on,subseteq,open_in}.
\end{subproof}
Show that if for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$ then
$X$ is locally path connected with respect to $T$.
\begin{subproof}
Assume for all $U$ such that $U$ is open in $X$ with respect to $T$
for all $C$ such that $C$ is a path component of $U$ with respect to $\subspaceTopology{T}{U}$
we have $C$ is open in $X$ with respect to $T$.
Show that for all $x\in X$ we have $X$ is locally path connected at $x$ with respect to $T$.
\begin{subproof}
Fix $x\in X$.
Show that for all $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$
there exists $V$ such that
$V$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$V\subseteq U$ and
$V$ is path connected with respect to $\subspaceTopology{T}{V}$.
\begin{subproof}
Fix $U$ such that $U$ is a neighborhood of $x$ in $X$ with respect to $T$.
$U$ is open in $X$ with respect to $T$ and $x\in U$ by \cref{neighborhood}.
$U$ is a subspace of $X$ with respect to $T$
by \cref{topology_on,open_in,powerset_elim,subseteq,subspace_of}.
Let $T_U = \subspaceTopology{T}{U}$.
$T_U$ is a topology on $U$ by \cref{subspace_topology_is_topology,subspace_of}.
Take $C$ such that
$C$ is a path component of $U$ with respect to $T_U$ and $x\in C$
by \cref{path_components_cover}.
$C$ is open in $X$ with respect to $T$.
$C\subseteq U$ by \cref{path_component,downward_closure_iff,path_relation,times_tuple_elim,subseteq}.
Let $T_C = \subspaceTopology{T}{C}$.
$C$ is path connected with respect to $T_C$
by \cref{path_component_path_connected,subspace_of,subspace_subspace_topology,subseteq}.
$C$ is a neighborhood of $x$ in $X$ with respect to $T$ by \cref{neighborhood,open_in}.
Show that there exists $V$ such that
$V$ is a neighborhood of $x$ in $X$ with respect to $T$ and
$V\subseteq U$ and
$V$ is path connected with respect to $\subspaceTopology{T}{V}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{subproof}
$X$ is locally path connected at $x$ with respect to $T$ by \cref{locally_path_connected_at}.
\end{subproof}
$X$ is locally path connected with respect to $T$ by \cref{locally_path_connected}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $P$ is a path component of $X$ with respect to $T$.
Then there exists $C$ such that $C$ is a component of $X$ with respect to $T$ and $P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
LaTeX source
\begin{theorem}
\label{path_component_subset_component}
Assume $T$ is a topology on $X$.
Suppose $P$ is a path component of $X$ with respect to $T$.
Then there exists $C$ such that $C$ is a component of $X$ with respect to $T$ and $P\subseteq C$.
\end{theorem}
Proof
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $P = \equivalenceClass{\pathRelation{T}{X}}{x}$ by Definition 240.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $(y,x)\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} X$ and there exists $f$ such that $f$ is a path in $X$ from $\fst{(y,x)}$ to $\snd{(y,x)}$ with respect to $T$ by Definition 239, Proposition 253.
$P$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 147, Proposition 114.
Let $T_P = \subspaceTopology{T}{P}$.
$T_P$ is a topology on $P$ by Definition 147, Lemma 131.
$P$ is connected with respect to $T_P$ by Theorem 46, Theorem 51.
Take $D$ such that $D$ is a component of $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Theorem 49.
For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 2, Definition 5, Definition 147, Definition 152, Lemma 350, Proposition 114, Proposition 320, Theorem 49, Theorem 50.
Claim: There exists $C$ such that $C$ is a component of $X$ with respect to $T$ and $P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Follows by Definition 1.
LaTeX source
\begin{proof}
Take $x\in X$ such that $P = \equivalenceClass{\pathRelation{T}{X}}{x}$ by \cref{path_component}.
For all $y$ such that $y\in P$ we have
$(y,x)\in X\times X$ and there exists $f$ such that
$f$ is a path in $X$ from $\fst{(y,x)}$ to $\snd{(y,x)}$ with respect to $T$
by \cref{downward_closure_iff,path_relation}.
$P$ is a subspace of $X$ with respect to $T$ by \cref{times_tuple_elim,subseteq,subspace_of}.
Let $T_P = \subspaceTopology{T}{P}$.
$T_P$ is a topology on $P$ by \cref{subspace_topology_is_topology,subspace_of}.
$P$ is connected with respect to $T_P$
by \cref{path_component_path_connected,path_connected_implies_connected}.
Take $D$ such that
$D$ is a component of $X$ with respect to $T$ and $x\in D$
by \cref{components_cover}.
For all $y$ such that $y\in P$ we have $y\in D$
by \cref{times_tuple_elim,components_cover,path_relation_equivalence,equivclasses_inhabited_equivalenceon,inter,emptyset,intersects,connected_subspace_single_component,subspace_of}.
Show that there exists $C$ such that $C$ is a component of $X$ with respect to $T$ and $P\subseteq C$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $X$ is locally path connected with respect to $T$.
Then for all $C$ such that $C$ is a component of $X$ with respect to $T$ there exists $P$ such that $P$ is a path component of $X$ with respect to $T$ and $C = P$.
LaTeX source
\begin{theorem}
\label{components_equal_path_components_locally_path_connected}
Assume $T$ is a topology on $X$.
Suppose $X$ is locally path connected with respect to $T$.
Then for all $C$ such that $C$ is a component of $X$ with respect to $T$
there exists $P$ such that $P$ is a path component of $X$ with respect to $T$ and $C = P$.
\end{theorem}
Proof
Fix $C$ such that $C$ is a component of $X$ with respect to $T$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{x}$ by Definition 238.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Lemma 331, Proposition 320.
$C$ is a subspace of $X$ with respect to $T$ by Definition 1, Definition 147, Definition 237, Proposition 114, Proposition 253.
Let $T_X = \subspaceTopology{T}{X}$.
$T_X$ is a topology on $X$ by Definition 147, Lemma 131, Proposition 2.
Claim: $T\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T_X$.
Follows by Definition 1, Definition 101, Definition 146, Proposition 70, Proposition 156.
Claim: $T_X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} T$.
Follows by Definition 1, Definition 101, Definition 146, Proposition 70, Proposition 156.
$T_X = T$ by Proposition 3.
For all $D$ such that $D$ is a path component of $X$ with respect to $T$ we have $D$ is open in $X$ with respect to $T$ by Definition 101, Definition 103, Theorem 56.
Take $P$ such that $P$ is a path component of $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Theorem 53.
Suppose not.
Take $C_1$ such that $C_1$ is a component of $X$ with respect to $T$ and $P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C_1$ by Theorem 57.
$C = C_1$ by Definition 1, Definition 3, Theorem 48.
$P\class{latex-symbol-tip latex-symbol-id-subset}{\subset} C$ by Definition 1, Definition 2.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} P$ by Proposition 10, Proposition 96.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} P$ by Proposition 86, Proposition 87.
Let $M = \{D\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X} \mid \text{$D$ is a path component of $X$ with respect to $T$ and $D\subseteq C$ and $D\neq P$}\}$.
Let $Q = \unions{M}$.
Claim: $Q\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} P$.
Follows by Axiom 4, Definition 1, Definition 3, Proposition 85, Theorem 52.
Claim: For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} P$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$.
Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} P$.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $z\class{latex-symbol-tip latex-symbol-id-notin}{\notin} P$ by Proposition 86, Proposition 87.
Take $D$ such that $D$ is a path component of $X$ with respect to $T$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 147, Theorem 53.
Take $C_2$ such that $C_2$ is a component of $X$ with respect to $T$ and $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C_2$ by Theorem 57.
$C = C_2$ by Definition 1, Definition 3, Theorem 48.
$D\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ by Definition 147, Proposition 6, Proposition 155.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ by Axiom 4.
$C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Q$ by Definition 1.
$Q = C\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} P$ by Proposition 3.
Let $T_C = \subspaceTopology{T}{C}$.
$T_C$ is a topology on $C$ by Definition 147, Lemma 131.
$P$ is open in $C$ with respect to $T_C$ by Definition 103, Definition 146, Proposition 70.
$Q$ is open in $C$ with respect to $T_C$ by Definition 1, Definition 101, Definition 103, Definition 146, Proposition 70, Proposition 97.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$.
$P\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $Q\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2.
$P$ is disjoint from $Q$ by Axiom 2, Definition 3, Definition 5, Proposition 106.
$P\union Q = C$ by Definition 1, Proposition 107.
$C$ is separated by $P$ and $Q$ with respect to $T_C$ by Definition 226.
$C$ is not connected with respect to $T_C$ by Definition 227.
Contradiction by Theorem 47.
$C = P$.
Claim: There exists $R$ such that $R$ is a path component of $X$ with respect to $T$ and $C = R$.
Trivial.
LaTeX source
\begin{proof}
Fix $C$ such that $C$ is a component of $X$ with respect to $T$.
Take $x\in X$ such that $C = \equivalenceClass{\componentRelation{T}{X}}{x}$ by \cref{component}.
$x\in C$ by \cref{component_relation_equivalence,equivclasses_inhabited_equivalenceon}.
$C$ is a subspace of $X$ with respect to $T$
by \cref{downward_closure_iff,component_relation,times_tuple_elim,subseteq,subspace_of}.
Let $T_X = \subspaceTopology{T}{X}$.
$T_X$ is a topology on $X$ by \cref{subseteq_refl,subspace_of,subspace_topology_is_topology}.
Show that $T\subseteq T_X$.
\begin{subproof}
Follows by \cref{topology_on,powerset_elim,subseteq,inter_absorb_supseteq_left,subspace_topology}.
\end{subproof}
Show that $T_X\subseteq T$.
\begin{subproof}
Follows by \cref{subspace_topology,topology_on,powerset_elim,subseteq,inter_absorb_supseteq_left}.
\end{subproof}
$T_X = T$ by \cref{subseteq_antisymmetric}.
For all $D$ such that $D$ is a path component of $X$ with respect to $T$
we have $D$ is open in $X$ with respect to $T$
by \cref{topology_on,open_in,locally_path_connected_iff_components_open}.
Take $P$ such that $P$ is a path component of $X$ with respect to $T$ and $x\in P$
by \cref{path_components_cover}.
Suppose not.
Take $C_1$ such that
$C_1$ is a component of $X$ with respect to $T$ and $P\subseteq C_1$
by \cref{path_component_subset_component}.
$C = C_1$ by \cref{components_disjoint,subseteq,disjoint}.
$P\subset C$ by \cref{subseteq,subset}.
Take $y$ such that $y\in C\setminus P$
by \cref{difference_with_proper_subset_is_inhabited,nonempty_inhabited}.
$y\in C$ and $y\notin P$ by \cref{setminus_elim_left,setminus_elim_right}.
Let $M = \{D\in\pow{X} \mid
\text{$D$ is a path component of $X$ with respect to $T$ and $D\subseteq C$ and $D\neq P$}\}$.
Let $Q = \unions{M}$.
Show that $Q\subseteq C\setminus P$.
\begin{subproof}
Follows by \cref{unions_iff,subseteq,path_components_disjoint,disjoint,setminus_intro}.
\end{subproof}
Show that for all $z$ such that $z\in C\setminus P$ we have $z\in Q$.
\begin{subproof}
Fix $z$ such that $z\in C\setminus P$.
$z\in C$ and $z\notin P$ by \cref{setminus_elim_left,setminus_elim_right}.
Take $D$ such that $D$ is a path component of $X$ with respect to $T$ and $z\in D$
by \cref{subspace_of,subseteq,path_components_cover}.
Take $C_2$ such that
$C_2$ is a component of $X$ with respect to $T$ and $D\subseteq C_2$
by \cref{path_component_subset_component}.
$C = C_2$ by \cref{components_disjoint,subseteq,disjoint}.
$D\in M$ by \cref{subspace_of,subseteq_transitive,powerset_intro}.
$z\in Q$ by \cref{unions_iff}.
\end{subproof}
$C\setminus P\subseteq Q$ by \cref{subseteq}.
$Q = C\setminus P$ by \cref{subseteq_antisymmetric}.
Let $T_C = \subspaceTopology{T}{C}$.
$T_C$ is a topology on $C$ by \cref{subspace_topology_is_topology,subspace_of}.
$P$ is open in $C$ with respect to $T_C$
by \cref{open_in,inter_absorb_supseteq_left,subspace_topology}.
$Q$ is open in $C$ with respect to $T_C$
by \cref{open_in,subseteq,topology_on,inter_absorb_supseteq_left,setminus_subseteq,subspace_topology}.
$x\in P$ and $y\in Q$.
$P\neq\emptyset$ and $Q\neq\emptyset$ by \cref{emptyset}.
$P$ is disjoint from $Q$ by \cref{setminus_disjoint,inter,emptyset,disjoint}.
$P\union Q = C$ by \cref{setminus_partition,subseteq}.
$C$ is separated by $P$ and $Q$ with respect to $T_C$ by \cref{separation}.
$C$ is not connected with respect to $T_C$ by \cref{connected}.
Contradiction by \cref{component_connected}.
$C = P$.
Show that there exists $R$ such that $R$ is a path component of $X$ with respect to $T$ and $C = R$.
\begin{subproof}
Trivial.
\end{subproof}
\end{proof}